:root {
  color-scheme: dark;
  --content-max: 1160px;
  --page-gutter: clamp(18px, 4vw, 42px);
  --bg: #07080d;
  --panel: rgba(14, 18, 28, 0.76);
  --panel-2: rgba(18, 24, 38, 0.9);
  --text: #f5f7fb;
  --muted: #b7c0cf;
  --line: rgba(255, 255, 255, 0.13);
  --accent: #29d8ff;
  --accent-2: #70f5bd;
  --accent-3: #ff4ec3;
  --accent-4: #ffbd59;
  --shadow: rgba(0, 0, 0, 0.42);
}

:root.light {
  color-scheme: light;
  --bg: #f7f4ee;
  --panel: #ffffff;
  --panel-2: #ece7dd;
  --text: #202226;
  --muted: #66645e;
  --line: rgba(22, 24, 30, 0.14);
  --shadow: rgba(41, 36, 25, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 20%, rgba(41, 216, 255, 0.14), transparent 34rem),
    radial-gradient(circle at 80% 10%, rgba(255, 78, 195, 0.12), transparent 34rem),
    linear-gradient(180deg, #07080d 0%, #101421 56%, #090a10 100%);
  color: var(--text);
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  width: 100%;
  margin: 0 auto;
  padding: 12px max(var(--page-gutter), calc((100vw - var(--content-max)) / 2));
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(41, 216, 255, 0.22), rgba(255, 78, 195, 0.18));
  box-shadow: 0 0 28px rgba(41, 216, 255, 0.22);
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 14px;
}

.nav-links a:hover {
  color: var(--text);
}

.ghost-button,
.text-button,
.primary-button,
.download-button,
.hero-search button {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel-2);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ghost-button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
}

.hero {
  position: relative;
  width: 100%;
  margin: 0 auto;
  min-height: clamp(430px, 56vh, 560px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 17, 21, 0.96), rgba(16, 17, 21, 0.72) 42%, rgba(16, 17, 21, 0.2)),
    linear-gradient(0deg, var(--bg), rgba(16, 17, 21, 0.08) 32%);
}

.light .hero-shade {
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98), rgba(247, 244, 238, 0.76) 46%, rgba(247, 244, 238, 0.18)),
    linear-gradient(0deg, var(--bg), rgba(247, 244, 238, 0.12) 34%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 6vw, 64px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 620px;
  margin: 14px 0 18px;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.45;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  width: min(640px, 100%);
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    rgba(10, 14, 23, 0.68);
  box-shadow: 0 18px 46px rgba(41, 216, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-search input {
  min-width: 0;
  border: 0;
  padding: 0 18px;
  outline: 0;
  color: var(--text);
  background: transparent;
}

.hero-search input::placeholder {
  color: color-mix(in srgb, var(--muted) 60%, transparent);
}

.hero-search button {
  border-width: 0 0 0 1px;
  padding: 0 22px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061017;
  font-weight: 800;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-metrics span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 16, 25, 0.62);
  backdrop-filter: blur(18px);
  color: var(--muted);
}

.hero-metrics strong {
  color: var(--text);
}

.filter-bar {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vw, 28px);
  z-index: 2;
  transform: translateX(-50%);
  display: grid;
  gap: 12px;
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0;
  padding: 0;
  background: transparent;
}

.software-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  overflow-x: visible;
}

.software-pill {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.software-pill.active,
.software-pill:hover {
  color: #061017;
  border-color: rgba(255, 255, 255, 0.26);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 34px rgba(41, 216, 255, 0.16);
}

.workspace {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 42px) 0;
}

.results-toolbar,
.submit-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.results-toolbar h2,
.submit-band h2 {
  margin: 0;
}

.text-button {
  padding: 8px 10px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.field,
.sort-field {
  display: grid;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.compact-field {
  margin-top: 0;
}

.rating-field {
  grid-template-columns: auto minmax(160px, 1fr) minmax(70px, auto);
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.field select,
.sort-field select,
.field input[type="range"] {
  width: 100%;
}

select,
input[type="search"] {
  min-height: 44px;
}

select {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--text);
  background: rgba(18, 24, 38, 0.9);
}

input[type="range"] {
  accent-color: var(--accent);
}

output {
  color: var(--text);
}

.results-panel {
  min-width: 0;
}

.results-toolbar {
  align-items: center;
  margin-bottom: 18px;
}

.results-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 1 1 auto;
  min-width: 0;
}

.results-search {
  flex: 0 1 390px;
  width: min(390px, 100%);
  min-height: 44px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(4, 8, 15, 0.88);
  box-shadow: none;
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  min-width: 0;
  width: auto;
  margin-top: 0;
}

.sort-field span {
  white-space: nowrap;
}

.sort-field select {
  width: 118px;
}

.plugin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 16px;
}

.plugin-card {
  display: grid;
  gap: 14px;
  min-height: 318px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: 0 28px 80px var(--shadow);
  backdrop-filter: blur(18px);
  transition: border-color 160ms ease, transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.plugin-card:hover,
.plugin-card:focus-visible {
  border-color: rgba(41, 216, 255, 0.42);
  background:
    linear-gradient(180deg, rgba(41, 216, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel);
  box-shadow: 0 28px 86px rgba(41, 216, 255, 0.14), 0 18px 60px var(--shadow);
  outline: 0;
  transform: translateY(-2px);
}

.plugin-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.plugin-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 0 24px rgba(41, 216, 255, 0.18);
  color: #061017;
  font-weight: 900;
}

.plugin-card h3 {
  margin: 0;
  font-size: 19px;
}

.plugin-desc {
  margin: 8px 0 0;
  min-height: 58px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  color: color-mix(in srgb, var(--muted) 78%, transparent);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag {
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 12px;
  background: rgba(255, 255, 255, 0.045);
}

.plugin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding-top: 8px;
  border-top: 1px solid var(--line);
}

.plugin-meta span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.detail-button {
  justify-self: start;
}

.download-button {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 1px;
  min-height: 44px;
  padding-top: 5px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061017;
  box-shadow: 0 18px 46px rgba(41, 216, 255, 0.2);
  font-weight: 800;
}

.download-button small {
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  opacity: 0.42;
}

.download-button:hover,
.text-button:hover,
.primary-button:hover,
.back-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.35);
}

.card-actions {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: stretch;
  gap: 8px;
}

.detail-view {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto;
  padding: clamp(20px, 4vw, 42px) 0;
}

.back-button {
  min-height: 42px;
  margin-bottom: 18px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.detail-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(18px, 3vw, 30px);
}

.detail-main,
.detail-side,
.detail-preview-block,
.detail-section,
.download-panel,
.install-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.detail-main {
  display: grid;
  gap: 16px;
  border: 0;
  background: transparent;
}

.detail-hero,
.detail-preview-block,
.detail-section,
.download-panel,
.install-panel {
  padding: clamp(18px, 3vw, 28px);
}

.detail-hero {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent-2) 16%, transparent), transparent 54%),
    var(--panel);
}

.detail-hero h2,
.detail-section h3,
.detail-preview-block h3 {
  margin: 0;
}

.detail-hero p:not(.eyebrow) {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.plugin-icon.large {
  width: 72px;
  height: 72px;
  font-size: 24px;
}

.detail-section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.style-preview {
  position: relative;
  min-height: 260px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
}

.color-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background:
    linear-gradient(90deg, rgba(80, 91, 102, 0.9), rgba(68, 82, 88, 0.9) 50%, rgba(224, 177, 90, 0.34) 50%, rgba(69, 183, 170, 0.44)),
    repeating-linear-gradient(135deg, transparent 0 18px, rgba(255, 255, 255, 0.08) 18px 20px);
}

.color-preview span,
.queue-preview span,
.title-preview strong,
.title-preview small,
.camera-preview strong,
.camera-preview small {
  z-index: 1;
  align-self: end;
  margin: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
}

.node-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  align-items: center;
  gap: 22px;
  padding: 28px;
}

.node-preview span {
  display: grid;
  place-items: center;
  min-height: 74px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--panel), color-mix(in srgb, var(--accent-2) 22%, var(--panel)));
  color: var(--text);
  font-weight: 800;
}

.timeline-preview {
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  gap: 12px;
  padding: 28px;
}

.timeline-preview span {
  border-radius: 8px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent-3));
}

.timeline-preview span:nth-child(even) {
  width: 72%;
  margin-left: 16%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.audio-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
}

.audio-preview span {
  width: 10%;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
}

.audio-preview span:nth-child(1) { height: 34%; }
.audio-preview span:nth-child(2) { height: 72%; }
.audio-preview span:nth-child(3) { height: 48%; }
.audio-preview span:nth-child(4) { height: 86%; }
.audio-preview span:nth-child(5) { height: 58%; }
.audio-preview span:nth-child(6) { height: 40%; }

.title-preview {
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(69, 183, 170, 0.18), rgba(215, 111, 84, 0.2)),
    repeating-linear-gradient(0deg, transparent 0 24px, rgba(255, 255, 255, 0.06) 24px 25px);
}

.title-preview strong {
  align-self: end;
  margin-bottom: 6px;
  font-size: clamp(28px, 5vw, 54px);
}

.title-preview small {
  align-self: start;
  color: var(--muted);
}

.camera-preview {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, transparent 0 26%, rgba(224, 177, 90, 0.42) 27% 28%, transparent 29%),
    linear-gradient(135deg, rgba(69, 183, 170, 0.24), rgba(16, 17, 21, 0.9));
}

.camera-preview span {
  width: min(56%, 240px);
  aspect-ratio: 1;
  border: 2px solid var(--accent);
  border-radius: 999px;
}

.queue-preview,
.motion-preview {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 28px;
}

.queue-preview span {
  margin: 0;
  display: flex;
  justify-content: space-between;
}

.motion-preview span {
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-2), transparent);
  transform: skewX(-18deg);
}

.motion-preview span:nth-child(2) {
  margin-left: 16%;
  opacity: 0.72;
}

.motion-preview span:nth-child(3) {
  margin-left: 32%;
  opacity: 0.48;
}

.feature-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.detail-side {
  align-self: start;
  position: sticky;
  top: 92px;
  border: 0;
  background: transparent;
}

.download-panel {
  display: grid;
  gap: 16px;
}

.install-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  background:
    linear-gradient(135deg, rgba(41, 216, 255, 0.08), rgba(112, 245, 189, 0.05)),
    var(--panel);
}

.install-panel h3 {
  margin: 0;
}

.install-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.install-steps li::marker {
  color: var(--accent-2);
  font-weight: 800;
}

.download-button.wide {
  width: 100%;
}

.detail-facts {
  display: grid;
  gap: 8px;
}

.detail-facts span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.detail-facts strong {
  color: var(--text);
  text-align: right;
}

.detail-section.compact {
  padding: 0;
  border: 0;
  background: transparent;
}

.detail-section.compact h3 {
  margin-bottom: 10px;
  font-size: 15px;
}

.empty-state {
  padding: 50px 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  text-align: center;
  background: var(--panel);
}

.submit-band {
  width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
  margin: 0 auto clamp(28px, 5vw, 64px);
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 24%, transparent), transparent 46%),
    var(--panel);
}

.primary-button {
  min-height: 46px;
  padding: 0 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #061017;
  box-shadow: 0 18px 46px rgba(41, 216, 255, 0.2);
  font-weight: 900;
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .hero {
    min-height: 430px;
  }

  .hero-shade {
    background:
      linear-gradient(0deg, var(--bg), rgba(16, 17, 21, 0.18) 42%),
      linear-gradient(90deg, rgba(16, 17, 21, 0.94), rgba(16, 17, 21, 0.5));
  }

  .detail-shell {
    grid-template-columns: 1fr;
  }

  .detail-side {
    position: static;
  }

}

@media (max-width: 700px) {
  :root {
    --page-gutter: clamp(12px, 4vw, 24px);
  }

  .topbar {
    gap: 12px;
  }

  .hero {
    min-height: clamp(330px, 54vh, 410px);
  }

  .hero-content {
    width: min(var(--content-max), calc(100% - var(--page-gutter) * 2));
    padding: clamp(22px, 6vw, 38px) clamp(18px, 5vw, 34px);
  }

  h1 {
    font-size: clamp(38px, 10vw, 58px);
  }

  .hero-copy {
    max-width: 100%;
    font-size: clamp(15px, 3.8vw, 18px);
  }

  .software-strip {
    flex-wrap: wrap;
    overflow-x: visible;
  }

  .software-pill {
    min-height: 38px;
    padding: 0 12px;
  }

  .results-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .results-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .results-search,
  .sort-field {
    flex-basis: auto;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search button {
    min-height: 48px;
    border-width: 1px 0 0;
  }

  .results-toolbar,
  .submit-band {
    align-items: stretch;
    flex-direction: column;
  }

  .results-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .sort-field {
    flex-basis: auto;
    width: 100%;
  }

  .plugin-grid {
    grid-template-columns: 1fr;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .detail-hero {
    grid-template-columns: 1fr;
  }

  .node-preview {
    grid-template-columns: 1fr;
  }
}
/* ============ 二级网页链接按钮样式 ============ */

/* 有 webLink 时，缩小卡片操作按钮的高度 */
.card-actions.has-web-link .detail-button,
.card-actions.has-web-link .download-button {
  min-height: 32px;
  padding-top: 2px;
  padding-bottom: 2px;
  font-size: 13px;
}

.card-actions.has-web-link .download-button small {
  font-size: 10px;
}

.card-actions.has-web-link .detail-button {
  padding: 2px 10px;
}

/* 覆盖卡片 grid 的 gap，让 web-link-row 紧贴 */
.plugin-card:has(.web-link-row) {
  gap: 6px;  /* 将原来的 14px 缩小到 6px */
}

/* 二级网页按钮行 - 负边距抵消多余的间距 */
.web-link-row {
  margin-top: -2px;
  padding-top: 0px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.web-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  min-height: 28px;
  padding: 2px 12px;
  border: 1px solid rgba(41, 216, 255, 0.25);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(41, 216, 255, 0.06);
  font-size: 12px;
  font-weight: 500;
  transition: all 180ms ease;
}

.web-link-button:hover {
  border-color: var(--accent);
  background: rgba(41, 216, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(41, 216, 255, 0.15);
}

/* 详情页中的二级网页链接 */
.detail-web-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  padding: 6px 16px;
  border: 1px solid rgba(41, 216, 255, 0.3);
  border-radius: 6px;
  color: var(--accent);
  background: rgba(41, 216, 255, 0.06);
  font-size: 13px;
  font-weight: 500;
  transition: all 180ms ease;
}

.detail-web-link:hover {
  border-color: var(--accent);
  background: rgba(41, 216, 255, 0.14);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(41, 216, 255, 0.15);
}

/* 详情页侧边栏的二级网页按钮 */
.web-link-button.wide {
  width: 100%;
  min-height: 36px;
  font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 560px) {
  .card-actions {
    grid-template-columns: 1fr;
  }
  
  .plugin-card:has(.web-link-row) {
    gap: 6px;
  }
  
  .card-actions.has-web-link .detail-button,
  .card-actions.has-web-link .download-button {
    min-height: 36px;
  }
  
  .web-link-button {
    min-height: 32px;
    font-size: 13px;
  }
  
  .web-link-row {
    margin-top: 0;
  }
}