/* ==========================================================================
   首页门户区（上 Banner/工具 · 中灵感 · 下悟空币）
   统一设计 token，保证层级与风格一致
   ========================================================================== */

.wk-shell {
  --wk-page-pad: clamp(1.1rem, 2.2vw, 2rem);
  --wk-radius-lg: 1rem;
  --wk-radius-md: 0.85rem;
  --wk-radius-sm: 0.65rem;
  --wk-ink: #111827;
  --wk-muted: #6b7280;
  --wk-line: #e8edf5;
  --wk-soft: #f5f7fb;
  --wk-accent: #0576ff;
  --wk-lime: #b8ff3c;
  --wk-shadow: 0 0.5rem 1.4rem rgba(15, 23, 42, 0.07);
  --wk-shadow-hover: 0 0.85rem 1.8rem rgba(15, 23, 42, 0.12);
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--wk-page-pad);
  box-sizing: border-box;
}

/* ---------- 区块标题（中/下共用） ---------- */
.wk-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.9rem;
}

.wk-block-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--wk-ink);
  letter-spacing: 0.02em;
}

.wk-block-tabs {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.22rem;
  border-radius: 999px;
  background: var(--wk-soft);
  border: 1px solid var(--wk-line);
}

.wk-block-tabs button {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2rem;
  padding: 0 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--wk-muted);
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.wk-block-tabs button.is-active {
  background: #fff;
  color: var(--wk-ink);
  box-shadow: 0 0.15rem 0.55rem rgba(15, 23, 42, 0.08);
}

/* 按钮自身是 inline-flex，需压过 UA 的 [hidden]，否则空技能 Tab 仍会占位 */
.wk-block-tabs button[hidden] {
  display: none;
}

.wk-block-more {
  color: var(--wk-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}

.wk-block-more:hover { color: var(--wk-accent); }

/* ===================== 上：Banner + 广告 / AI工具 ===================== */
.wk-portal {
  padding: 0.9rem 0 0.2rem;
  background:
    radial-gradient(circle at 12% 0%, rgba(191, 219, 254, 0.35), transparent 28rem),
    radial-gradient(circle at 88% 8%, rgba(226, 232, 240, 0.55), transparent 26rem),
    #fff;
}

.wk-banner {
  --wk-banner-gap: 0.85rem;
  position: relative;
  border-radius: var(--wk-radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, #0a0d14 0%, #05070d 100%);
  padding: 1rem 0;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: var(--wk-shadow);
}

.wk-banner-viewport {
  position: relative;
  overflow: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
  cursor: default;
  padding: 0 0.9rem;
}

.wk-banner.is-overflow .wk-banner-viewport {
  padding: 0 2.7rem;
  cursor: grab;
}

.wk-banner-viewport::-webkit-scrollbar { display: none; }

.wk-banner-viewport.is-dragging {
  cursor: grabbing;
}

.wk-banner-track {
  display: flex;
  gap: var(--wk-banner-gap);
  width: max-content;
  min-height: 18.75rem;
}

.wk-banner:not(.is-overflow) .wk-banner-track {
  width: 100%;
  max-width: 100%;
  justify-content: center;
}

.wk-banner-card {
  position: relative;
  flex: 0 0 auto;
  width: clamp(24rem, 38vw, 34rem);
  aspect-ratio: 16 / 9;
  border-radius: var(--wk-radius-md);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #111827;
  box-shadow: 0 0.35rem 1rem rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  user-select: none;
  -webkit-user-drag: none;
}

.wk-banner-card.is-hover {
  transform: translateY(-2px);
  box-shadow: 0 0.65rem 1.6rem rgba(0, 0, 0, 0.42);
  z-index: 1;
}

.wk-banner-card img,
.wk-banner-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  filter: brightness(0.78);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.wk-banner-card.is-hover img,
.wk-banner-card.is-hover video {
  transform: scale(1.05);
  filter: brightness(0.92);
}

.wk-banner-card-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.7rem 1rem 0.95rem;
  display: grid;
  gap: 0.28rem;
  justify-items: center;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.wk-banner-card-caption strong {
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 800;
  color: var(--wk-lime);
  letter-spacing: 0.02em;
  text-shadow: 0 0.15rem 0.55rem rgba(0, 0, 0, 0.45);
}

.wk-banner-card-caption em {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.wk-banner-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.3rem;
  height: 2.3rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.wk-banner-nav:hover {
  background: rgba(15, 23, 42, 0.82);
  transform: translateY(-50%) scale(1.04);
}

.wk-banner-nav--prev { left: 0.55rem; }
.wk-banner-nav--next { right: 0.55rem; }

.wk-banner-nav[hidden],
.wk-banner:not(.is-overflow) .wk-banner-nav {
  display: none !important;
}

.wk-portal-row {
  display: grid;
  grid-template-columns: minmax(15.5rem, 18.25rem) minmax(0, 1fr);
  gap: 0.95rem;
  margin-top: 0.95rem;
  align-items: stretch;
}

.wk-ad-slot {
  position: relative;
  min-width: 0;
  min-height: 21.5rem;
  height: 100%;
  display: flex;
}

.wk-ad-stage {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 100%;
  display: flex;
}

.wk-ad-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background 0.15s ease, transform 0.15s ease;
}

.wk-ad-nav:hover {
  background: rgba(15, 23, 42, 0.78);
  transform: translateY(-50%) scale(1.04);
}

.wk-ad-nav--prev { left: 0.45rem; }
.wk-ad-nav--next { right: 0.45rem; }

.wk-ad-nav[hidden] {
  display: none !important;
}

.wk-ad-empty {
  flex: 1;
  width: 100%;
  min-height: 21.5rem;
  display: grid;
  place-items: center;
  color: var(--wk-muted);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(245, 247, 251, 0.7);
  border: 1px dashed var(--wk-line);
  border-radius: var(--wk-radius-lg);
}

/* 首页广告区封面（PC 竖图铺满左栏，移动端横图 16:9） */
.wk-ad-card {
  position: relative;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  border-radius: var(--wk-radius-lg);
  overflow: hidden;
  min-height: 21.5rem;
  text-decoration: none;
  color: #fff;
  background: #0b1220;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: var(--wk-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wk-ad-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--wk-shadow-hover);
}

.wk-ad-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.72) saturate(1.05);
  transition: transform 0.45s ease, filter 0.3s ease;
}

.wk-ad-card:hover .wk-ad-card-bg {
  transform: scale(1.04);
  filter: brightness(0.78) saturate(1.1);
}

.wk-ad-card-body {
  position: relative;
  z-index: 1;
  height: 100%;
  min-height: inherit;
  padding: 1.2rem 1.1rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.4rem;
  background:
    linear-gradient(180deg, rgba(5, 8, 18, 0.08) 0%, rgba(5, 8, 18, 0.28) 42%, rgba(5, 8, 18, 0.88) 100%);
}

.wk-ad-card-tag {
  display: inline-flex;
  align-items: center;
  height: 1.35rem;
  padding: 0 0.5rem;
  border-radius: 999px;
  background: rgba(184, 255, 60, 0.18);
  border: 1px solid rgba(184, 255, 60, 0.45);
  color: var(--wk-lime);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.wk-ad-card-body strong {
  font-size: clamp(1.45rem, 1.8vw, 1.75rem);
  font-weight: 850;
  line-height: 1.15;
  color: #fff;
  letter-spacing: 0.01em;
  text-shadow: 0 0.2rem 0.7rem rgba(0, 0, 0, 0.35);
}

.wk-ad-card-body em {
  font-style: normal;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.wk-ad-card-cta {
  margin-top: 0.45rem;
  display: inline-flex;
  align-items: center;
  height: 1.9rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: var(--wk-lime);
  color: #111827;
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 0.35rem 0.9rem rgba(184, 255, 60, 0.28);
}

.wk-tools-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 0.85rem 0.9rem 0.95rem;
  border: 1px solid var(--wk-line);
  border-radius: var(--wk-radius-lg);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--wk-shadow);
  backdrop-filter: blur(6px);
}

.wk-tools-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wk-tools-tabs-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  min-width: 0;
}

.wk-tools-tabs-list button {
  height: 2rem;
  padding: 0 0.78rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--wk-muted);
  font-size: 0.88rem;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.wk-tools-tabs-list button.is-active {
  background: var(--wk-soft);
  color: var(--wk-ink);
}

.wk-tools-more {
  color: var(--wk-muted);
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.wk-tools-more:hover { color: var(--wk-accent); }

.wk-tool-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  flex: 1;
  align-items: stretch;
}

.wk-tool-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(11.6rem, 48%);
  gap: 0;
  align-items: stretch;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--wk-radius-md);
  border: 1px solid var(--wk-line);
  background: linear-gradient(180deg, #ffffff 0%, #fafbfd 100%);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 0.12rem 0.45rem rgba(17, 24, 39, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.wk-tool-card:hover {
  border-color: #cfe0ff;
  box-shadow: var(--wk-shadow-hover);
  transform: translateY(-2px);
}

.wk-tool-card-copy {
  display: grid;
  align-content: center;
  gap: 0.28rem;
  min-width: 0;
  padding: 0.85rem 0.95rem;
}

.wk-tool-card-copy strong {
  font-size: 0.96rem;
  font-weight: 750;
  color: var(--wk-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-tool-card-copy em {
  font-style: normal;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #9ca3af;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wk-tool-card-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  align-self: center;
  overflow: hidden;
  background: var(--wk-soft);
}

.wk-tool-card-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.wk-tool-card:hover .wk-tool-card-thumb img {
  transform: scale(1.05);
}

/* ===================== 中：AI灵感 ===================== */
.wk-inspire {
  padding: 1.85rem 0 0.55rem;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8faff 48%, #ffffff 100%);
}

.wk-inspire-groups {
  display: grid;
  gap: 1rem;
}

.wk-inspire-row {
  display: grid;
  grid-template-columns: 13.75rem minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--wk-line);
  border-radius: 1.05rem;
  box-shadow: 0 0.45rem 1.25rem rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.wk-inspire-row-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.1rem;
  min-height: 100%;
  padding: 1.35rem 1.2rem 1.15rem;
  background: #f6f7fb;
  border-right: 1px solid var(--wk-line);
  color: var(--wk-ink);
}

.wk-inspire-row-cat-copy {
  display: grid;
  gap: 0.45rem;
}

.wk-inspire-row-cat strong {
  font-size: 1.28rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  color: #111827;
  line-height: 1.25;
}

.wk-inspire-row-cat em {
  font-style: normal;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #6b7280;
}

.wk-inspire-row-navs {
  display: none;
  align-items: center;
  gap: 0.45rem;
}

.wk-inspire-row.is-overflow .wk-inspire-row-navs {
  display: flex;
}

.wk-inspire-row-scroller {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0.8rem 0.85rem 0.8rem 0.25rem;
  background: #fff;
}

.wk-inspire-row-viewport {
  overflow: hidden;
  height: 100%;
}

.wk-inspire-row-track {
  display: flex;
  gap: 0.55rem;
  width: max-content;
  min-height: 100%;
}

.wk-inspire-row:not(.is-overflow) .wk-inspire-row-track {
  width: 100%;
}

.wk-inspire-row-nav {
  width: 1.85rem;
  height: 1.85rem;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #6b7280;
  cursor: pointer;
  box-shadow: 0 0.12rem 0.35rem rgba(15, 23, 42, 0.06);
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.wk-inspire-row-nav:hover {
  border-color: #cfd6e4;
  color: #111827;
  background: #fff;
}

.wk-inspire-row-nav[hidden] { display: none !important; }

.wk-inspire-row .wk-inspire-card {
  flex: 0 0 auto;
  width: clamp(12.4rem, 18.5vw, 16.2rem);
  border: 0;
  border-radius: 0.72rem;
  box-shadow: 0 0.4rem 1.05rem rgba(15, 23, 42, 0.14);
}

.wk-inspire-row .wk-inspire-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.18);
}

.wk-inspire-row .wk-inspire-refs {
  left: auto;
  right: 0.45rem;
  bottom: 2.55rem;
  transform: none;
  padding: 0;
  gap: 0.28rem;
  background: transparent;
  backdrop-filter: none;
}

.wk-inspire-row .wk-inspire-ref {
  width: 2.35rem;
  height: 2.35rem;
  border-width: 2px;
}

.wk-inspire-play {
  flex: 0 0 auto;
  opacity: 0.95;
}

.wk-inspire-row .wk-inspire-overlay {
  padding: 1.5rem 0.7rem 0.7rem;
}

.wk-inspire-row .wk-inspire-overlay strong {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.wk-banner-card[href],
.wk-banner-card[data-jump-url] {
  cursor: pointer;
}

.wk-inspire-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.7rem;
}

.wk-inspire-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4.05;
  border-radius: var(--wk-radius-md);
  overflow: hidden;
  background: #e5e7eb;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.04);
  box-shadow: 0 0.28rem 0.85rem rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wk-inspire-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--wk-shadow-hover);
}

.wk-inspire-cover,
.wk-inspire-card > img.wk-inspire-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wk-inspire-cover-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: #e5e7eb;
  color: var(--wk-muted);
  font-size: 0.78rem;
}

.wk-inspire-card:hover .wk-inspire-cover { transform: scale(1.05); }

.wk-inspire-orig {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 0.55rem;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.96);
  box-shadow: 0 0.25rem 0.65rem rgba(0, 0, 0, 0.3);
  background: #fff;
  pointer-events: none;
}

.wk-inspire-orig img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wk-inspire-refs {
  position: absolute;
  left: 50%;
  bottom: 2.85rem;
  z-index: 3;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  padding: 0.32rem 0.42rem;
  border-radius: 0.65rem;
  background: rgba(15, 23, 42, 0.32);
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.wk-inspire-ref {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 0.48rem;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0.18rem 0.5rem rgba(0, 0, 0, 0.3);
  background: #fff;
  flex: 0 0 auto;
}

.wk-inspire-ref img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wk-inspire-ref-plus {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0.1rem 0.25rem rgba(0, 0, 0, 0.35);
  user-select: none;
}

.wk-inspire-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 1.35rem 0.65rem 0.65rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  display: grid;
  gap: 0.25rem;
  z-index: 1;
  color: #fff;
}

.wk-inspire-overlay strong {
  font-size: 0.82rem;
  font-weight: 750;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wk-inspire-overlay span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.88);
}

.wk-inspire-overlay em,
.wk-inspire-overlay i {
  font-style: normal;
}

.wk-inspire-same {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 0.15rem;
  height: 1.55rem;
  padding: 0 0.7rem;
  border-radius: 999px;
  background: var(--wk-accent);
  color: #fff !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0.15rem 0.4rem rgba(5, 118, 255, 0.35);
}

.wk-inspire-empty {
  grid-column: 1 / -1;
  min-height: 8rem;
  display: grid;
  place-items: center;
  color: var(--wk-muted);
  font-size: 0.9rem;
  font-weight: 600;
  background: rgba(245, 247, 251, 0.7);
  border: 1px dashed var(--wk-line);
  border-radius: var(--wk-radius-md);
}

.wk-inspire-empty--error { color: #dc2626; }

.wk-banner-empty {
  min-width: min(100%, 24rem);
  min-height: 10rem;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 600;
}

.wk-coin-model img,
.wk-coin-model video {
  pointer-events: none;
}

.wk-coin-model video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.wk-coin-model:hover video { transform: scale(1.05); }

/* ===================== 下：悟空币专区 ===================== */
.wk-coin-zone {
  padding: 1.65rem 0 1.55rem;
  background:
    radial-gradient(circle at 20% 0%, rgba(217, 249, 157, 0.22), transparent 22rem),
    radial-gradient(circle at 80% 10%, rgba(191, 219, 254, 0.2), transparent 24rem),
    #fff;
}

.wk-coin-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #a3e635, #22c55e);
  box-shadow: 0 0 0 0.2rem rgba(163, 230, 53, 0.22);
}

.wk-coin-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(0, 2.2fr);
  gap: 0.85rem;
  align-items: stretch;
}

.wk-coin-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  min-height: 20.5rem;
  padding: 1.5rem 1.3rem;
  border-radius: var(--wk-radius-lg);
  text-decoration: none;
  color: var(--wk-ink);
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 255, 255, 0.45), transparent 28%),
    linear-gradient(145deg, #d9f99d 0%, #bef264 45%, #a3e635 100%);
  overflow: hidden;
  border: 1px solid rgba(101, 163, 13, 0.16);
  box-shadow: 0 0.45rem 1.2rem rgba(101, 163, 13, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wk-coin-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 0.75rem 1.6rem rgba(101, 163, 13, 0.2);
}

.wk-coin-hero.is-media {
  color: #fff;
  background: #111827;
  padding: 0;
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 0.3rem 0.9rem rgba(15, 23, 42, 0.08);
}

.wk-coin-hero.is-media:hover {
  box-shadow: var(--wk-shadow-hover);
}

.wk-coin-hero.is-media::after {
  display: none;
}

.wk-coin-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.wk-coin-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  height: 100%;
  min-height: inherit;
  padding: 1.4rem 1.2rem;
  background: linear-gradient(180deg, transparent 38%, rgba(0, 0, 0, 0.72) 100%);
  color: #fff;
}

.wk-coin-hero.is-media strong,
.wk-coin-hero.is-media p {
  color: #fff;
}

.wk-coin-hero.is-media p {
  color: rgba(255, 255, 255, 0.88);
}

.wk-coin-hero::after {
  content: "";
  position: absolute;
  right: -1.5rem;
  top: -1.5rem;
  width: 8.5rem;
  height: 8.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.wk-coin-hero strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.55rem, 2vw, 1.9rem);
  font-weight: 850;
  letter-spacing: 0.02em;
}

.wk-coin-hero p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.78);
}

.wk-coin-hero-btn {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 0.35rem;
  padding: 0.48rem 0.95rem;
  border-radius: 999px;
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 750;
}

.wk-coin-models {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  min-height: 20.5rem;
}

.wk-coin-model {
  position: relative;
  display: block;
  border-radius: var(--wk-radius-md);
  overflow: hidden;
  background: #111827;
  text-decoration: none;
  color: #fff;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 0.3rem 0.9rem rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wk-coin-model:hover {
  transform: translateY(-2px);
  box-shadow: var(--wk-shadow-hover);
}

.wk-coin-model img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.82);
  transition: transform 0.35s ease;
}

.wk-coin-model:hover img { transform: scale(1.05); }

.wk-coin-model strong {
  position: absolute;
  left: 0.75rem;
  top: 0.7rem;
  right: 0.75rem;
  font-size: 0.9rem;
  font-weight: 750;
  text-shadow: 0 0.15rem 0.5rem rgba(0, 0, 0, 0.45);
}

/* ===================== 响应式 ===================== */
@media (max-width: 1400px) {
  .wk-inspire-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

@media (max-width: 1280px) {
  .wk-portal-row { grid-template-columns: minmax(14.5rem, 16.5rem) minmax(0, 1fr); }
  .wk-banner-card { width: clamp(21.5rem, 42vw, 29rem); }
  .wk-inspire-row { grid-template-columns: 12.25rem minmax(0, 1fr); }
  .wk-inspire-row .wk-inspire-card { width: clamp(11.4rem, 19vw, 14.6rem); }
  .wk-tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-tool-card {
    grid-template-columns: minmax(0, 1fr) minmax(11.6rem, 48%);
    min-height: 0;
  }
}

@media (max-width: 1100px) {
  .wk-portal-row { grid-template-columns: 13.75rem minmax(0, 1fr); }
  .wk-tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wk-inspire-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .wk-inspire-row { grid-template-columns: 11rem minmax(0, 1fr); }
  .wk-ad-slot,
  .wk-ad-card,
  .wk-ad-empty { min-height: 24rem; }
}

@media (max-width: 991.98px) {
  .wk-shell { --wk-page-pad: 1rem; }
  .wk-banner { border-radius: 0.85rem; padding: 0.85rem 0; }
  .wk-banner-viewport { padding: 0 0.75rem; }
  .wk-banner.is-overflow .wk-banner-viewport { padding: 0 2.3rem; }
  .wk-banner-track { min-height: 14.75rem; }
  .wk-banner-card { width: clamp(19.5rem, 68vw, 26rem); }
  .wk-inspire-row { grid-template-columns: 10.25rem minmax(0, 1fr); }
  .wk-inspire-row-cat { padding: 1.1rem 0.95rem 1rem; }
  .wk-inspire-row-cat strong { font-size: 1.12rem; }
  .wk-inspire-row .wk-inspire-card { width: clamp(11rem, 32vw, 13.8rem); }
  .wk-portal-row { grid-template-columns: 1fr; }
  .wk-ad-slot {
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .wk-ad-slot.is-landscape,
  .wk-ad-slot.is-portrait {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
  .wk-ad-stage {
    min-height: 0;
    height: 100%;
  }
  .wk-ad-card,
  .wk-ad-empty {
    min-height: 0;
    height: 100%;
  }
  .wk-ad-card-body {
    padding: 0.85rem 0.9rem 0.9rem;
  }
  .wk-ad-card-body strong {
    font-size: 1.15rem;
  }
  .wk-tools-panel { padding: 0.75rem; }
  .wk-tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; grid-auto-rows: 1fr; }
  .wk-tool-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .wk-tool-card-thumb {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 0;
  }
  .wk-tool-card-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0.55rem 0.62rem 0.62rem;
    gap: 0.18rem;
    min-height: 3.85rem;
  }
  .wk-tool-card-copy strong {
    white-space: normal;
    font-size: 0.84rem;
    min-height: 2.18em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wk-tool-card-copy em {
    font-size: 0.7rem;
    min-height: 2.9em;
    -webkit-line-clamp: 2;
  }
  .wk-inspire-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.7rem; }
  .wk-coin-layout { grid-template-columns: 1fr; }
  .wk-coin-hero { min-height: 12.5rem; }
  .wk-coin-models {
    min-height: 0;
    grid-auto-rows: auto;
  }
}

@media (max-width: 575.98px) {
  .wk-shell { --wk-page-pad: 0.85rem; }
  .wk-inspire-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; }
  .wk-banner-viewport { padding: 0 0.65rem; }
  .wk-banner.is-overflow .wk-banner-viewport { padding: 0 2rem; }
  .wk-banner-track { min-height: 12.25rem; }
  .wk-banner-card { width: min(86vw, 22.5rem); }
  .wk-inspire-row { grid-template-columns: 1fr; }
  .wk-inspire-row-cat {
    min-height: 0;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
    border-right: 0;
    border-bottom: 1px solid var(--wk-line);
    padding: 0.95rem 1rem 0.85rem;
  }
  .wk-inspire-row-scroller { padding: 0.15rem 0.75rem 0.75rem; }
  .wk-inspire-row .wk-inspire-card { width: min(48vw, 13.4rem); }
  .wk-banner-card-caption em { display: none; }
  .wk-tools-tabs { align-items: flex-start; flex-direction: column; }
  .wk-tool-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.55rem; grid-auto-rows: 1fr; }
  .wk-tool-card {
    display: flex;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 0;
    height: 100%;
    min-height: 0;
    padding: 0;
    overflow: hidden;
  }
  .wk-tool-card-thumb {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 0;
  }
  .wk-tool-card-copy {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 0.48rem 0.52rem 0.55rem;
    gap: 0.14rem;
    min-height: 3.6rem;
  }
  .wk-tool-card-copy strong {
    white-space: normal;
    font-size: 0.78rem;
    min-height: 2.18em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .wk-tool-card-copy em {
    font-size: 0.64rem;
    min-height: 2.9em;
    -webkit-line-clamp: 2;
  }
  .wk-coin-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.7rem; }
  .wk-block-tabs button { padding: 0 0.65rem; font-size: 0.84rem; }
  .wk-inspire-skills { grid-template-columns: 1fr; gap: 0.75rem; max-width: none; }
  .wk-skill-card { min-height: 5.4rem; padding: 0.85rem 0.9rem; }
  .wk-skill-thumb { width: 4.4rem; height: 4.4rem; }
  .sk-use-dialog, .sk-use-dialog.is-history-open { width: min(96vw, 34rem); max-height: 92vh; }
  .sk-use-shell { flex-direction: column; }
  .sk-use-history { border-left: 0; border-top: 1px solid transparent; }
  .sk-use-dialog.is-history-open .sk-use-history { flex-basis: 16rem; width: 100%; border-top-color: #e2e8f0; border-left-color: transparent; }
  .sk-use-layout.has-promo { grid-template-columns: 1fr; }
  .sk-use-promo { min-height: 14rem; }
  .sk-use-stage { height: 12.5rem; }
  .sk-use-panel { min-height: min(52vh, 18rem); }
}

/* ===================== 技能 Skills 列表与使用弹窗 ===================== */
.wk-inspire-skills {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(17.5rem, 1fr));
  gap: 0.9rem 1rem;
  width: 100%;
  max-width: none;
}

.wk-skill-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 5.2rem;
  gap: 0.85rem;
  align-items: center;
  width: 100%;
  min-height: 5.8rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.04);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wk-skill-card:hover {
  border-color: rgba(148, 163, 184, 0.55);
  box-shadow: 0 0.7rem 1.5rem rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}

.wk-skill-copy strong {
  display: block;
  font-size: 0.98rem;
  color: #0f172a;
  margin-bottom: 0.28rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wk-skill-copy p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wk-skill-thumb {
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #f5f7fb;
  flex-shrink: 0;
}

.wk-skill-cover,
.wk-skill-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.wk-skill-cover-empty {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: var(--wk-muted);
  font-size: 0.72rem;
}

body.sk-use-open { overflow: hidden; }

.sk-use-modal[hidden] { display: none !important; }

.sk-use-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.sk-use-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(2px);
}

.sk-use-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  width: min(92vw, 860px);
  max-height: 88vh;
  overflow: hidden;
  background: #fff;
  border-radius: 1.15rem;
  box-shadow: 0 1.6rem 3.2rem rgba(15, 23, 42, 0.28);
  transition: width 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.sk-use-dialog.is-history-open { width: min(96vw, 1180px); }
.sk-use-dialog.is-history-open .sk-use-shell { padding-right: 20.5rem; }
.sk-use-shell {
  display: flex;
  align-items: stretch;
  position: relative;
  min-width: 0;
  min-height: 0;
  max-height: 88vh;
  overflow: hidden;
  transition: padding 0.42s cubic-bezier(0.22, 0.8, 0.24, 1);
}
.sk-use-shell > .sk-use-layout { flex: 1 1 auto; min-width: 0; min-height: 0; }
.sk-use-history {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  width: 0;
  min-width: 0;
  min-height: 0;
  opacity: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-left: 1px solid transparent;
  background: #f8fafc;
  pointer-events: none;
  transition: width 0.42s cubic-bezier(0.22, 0.8, 0.24, 1), height 0.42s cubic-bezier(0.22, 0.8, 0.24, 1), opacity 0.28s ease, border-color 0.28s ease;
}
.sk-use-dialog.is-history-open .sk-use-history {
  width: 20.5rem;
  opacity: 1;
  border-left-color: #e2e8f0;
  pointer-events: auto;
}
@media (max-width: 575.98px) {
  .sk-use-dialog,
  .sk-use-dialog.is-history-open { width: min(96vw, 34rem); max-height: 92vh; }
  .sk-use-dialog.is-history-open .sk-use-shell { padding-right: 0; padding-bottom: 16rem; }
  .sk-use-history {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 0;
  }
  .sk-use-dialog.is-history-open .sk-use-history {
    width: 100%;
    height: 16rem;
  }
  .sk-use-layout.has-promo { grid-template-columns: 1fr; }
  .sk-use-promo { min-height: 14rem; }
  .sk-use-stage { height: 12.5rem; }
  .sk-use-panel { min-height: min(52vh, 18rem); }
}
.sk-use-history-head { padding: 1.15rem 3rem 0.7rem 1.1rem; flex: 0 0 auto; }
.sk-use-history-head h4 { margin: 0; font-size: 0.98rem; color: #0f172a; }
.sk-use-history-head p { margin: 0.2rem 0 0; color: #64748b; font-size: 0.78rem; }
.sk-use-history-list { flex: 1 1 auto; overflow: auto; padding: 0 0.75rem 1rem; min-height: 0; }
.sk-use-history-item {
  width: 100%;
  text-align: left;
  border: 0;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
  padding: 0.75rem 0.35rem;
  display: grid;
  gap: 0.18rem;
}
.sk-use-history-item strong { font-size: 0.9rem; color: #0f172a; }
.sk-use-history-item span { color: #64748b; font-size: 0.76rem; }
.sk-use-history-empty { margin: 0.4rem 0.2rem; color: #94a3b8; font-size: 0.82rem; }

.sk-use-toast {
  position: absolute;
  left: 50%;
  top: 0.7rem;
  z-index: 4;
  transform: translate(-50%, -8px);
  padding: 7px 16px;
  border-radius: 8px;
  background: #111827;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.18);
  max-width: min(80%, 22rem);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.sk-use-toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.sk-use-toast.is-error { background: #b91c1c; }
.sk-use-toast.is-success { background: #047857; }

.sk-use-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  z-index: 5;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.92);
  color: #475569;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.sk-use-layout {
  display: grid;
  grid-template-columns: 1fr;
  max-height: 88vh;
}

.sk-use-layout.has-promo {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.sk-use-promo {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  min-height: 22rem;
  padding: 1.4rem 1rem 1.1rem;
  background:
    radial-gradient(circle at 50% 35%, rgba(255,255,255,0.9), transparent 42%),
    linear-gradient(180deg, #f3f5f8 0%, #e8edf3 100%);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(148, 163, 184, 0.28) 1px, transparent 0),
    linear-gradient(180deg, #f5f7fa 0%, #e9eef4 100%);
  background-size: 14px 14px, auto;
}

.sk-use-stage {
  position: relative;
  width: 100%;
  height: 17.5rem;
  display: grid;
  place-items: center;
}

.sk-use-stage.is-single .sk-use-card {
  width: min(72%, 13.5rem);
  height: 16rem;
  transform: none;
  box-shadow: 0 1.1rem 2.2rem rgba(15, 23, 42, 0.16);
}

.sk-use-card {
  position: absolute;
  width: 11.2rem;
  height: 15.2rem;
  border-radius: 1rem;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 0.85rem 1.8rem rgba(15, 23, 42, 0.14);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.sk-use-card img,
.sk-use-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sk-use-card-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.45rem 0.55rem;
  background: linear-gradient(transparent, rgba(15,23,42,.55));
  color: #fff;
  font-size: 0.72rem;
}

.sk-use-card.is-center {
  z-index: 3;
  transform: translateX(0) scale(1);
}

.sk-use-card.is-side {
  z-index: 1;
  width: 9.4rem;
  height: 12.8rem;
  opacity: 0.78;
  filter: saturate(0.92);
}

.sk-use-card.is-left { transform: translateX(-58%) scale(0.9) rotate(-4deg); }
.sk-use-card.is-right { transform: translateX(58%) scale(0.9) rotate(4deg); }

.sk-use-promo-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.28rem 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(226,232,240,0.95);
  box-shadow: 0 0.35rem 0.9rem rgba(15,23,42,0.08);
}

.sk-use-promo-nav[hidden] { display: none !important; }

.sk-use-promo-nav > button {
  width: 1.55rem;
  height: 1.55rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
}

.sk-use-dots {
  display: inline-flex;
  gap: 0.28rem;
  align-items: center;
  padding: 0 0.15rem;
}

.sk-use-dots button {
  width: 0.38rem;
  height: 0.38rem;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  padding: 0;
  cursor: pointer;
}

.sk-use-dots button.is-active {
  width: 0.85rem;
  background: #64748b;
}

.sk-use-panel {
  display: flex;
  flex-direction: column;
  min-height: min(88vh, 32rem);
  max-height: 88vh;
  overflow: hidden;
  padding: 1.15rem 1.25rem 1.25rem;
}

@media (max-width: 991.98px) {
  .sk-use-layout.has-promo { grid-template-columns: 1fr; }
  .sk-use-promo { display: none; }
  .sk-use-panel { min-height: 0; }
}

.sk-use-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
  padding-right: 1.6rem;
  flex: 0 0 auto;
}

.sk-use-back {
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  padding: 0;
  flex: 0 0 auto;
}
.sk-use-back svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sk-use-back[aria-pressed="true"] { background: #e0e7ff; color: #3730a3; }

.sk-use-title-row {
  margin: 0.15rem 0 0.2rem;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  position: relative;
  max-width: 100%;
}
.sk-use-title-row [data-sk-title] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sk-use-info {
  width: 1.1rem;
  height: 1.1rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}
.sk-use-info:hover,
.sk-use-info:focus-visible {
  border-color: #93c5fd;
  color: #2563eb;
  background: #eff6ff;
}
.sk-use-info[hidden] { display: none !important; }
.sk-use-info-pop {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 30;
  min-width: 12rem;
  max-width: min(22rem, 70vw);
  padding: 0.7rem 0.8rem;
  border-radius: 0.7rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: pre-wrap;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
}
.sk-use-info-pop[hidden] { display: none !important; }
.sk-use-info-pop::before {
  content: "";
  position: absolute;
  left: 1.4rem;
  top: -5px;
  width: 10px;
  height: 10px;
  background: #0f172a;
  transform: rotate(45deg);
}

.sk-use-head p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.86rem;
}

.sk-use-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 2px;
}

.sk-use-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
}

.sk-use-field--switch {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.sk-use-field input:not([type="file"]),
.sk-use-field textarea {
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.62rem 0.75rem;
  font: inherit;
  font-weight: 500;
  background: #fff;
}

.sk-req { color: #dc2626; }

.sk-use-actions {
  margin-top: auto;
  padding-top: 1.05rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.sk-use-cost-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sk-use-cost-wrap[hidden] { display: none !important; }

.sk-use-cost-info {
  width: 1.15rem;
  height: 1.15rem;
  border: 1px solid #cbd5e1;
  border-radius: 999px;
  background: #f8fafc;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  font-style: italic;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1;
  display: inline-grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
}

.sk-use-cost-info:hover,
.sk-use-cost-info:focus-visible,
.sk-use-cost-info[aria-expanded="true"] {
  border-color: #93c5fd;
  color: #2563eb;
  background: #eff6ff;
  outline: none;
}

.sk-use-cost-pop {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 30;
  min-width: 10rem;
  max-width: min(18rem, 70vw);
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .22);
  pointer-events: none;
}

.sk-use-cost-pop[hidden] { display: none !important; }

.sk-use-cost-pop::after {
  content: "";
  position: absolute;
  right: 0.7rem;
  bottom: -4px;
  width: 8px;
  height: 8px;
  background: #0f172a;
  transform: rotate(45deg);
}

.sk-use-run {
  min-width: 8.5rem;
  height: 2.55rem;
  border: 0;
  border-radius: 0.75rem;
  padding: 0 1.1rem;
  background: #e8edf3;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  transition: background 0.15s ease, transform 0.15s ease;
}

.sk-use-run:hover { background: #dbe3ec; }
.sk-use-run:disabled { opacity: 0.65; cursor: wait; }

.sk-use-coin { color: #f59e0b; }
.sk-up-meta {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  color: #64748b;
  line-height: 1.35;
}
.sk-up-lib {
  margin-left: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #2563eb;
  font-size: inherit;
  cursor: pointer;
}
.sk-up-lib:hover { text-decoration: underline; }
.sk-use-interact {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
}
.sk-use-interact-body {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-height: min(52vh, 28rem);
  overflow: auto;
}
.sk-use-interact-actions {
  display: flex;
  justify-content: flex-end;
}
.sk-interact-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.sk-interact-title {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 650;
  color: #64748b;
  letter-spacing: 0.04em;
}
.sk-interact-question {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.45;
}
.sk-interact-confirm {
  margin: 0;
  padding: 0.75rem 0.85rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  font-size: 0.88rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.sk-interact-options {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.sk-interact-option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.sk-interact-option:hover { border-color: #93c5fd; background: #f8fbff; }
.sk-interact-option.is-on {
  border-color: #60a5fa;
  background: #eff6ff;
}
.sk-interact-option input { margin-top: 0.15rem; }
.sk-interact-option span { flex: 1; font-size: 0.88rem; color: #1e293b; line-height: 1.4; }
.sk-interact-option .sk-interact-rec {
  flex: none;
  font-size: 0.7rem;
  color: #2563eb;
  background: #dbeafe;
  border-radius: 999px;
  padding: 0.1rem 0.45rem;
}
.sk-interact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.sk-interact-field > span {
  font-size: 0.8rem;
  color: #64748b;
}
.sk-interact-field textarea,
.sk-interact-field input,
.sk-interact-field select {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 0.65rem;
  padding: 0.55rem 0.7rem;
  font-size: 0.88rem;
  background: #fff;
}
.sk-interact-field textarea { min-height: 4.5rem; resize: vertical; }
.sk-interact-decision {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.sk-interact-decision button {
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 0.65rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  cursor: pointer;
}
.sk-interact-decision button.is-on {
  border-color: #2563eb;
  background: #eff6ff;
  color: #1d4ed8;
}

/* 步骤条 */
.sk-use-steps {
  list-style: none;
  margin: 0 0 0.9rem;
  padding: 0.15rem 0.2rem 0.55rem;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .35s ease, transform .45s cubic-bezier(.22, 1, .36, 1);
  flex: 0 0 auto;
}
.sk-use-steps.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.sk-use-step {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}
.sk-use-step-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #e2e8f0;
  position: relative;
  flex: 0 0 auto;
}
.sk-use-step.is-done { color: #64748b; }
.sk-use-step.is-done .sk-use-step-dot {
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .15);
}
.sk-use-step.is-done .sk-use-step-dot::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 0.28rem; height: 0.16rem;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: translate(-50%, -60%) rotate(-45deg);
}
.sk-use-step.is-active { color: #0f172a; }
.sk-use-step.is-active .sk-use-step-dot {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .16);
}
.sk-use-step.is-loading .sk-use-step-dot {
  background: transparent;
  border: 2px solid #bfdbfe;
  border-top-color: #2563eb;
  animation: sk-use-spin .7s linear infinite;
  box-shadow: none;
}
.sk-use-step.is-loading .sk-use-step-dot::after { display: none; }
.sk-use-step-line {
  flex: 1 1 auto;
  height: 1px;
  margin: 0 0.45rem;
  background: linear-gradient(90deg, #e2e8f0, #cbd5e1, #e2e8f0);
  min-width: 1.2rem;
}
@keyframes sk-use-spin { to { transform: rotate(360deg); } }

.sk-use-workspace {
  display: flex;
  flex-direction: column;
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}
.sk-use-phase {
  animation: sk-use-phase-in .35s ease;
}
.sk-use-phase--form {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}
.sk-use-phase[hidden] { display: none !important; }
@keyframes sk-use-phase-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.sk-use-workspace.is-stepped .sk-use-phase--form {
  border: 1px solid #e8edf4;
  border-radius: 0.9rem;
  padding: 0.75rem;
  background: #f8fafc;
}
.sk-use-phase--result {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}
.sk-use-phase--running {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.sk-use-skeleton {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  padding: 0.2rem 0 0.4rem;
}
.sk-use-skeleton.is-visual {
  flex: 1 1 auto;
  min-height: 12rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), max-content));
  place-content: center;
  place-items: center;
}
.sk-use-skeleton.is-visual .sk-use-skel-card.is-image:not(.is-single) {
  width: min(100%, 9.5rem);
}
.sk-use-skeleton.is-visual .sk-use-skel-card.is-video,
.sk-use-skeleton.is-visual .sk-use-skel-card.is-image.is-single {
  grid-column: 1 / -1;
  width: min(100%, 16rem);
  justify-self: center;
}
.sk-use-skel-card {
  border-radius: 0.85rem;
  background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 40%, #eef2f7 80%);
  background-size: 200% 100%;
  animation: sk-use-shimmer 1.2s ease-in-out infinite;
  min-height: 7.5rem;
  position: relative;
  overflow: hidden;
}
.sk-use-skel-card.is-text {
  grid-column: 1 / -1;
  min-height: 4.8rem;
}
.sk-use-skel-card.is-text::after {
  content: "";
  position: absolute;
  inset: 1rem 1.1rem auto;
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
  box-shadow: 0 1.15rem 0 rgba(148, 163, 184, 0.22), 0 2.3rem 0 rgba(148, 163, 184, 0.16);
  width: 78%;
}
.sk-use-skel-card.is-image {
  aspect-ratio: 1;
  min-height: 0;
}
.sk-use-skel-card.is-image.is-single {
  grid-column: 1 / -1;
  aspect-ratio: 4 / 3;
  max-height: 14rem;
}
.sk-use-skel-card.is-image::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin: -1.1rem 0 0 -1.1rem;
  background: rgba(148, 163, 184, 0.35);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.5 5.5h15a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-15a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2zm4 3.2a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8zM5 16.2l4.2-5.1a1 1 0 0 1 1.55-.02L13 13.4l1.7-2.05a1 1 0 0 1 1.58.05L19.5 16.2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M4.5 5.5h15a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2h-15a2 2 0 0 1-2-2v-9a2 2 0 0 1 2-2zm4 3.2a1.4 1.4 0 1 0 0 2.8 1.4 1.4 0 0 0 0-2.8zM5 16.2l4.2-5.1a1 1 0 0 1 1.55-.02L13 13.4l1.7-2.05a1 1 0 0 1 1.58.05L19.5 16.2H5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sk-use-skel-card.is-video {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: 12rem;
}
.sk-use-skel-card.is-video::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 2.2rem;
  height: 2.2rem;
  margin: -1.1rem 0 0 -1.1rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.35);
  clip-path: polygon(38% 28%, 38% 72%, 72% 50%);
}
.sk-use-skel-card.is-audio {
  grid-column: 1 / -1;
  min-height: 3.4rem;
}
.sk-use-skel-card.is-audio::after {
  content: "";
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 50%;
  height: 0.55rem;
  margin-top: -0.28rem;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.28);
}
.sk-use-skel-card.is-wide {
  grid-column: 1 / -1;
  min-height: 4.5rem;
}
@keyframes sk-use-shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.sk-use-running-hint {
  display: none !important;
}

/* 上传组件：空态与已上传保持同高度 */
.sk-up-zone-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}
.sk-up-file-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
}
.sk-up-zone {
  position: relative;
  border: 1.5px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #f8fafc;
  padding: 0.45rem;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
  min-height: 5.1rem;
  display: flex;
  align-items: center;
}
.sk-up-zone-wrap .sk-up-zone {
  border-radius: 0.75rem;
}
.sk-up-zone:hover,
.sk-up-zone.is-dragover { border-color: #93c5fd; background: #eff6ff; }
.sk-up-zone.has-files {
  cursor: default;
  border-style: solid;
  border-color: #e2e8f0;
  background: #fff;
}
.sk-up-zone.is-uploading { opacity: .72; pointer-events: none; }
.sk-up-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  align-items: center;
}
.sk-up-tile {
  position: relative;
  width: 4.2rem;
  height: 4.2rem;
  border-radius: 0.6rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  flex: 0 0 auto;
}
.sk-up-tile .sk-up-thumb,
.sk-up-tile img,
.sk-up-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #0f172a;
}
.sk-up-tile.is-filled:hover::after {
  content: "更换";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(15, 23, 42, .45);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  pointer-events: none;
}
.sk-up-tile.is-add {
  margin: 0;
  border-style: dashed;
  color: #64748b;
  font-size: 0.68rem;
  font-weight: 700;
  gap: 0.1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}
.sk-up-zone.is-empty .sk-up-grid {
  width: 100%;
}
.sk-up-zone.is-empty .sk-up-tile.is-add {
  width: 100%;
  min-width: 8rem;
  height: 4.2rem;
  flex: 1 1 auto;
  flex-direction: row;
  gap: 0.35rem;
  border: 0;
  background: transparent;
  color: #64748b;
}
.sk-up-tile.is-add:hover { border-color: #93c5fd; color: #2563eb; background: #eff6ff; }
.sk-up-zone.is-empty .sk-up-tile.is-add:hover { background: transparent; }
.sk-up-add-plus { font-size: 1rem; line-height: 1; }
.sk-up-remove {
  position: absolute;
  top: 3px; right: 3px;
  z-index: 2;
  width: 1.1rem; height: 1.1rem;
  border: 0; border-radius: 999px;
  background: rgba(15, 23, 42, .6);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}
.sk-up-file-ico { font-size: 1.15rem; }
.sk-up-file-name {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0.15rem 0.2rem;
  background: rgba(15, 23, 42, .55);
  color: #fff;
  font-size: 0.58rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 选择组件 */
.sk-choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.sk-choice-chip,
.sk-choice-card {
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.42rem 0.85rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.sk-choice-card {
  border-radius: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.8rem;
  min-width: 6.5rem;
}
.sk-choice-radio {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  flex: 0 0 auto;
  position: relative;
}
.sk-choice-chip.is-on,
.sk-choice-card.is-on {
  border-color: #93c5fd;
  background: #eff6ff;
  color: #1d4ed8;
}
.sk-choice-card.is-on .sk-choice-radio {
  border-color: #2563eb;
}
.sk-choice-card.is-on .sk-choice-radio::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 999px;
  background: #2563eb;
}

.sk-select { position: relative; }
.sk-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.7rem;
  padding: 0.62rem 0.75rem;
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
}
.sk-select.is-open .sk-select-trigger {
  border-color: #93c5fd;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
.sk-select-caret { color: #94a3b8; font-size: 0.75rem; }
.sk-select-menu {
  position: absolute;
  left: 0; right: 0;
  top: calc(100% + 4px);
  z-index: 20;
  max-height: 14rem;
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  padding: 0.3rem;
}
.sk-select-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-radius: 0.55rem;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
}
.sk-select-option:hover,
.sk-select-option.is-on { background: #eff6ff; color: #1d4ed8; }
.sk-select-trigger.is-placeholder { color: #94a3b8; }
.sk-select-option { display: flex; align-items: center; gap: 0.45rem; }
.sk-select-check {
  width: 0.9rem;
  height: 0.9rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 0.25rem;
  flex: 0 0 auto;
  background: #fff;
}
.sk-select-option.is-on .sk-select-check {
  border-color: #2563eb;
  background: #2563eb;
  box-shadow: inset 0 0 0 2px #fff;
}

.sk-switch {
  width: 2.6rem;
  height: 1.45rem;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  padding: 0.12rem;
  cursor: pointer;
  transition: background .18s ease;
}
.sk-switch span {
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(15, 23, 42, .2);
  transition: transform .18s ease;
}
.sk-switch.is-on { background: #2563eb; }
.sk-switch.is-on span { transform: translateX(1.15rem); }

.sk-use-result {
  padding: 0.2rem 0;
  color: #334155;
  font-size: 0.86rem;
  display: flex;
  flex-direction: column;
  min-height: 8rem;
}
.sk-use-result.is-ok { color: #0f172a; }
.sk-use-result.is-error { color: #b91c1c; }
.sk-use-result-media {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}
.sk-use-result-media.ai-chat-assets {
  margin-top: 0;
}
.sk-use-result-media audio { width: 100%; }
.sk-use-result-audio {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
  margin: 0.15rem 0 0.45rem;
}
.sk-use-result-audio + .sk-use-result-audio { margin-top: 0.35rem; }
.sk-use-result-audio audio {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}
.sk-use-result-block { min-width: 0; }
.sk-use-result-block + .sk-use-result-block { margin-top: 0.85rem; }
.sk-use-result-text-wrap {
  position: relative;
  border-radius: 0.65rem;
  background: #f8fafc;
  border: 1px solid #e8edf4;
}
.sk-use-copy {
  position: absolute;
  top: 0.42rem;
  right: 0.42rem;
  z-index: 1;
  width: 1.45rem;
  height: 1.45rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  appearance: none;
  color: #94a3b8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sk-use-copy svg { width: 0.9rem; height: 0.9rem; display: block; }
.sk-use-copy:hover,
.sk-use-copy:focus,
.sk-use-copy:focus-visible {
  color: #334155;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}
.sk-use-result-foot {
  margin-top: auto;
  padding-top: 0.85rem;
  text-align: right;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 500;
}
.sk-use-result-foot a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.sk-use-result-foot a:hover { color: #64748b; }
.sk-use-result pre,
.sk-use-result-text {
  margin: 0;
  max-height: 14rem;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 0.78rem;
  padding: 0.7rem 2rem 0.7rem 0.7rem;
  border: 0;
  background: transparent;
  border-radius: 0.65rem;
}
.sk-use-result-head {
  margin: 0 0 0.45rem;
  color: #0f172a;
  font-size: 0.82rem;
}
.sk-use-result-media + .sk-use-result-block,
.sk-use-result-audio + .sk-use-result-block,
.sk-use-result-text-wrap + .sk-use-result-head,
.sk-use-result-media + .sk-use-result-head {
  margin-top: 0.85rem;
}
