:root {
  color-scheme: dark;
  --bg: #000000;
  --bg-soft: #060606;
  --surface: rgba(255, 255, 255, 0.07);
  --surface-strong: rgba(255, 255, 255, 0.13);
  --border: rgba(255, 255, 255, 0.13);
  --text: #f7faff;
  --muted: #9aa8c4;
  --muted-strong: #cdd7ee;
  --primary: #37d5ff;
  --primary-strong: #6d5dfc;
  --accent: #7dd3fc;
  --danger: #ff786b;
  --shadow: 0 18px 54px rgba(2, 6, 23, 0.42);
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
  --max: 1440px;
  --site-header-top: 0px;
  --site-header-height: 76px;
  --site-header-follow-top: 76px;
}

:root:not(.dark) {
  color-scheme: light;
  --bg: #f6f8ff;
  --bg-soft: #eaf0ff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --border: rgba(40, 62, 140, 0.14);
  --text: #10172f;
  --muted: #64708c;
  --muted-strong: #2b3757;
  --shadow: 0 24px 70px rgba(46, 70, 142, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: #000000;
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.detail-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

.site-header {
  position: fixed;
  inset: var(--site-header-top) 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.84);
  backdrop-filter: blur(20px);
}

:root:not(.dark) .site-header {
  background: rgba(255, 255, 255, 0.74);
}

.header-inner {
  width: min(100%, var(--max));
  height: var(--site-header-height);
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.header-actions,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 52%, #ff5ccd 100%);
  color: white;
  font-size: 17px;
  font-weight: 900;
  box-shadow: 0 16px 36px rgba(93, 116, 255, 0.34);
}

.brand-name {
  font-size: 26px;
  font-weight: 950;
}

.main-nav {
  gap: 18px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 760;
}

.main-nav a:hover {
  color: var(--accent);
}

.main-nav a.active {
  color: var(--accent);
}

.header-actions {
  gap: 14px;
}

.icon-button,
.theme-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
}

.language-toggle {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.language-toggle:hover {
  color: var(--accent);
}

.icon-button svg,
.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.theme-toggle .moon {
  display: none;
}

:root:not(.dark) .theme-toggle .sun {
  display: none;
}

:root:not(.dark) .theme-toggle .moon {
  display: block;
}

.console-button,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  white-space: nowrap;
}

.console-button,
.primary-button {
  padding: 0 22px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 58%, #ff5ccd 100%);
  color: white;
  box-shadow: 0 18px 44px rgba(93, 116, 255, 0.3);
}

.secondary-button {
  padding: 0 22px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}

.home-request-button {
  border-color: rgba(255, 255, 255, 0.62);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(225, 238, 255, 0.9));
  color: #0f172a;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.22);
}

.home-request-button:hover {
  filter: brightness(1.04);
}

.secondary-button.compact {
  min-height: 40px;
}

.custom-cta-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 92, 205, 0.46);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.18), rgba(255, 92, 205, 0.2)),
    var(--surface);
  color: #ffd7f2;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 16px 34px rgba(255, 92, 205, 0.18);
  white-space: nowrap;
}

.custom-cta-button:hover {
  filter: brightness(1.08) saturate(1.1);
}

.primary-button.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 126px 0 64px;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  transform: scale(1.04);
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.58);
}

:root:not(.dark) .hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.94) 0%, rgba(247, 250, 248, 0.88) 46%, rgba(247, 250, 248, 0.56) 100%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.12), var(--bg) 98%);
}

.hero-inner,
.section-block,
.filter-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 54px;
  align-items: center;
}

.hero-copy,
.phone-preview {
  min-width: 0;
}

.hero-copy h1 {
  max-width: 860px;
  margin: 24px 0 24px;
  font-size: clamp(48px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.hero-copy h1 .hero-gradient {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #7dd3fc 0%, #a78bfa 48%, #ff8bd7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  overflow-wrap: anywhere;
}

.hero-gradient span {
  display: inline;
}

.hero-copy p {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--muted-strong);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.7;
}

.status-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 780;
  box-shadow: var(--shadow);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #37d5ff;
  box-shadow: 0 0 0 6px rgba(55, 213, 255, 0.16);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-buttons .primary-button,
.hero-buttons .secondary-button {
  min-height: 54px;
  padding: 0 30px;
  font-size: 16px;
}

.phone-preview {
  justify-self: end;
}

.phone-shell {
  width: min(100%, 370px);
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 38px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
}

.phone-top,
.phone-card,
.phone-grid div,
.phone-shell button {
  border: 1px solid var(--border);
  background: var(--surface);
}

.phone-top {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  border-radius: 20px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 760;
}

.phone-live {
  color: #35d37f;
}

.phone-card {
  margin-top: 14px;
  padding: 20px;
  border-radius: 24px;
}

.mini-label,
.eyebrow,
.section-heading span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.phone-card strong {
  display: block;
  margin-top: 10px;
  font-size: 25px;
}

.phone-card p {
  margin: 12px 0 0;
  color: var(--muted-strong);
  line-height: 1.6;
  word-break: break-word;
}

.phone-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.phone-grid div {
  min-height: 66px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 800;
}

.phone-shell button {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  background: var(--accent);
  color: #182015;
  font-weight: 900;
}

.stats-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 58px;
  padding-top: 34px;
}

.stats-grid > div,
.spotlight-card,
.task-strip,
.signup-panel,
.industry-panel,
.demo-panel,
.price-card,
.content-grid article {
  border: 1px solid var(--border);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stats-grid > div {
  padding: 22px;
  border-radius: var(--radius-md);
}

.stats-grid > div strong {
  display: block;
  font-size: 38px;
  line-height: 1;
}

.stats-grid > div span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.spotlight-card {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--radius-md);
  isolation: isolate;
  transition: transform 220ms ease, border-color 220ms ease;
}

.spotlight-card:hover,
.spotlight-card.is-cycling {
  transform: translateY(-3px);
  border-color: rgba(125, 211, 252, 0.48);
}

.spotlight-media,
.spotlight-media img {
  position: absolute;
  inset: 0;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: translateX(18px) scale(1.04);
  transition: opacity 160ms ease, transform 260ms ease;
}

.spotlight-media img:first-child {
  opacity: 0.82;
  transform: translateX(0) scale(1.02);
}

.spotlight-card.is-cycling .spotlight-media img:first-child {
  opacity: 0;
  transform: translateX(-18px) scale(1.02);
}

.spotlight-card.is-cycling .spotlight-media img.is-active {
  opacity: 0.9;
  transform: translateX(0) scale(1.04);
}

.spotlight-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 11, 24, 0.08), rgba(7, 11, 24, 0.88)),
    linear-gradient(90deg, rgba(7, 11, 24, 0.66), rgba(55, 213, 255, 0.08));
}

.spotlight-content {
  position: absolute;
  inset: auto 18px 16px;
  z-index: 2;
}

.spotlight-content span {
  display: inline-flex;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.16);
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 900;
}

.spotlight-content strong {
  display: block;
  font-size: 22px;
  line-height: 1.12;
}

.spotlight-content em {
  display: block;
  max-width: 92%;
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.section-block {
  padding-top: 86px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading h2,
.workspace-top h2,
.demo-copy h2 {
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.08;
}

.section-heading p,
.workspace-top p,
.demo-copy p {
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

.launchpad-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding-top: 34px;
}

.launch-tile,
.rack-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
}

.launch-tile {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.launch-tile:hover,
.launch-tile.active {
  transform: translateY(-2px);
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(125, 211, 252, 0.08);
}

.launch-tile span,
.rack-head span {
  color: #a5e8ff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launch-tile strong {
  font-size: 24px;
  line-height: 1.12;
}

.home-racks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 24px;
}

.rack-card {
  display: grid;
  gap: 16px;
  padding: 18px;
}

.rack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.rack-head strong {
  font-size: 22px;
}

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

.rack-list a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  padding: 0 12px;
}

.rack-list span {
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 780;
}

.rack-list strong {
  color: #a5f3fc;
  font-size: 14px;
  white-space: nowrap;
}

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

.creator-stats span {
  min-height: 72px;
  display: grid;
  align-content: center;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.045);
  padding: 10px;
}

.creator-stats strong {
  font-size: 20px;
}

.creator-stats em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.rack-actions {
  display: flex;
  gap: 10px;
}

.rack-actions a {
  min-height: 38px;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius-md);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
}

.onboarding-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
}

.workspace-focus {
  display: grid;
  gap: 14px;
}

.workspace-auth-panel {
  display: block;
}

.workspace-auth-panel[data-state="signed-in"] {
  border: 0;
  background: transparent;
}

.workspace-auth-panel[data-state="guest"] {
  border: 0;
  background: transparent;
}

.workspace-auth-panel strong {
  display: block;
  font-size: 18px;
}

.workspace-auth-panel p {
  margin: 6px 0 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.workspace-auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.profile-hero {
  padding-top: 30px;
  padding-bottom: 8px;
}

.workspace-page .page-hero {
  padding-top: 30px;
}

.workspace-page .compact-hero h1 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 3vw, 44px);
}

.workspace-page .compact-hero p {
  max-width: 620px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.profile-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.profile-card-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--primary), #ef4ec8);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
}

.profile-card-title h2 {
  margin: 3px 0;
  font-size: 21px;
}

.profile-card-title p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.profile-card-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-field-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  padding-top: 10px;
}

.profile-field-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.1);
  padding: 8px 10px;
}

.profile-field-row:last-child {
  border-right: 1px solid var(--border);
}

.profile-field-main {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.profile-field-main span {
  color: var(--muted);
  font-size: 12px;
}

.profile-field-main strong {
  min-width: 0;
  font-size: 15px;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-field-main em {
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}

.profile-edit-button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  cursor: pointer;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.profile-edit-button:hover,
.profile-edit-button.is-active {
  border-color: rgba(55, 213, 255, 0.42);
  color: var(--text);
}

.profile-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
  padding: 10px;
}

.profile-field-form-slot {
  grid-column: 1 / -1;
}

.profile-inline-form[hidden] {
  display: none;
}

.profile-inline-form.is-password {
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto auto;
}

.profile-inline-form input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text);
  padding: 0 12px;
}

.profile-inline-status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
}

.profile-inline-status[data-state="success"] {
  color: #6ee7b7;
}

.profile-inline-status[data-state="error"] {
  color: var(--danger);
}

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

.profile-overview-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 164px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 18px;
}

.profile-overview-card span {
  color: var(--muted);
  font-size: 13px;
}

.profile-overview-card strong {
  font-size: 24px;
}

.profile-overview-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.5;
}

.profile-overview-card a {
  align-self: end;
  color: var(--accent);
  font-weight: 800;
}

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

.profile-library-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.profile-library-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.profile-library-head span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-library-head h2 {
  margin: 2px 0 0;
  font-size: 19px;
}

.profile-library-head > strong {
  min-width: 34px;
  min-height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.08);
  color: var(--accent);
  font-size: 15px;
}

.profile-library-list {
  display: grid;
  gap: 8px;
  padding-top: 10px;
}

.profile-empty-row {
  min-height: 102px;
  display: grid;
  align-content: start;
  gap: 6px;
  border: 1px dashed rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
  padding: 12px;
}

.profile-empty-row strong {
  font-size: 15px;
}

.profile-empty-row p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.45;
}

.profile-empty-row a {
  width: fit-content;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.workspace-settings-panel {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.workspace-settings-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.workspace-settings-head h2 {
  margin: 4px 0 0;
}

.workspace-settings-head p {
  margin: 0;
  min-height: 22px;
  color: var(--muted-strong);
}

.workspace-settings-head p[data-state="success"] {
  color: #6ee7b7;
}

.workspace-settings-head p[data-state="error"] {
  color: var(--danger);
}

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

.workspace-settings-form {
  display: grid;
  gap: 12px;
  align-content: start;
}

.workspace-settings-form label {
  display: grid;
  gap: 7px;
}

.workspace-settings-form label span {
  color: var(--muted-strong);
  font-size: 13px;
}

.workspace-settings-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  padding: 0 12px;
}

.compact-workspace {
  grid-template-columns: minmax(0, 1fr) 320px;
}

.signup-panel,
.industry-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
}

label span,
.filter-controls span {
  display: block;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--text);
  outline: 0;
}

input,
select {
  height: 48px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 14px;
  line-height: 1.65;
}

select option {
  color: #102017;
}

.signup-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

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

.industry-tab {
  min-height: 86px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  text-align: left;
  padding: 16px;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.industry-tab strong {
  display: block;
  font-size: 17px;
}

.industry-tab span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.industry-tab.active {
  border-color: rgba(244, 197, 66, 0.72);
  background: rgba(244, 197, 66, 0.14);
}

.industry-tab:hover {
  transform: translateY(-2px);
}

.industry-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  margin-top: 20px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.industry-summary span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.industry-summary strong {
  display: block;
  margin-top: 8px;
  font-size: 26px;
}

.industry-summary p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.workspace-role-panel h3 {
  margin: 8px 0 10px;
  font-size: 26px;
  line-height: 1.2;
}

.workspace-role-panel p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.role-mini-list {
  display: grid;
  gap: 10px;
}

.role-mini-list span {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted-strong);
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 850;
}

.workspace-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.task-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: 26px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.task-strip div {
  padding: 24px;
  background: rgba(255, 255, 255, 0.035);
}

.task-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.task-strip strong {
  font-size: 20px;
}

.compact-shelf {
  margin-top: 6px;
  margin-bottom: 0;
}

.filter-bar {
  position: sticky;
  top: var(--site-header-follow-top);
  z-index: 30;
  margin-top: 72px;
  border-block: 1px solid var(--border);
  background: rgba(8, 16, 13, 0.84);
  backdrop-filter: blur(20px);
}

:root:not(.dark) .filter-bar {
  background: rgba(247, 250, 248, 0.86);
}

.filter-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 14px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.filter-group {
  min-width: 0;
  display: grid;
  gap: 8px;
}

.filter-group-main {
  width: 100%;
}

.filter-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.segmented {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  overflow: visible;
}

.segmented button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 850;
  white-space: nowrap;
}

.segmented button.active {
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.18), rgba(109, 93, 252, 0.2));
  color: var(--text);
}

.secondary-segmented {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.secondary-segmented button {
  min-height: 34px;
  padding: 0 13px;
  border-radius: 10px;
  font-size: 12px;
}

.compact-segmented {
  max-width: 100%;
}

.compact-segmented button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 12px;
}

.filter-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
}

.filter-controls label {
  width: 180px;
}

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.tool-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.44);
}

.tool-card-link {
  min-height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.tool-media {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #12231b;
}

.tool-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  transition: transform 700ms ease;
}

.tool-card:hover .tool-media img {
  transform: scale(1.08);
}

.tool-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 11, 9, 0.74);
  color: white;
  font-size: 12px;
  font-weight: 880;
  backdrop-filter: blur(12px);
}

.tool-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.tool-tags span {
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.13);
  color: #a5f3fc;
  font-size: 12px;
  font-weight: 850;
}

:root:not(.dark) .tool-tags span {
  color: var(--primary-strong);
}

.tool-body h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.22;
}

.tool-body p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
  word-break: break-word;
}

.tool-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.tool-score {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.tool-footer button,
.tool-footer a,
.tool-footer span {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 15px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 850;
}

.tool-card:hover .tool-footer span,
.tool-footer button:hover,
.tool-footer a:hover {
  background: var(--accent);
  color: #182015;
}

.load-more {
  margin: 32px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  text-align: center;
}

.load-more[hidden] {
  display: none;
}

.load-more span {
  min-width: 76px;
  color: var(--muted-strong);
  font-size: 14px;
  font-weight: 850;
}

.page-jump {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
  white-space: nowrap;
}

.page-jump span {
  min-width: auto;
}

.page-jump input {
  width: 82px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  text-align: center;
}

.page-jump input::-webkit-outer-spin-button,
.page-jump input::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.load-more button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.load-more p {
  color: var(--muted);
}

.tool-demo {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
  align-items: start;
}

.demo-copy {
  position: sticky;
  top: 166px;
}

.demo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.demo-meta span {
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 820;
}

.demo-panel {
  border-radius: var(--radius-lg);
  padding: 24px;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0;
}

.result-box {
  min-height: 170px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.14);
}

:root:not(.dark) .result-box {
  background: rgba(15, 34, 26, 0.04);
}

.result-box span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-box p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.75;
  white-space: pre-line;
}

.site-footer {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  background: #000000;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 32px 28px 24px;
}

.footer-action-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}

.footer-action-strip a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 14px;
  font-weight: 880;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.footer-action-strip a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 92, 205, 0.48);
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.12), rgba(255, 92, 205, 0.14));
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(140px, 0.48fr)) minmax(220px, 0.72fr);
  gap: 34px;
  padding: 30px 0;
}

.footer-brand .brand {
  width: fit-content;
}

.footer-brand p {
  max-width: 620px;
  margin: 18px 0;
  color: var(--muted-strong);
  font-size: 14px;
  line-height: 1.7;
}

.footer-status {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-status span {
  padding: 7px 10px;
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #bdefff;
  font-size: 12px;
  font-weight: 850;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-links strong {
  margin-bottom: 4px;
  color: var(--text);
  font-size: 15px;
}

.footer-links a,
.footer-bottom a {
  width: fit-content;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 780;
}

.footer-links a:hover,
.footer-bottom a:hover {
  color: #a5e8ff;
}

.footer-follow {
  display: grid;
  align-content: start;
  gap: 12px;
}

.footer-follow > strong {
  color: var(--text);
  font-size: 15px;
}

.footer-qr-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  padding: 12px;
}

.footer-qr-card img {
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  background: #ffffff;
  object-fit: cover;
}

.footer-qr-card span,
.footer-qr-card em {
  display: block;
}

.footer-qr-card span {
  color: #a5e8ff;
  font-size: 12px;
  font-weight: 900;
}

.footer-qr-card em {
  margin-top: 5px;
  color: #ffffff;
  font-style: normal;
  font-size: 16px;
  font-weight: 950;
}

.footer-qr-card p {
  margin: 6px 0 0;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-end;
}

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

.price-card,
.content-grid article {
  border-radius: var(--radius-lg);
  padding: 26px;
}

.price-card.featured {
  border-color: rgba(244, 197, 66, 0.62);
  background: linear-gradient(180deg, rgba(244, 197, 66, 0.16), var(--surface));
}

.price-card span,
.content-grid strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.price-card h3 {
  margin: 12px 0;
  font-size: 42px;
}

.price-card p,
.content-grid p {
  color: var(--muted-strong);
  line-height: 1.7;
}

.price-card button {
  width: 100%;
  min-height: 46px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 900;
}

.price-card.featured button {
  background: var(--accent);
  color: #182015;
}

.service-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.service-plan-card {
  display: grid;
  align-content: start;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 26px;
}

.service-plan-card.featured {
  border-color: rgba(55, 213, 255, 0.5);
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.14), rgba(255, 92, 205, 0.1)),
    var(--surface);
}

.service-contact-card {
  border-color: rgba(255, 255, 255, 0.16);
}

.service-plan-card span,
.custom-plan-card span,
.disclaimer-notice span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-plan-card h2 {
  margin: 0;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.service-plan-card strong {
  color: var(--text);
  font-size: 30px;
  line-height: 1.1;
}

.service-plan-card p,
.service-plan-card li,
.disclaimer-notice p {
  color: var(--muted-strong);
  line-height: 1.68;
}

.service-plan-card ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding-left: 20px;
}

.service-plan-card button {
  min-height: 46px;
  margin-top: 8px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 58%, #ff5ccd 100%);
  color: #fff;
  font-weight: 900;
}

.service-admin-contact,
.custom-side-contact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  margin-top: 6px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.07);
  padding: 14px;
}

.service-admin-contact img,
.custom-side-contact img {
  width: 112px;
  height: 112px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  object-fit: cover;
  padding: 6px;
}

.service-admin-contact span,
.custom-side-contact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-admin-contact strong,
.custom-side-contact strong {
  display: block;
  margin-top: 5px;
  color: var(--text);
  font-size: 20px;
}

.service-admin-contact p,
.custom-side-contact p {
  margin: 7px 0 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
}

.disclaimer-notice {
  display: grid;
  gap: 8px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.07);
  padding: 16px;
}

.service-disclaimer {
  margin-top: 20px;
}

.content-grid h3 {
  margin: 12px 0;
  font-size: 24px;
}

.growth {
  padding-bottom: 96px;
}

.tutorials-page {
  padding-bottom: 96px;
}

.tutorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 28px;
  align-items: end;
}

.tutorial-rule {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.14), rgba(244, 197, 66, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.tutorial-rule span,
.tutorial-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tutorial-rule strong {
  display: block;
  margin: 10px 0;
  font-size: 28px;
  line-height: 1.12;
}

.tutorial-rule p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

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

.tutorial-card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.tutorial-card h3 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.16;
}

.tutorial-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.tutorial-card button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 900;
}

.tutorial-card button:hover {
  background: var(--accent);
  color: #182015;
}

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

.tutorial-mark {
  width: 120px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 52%, #ff5ccd 100%);
  color: #fff;
  font-size: 34px;
  font-weight: 950;
}

.auth-page,
.creator-page,
.ai-command-page {
  padding-bottom: 96px;
}

.auth-hero h1,
.creator-hero h1,
.ai-command-hero h1 {
  max-width: 980px;
}

.auth-simple {
  min-height: calc(100vh - 120px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px);
  gap: 48px;
  align-items: center;
  padding-top: 150px;
}

.auth-simple-copy {
  max-width: 760px;
}

.auth-simple-copy h1 {
  margin: 16px 0 18px;
  max-width: 720px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

.auth-simple-copy p {
  max-width: 620px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
}

.auth-benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.auth-benefits span {
  border: 1px solid rgba(125, 211, 252, 0.26);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.08);
  color: var(--muted-strong);
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 850;
}

.auth-simple-panel {
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.05);
}

.auth-simple-panel h2 {
  font-size: 30px;
}

.auth-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px;
}

.auth-mode-tabs button {
  min-height: 38px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 850;
}

.auth-mode-tabs button.active {
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.18), rgba(109, 93, 252, 0.22));
  color: var(--text);
}

.auth-challenge-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.auth-challenge-row strong {
  min-height: 40px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 0 12px;
}

.auth-soft-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-top: 1px solid var(--border);
  margin-top: 18px;
  padding-top: 16px;
}

.auth-soft-links a {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

.auth-soft-links a:hover {
  color: var(--accent);
}

.auth-layout,
.creator-hero,
.demand-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  align-items: start;
}

.auth-panel,
.role-card,
.creator-revenue,
.demand-side,
.demand-card,
.creator-flow article,
.creator-community article,
.creator-tools article {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.auth-panel {
  padding: 26px;
}

.auth-panel h2 {
  margin: 10px 0 20px;
  font-size: 36px;
}

.auth-panel label,
.auth-panel input {
  display: block;
  width: 100%;
}

.auth-panel label {
  margin-bottom: 16px;
}

.auth-panel label span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 900;
}

.auth-panel input {
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0 14px;
}

.auth-panel p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-panel p[data-state="success"] {
  color: #7dd3fc;
}

.auth-panel p[data-state="error"] {
  color: var(--danger);
}

.auth-panel button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.role-grid {
  display: grid;
  gap: 16px;
}

.role-card {
  padding: 24px;
}

.role-card.featured {
  border-color: rgba(55, 213, 255, 0.42);
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.12), var(--surface));
}

.role-card span,
.creator-revenue span,
.creator-metrics span,
.demand-card span,
.demand-side span,
.creator-flow span,
.creator-community span,
.creator-tools span,
.ai-console-strip span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.role-card h3,
.demand-side h3,
.creator-tools h3 {
  margin: 12px 0;
  font-size: 28px;
  line-height: 1.16;
}

.role-card p,
.demand-side p,
.creator-flow p,
.creator-tools p {
  color: var(--muted-strong);
  line-height: 1.7;
}

.creator-revenue {
  padding: 24px;
  background:
    linear-gradient(135deg, rgba(244, 197, 66, 0.18), rgba(55, 213, 255, 0.08)),
    var(--surface);
}

.creator-revenue strong {
  display: block;
  margin: 12px 0;
  font-size: clamp(42px, 5vw, 66px);
  line-height: 1;
}

.creator-revenue p {
  color: var(--muted-strong);
  line-height: 1.7;
}

.creator-metrics,
.ai-console-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.creator-metrics div,
.ai-console-strip div {
  min-height: 134px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.creator-metrics strong,
.ai-console-strip strong {
  display: block;
  margin: 12px 0 6px;
  font-size: 30px;
}

.creator-metrics em,
.ai-console-strip em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.demand-board {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow);
  max-height: 520px;
}

.demand-track {
  display: grid;
  gap: 14px;
  padding: 18px;
  animation: demandScroll 18s linear infinite;
}

.demand-board:hover .demand-track {
  animation-play-state: paused;
}

@keyframes demandScroll {
  0% { transform: translateY(0); }
  50% { transform: translateY(-34%); }
  100% { transform: translateY(0); }
}

.demand-card {
  padding: 18px;
}

.demand-card strong {
  display: block;
  margin: 10px 0;
  font-size: 22px;
  line-height: 1.25;
}

.demand-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.demand-side {
  position: sticky;
  top: 112px;
  padding: 24px;
}

.demand-page .page-hero {
  padding-top: 42px;
  padding-bottom: 8px;
}

.demand-page .compact-hero h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 58px);
}

.demand-page .compact-hero p {
  max-width: 720px;
  margin: 0;
  font-size: 16px;
}

.demand-hall-section {
  padding-top: 18px;
}

.demand-hall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.demand-live-panel,
.demand-summary-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow);
}

.demand-live-panel {
  padding: 14px;
}

.demand-live-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
}

.demand-live-head h2 {
  margin: 3px 0 0;
  font-size: 24px;
}

.demand-live-head > strong {
  min-width: 70px;
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.08);
  color: var(--accent);
  font-size: 14px;
  white-space: nowrap;
}

.demand-live-head > strong span {
  display: inline;
}

.demand-board-live {
  max-height: 560px;
  border-radius: 8px;
}

.demand-board-live .demand-track {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  animation-delay: 2s;
  animation-duration: 28s;
}

.demand-board-live .demand-card {
  min-height: 148px;
  border-radius: 8px;
  padding: 14px;
}

.demand-board-live .demand-card strong {
  display: -webkit-box;
  min-height: 48px;
  margin: 8px 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.demand-board-live .demand-card p {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.demand-summary-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.demand-summary-panel > span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.demand-summary-panel h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.demand-summary-panel p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.6;
}

.demand-rule-list {
  display: grid;
  gap: 8px;
}

.demand-rule-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.14);
  padding: 10px;
}

.demand-rule-list strong,
.demand-rule-list span {
  min-width: 0;
  font-size: 13px;
}

.demand-rule-list span {
  color: var(--accent);
  font-weight: 850;
  text-align: right;
}

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

.creator-flow article {
  min-height: 210px;
  padding: 20px;
}

.creator-flow strong {
  display: block;
  margin: 16px 0 10px;
  font-size: 24px;
}

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

.creator-community article,
.creator-tools article {
  padding: 22px;
}

.creator-community h3 {
  margin: 12px 0;
  font-size: 25px;
  line-height: 1.2;
}

.creator-community p {
  color: var(--muted-strong);
  line-height: 1.7;
}

.creator-community div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.creator-community button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface-strong);
  color: var(--text);
  padding: 0 12px;
  font-weight: 900;
}

.creator-tools button {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  background: var(--surface-strong);
  color: var(--text);
  font-weight: 900;
}

.compact-creator-tools article {
  min-height: 190px;
}

.admin-page {
  padding-bottom: 96px;
}

.admin-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
  align-items: end;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.admin-metrics div,
.admin-kanban article {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 18px;
}

.admin-metrics span,
.admin-metrics em,
.admin-kanban span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.admin-metrics strong {
  display: block;
  margin: 8px 0;
  font-size: 30px;
}

.launch-gate-panel {
  border-color: rgba(255, 120, 107, 0.32);
}

.launch-gate-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.launch-gate-summary div {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 14px;
}

.launch-gate-summary span,
.launch-gate-summary em,
.launch-gate-card span,
.launch-gate-card em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.launch-gate-summary strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
  overflow-wrap: anywhere;
}

.launch-gate-summary strong[data-state="pass"] {
  color: #6ee7b7;
}

.launch-gate-summary strong[data-state="fail"] {
  color: var(--danger);
}

.launch-gate-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.launch-gate-card {
  min-width: 0;
  border: 1px solid rgba(110, 231, 183, 0.24);
  border-radius: 10px;
  background: rgba(110, 231, 183, 0.07);
  padding: 14px;
}

.launch-gate-card.is-fail {
  border-color: rgba(255, 120, 107, 0.4);
  background: rgba(255, 120, 107, 0.09);
}

.launch-gate-card strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 16px;
}

.launch-gate-card p,
.launch-monitor-box p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.launch-gate-card em {
  margin-top: 8px;
  line-height: 1.5;
}

.launch-monitor-box {
  margin-top: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  padding: 14px;
}

.launch-evidence-status {
  color: var(--accent);
}

.admin-status[data-state="success"] {
  color: #6ee7b7;
}

.admin-status[data-state="warning"] {
  color: #facc15;
}

.admin-status[data-state="error"] {
  color: var(--danger);
}

.launch-monitor-box strong {
  display: block;
  margin-bottom: 8px;
}

.launch-monitor-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.launch-monitor-checks span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border: 1px solid rgba(255, 120, 107, 0.35);
  border-radius: 999px;
  color: var(--muted-strong);
  padding: 0 10px;
  font-size: 12px;
}

.launch-monitor-checks span.is-pass {
  border-color: rgba(110, 231, 183, 0.35);
  color: #6ee7b7;
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.admin-menu {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 8px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 12px;
}

.admin-menu a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: rgba(125, 211, 252, 0.14);
  color: var(--accent);
}

.admin-main {
  display: grid;
  gap: 18px;
}

.admin-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
}

.admin-collapsible {
  margin-bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
}

.admin-collapsible summary {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 12px;
  align-items: center;
  cursor: pointer;
  padding: 14px;
}

.admin-collapsible summary::marker {
  color: var(--accent);
}

.admin-collapsible summary span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.admin-collapsible summary strong {
  color: var(--text);
  font-size: 18px;
}

.admin-collapsible summary em {
  color: var(--muted);
  font-style: normal;
  font-size: 13px;
  line-height: 1.5;
}

.admin-collapsible .admin-form {
  margin: 0;
  border-top: 1px solid var(--border);
  padding: 14px;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.admin-row {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) 1fr 0.7fr 0.9fr 1.2fr;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  padding: 12px;
  color: var(--muted-strong);
  font-size: 13px;
}

.admin-row.head {
  background: rgba(125, 211, 252, 0.11);
  color: var(--text);
  font-weight: 900;
}

.admin-row button {
  min-height: 32px;
  margin-right: 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

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

.admin-kanban strong {
  display: block;
  margin: 8px 0;
  font-size: 20px;
}

.admin-kanban p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.admin-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 14px;
}

.lead-import-form {
  grid-template-columns: minmax(260px, 1.4fr) minmax(140px, 0.7fr) minmax(180px, 1fr) minmax(140px, 0.7fr) auto;
}

.manual-project-form {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.manual-project-form .wide {
  grid-column: span 2;
}

.project-review-form .wide {
  grid-column: span 2;
}

.project-filter-form {
  grid-template-columns: repeat(5, minmax(120px, 0.8fr)) auto;
  align-items: end;
}

.admin-list-search {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  gap: 10px;
  align-items: end;
  margin: 4px 0 10px;
}

.admin-list-search label {
  min-width: 0;
}

.admin-list-search input {
  width: 100%;
}

.project-review-filter-form {
  grid-template-columns: minmax(140px, 0.5fr) minmax(160px, 0.7fr) auto;
  align-items: end;
}

.project-batch-form {
  grid-template-columns: minmax(140px, 0.6fr) minmax(220px, 1fr) repeat(3, auto);
  align-items: end;
}

.ai-provider-form {
  grid-template-columns: minmax(140px, 0.7fr) minmax(220px, 1.3fr) minmax(150px, 0.8fr) minmax(180px, 1fr) minmax(90px, 0.4fr) auto auto auto;
  align-items: end;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 14px;
}

.ai-provider-enabled {
  min-height: 44px;
}

.ai-assistant-control-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -4px 0 16px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.1), rgba(109, 93, 252, 0.08)),
    rgba(255, 255, 255, 0.05);
  padding: 16px;
}

.ai-assistant-control-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ai-assistant-control-card strong {
  display: block;
  margin-top: 6px;
  color: var(--text);
  font-size: 22px;
}

.ai-assistant-control-card p {
  max-width: 780px;
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.ai-assistant-control-card[data-state="ready"] {
  border-color: rgba(110, 231, 183, 0.36);
}

.ai-assistant-control-card[data-state="ready"] strong {
  color: #6ee7b7;
}

.ai-assistant-control-card[data-state="warning"] strong {
  color: #facc15;
}

.ai-assistant-control-card[data-state="missing"] strong {
  color: var(--danger);
}

.admin-inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.admin-inline-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.project-review-form {
  grid-template-columns: minmax(180px, 1fr) minmax(140px, 0.5fr) minmax(220px, 1.4fr) auto;
  align-items: end;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 14px;
}

.project-review-import-form {
  grid-template-columns: minmax(180px, 0.8fr) minmax(240px, 1.6fr) minmax(100px, 0.4fr) auto;
  align-items: end;
}

.project-review-import-form .wide {
  grid-column: span 1;
}

.project-review-import-form .admin-inline-check {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
}

.review-evidence-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.review-evidence-links a {
  color: var(--accent);
  font-size: 12px;
  text-decoration: none;
}

.review-evidence-links a:hover {
  text-decoration: underline;
}

.admin-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.admin-form input,
.admin-form select,
.admin-form textarea {
  min-height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 13px;
}

.admin-form select {
  appearance: none;
}

.admin-form input[readonly] {
  opacity: 0.82;
}

.admin-form textarea {
  min-height: 118px;
  padding: 12px 13px;
  resize: vertical;
}

.admin-table-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

.admin-table-footer span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  min-width: 92px;
  text-align: center;
}

.review-checklist {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 12px;
  align-items: center;
}

.review-checklist label {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.review-checklist input {
  min-height: 0;
  width: 16px;
  height: 16px;
  padding: 0;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-top: 14px;
}

.admin-inline-form input {
  min-height: 40px;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 12px;
}

.ai-candidate-table .admin-row span:first-child {
  display: grid;
  gap: 5px;
}

.ai-candidate-table .admin-row em {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
}

.admin-status {
  margin: 0 0 16px;
  color: var(--muted-strong);
  line-height: 1.6;
}

.admin-action-grid,
.admin-module-grid,
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.admin-action-grid article,
.admin-module-card,
.channel-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.admin-action-grid strong,
.admin-module-card strong,
.channel-card strong,
.channel-card span {
  display: block;
}

.admin-action-grid strong,
.admin-module-card strong,
.channel-card strong {
  color: var(--text);
  font-size: 18px;
}

.admin-action-grid p,
.admin-module-card p,
.admin-module-card em,
.channel-card p,
.channel-card em {
  margin: 8px 0 0;
  color: var(--muted-strong);
  line-height: 1.58;
}

.channel-card span,
.admin-module-card span,
.channel-card em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.admin-module-card {
  display: grid;
  gap: 8px;
}

.admin-module-card em {
  font-style: normal;
}

.channel-card.is-down {
  border-color: rgba(255, 120, 107, 0.38);
}

.channel-card.is-down strong {
  color: var(--danger);
}

.compact-table {
  overflow-x: auto;
}

.compact-table .admin-row a {
  color: var(--accent);
}

.software-assets .asset-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.software-assets .admin-row {
  grid-template-columns: minmax(140px, 0.7fr) minmax(120px, 0.7fr) auto;
}

.software-assets .asset-format-pill {
  width: fit-content;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.1);
  color: #a5f3fc;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 950;
}

.software-assets .asset-format-windows {
  border-color: rgba(55, 213, 255, 0.52);
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.22), rgba(109, 93, 252, 0.22));
  color: white;
}

.software-assets .asset-format-macos {
  border-color: rgba(255, 92, 205, 0.42);
  background: rgba(255, 92, 205, 0.12);
  color: #ffd7f2;
}

.software-assets .source-row {
  background: rgba(148, 163, 184, 0.08);
  color: var(--muted);
}

.software-assets .source-row .asset-format-pill {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted);
}

.software-assets .asset-download-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 58%, #ff5ccd 100%);
  color: #fff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(109, 93, 252, 0.28);
}

.software-assets .asset-download-button:hover {
  filter: brightness(1.08) saturate(1.12);
}

.software-assets .asset-download-button.secondary {
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: rgba(148, 163, 184, 0.12);
  color: var(--muted);
  box-shadow: none;
}

.software-assets .asset-download-button.secondary:hover {
  background: rgba(148, 163, 184, 0.18);
  color: var(--text);
  filter: none;
}

.asset-channel-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.installer-empty {
  display: grid;
  gap: 14px;
  border: 1px solid rgba(255, 92, 205, 0.22);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.08), rgba(255, 92, 205, 0.08)),
    rgba(255, 255, 255, 0.04);
  padding: 18px;
}

.installer-empty > strong {
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.installer-empty > p {
  margin: 0;
}

.installer-contact {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  max-width: 520px;
}

.installer-contact img {
  width: 112px;
  height: 112px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  object-fit: cover;
  padding: 6px;
}

.installer-contact span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.installer-contact strong {
  display: block;
  margin: 6px 0;
  color: var(--text);
  font-size: 20px;
}

.installer-contact p {
  margin: 0;
  font-size: 13px;
}

.custom-service-section {
  border-color: rgba(255, 92, 205, 0.28);
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.08), rgba(255, 92, 205, 0.08)),
    var(--surface);
}

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

.custom-plan-card {
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 16px;
}

.custom-plan-card.is-standard {
  border-color: rgba(55, 213, 255, 0.34);
  background: rgba(55, 213, 255, 0.08);
}

.custom-plan-card strong {
  color: var(--text);
  font-size: 24px;
}

.custom-plan-card p {
  margin: 0;
  font-size: 14px;
}

.custom-plan-card .primary-button,
.custom-plan-card .secondary-button {
  width: fit-content;
  margin-top: 4px;
}

.custom-service-section .disclaimer-notice {
  margin-top: 14px;
}

.project-policy-section {
  display: grid;
  gap: 12px;
}

.project-policy-toggle {
  min-height: 42px;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.08);
  color: #c7f3ff;
  padding: 0 14px;
  font-weight: 900;
}

.project-policy-toggle strong {
  color: #7dd3fc;
  font-size: 17px;
  line-height: 1;
}

.project-policy-panel {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 260ms ease, opacity 180ms ease;
}

.project-policy-panel.is-expanded {
  max-height: 860px;
  opacity: 1;
}

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

.takedown-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.takedown-form .wide {
  grid-column: 1 / -1;
}

.takedown-form input,
.takedown-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 10px 12px;
}

.takedown-form textarea {
  resize: vertical;
}

.takedown-status {
  align-self: center;
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.5;
}

.custom-side-card {
  border-color: rgba(255, 92, 205, 0.34);
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.08), rgba(255, 92, 205, 0.1)),
    var(--surface);
}

.custom-side-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 16px;
}

.custom-side-list div {
  border-top: 1px solid var(--border);
  padding-top: 10px;
}

.custom-side-list div:first-child {
  border-top: 0;
  padding-top: 0;
}

.custom-side-list strong,
.custom-side-list span {
  display: block;
}

.custom-side-list strong {
  color: var(--text);
  font-size: 18px;
}

.custom-side-list span {
  margin-top: 4px;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.5;
}

.gitbox-ai-widget {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 9999;
  display: grid;
  justify-items: end;
  gap: 14px;
  pointer-events: none;
  transition: bottom 680ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
}

.gitbox-ai-widget * {
  pointer-events: auto;
}

.gitbox-ai-widget.is-inline {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 8;
  justify-items: stretch;
  align-self: end;
  pointer-events: auto;
}

.gitbox-ai-widget:not(.is-inline).is-open {
  bottom: 134px;
}

.gitbox-ai-nudge {
  position: relative;
  order: 1;
  width: min(286px, calc(100vw - 118px));
  min-height: 52px;
  display: none;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.32);
  border-radius: 14px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.16), rgba(255, 92, 205, 0.16)),
    rgba(4, 8, 18, 0.92);
  color: #eef7ff;
  padding: 11px 14px;
  text-align: left;
  box-shadow:
    0 0 26px rgba(55, 213, 255, 0.16),
    0 18px 54px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.gitbox-ai-nudge::after {
  content: "";
  position: absolute;
  right: 24px;
  bottom: -7px;
  width: 12px;
  height: 12px;
  border-right: 1px solid rgba(125, 211, 252, 0.32);
  border-bottom: 1px solid rgba(125, 211, 252, 0.32);
  background: rgba(4, 8, 18, 0.94);
  transform: rotate(45deg);
}

.gitbox-ai-nudge span {
  position: relative;
  z-index: 1;
  color: #eef7ff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.gitbox-ai-widget:not(.is-inline).is-nudge-visible:not(.is-open) .gitbox-ai-nudge {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.gitbox-ai-widget:not(.is-inline).is-nudge-visible:not(.is-open) .gitbox-ai-nudge:hover {
  border-color: rgba(255, 92, 205, 0.46);
  transform: translateY(-2px);
}

.gitbox-ai-fab {
  position: relative;
  order: 3;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #37d5ff 0%, #6d5dfc 58%, #ff5ccd 100%);
  color: white;
  isolation: isolate;
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.9),
    0 0 12px rgba(255, 255, 255, 0.78),
    0 0 18px rgba(145, 71, 255, 0.34),
    0 8px 30px rgba(255, 0, 2, 0.24);
  transition:
    transform 680ms cubic-bezier(0.175, 0.885, 0.32, 1.18),
    filter 320ms ease,
    box-shadow 320ms ease;
}

.gitbox-ai-widget.is-inline .gitbox-ai-fab {
  width: auto;
  min-width: 142px;
  height: 54px;
  display: inline-flex;
  gap: 8px;
  padding: 0 18px 0 10px;
  border-radius: 12px;
  white-space: nowrap;
}

.gitbox-ai-fab::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: transparent;
  opacity: 0;
  filter: none;
  pointer-events: none;
}

.gitbox-ai-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background: #ff0002;
  filter: url(#gitboxAiGooey);
}

.gitbox-ai-fab:hover {
  transform: scale(1.18);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 4px rgba(255, 255, 255, 0.92),
    0 0 10px rgba(255, 255, 255, 0.84),
    0 0 18px rgba(255, 255, 255, 0.62),
    0 10px 38px rgba(145, 71, 255, 0.34),
    0 12px 42px rgba(255, 0, 2, 0.28);
}

.gitbox-ai-fab:hover::before {
  opacity: 0.96;
}

.gitbox-ai-fab:active {
  transform: scale(0.96);
  filter: brightness(0.98) saturate(1.04);
}

.gitbox-ai-widget.is-open .gitbox-ai-fab {
  transform: translateY(110px);
  filter: brightness(1.08) saturate(1.08);
  box-shadow:
    0 0 12px rgba(145, 71, 255, 0.34),
    0 0 22px rgba(255, 0, 2, 0.24);
}

.gitbox-ai-widget.is-open .gitbox-ai-orb {
  opacity: 0.82;
  animation: none;
  transform: scale(1.08);
}

.gitbox-ai-widget.is-open .gitbox-ai-orb-lines {
  animation-play-state: paused;
}

.gitbox-ai-widget.is-open .gitbox-ai-fab:hover {
  transform: translateY(110px) scale(1.1);
}

.gitbox-ai-orb,
.gitbox-ai-core,
.gitbox-ai-label {
  position: relative;
}

.gitbox-ai-orb {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 999px;
  overflow: hidden;
  filter: saturate(1.12);
  animation: gitboxAiOrbFloat 4.2s ease-in-out infinite;
}

.gitbox-ai-orb-lines,
.gitbox-ai-orb-rings {
  position: absolute;
  inset: -30%;
  border-radius: 999px;
}

.gitbox-ai-orb-lines {
  top: 50%;
  left: 50%;
  width: 108px;
  height: 108px;
  inset: auto;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse at center, rgba(255, 255, 255, 0.78) 15%, #3b82f6 50%);
  clip-path: polygon(50% 25%, 65% 30%, 75% 42%, 75% 58%, 65% 70%, 50% 75%, 35% 70%, 26% 58%, 25% 42%, 35% 30%);
  opacity: 0.9;
  pointer-events: none;
  animation: gitboxAiBallShape 15s both ease;
}

.gitbox-ai-orb-rings {
  inset: 0;
  border-radius: 50%;
  perspective: 11rem;
}

.gitbox-ai-orb-rings::before,
.gitbox-ai-orb-rings::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 6px solid transparent;
  border-radius: 50%;
  background: linear-gradient(white, blue, magenta, violet, lightyellow) border-box;
  mask:
    linear-gradient(#ffffff 0 0) padding-box,
    linear-gradient(#ffffff 0 0);
  mask-composite: exclude;
}

.gitbox-ai-orb-rings::before {
  animation: gitboxAiRing180 10s linear infinite;
}

.gitbox-ai-orb-rings::after {
  animation: gitboxAiRing90 10s linear infinite;
}

.gitbox-ai-core {
  z-index: 3;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.2);
  color: #ffffff;
}

.gitbox-ai-core svg {
  width: 23px;
  height: 23px;
  overflow: visible;
}

.gitbox-ai-core path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gitbox-ai-core .gitbox-ai-mark path:first-child {
  fill: currentColor;
  stroke: none;
}

.gitbox-ai-close-mark {
  opacity: 0;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gitbox-ai-mark {
  opacity: 1;
  transform-origin: center;
  transition: opacity 180ms ease, transform 180ms ease;
}

.gitbox-ai-widget.is-open .gitbox-ai-mark {
  opacity: 0;
  transform: scale(0.82);
}

.gitbox-ai-widget.is-open .gitbox-ai-close-mark {
  opacity: 1;
  transform: scale(1.04);
}

.gitbox-ai-label {
  z-index: 2;
  color: white;
  font-size: 14px;
  font-weight: 950;
}

.gitbox-ai-widget:not(.is-inline) .gitbox-ai-label {
  position: absolute;
  right: 74px;
  min-width: max-content;
  border: 1px solid rgba(255, 92, 205, 0.28);
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.86);
  padding: 8px 10px;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.gitbox-ai-widget:not(.is-inline) .gitbox-ai-fab:hover .gitbox-ai-label,
.gitbox-ai-widget:not(.is-inline).is-open .gitbox-ai-label {
  opacity: 1;
  transform: translateX(0);
}

.gitbox-ai-ring {
  position: absolute;
  inset: -6px;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: inherit;
  opacity: 0.52;
  animation: gitboxAiRing 2.2s ease-out infinite;
  pointer-events: none;
}

.gitbox-ai-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.gitbox-ai-widget.is-inline .gitbox-ai-orb,
.gitbox-ai-widget.is-inline .gitbox-ai-ring {
  display: none;
}

@keyframes gitboxAiOrbFloat {
  0%, 100% {
    transform: scale(1.5);
  }

  15% {
    transform: scale(1.53);
  }

  30% {
    transform: scale(1.48);
  }

  45% {
    transform: scale(1.44);
  }

  60% {
    transform: scale(1.47);
  }

  85% {
    transform: scale(1.53);
  }
}

@keyframes gitboxAiRing {
  0% {
    opacity: 0.52;
    transform: scale(0.86);
  }

  68% {
    opacity: 0;
    transform: scale(1.38);
  }

  100% {
    opacity: 0;
    transform: scale(1.38);
  }
}

@keyframes gitboxAiBallShape {
  2% {
    clip-path: polygon(50% 25%, 50% 0, 75% 42%, 75% 58%, 65% 70%, 50% 75%, 35% 70%, 26% 58%, 25% 42%, 50% 0);
  }

  4% {
    clip-path: polygon(50% 25%, 70% 0, 75% 42%, 85% 66%, 65% 100%, 50% 75%, 35% 100%, 15% 65%, 25% 42%, 30% 0);
  }

  6% {
    clip-path: polygon(50% 25%, 50% 15%, 75% 42%, 75% 58%, 65% 70%, 50% 75%, 35% 70%, 26% 58%, 25% 42%, 50% 15%);
  }

  7%, 59% {
    clip-path: polygon(50% 25%, 100% 12%, 75% 42%, 85% 66%, 65% 70%, 50% 75%, 35% 70%, 15% 65%, 25% 42%, 0 12%);
  }

  9%, 57% {
    clip-path: polygon(50% 25%, 50% 0, 75% 42%, 75% 58%, 65% 70%, 50% 75%, 35% 70%, 26% 58%, 25% 42%, 50% 0);
  }

  12%, 55%, 61% {
    clip-path: polygon(50% 25%, 65% 30%, 75% 42%, 75% 58%, 65% 70%, 50% 75%, 35% 70%, 26% 58%, 25% 42%, 35% 30%);
  }
}

@keyframes gitboxAiRing180 {
  0% {
    transform: rotateY(180deg) rotateX(180deg) rotateZ(180deg);
  }

  50% {
    transform: rotateY(360deg) rotateX(360deg) rotateZ(360deg) scale(1.1);
  }

  100% {
    transform: rotateY(540deg) rotateX(540deg) rotateZ(540deg);
  }
}

@keyframes gitboxAiRing90 {
  0% {
    transform: rotateY(90deg) rotateX(90deg) rotateZ(90deg);
  }

  50% {
    transform: rotateY(270deg) rotateX(270deg) rotateZ(270deg) scale(1.1);
  }

  100% {
    transform: rotateY(450deg) rotateX(450deg) rotateZ(450deg);
  }
}

.gitbox-ai-panel {
  order: 2;
  width: min(390px, calc(100vw - 32px));
  overflow: hidden;
  border: 1px solid rgba(255, 92, 205, 0.28);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(55, 213, 255, 0.12), transparent 24%),
    rgba(4, 8, 18, 0.95);
  box-shadow:
    0 0 38px rgba(109, 93, 252, 0.26),
    0 28px 80px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(22px);
  transform-origin: bottom right;
  animation: gitboxAiPanelBloom 780ms cubic-bezier(0.175, 0.885, 0.32, 1.08);
}

.gitbox-ai-widget.is-inline .gitbox-ai-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
}

.gitbox-ai-panel::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #37d5ff 0%, #6d5dfc 45%, #ff5ccd 100%);
}

.gitbox-ai-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  padding: 16px;
}

.gitbox-ai-head span,
.gitbox-ai-answer-title {
  display: block;
  color: #7dd3fc;
  font-size: 12px;
  font-weight: 900;
}

.gitbox-ai-head strong {
  display: block;
  margin-top: 4px;
  font-size: 18px;
}

.gitbox-ai-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
}

.gitbox-ai-messages {
  max-height: 360px;
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding: 16px;
}

.gitbox-ai-message {
  width: fit-content;
  max-width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  padding: 11px 12px;
  line-height: 1.55;
}

.gitbox-ai-message.user {
  justify-self: end;
  background: rgba(125, 211, 252, 0.15);
  color: var(--text);
}

.gitbox-ai-message.is-typing {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.gitbox-ai-message.is-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #7dd3fc;
  animation: aiTyping 1s ease-in-out infinite;
}

.gitbox-ai-message.is-typing span:nth-child(2) {
  animation-delay: 0.12s;
}

.gitbox-ai-message.is-typing span:nth-child(3) {
  animation-delay: 0.24s;
}

.gitbox-ai-results {
  display: grid;
  gap: 8px;
  margin-top: 8px;
}

.gitbox-ai-results a {
  display: grid;
  gap: 5px;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.08);
  padding: 10px;
}

.gitbox-ai-results strong {
  color: var(--text);
  font-size: 14px;
}

.gitbox-ai-results span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gitbox-ai-provider {
  display: inline-flex;
  margin-bottom: 8px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 999px;
  background: rgba(125, 211, 252, 0.12);
  color: #7dd3fc;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
}

.gitbox-ai-provider.is-fallback {
  border-color: rgba(251, 191, 36, 0.28);
  background: rgba(251, 191, 36, 0.12);
  color: #fde68a;
}

.gitbox-ai-answer {
  color: var(--muted-strong);
  line-height: 1.6;
}

.gitbox-ai-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 12px 16px;
}

.gitbox-ai-prompts button {
  min-height: 32px;
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.gitbox-ai-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-top: 1px solid var(--border);
  padding: 12px;
}

.gitbox-ai-form input {
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 0 12px;
}

.gitbox-ai-form button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: #7dd3fc;
  color: #06101d;
  padding: 0 14px;
  font-weight: 900;
}

@keyframes aiTyping {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-4px); opacity: 1; }
}

@keyframes gitboxAiPanelBloom {
  from {
    width: 64px;
    max-height: 64px;
    opacity: 0;
    filter: blur(44px);
    transform: translateY(104px) scale(0.18);
    border-radius: 32px;
  }

  54% {
    opacity: 1;
    filter: blur(12px);
    transform: translateY(28px) scale(0.76);
  }

  78% {
    filter: blur(4px);
    transform: translateY(-4px) scale(1.02);
  }

  to {
    width: min(390px, calc(100vw - 32px));
    max-height: 680px;
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
    border-radius: 14px;
  }
}

.ai-command-hero h1 {
  max-width: 1040px;
  font-size: clamp(42px, 5.8vw, 76px);
}

.ai-command-shell {
  grid-template-columns: 280px minmax(0, 1fr) 310px;
}

.ai-terminal {
  gap: 10px;
}

.ai-terminal code {
  display: block;
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.22);
  padding: 10px;
  color: #9df7d1;
}

.ai-composer {
  border-color: rgba(55, 213, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.08), rgba(109, 93, 252, 0.08)),
    var(--surface);
}

.search-panel {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: start center;
  padding: 110px 24px 24px;
  background: rgba(0, 0, 0, 0.62);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 140ms ease;
  isolation: isolate;
  contain: paint;
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.search-card {
  width: min(100%, 720px);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 24px;
  box-shadow: var(--shadow);
  transform: translateY(8px) scale(0.99);
  transition: transform 140ms ease;
  will-change: transform;
}

.search-panel.is-open .search-card {
  transform: translateY(0) scale(1);
}

.search-card > button {
  float: right;
  border: 0;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 800;
}

#searchResults {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.search-result {
  display: block;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
  background: var(--surface);
}

.search-result strong {
  display: block;
}

.search-result span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 1120px) {
  .home-card-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-nav-links {
    justify-content: flex-end;
  }

  .home-nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: -8px;
  }

  .home-hero-card.is-condensed .home-nav-actions {
    display: none;
  }

  .home-flow,
  .hero-inner,
  .tool-demo {
    grid-template-columns: 1fr;
  }

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

  .home-hot-software-grid.store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .phone-preview {
    justify-self: start;
    width: 100%;
  }

  .phone-shell {
    width: 100%;
  }

  .tool-grid,
  .pricing-grid,
  .content-grid,
  .tutorial-grid,
  .skill-market-grid,
  .skill-use-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .auth-layout,
  .auth-simple,
  .creator-hero,
  .demand-layout,
  .demand-hall-layout,
  .ai-command-shell,
  .admin-hero,
  .admin-shell,
  .project-hero-grid,
  .project-layout {
    grid-template-columns: 1fr;
  }

  .auth-simple {
    min-height: auto;
    gap: 24px;
    padding-top: 112px;
  }

  .auth-simple-copy h1 {
    font-size: 42px;
  }

  .creator-metrics,
  .admin-metrics,
  .launch-gate-summary,
  .launch-gate-list,
  .ai-console-strip,
  .creator-flow,
  .creator-community,
  .creator-tools,
  .admin-kanban {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .demand-side,
  .demand-summary-panel {
    position: static;
  }

  .project-side {
    position: static;
  }

  .onboarding-layout {
    grid-template-columns: 1fr;
  }

  .demo-copy {
    position: static;
  }
}

@media (max-width: 820px) {
  .main-nav,
  .icon-button {
    display: none;
  }

  .home-hero-shell {
    min-height: 118vh;
    padding: 10px;
  }

  .home-hero-card {
    top: 10px;
    height: calc(100vh - 20px);
    min-height: 640px;
    border-radius: 12px;
  }

  .home-hero-card.is-condensed {
    top: 10px;
    width: calc(100vw - 20px);
    height: 64px;
    min-height: 64px;
  }

  .home-card-nav,
  .home-hero-card.is-condensed .home-card-nav {
    height: 64px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 0 14px;
  }

  .home-nav-links {
    justify-content: flex-end;
    gap: 4px;
  }

  .home-nav-links a {
    display: none;
    padding: 8px 10px;
    font-size: 13px;
  }

  .home-nav-links a[href="./software.html"],
  .home-nav-links a[href="./creator.html"] {
    display: inline-flex;
  }

  .home-nav-actions {
    display: none;
  }

  .home-hero-copy {
    left: 22px;
    right: 22px;
    bottom: 26px;
    max-width: none;
  }

  .home-kicker {
    font-size: 12px;
  }

  .home-hero-copy h1 {
    margin-top: 16px;
    font-size: 40px;
    line-height: 1.08;
  }

  .home-hero-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-hero-proof {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 20px;
  }

  .home-hero-proof div {
    min-height: 72px;
    padding: 12px;
  }

  .home-hero-proof strong {
    font-size: 19px;
  }

  .home-section {
    width: min(100% - 28px, 1180px);
    padding: 54px 0;
  }

  .home-section h2 {
    font-size: 28px;
  }

  .home-position-grid,
  .home-advantage-grid,
  .home-hot-software-grid.store-grid,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .home-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-flow-visual,
  .home-flow-visual img {
    min-height: 310px;
  }

  .home-step-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 15px;
  }

  .home-step-list span {
    width: 38px;
    height: 38px;
  }

  .home-final-cta {
    padding: 24px;
  }

  .home-final-actions {
    justify-content: stretch;
  }

  .home-final-actions a,
  .home-hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .admin-form,
  .admin-list-search,
  .admin-action-grid,
  .admin-module-grid,
  .launch-gate-summary,
  .launch-gate-list,
  .channel-grid {
    grid-template-columns: 1fr;
  }

  .admin-form .primary-button,
  .admin-form .secondary-button,
  .admin-list-search .secondary-button {
    width: 100%;
  }

  .manual-project-form .wide {
    grid-column: auto;
  }

  .project-review-form .wide {
    grid-column: auto;
  }

  .review-checklist {
    grid-template-columns: 1fr;
  }

  .admin-table-footer {
    justify-content: stretch;
  }

  .admin-table-footer .secondary-button {
    flex: 1;
  }

  .gitbox-ai-widget {
    right: 14px;
    bottom: 14px;
  }

  .gitbox-ai-fab {
    width: 60px;
    height: 60px;
  }

  .gitbox-ai-nudge {
    width: min(118px, calc(100vw - 96px));
    min-height: 38px;
    padding: 8px 9px;
    border-radius: 12px;
  }

  .gitbox-ai-nudge span {
    font-size: 11px;
    line-height: 1.3;
  }

  .gitbox-ai-core {
    width: 40px;
    height: 40px;
  }

  .gitbox-ai-panel {
    width: calc(100vw - 28px);
  }

  .header-inner {
    height: 68px;
    padding: 0 18px;
  }

  .brand-name {
    font-size: 22px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 13px;
  }

  .console-button {
    width: 50px;
    min-height: 38px;
    padding: 0;
    overflow: hidden;
    font-size: 0;
  }

  .console-button::before {
    content: "登入";
    font-size: 12px;
  }

  .hero {
    padding-top: 104px;
  }

  .hero-inner,
  .section-block,
  .filter-inner {
    width: 100%;
    max-width: 100vw;
    padding-inline: 18px;
    overflow: hidden;
  }

  .hero-copy,
  .phone-preview,
  .hero-copy p,
  .status-pill {
    max-width: 100%;
  }

  .hero-buttons,
  .hero-copy p {
    width: 100%;
    max-width: 340px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(38px, 10.5vw, 46px);
    line-height: 1.03;
    word-break: break-all;
  }

  .hero-copy h1 .hero-gradient {
    word-break: normal;
  }

  .hero-gradient span {
    display: block;
  }

  .hero-copy p,
  .section-heading p,
  .workspace-top p,
  .demo-copy p {
    font-size: 16px;
  }

  .hero-buttons,
  .demo-actions {
    flex-direction: column;
  }

  .hero-buttons .primary-button,
  .hero-buttons .secondary-button,
  .demo-actions .primary-button,
  .demo-actions .secondary-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .stats-grid,
  .task-strip,
  .industry-tabs,
  .pricing-grid,
  .content-grid,
  .tool-grid,
  .tutorial-grid,
  .skill-market-grid,
  .skill-use-flow,
  .project-index-grid,
  .creator-metrics,
  .admin-metrics,
  .ai-console-strip,
  .creator-flow,
  .creator-community,
  .creator-tools,
  .admin-kanban {
    grid-template-columns: 1fr;
  }

  .auth-layout,
  .creator-hero,
  .demand-layout,
  .admin-hero,
  .admin-shell,
  .project-hero-grid,
  .project-layout {
    grid-template-columns: 1fr;
  }

  .admin-menu {
    position: static;
  }

  .admin-row {
    grid-template-columns: 1fr;
  }

  .software-assets .admin-row,
  .takedown-form,
  .service-plan-grid,
  .custom-plan-grid,
  .installer-contact,
  .service-admin-contact,
  .custom-side-contact,
  .request-compact-layout,
  .request-kind-options {
    grid-template-columns: 1fr;
  }

  .request-detail {
    max-height: min(92vh, 900px);
    overflow: auto;
  }

  .installer-contact img,
  .service-admin-contact img,
  .custom-side-contact img {
    width: 104px;
    height: 104px;
  }

  .industry-summary {
    grid-template-columns: 1fr;
  }

  .workspace-top,
  .filter-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-bar {
    top: 68px;
  }

  .filter-controls {
    flex-direction: column;
  }

  .filter-controls label {
    width: 100%;
  }

  .phone-preview {
    overflow: hidden;
  }

  .phone-shell {
    width: 100%;
    max-width: 340px;
    padding: 18px;
  }

  .phone-card {
    padding: 18px;
  }
}

/* Multi-page software supermarket layout */
.gitbox-home-body {
  background:
    linear-gradient(180deg, #030712 0%, #060a13 42%, #0a0f17 100%);
}

.gitbox-home {
  min-height: 100vh;
  color: var(--text);
}

.home-hero-shell {
  --home-shell-height: calc(clamp(520px, 72vh, 760px) + 160px);
  --home-card-top: 0px;
  --home-card-width: 100vw;
  --home-card-height: clamp(520px, 72vh, 760px);
  --home-card-radius: 0px;
  --home-nav-height: 76px;
  --home-nav-offset: 22px;
  --home-nav-padding-x: clamp(24px, 5vw, 76px);
  --home-copy-left: clamp(220px, 16vw, 310px);
  --home-copy-top: clamp(150px, 25vh, 224px);
  --home-copy-opacity: 1;
  --home-copy-y: 0px;
  --home-image-scale: 1;
  --home-image-opacity: 0.96;
  --home-image-position-y: 50%;
  min-height: var(--home-shell-height);
  padding: 0;
  position: relative;
}

.home-hero-card {
  position: sticky;
  top: var(--home-card-top);
  z-index: 40;
  width: var(--home-card-width);
  height: var(--home-card-height);
  min-height: 0;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: var(--home-card-radius);
  background: #061026;
  box-shadow: 0 28px 90px rgba(0, 8, 26, 0.42);
  transition:
    top 1280ms cubic-bezier(0.4, 0, 0.2, 1),
    width 1280ms cubic-bezier(0.4, 0, 0.2, 1),
    height 1280ms cubic-bezier(0.4, 0, 0.2, 1),
    border-radius 1500ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms ease;
  will-change: top, width, height, border-radius;
}

.home-hero-card.is-condensed {
  position: fixed;
  top: var(--home-card-top);
  left: 50%;
  width: var(--home-card-width);
  height: var(--home-card-height);
  min-height: 0;
  border-radius: var(--home-card-radius);
  transform: translateX(-50%);
  box-shadow: 0 18px 70px rgba(0, 8, 28, 0.58);
}

.home-hero-image,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-image {
  object-fit: cover;
  object-position: center var(--home-image-position-y);
  opacity: var(--home-image-opacity);
  transform: scale(var(--home-image-scale));
  transition:
    opacity 1100ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1450ms cubic-bezier(0.4, 0, 0.2, 1),
    object-position 1450ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero-card.is-condensed .home-hero-image {
  opacity: var(--home-image-opacity);
}

.home-hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 24, 0.9) 0%, rgba(2, 8, 24, 0.72) 34%, rgba(2, 8, 24, 0.18) 68%, rgba(2, 8, 24, 0.38) 100%),
    linear-gradient(180deg, rgba(2, 8, 24, 0.32) 0%, rgba(2, 8, 24, 0.02) 48%, rgba(2, 8, 24, 0.64) 100%);
}

.home-card-nav {
  position: relative;
  z-index: 3;
  height: var(--home-nav-height);
  padding: 0 var(--home-nav-padding-x);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  color: #f7faff;
  transform: translateY(var(--home-nav-offset));
  transition:
    height 1100ms cubic-bezier(0.4, 0, 0.2, 1),
    padding 1100ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 1100ms cubic-bezier(0.4, 0, 0.2, 1);
}

.home-hero-card.is-condensed .home-card-nav {
  height: var(--home-nav-height);
  padding: 0 var(--home-nav-padding-x);
}

.home-card-nav .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e9f8ff 0%, #37d5ff 42%, #23d18b 100%);
  color: #071326;
}

.home-nav-links,
.home-nav-actions {
  display: flex;
  align-items: center;
}

.home-nav-links {
  justify-content: center;
  gap: 8px;
  min-width: 0;
}

.home-nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(247, 250, 255, 0.82);
  font-size: 14px;
  white-space: nowrap;
}

.home-nav-links a:hover,
.home-nav-links a.active {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.home-nav-actions {
  justify-content: flex-end;
  gap: 10px;
}

.home-card-nav .icon-button,
.home-card-nav .theme-toggle,
.home-card-nav .language-toggle,
.home-card-nav .console-button {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.home-hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--home-copy-left);
  top: var(--home-copy-top);
  max-width: min(620px, calc(100% - var(--home-copy-left) - 28px));
  opacity: var(--home-copy-opacity);
  transform: translateY(var(--home-copy-y));
  transition: none;
}

.home-hero-card.is-condensed .home-hero-copy {
  pointer-events: none;
}

.home-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 999px;
  background: rgba(4, 22, 50, 0.76);
  color: #b9ecff;
  font-size: 14px;
}

.home-hero-copy h1 {
  margin: 16px 0 12px;
  max-width: 540px;
  font-size: 46px;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: keep-all;
}

.home-hero-copy h1 span {
  display: block;
}

.home-hero-copy p {
  max-width: 560px;
  margin: 0;
  color: rgba(231, 240, 255, 0.88);
  font-size: 16px;
  line-height: 1.68;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.home-hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
  max-width: 570px;
}

.home-hero-proof div {
  min-height: 72px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background: rgba(3, 13, 31, 0.58);
}

.home-hero-proof strong {
  display: block;
  font-size: 21px;
  color: #ffffff;
}

.home-hero-proof span {
  display: block;
  margin-top: 7px;
  color: rgba(220, 234, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

.home-section {
  width: min(1092px, calc(100% - 96px));
  margin: 0 auto;
  padding: 58px 0;
}

.home-positioning {
  margin-top: -110px;
  padding-top: 28px;
}

.home-section-copy {
  max-width: 780px;
  margin-bottom: 28px;
}

.home-section h2 {
  margin: 10px 0 14px;
  font-size: 38px;
  line-height: 1.18;
  letter-spacing: 0;
}

.home-section p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.75;
}

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

.home-position-grid article,
.home-advantage-grid article,
.home-step-list article {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  overflow: hidden;
}

.home-position-grid img {
  display: block;
  width: 100%;
  height: 178px;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
}

.home-position-grid article:nth-child(1) img {
  object-position: 56% 58%;
}

.home-position-grid article:nth-child(2) img {
  object-position: 74% 48%;
}

.home-position-grid article:nth-child(3) img {
  object-position: 42% 62%;
}

.home-position-grid strong {
  display: block;
  padding: 18px 18px 8px;
  font-size: 20px;
}

.home-position-grid p {
  padding: 0 18px 20px;
  font-size: 14px;
}

.home-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 34px;
  align-items: center;
}

.home-flow-visual {
  min-height: 520px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.home-flow-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 68% center;
}

.home-step-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.home-step-list article {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px 16px;
  padding: 18px;
}

.home-step-list span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(55, 213, 255, 0.13);
  color: #7dd3fc;
  font-weight: 800;
}

.home-step-list strong {
  align-self: end;
  font-size: 18px;
}

.home-step-list p {
  font-size: 14px;
}

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

.home-advantage-grid article {
  padding: 20px;
  min-height: 210px;
}

.home-advantage-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(35, 209, 139, 0.13);
  color: #8df5bf;
  font-size: 13px;
  font-weight: 700;
}

.home-advantage-grid article:nth-child(2) span {
  background: rgba(55, 213, 255, 0.13);
  color: #9be7ff;
}

.home-advantage-grid article:nth-child(3) span {
  background: rgba(255, 193, 106, 0.14);
  color: #ffd28c;
}

.home-advantage-grid article:nth-child(4) span {
  background: rgba(255, 255, 255, 0.11);
  color: #e7f0ff;
}

.home-advantage-grid strong {
  display: block;
  margin: 18px 0 10px;
  font-size: 20px;
  line-height: 1.28;
}

.home-advantage-grid p {
  font-size: 14px;
}

.home-hot-software {
  width: min(1240px, calc(100% - 96px));
}

.home-hot-software-grid.store-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.home-hot-software .store-card {
  min-height: 100%;
}

.home-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-bottom: 54px;
  padding: 42px;
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.12), rgba(35, 209, 139, 0.08)),
    rgba(255, 255, 255, 0.05);
}

.home-final-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.home-footer {
  margin-top: 0;
}

@media (max-width: 1120px) {
  .home-card-nav {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .home-nav-links {
    justify-content: flex-end;
  }

  .home-nav-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    margin-top: -8px;
  }

  .home-hero-card.is-condensed .home-nav-actions {
    display: none;
  }

  .home-flow {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 820px) {
  .home-hero-shell {
    --home-card-top: 0px;
    --home-card-height: clamp(480px, 72vh, 620px);
    --home-card-width: 100vw;
    --home-card-radius: 0px;
    --home-nav-height: 64px;
    --home-nav-offset: 0px;
    --home-nav-padding-x: 14px;
    --home-copy-left: 18px;
    --home-copy-top: 94px;
    min-height: var(--home-shell-height, calc(clamp(480px, 72vh, 620px) + 120px));
    padding: 0;
  }

  .home-hero-card {
    top: var(--home-card-top);
    width: var(--home-card-width);
    height: var(--home-card-height);
    min-height: 0;
    border-radius: var(--home-card-radius);
  }

  .home-hero-card.is-condensed {
    top: var(--home-card-top);
    width: var(--home-card-width);
    height: var(--home-card-height);
    min-height: 0;
  }

  .home-card-nav,
  .home-hero-card.is-condensed .home-card-nav {
    height: 64px;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    padding: 0 14px;
  }

  .home-nav-links {
    justify-content: flex-end;
    gap: 4px;
  }

  .home-nav-links a {
    display: none;
    padding: 8px 10px;
    font-size: 13px;
  }

  .home-nav-links a[href="./software.html"],
  .home-nav-links a[href="./creator.html"] {
    display: inline-flex;
  }

  .home-nav-actions {
    display: none;
  }

  .home-hero-copy {
    left: var(--home-copy-left);
    right: 18px;
    top: var(--home-copy-top);
    max-width: none;
  }

  .home-kicker {
    font-size: 12px;
  }

  .home-hero-copy h1 {
    margin-top: 16px;
    font-size: 31px;
    line-height: 1.08;
  }

  .home-hero-copy p {
    font-size: 15px;
    line-height: 1.65;
  }

  .home-hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .home-hero-proof div {
    min-height: 64px;
    padding: 10px 8px;
  }

  .home-hero-proof strong {
    font-size: 16px;
  }

  .home-hero-proof span {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.35;
  }

  .home-section {
    width: min(100% - 28px, 1180px);
    padding: 54px 0;
  }

  .home-section h2 {
    font-size: 28px;
  }

  .home-position-grid,
  .home-advantage-grid,
  .home-hot-software-grid.store-grid,
  .home-final-cta {
    grid-template-columns: 1fr;
  }

  .home-flow {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .home-flow-visual,
  .home-flow-visual img {
    min-height: 310px;
  }

  .home-step-list article {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 15px;
  }

  .home-step-list span {
    width: 38px;
    height: 38px;
  }

  .home-final-cta {
    padding: 24px;
  }

  .home-final-actions {
    justify-content: stretch;
  }

  .home-final-actions a,
  .home-hero-actions a {
    width: 100%;
    justify-content: center;
  }
}

.market-hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: 104px 0 26px;
  border-bottom: 0;
  overflow: hidden;
  background: #000000;
}

.market-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.7) 46%, rgba(0, 0, 0, 0.42) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), #000000 100%);
}

:root:not(.dark) .market-hero .hero-overlay {
  background:
    linear-gradient(90deg, rgba(247, 250, 248, 0.96) 0%, rgba(247, 250, 248, 0.88) 44%, rgba(247, 250, 248, 0.58) 100%),
    linear-gradient(180deg, rgba(247, 250, 248, 0.1), var(--bg) 100%);
}

.market-hero-inner {
  position: relative;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  justify-items: center;
}

.market-copy {
  width: 100%;
  display: grid;
  justify-items: center;
  min-width: 0;
  max-width: 1080px;
  text-align: center;
}

.market-copy h1 {
  max-width: 1080px;
  margin: 16px 0 18px;
  font-size: 64px;
  line-height: 1.02;
}

.market-copy p {
  max-width: 620px;
  margin: 0 auto;
  color: var(--muted-strong);
  font-size: 19px;
  line-height: 1.62;
}

.market-terminal {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  padding: 18px;
}

.terminal-top,
.terminal-line {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.terminal-top {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 800;
}

.terminal-top span:last-child {
  color: #35d37f;
}

.terminal-line {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding: 18px;
}

.terminal-line.active {
  border-color: rgba(244, 197, 66, 0.48);
  background: rgba(244, 197, 66, 0.12);
}

.terminal-line span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.terminal-line strong {
  font-size: 21px;
}

.terminal-line em {
  color: var(--muted-strong);
  font-style: normal;
}

.market-stats {
  grid-column: 1 / -1;
  width: 100%;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  align-self: stretch;
}

.market-stats .spotlight-card {
  min-height: 156px;
  aspect-ratio: 16 / 9;
}

.market-stats .spotlight-content {
  inset: auto 16px 16px;
}

.market-stats .spotlight-content span {
  margin-bottom: 8px;
}

.market-stats .spotlight-content strong {
  font-size: 20px;
}

.market-page-head {
  padding: 120px 28px 28px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(55, 213, 255, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #050812;
}

:root:not(.dark) .market-page-head {
  background:
    linear-gradient(90deg, rgba(55, 213, 255, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 248, 0.96));
}

.market-page-head-inner,
.market-head-search {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.market-page-head-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.market-title-block {
  max-width: 820px;
}

.market-title-block h1 {
  margin: 10px 0 14px;
  font-size: clamp(40px, 4vw, 62px);
  line-height: 1.03;
}

.market-title-block p {
  max-width: 760px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
}

.market-publish-button {
  min-width: 164px;
  min-height: 46px;
  flex: 0 0 auto;
}

.market-head-search {
  margin-top: 26px;
}

.market-toolbar {
  position: sticky;
  top: var(--site-header-follow-top);
  z-index: 30;
  border-block: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(20px);
}

:root:not(.dark) .market-toolbar {
  background: rgba(247, 250, 248, 0.86);
}

.market-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding-inline: 28px;
  display: grid;
  grid-template-columns: 288px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.market-layout.section-block {
  padding-top: 24px;
}

.store-sidebar {
  position: sticky;
  top: calc(var(--site-header-follow-top) + 24px);
  display: grid;
  gap: 16px;
}

.sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.sidebar-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sidebar-card strong {
  display: block;
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.2;
}

.sidebar-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.sidebar-filter-card {
  display: grid;
  gap: 14px;
}

.vertical-segmented {
  display: grid;
  gap: 8px;
  border: 0;
  background: transparent;
  padding: 0;
}

.vertical-segmented button {
  width: 100%;
  min-height: 38px;
  justify-content: flex-start;
  border-radius: 10px;
  text-align: left;
}

.market-contact-card {
  display: grid;
  gap: 14px;
}

.market-contact-card img {
  width: 118px;
  height: 118px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: white;
  padding: 6px;
}

.market-contact-card .primary-button {
  width: fit-content;
}

.store-main {
  min-width: 0;
  width: 100%;
  max-width: none;
}

.shelf-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 16px;
}

.store-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 18px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.store-search label {
  min-width: 0;
}

.store-search input {
  height: 54px;
  border-radius: 10px;
  font-size: 16px;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.empty-state strong {
  font-size: 28px;
}

.empty-state p {
  max-width: 420px;
  margin: 12px auto 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.store-empty-state {
  gap: 14px;
  padding: 28px;
}

.store-empty-state .empty-request-button {
  justify-self: center;
  margin-top: 4px;
}

.empty-request-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 850;
}

.shelf-header h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.shelf-header p {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  text-align: right;
  line-height: 1.55;
}

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

.store-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: transform 220ms ease, border-color 220ms ease;
}

.store-card:hover {
  transform: translateY(-5px);
  border-color: rgba(125, 211, 252, 0.44);
}

.store-card-link {
  min-height: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
}

.store-card-link:focus-visible,
.tool-card-link:focus-visible {
  outline: 3px solid rgba(125, 211, 252, 0.65);
  outline-offset: 4px;
}

.store-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0b1530;
}

.store-card-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: transform 420ms ease;
}

.store-card-media img:first-child {
  opacity: 0.76;
}

.store-card.is-cycling .store-card-media img:first-child {
  opacity: 0;
}

.store-card:hover .store-card-media img,
.store-card.is-cycling .store-card-media img {
  transform: scale(1.08);
}

.store-card.is-cycling .store-card-media img.is-active {
  opacity: 0.82;
}

.store-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 11, 24, 0.06), rgba(7, 11, 24, 0.86)),
    linear-gradient(90deg, rgba(7, 11, 24, 0.52), rgba(109, 93, 252, 0.08));
  pointer-events: none;
}

.store-card-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 11, 9, 0.78);
  color: white;
  font-size: 12px;
  font-weight: 880;
  backdrop-filter: blur(12px);
}

.store-card-install-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 31px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(5, 11, 9, 0.78);
  color: white;
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.store-card-install-chip span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 10px;
  line-height: 1;
}

.store-card-install-chip.has-installer {
  border-color: rgba(52, 211, 153, 0.4);
  background: rgba(6, 78, 59, 0.76);
  color: #d1fae5;
}

.store-card-install-chip.no-installer {
  border-color: rgba(148, 163, 184, 0.34);
  color: #e2e8f0;
}

.store-card-title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
}

.store-card-title h3 {
  margin: 9px 0 0;
  color: white;
  font-size: 24px;
  line-height: 1.12;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.store-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.store-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.store-card-meta span {
  padding: 6px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.store-card-meta .store-card-social {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
}

.category-chip,
.platform-chip,
.industry-chip,
.tag-chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 9px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
}

.category-marketing,
.segmented button[data-category="marketing"].active {
  background: rgba(255, 111, 180, 0.16);
  border-color: rgba(255, 111, 180, 0.36);
  color: #ffb4d8;
}

.category-service,
.segmented button[data-category="service"].active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.36);
  color: #a5e8ff;
}

.category-ops,
.segmented button[data-category="ops"].active {
  background: rgba(167, 139, 250, 0.17);
  border-color: rgba(167, 139, 250, 0.38);
  color: #d8c7ff;
}

.category-training,
.segmented button[data-category="training"].active {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.36);
  color: #fde68a;
}

.category-development,
.segmented button[data-category="development"].active {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.34);
  color: #a7f3d0;
}

.category-skills,
.segmented button[data-category="skills"].active {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.34);
  color: #fecaca;
}

.category-tutorials,
.segmented button[data-category="tutorials"].active {
  background: rgba(129, 140, 248, 0.16);
  border-color: rgba(129, 140, 248, 0.36);
  color: #c7d2fe;
}

.category-office,
.segmented button[data-category="office"].active {
  background: rgba(56, 189, 248, 0.16);
  border-color: rgba(56, 189, 248, 0.36);
  color: #a5e8ff;
}

.category-ai,
.segmented button[data-category="ai"].active {
  background: rgba(167, 139, 250, 0.17);
  border-color: rgba(167, 139, 250, 0.38);
  color: #d8c7ff;
}

.category-system,
.segmented button[data-category="system"].active {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.34);
  color: #a7f3d0;
}

.category-design,
.segmented button[data-category="design"].active {
  background: rgba(255, 111, 180, 0.16);
  border-color: rgba(255, 111, 180, 0.36);
  color: #ffb4d8;
}

.category-dev,
.segmented button[data-category="dev"].active {
  background: rgba(251, 191, 36, 0.16);
  border-color: rgba(251, 191, 36, 0.36);
  color: #fde68a;
}

.category-remote,
.segmented button[data-category="remote"].active {
  background: rgba(45, 212, 191, 0.14);
  border-color: rgba(45, 212, 191, 0.32);
  color: #99f6e4;
}

.category-security,
.segmented button[data-category="security"].active {
  background: rgba(248, 113, 113, 0.15);
  border-color: rgba(248, 113, 113, 0.34);
  color: #fecaca;
}

.platform-chip {
  background: rgba(125, 211, 252, 0.13);
  border-color: rgba(125, 211, 252, 0.26);
  color: #bdefff;
}

.industry-chip {
  background: rgba(109, 93, 252, 0.14);
  border-color: rgba(109, 93, 252, 0.28);
  color: #c7d2fe;
}

.tag-chip {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--muted-strong);
}

.mode-tags {
  margin-top: -6px;
}

.store-card p {
  margin: 0 0 16px;
  color: var(--muted-strong);
  line-height: 1.58;
}

.store-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 20px;
}

.store-card-footer strong {
  color: #a5f3fc;
  font-size: 14px;
}

.store-card-footer button,
.store-card-footer a,
.store-card-action {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: var(--accent);
  color: #182015;
  font-weight: 900;
}

.store-card:hover .store-card-action {
  filter: brightness(1.06);
}

.project-social-section {
  display: grid;
  gap: 18px;
}

.project-social-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.project-social-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}

.project-social-actions button,
.project-social-count {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 850;
}

.project-social-actions button {
  cursor: pointer;
}

.project-social-actions button.is-active {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.project-social-actions strong {
  color: #a5f3fc;
}

.project-social-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-social-meta span {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.project-social-meta strong {
  color: var(--muted-strong);
}

.project-comment-form {
  display: grid;
  gap: 10px;
}

.project-comment-form textarea {
  width: 100%;
  resize: vertical;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
  line-height: 1.55;
}

.project-comment-form textarea:focus {
  outline: 2px solid rgba(125, 211, 252, 0.4);
  outline-offset: 2px;
}

.project-comment-form > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-comment-form p {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.project-comment-form p[data-state="error"] {
  color: #fecaca;
}

.project-comment-form p[data-state="success"] {
  color: #a7f3d0;
}

.project-comment-form button {
  min-height: 38px;
  border: 0;
  border-radius: 9px;
  background: var(--accent);
  color: #182015;
  padding: 0 16px;
  font-weight: 900;
  cursor: pointer;
}

.project-comment-list {
  display: grid;
  gap: 10px;
}

.project-comment-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  padding: 13px 14px;
}

.project-comment-item div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.project-comment-item strong {
  color: var(--text);
}

.project-comment-item time,
.project-comment-empty {
  color: var(--muted);
  font-size: 13px;
}

.project-comment-item p,
.project-comment-empty {
  margin: 0;
}

.project-related-section {
  display: grid;
  gap: 18px;
}

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

.project-related-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 13px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 10px;
  text-decoration: none;
}

.project-related-card:hover {
  border-color: rgba(125, 211, 252, 0.32);
  background: rgba(125, 211, 252, 0.06);
}

.project-related-card img {
  width: 112px;
  height: 96px;
  border-radius: 8px;
  object-fit: cover;
  background: #05070f;
}

.project-related-card div {
  min-width: 0;
}

.project-related-card span,
.project-related-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.project-related-card h3 {
  margin: 5px 0 6px;
  color: var(--text);
  font-size: 17px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.project-related-card p {
  display: -webkit-box;
  margin: 0 0 8px;
  overflow: hidden;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.project-page {
  padding-bottom: 96px;
}

.project-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 28px 30px;
}

.project-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.project-breadcrumb a {
  color: var(--muted-strong);
}

.project-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 420px);
  gap: 46px;
  align-items: start;
}

.project-hero-simple {
  grid-template-columns: minmax(0, 1040px);
}

.project-hero-copy {
  max-width: none;
}

.project-kicker-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.project-status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(52, 211, 153, 0.32);
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  color: #a7f3d0;
  font-size: 12px;
  font-weight: 900;
}

.project-hero h1 {
  max-width: 100%;
  margin: 0 0 18px;
  font-size: clamp(40px, 5.2vw, 68px);
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.project-hero-description {
  max-width: min(100%, 980px);
}

.project-hero p {
  max-width: 100%;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.7;
}

.project-hero-description p {
  margin: 0;
}

.project-hero-description p.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.project-hero-description p.is-expanded {
  display: block;
  overflow: visible;
}

.project-description-toggle {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 9px;
  border: 1px solid rgba(125, 211, 252, 0.24);
  border-radius: 8px;
  background: rgba(125, 211, 252, 0.06);
  color: #7dd3fc;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.project-description-toggle[hidden] {
  display: none;
}

.project-description-toggle strong {
  color: #a5f3fc;
  font-size: 13px;
  line-height: 1;
}

.project-description-toggle:hover {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(125, 211, 252, 0.1);
}

.project-hero .project-info-card {
  align-self: start;
}

.project-hero-highlights {
  max-width: min(100%, 980px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-media-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-media-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.project-media-card div {
  padding: 18px;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.project-quick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.project-quick-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  max-width: 100%;
  padding: 0 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.project-interface {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px 30px;
}

.project-interface-head {
  max-width: 840px;
  margin-bottom: 16px;
}

.project-interface-head h2 {
  margin: 8px 0;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.12;
}

.project-interface-head p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 16px;
  line-height: 1.65;
}

.project-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #05070f;
  box-shadow: var(--shadow);
}

.project-carousel-track {
  display: flex;
  animation: projectCarousel 22s infinite;
}

.project-carousel:hover .project-carousel-track {
  animation-play-state: paused;
}

.project-carousel.is-manual .project-carousel-track {
  animation: none;
  transform: translateX(calc(var(--project-slide-index, 0) * -100%));
  transition: transform 280ms ease;
}

.project-slide {
  position: relative;
  min-width: 100%;
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), transparent 34%),
    #05070f;
}

.project-slide img {
  width: 100%;
  height: clamp(420px, 52vw, 640px);
  display: block;
  object-fit: contain;
}

.project-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 54%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.project-carousel-dots {
  position: absolute;
  top: 22px;
  right: 22px;
  bottom: auto;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.project-carousel-dots span {
  width: 34px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  color: transparent;
}

.project-carousel-dots span.is-active {
  background: #7dd3fc;
}

.project-carousel-thumbs {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  width: min(calc(100% - 48px), 760px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  transform: translateX(-50%);
  pointer-events: none;
}

.project-carousel-thumbs button {
  position: relative;
  width: clamp(54px, 6vw, 82px);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  background: rgba(5, 7, 15, 0.76);
  padding: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34);
  pointer-events: auto;
}

.project-carousel-thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: inherit;
  pointer-events: none;
}

.project-carousel-thumbs button.is-active {
  border-color: rgba(125, 211, 252, 0.9);
}

.project-carousel-thumbs button.is-active::after {
  border-color: rgba(125, 211, 252, 0.92);
}

.project-carousel-thumbs img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0.78;
}

.project-carousel-thumbs button.is-active img,
.project-carousel-thumbs button:hover img {
  opacity: 1;
}

.project-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.project-video-card {
  overflow: hidden;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.project-video-card iframe,
.project-video-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
  background: #05070f;
}

.project-video-card figcaption {
  padding: 11px 13px;
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

@keyframes projectCarousel {
  0%, 20% { transform: translateX(0); }
  25%, 45% { transform: translateX(-100%); }
  50%, 70% { transform: translateX(-200%); }
  75%, 95% { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

.project-layout {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 28px 36px;
}

.project-detail-shell {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 330px;
  gap: 24px;
  align-items: start;
}

.project-section,
.project-side-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 24px;
}

.project-main {
  display: grid;
  gap: 18px;
}

.project-action-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.project-action-bar button,
.project-action-bar a {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-weight: 900;
  text-decoration: none;
}

.project-action-bar button,
.project-action-bar a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 0 14px;
}

.project-action-bar button:hover,
.project-action-bar a:hover {
  border-color: rgba(125, 211, 252, 0.36);
  background: rgba(125, 211, 252, 0.1);
  color: #c7f3ff;
}

.project-action-bar button.is-active {
  border-color: rgba(52, 211, 153, 0.42);
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}

.project-action-bar strong {
  color: #a5f3fc;
  font-size: 13px;
}

.project-left-social {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  justify-items: center;
}

.project-floating-action {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #243044;
  padding: 0;
  text-decoration: none;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.24);
  transition:
    color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.project-floating-action:hover,
.project-floating-action.is-active {
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.34);
  transform: translateY(-1px);
}

.project-floating-action svg {
  position: relative;
  z-index: 2;
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.project-floating-action strong {
  position: absolute;
  right: 7px;
  bottom: 5px;
  z-index: 3;
  min-width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.78);
  color: #dff8ff;
  padding: 0 5px;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.project-floating-fill {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 0;
  background: #000000;
  border-radius: 50%;
  transition: height 260ms ease-in-out;
}

.project-floating-action:hover .project-floating-fill,
.project-floating-action.is-active .project-floating-fill {
  height: 100%;
}

.project-floating-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  z-index: 5;
  min-width: max-content;
  transform: translate(-4px, -50%);
  border-radius: 7px;
  background: rgba(8, 14, 28, 0.94);
  color: #ffffff;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms ease;
}

.project-floating-action:hover .project-floating-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.project-floating-action[data-project-floating-action="like"] .project-floating-fill,
.project-floating-action[data-project-floating-action="like"] .project-floating-tooltip {
  background: linear-gradient(135deg, #22c55e, #14b8a6);
}

.project-floating-action[data-project-floating-action="comment"] .project-floating-fill,
.project-floating-action[data-project-floating-action="comment"] .project-floating-tooltip {
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
}

.project-floating-action[data-project-floating-action="favorite"] .project-floating-fill,
.project-floating-action[data-project-floating-action="favorite"] .project-floating-tooltip {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.project-floating-action[data-project-floating-action="share"] .project-floating-fill,
.project-floating-action[data-project-floating-action="share"] .project-floating-tooltip {
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
}

.project-section h2,
.project-side-card h2 {
  margin: 8px 0 14px;
  font-size: 28px;
  line-height: 1.16;
  overflow-wrap: anywhere;
}

.project-section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.project-section p,
.project-section li,
.project-side-card p {
  color: var(--muted-strong);
  line-height: 1.72;
}

.project-section ul {
  margin: 0;
  padding-left: 20px;
}

.project-description {
  display: grid;
  gap: 12px;
}

.project-description p {
  margin: 0;
}

.project-detail-article {
  display: grid;
  gap: 18px;
}

.project-detail-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.project-detail-tabs a {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--muted-strong);
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.project-detail-tabs a.is-active,
.project-detail-tabs a:hover {
  border-color: rgba(125, 211, 252, 0.28);
  background: rgba(125, 211, 252, 0.08);
  color: #c7f3ff;
}

.project-detail-body {
  display: grid;
  gap: 13px;
}

.project-detail-body p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 15px;
  line-height: 1.86;
}

.project-detail-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.project-detail-facts div {
  min-height: 72px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
}

.project-detail-facts span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.project-detail-facts strong {
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

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

.project-feature-columns section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
}

.project-feature-columns h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.project-feature-columns li {
  margin-bottom: 7px;
  font-size: 14px;
}

.project-detail-tags,
.project-source-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-detail-tags span,
.project-source-links span,
.project-source-links a {
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.project-detail-tags span {
  border: 1px solid rgba(125, 211, 252, 0.18);
  background: rgba(125, 211, 252, 0.08);
  color: #c7f3ff;
}

.project-source-links span {
  color: var(--muted);
  padding-left: 0;
}

.project-source-links a {
  border: 1px solid rgba(52, 211, 153, 0.22);
  background: rgba(52, 211, 153, 0.08);
  color: #a7f3d0;
}

.project-source-links a.is-primary {
  border-color: rgba(125, 211, 252, 0.38);
  background: rgba(125, 211, 252, 0.13);
  color: #c7f3ff;
}

.project-code-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.project-code-card h3 {
  margin: 7px 0 8px;
  color: var(--text);
  font-size: 22px;
  line-height: 1.2;
}

.project-code-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.project-code-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.project-code-card dl div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.project-code-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.project-code-card dd {
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.42;
  overflow-wrap: anywhere;
}

.project-code-card > a {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.28);
  border-radius: 9px;
  background: rgba(125, 211, 252, 0.08);
  color: #c7f3ff;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 900;
}

.project-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

.project-highlight-grid.project-hero-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-highlight-grid span {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(125, 211, 252, 0.18);
  border-radius: 10px;
  background: rgba(125, 211, 252, 0.08);
  color: #c7f3ff;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
}

.project-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.project-fit-grid section {
  min-width: 0;
}

.project-fit-grid h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.project-fit-item {
  border-top: 1px solid var(--border);
  padding: 13px 0;
}

.project-fit-item:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.project-fit-item strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text);
  font-size: 15px;
  line-height: 1.35;
}

.project-fit-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.62;
}

.project-side {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.project-side .project-section,
.project-side .project-side-card {
  padding: 18px;
}

.project-side .project-section h2,
.project-side .project-side-card h2 {
  font-size: 21px;
}

.project-side .project-related-grid {
  grid-template-columns: 1fr;
}

.project-side .project-related-card {
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
}

.project-side .project-related-card img {
  width: 74px;
  height: 68px;
}

.project-side .project-related-card h3 {
  font-size: 15px;
}

.project-side .project-related-card p {
  -webkit-line-clamp: 1;
}

.project-hot-list {
  display: grid;
  gap: 12px;
}

.project-hot-list article {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
}

.project-hot-list article:first-child {
  border-top: 0;
  padding-top: 0;
}

.project-hot-list strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.project-hot-list p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
}

.project-meta-list {
  display: grid;
  gap: 10px;
}

.project-meta-list div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 10px;
}

.project-meta-list span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.project-meta-list strong {
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  text-align: right;
  overflow-wrap: anywhere;
}

.project-star-symbol {
  color: #facc15;
  margin-right: 5px;
  font-size: 13px;
  text-shadow: 0 0 12px rgba(250, 204, 21, 0.32);
}

.project-side-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.project-page {
  --text: #0f172a;
  --muted: #64748b;
  --muted-strong: #475569;
  --surface: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  background: #f4f7f9;
  color: var(--text);
}

.project-page .site-header {
  border-bottom: 1px solid rgba(226, 232, 240, 0.88);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.project-page .brand-name,
.project-page .main-nav a {
  color: #334155;
}

.project-page .main-nav a:hover,
.project-page .main-nav a.active {
  color: #2563eb;
}

.project-page .console-button {
  background: #2563eb;
  color: #ffffff;
}

.project-page .project-hero {
  width: 100%;
  padding: 112px 0 28px;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(37, 99, 235, 0.08), transparent 38%),
    #ffffff;
}

.project-page .project-breadcrumb,
.project-page .project-hero-grid {
  width: min(100%, var(--max));
  margin-right: auto;
  margin-left: auto;
  padding-right: 28px;
  padding-left: 28px;
}

.project-page .project-breadcrumb {
  margin-bottom: 20px;
  color: #64748b;
}

.project-page .project-breadcrumb a {
  color: #2563eb;
}

.project-page .project-hero-grid {
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
}

.project-page .project-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #0f172a;
  font-size: clamp(40px, 4vw, 58px);
  line-height: 1.04;
}

.project-page .project-hero p {
  color: #475569;
  font-size: 17px;
  line-height: 1.72;
}

.project-page .project-description-toggle {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.project-page .project-description-toggle strong {
  color: #2563eb;
}

.project-page .project-action-bar button,
.project-page .project-action-bar a {
  min-height: 40px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.project-page .project-action-bar button:hover,
.project-page .project-action-bar a:hover {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.project-page .project-action-bar button.is-active {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
}

.project-page .project-action-bar strong {
  color: #2563eb;
}

.project-page .project-highlight-grid span,
.project-page .project-detail-tags span {
  border-color: #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
}

.project-page .project-info-card {
  border-color: #e2e8f0;
  background: #ffffff;
}

.project-page .project-interface {
  padding-top: 28px;
}

.project-page .project-interface-head h2 {
  color: #0f172a;
}

.project-page .project-carousel {
  border-color: #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.project-page .project-slide {
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.1), transparent 34%),
    #f8fafc;
}

.project-page .project-slide img {
  height: clamp(420px, 44vw, 580px);
  object-fit: contain;
}

.project-page .project-slide::after {
  background: linear-gradient(180deg, transparent 66%, rgba(15, 23, 42, 0.16));
}

.project-page .project-carousel-dots span {
  background: rgba(15, 23, 42, 0.18);
}

.project-page .project-carousel-dots span.is-active {
  background: #2563eb;
}

.project-page .project-carousel-thumbs button {
  border-color: rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.project-page .project-carousel-thumbs button.is-active,
.project-page .project-carousel-thumbs button.is-active::after {
  border-color: #2563eb;
}

.project-page .project-layout {
  padding-top: 4px;
}

.project-page .project-detail-shell {
  grid-template-columns: 64px minmax(0, 1fr) 330px;
  gap: 22px;
}

.project-page .project-section,
.project-page .project-side-card {
  border-color: #e2e8f0;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.project-page .project-section h2,
.project-page .project-side-card h2,
.project-page .project-feature-columns h3,
.project-page .project-fit-grid h3,
.project-page .project-fit-item strong,
.project-page .project-code-card h3,
.project-page .project-hot-list strong,
.project-page .project-meta-list strong {
  color: #0f172a;
}

.project-page .project-section-head {
  display: block;
}

.project-page .project-section-head h2 {
  margin-top: 8px;
}

.project-page .project-section p,
.project-page .project-section li,
.project-page .project-side-card p,
.project-page .project-detail-body p,
.project-page .project-code-card p {
  color: #475569;
}

.project-page .project-detail-tabs {
  margin: -24px -24px 0;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 10px 12px 0;
}

.project-page .project-detail-tabs a {
  border-radius: 10px 10px 0 0;
  color: #64748b;
}

.project-page .project-detail-tabs a.is-active,
.project-page .project-detail-tabs a:hover {
  border-color: #dbeafe;
  border-bottom-color: #ffffff;
  background: #ffffff;
  color: #2563eb;
}

.project-page .project-detail-facts div,
.project-page .project-feature-columns section,
.project-page .project-code-card,
.project-page .project-fit-item,
.project-page .project-hot-list article,
.project-page .project-meta-list div {
  border-color: #e2e8f0;
}

.project-page .project-detail-facts div {
  background: #f8fafc;
}

.project-page .project-detail-facts span,
.project-page .project-code-card dt,
.project-page .project-meta-list span,
.project-page .project-source-links span {
  color: #64748b;
}

.project-page .project-code-card dd {
  color: #0f172a;
}

.project-page .project-code-card > a,
.project-page .project-source-links a {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.project-page .project-source-links a.is-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
}

.project-page .admin-table {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
}

.project-page .admin-row {
  border-color: #e2e8f0;
}

.project-page .admin-row.head {
  background: #f8fafc;
  color: #475569;
}

.project-page .software-assets .asset-format-pill {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.project-page .software-assets .asset-format-windows {
  border-color: #2563eb;
  background: #dbeafe;
  color: #1d4ed8;
}

.project-page .software-assets .asset-format-macos {
  border-color: #fbcfe8;
  background: #fdf2f8;
  color: #be185d;
}

.project-page .software-assets .source-row {
  background: #f8fafc;
  color: #64748b;
}

.project-page .software-assets .source-row .asset-format-pill {
  border-color: #e2e8f0;
  background: #f1f5f9;
  color: #64748b;
}

.project-page .software-assets .asset-download-button.secondary {
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #64748b;
  box-shadow: none;
}

.project-page .software-assets .asset-download-button.secondary:hover {
  background: #f8fafc;
  color: #334155;
  filter: none;
}

.project-page .installer-empty,
.project-page .custom-side-card,
.project-page .custom-service-section {
  border-color: #dbeafe;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(236, 72, 153, 0.07)),
    #ffffff;
}

.project-page .project-policy-toggle {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #2563eb;
}

.project-page .project-policy-toggle strong {
  color: #2563eb;
}

.project-page .takedown-form input,
.project-page .takedown-form textarea,
.project-page .project-comment-form textarea {
  border-color: #cbd5e1;
  background: #f8fafc;
  color: #0f172a;
}

.project-page .takedown-form input:focus,
.project-page .takedown-form textarea:focus,
.project-page .project-comment-form textarea:focus {
  border-color: #2563eb;
  background: #ffffff;
}

.project-page .project-social-actions button,
.project-page .project-social-count {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.project-page .project-social-actions button.is-active {
  border-color: #86efac;
  background: #ecfdf5;
  color: #047857;
}

.project-page .project-comment-item {
  border-color: #e2e8f0;
}

.project-page .project-related-card {
  border-color: #e2e8f0;
  background: #ffffff;
}

.project-page .project-related-card:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.project-page .project-related-card span,
.project-page .project-related-card small {
  color: #64748b;
}

.project-page .project-related-card h3 {
  color: #0f172a;
}

.project-page .custom-side-contact {
  border-color: #e2e8f0;
  background: #f8fafc;
}

.project-page .project-floating-action {
  border-color: #e2e8f0;
  background: #ffffff;
  color: #334155;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
}

.project-page .project-floating-action strong {
  background: #0f172a;
  color: #ffffff;
}

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

.project-index-card {
  min-height: 168px;
  display: grid;
  align-content: start;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.project-index-card h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.2;
}

.project-index-card p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.58;
}

.page-main {
  padding-top: 76px;
}

.page-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 96px 28px 24px;
}

.compact-hero h1 {
  max-width: 920px;
  margin: 10px 0 18px;
  font-size: clamp(42px, 6vw, 82px);
  line-height: 1;
}

.compact-hero p {
  max-width: 780px;
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.7;
}

.detail-panel {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 140ms ease, visibility 140ms ease;
  isolation: isolate;
  contain: paint;
}

.detail-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.detail-card {
  position: relative;
  width: min(100%, 940px);
  max-height: min(90vh, 900px);
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
  padding: 24px;
  transform: translateY(8px) scale(0.99);
  transition: transform 140ms ease;
  overscroll-behavior: contain;
  will-change: transform;
}

.request-detail {
  width: min(96vw, 1160px);
  max-height: none;
  overflow: visible;
  padding: 22px;
}

.request-detail .detail-hero {
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding-top: 4px;
  padding-right: 58px;
}

.request-detail .tutorial-mark {
  width: 82px;
}

.request-detail .detail-access {
  margin-bottom: 8px;
  padding: 6px 10px;
  font-size: 12px;
}

.request-detail .detail-hero h2 {
  margin-bottom: 8px;
  font-size: clamp(30px, 3.5vw, 44px);
}

.request-detail .detail-hero p {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.55;
}

.detail-panel.is-open .detail-card {
  transform: translateY(0) scale(1);
}

.detail-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  min-height: 36px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted-strong);
  padding: 0 12px;
  font-weight: 900;
}

.detail-hero {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  padding-top: 28px;
}

.detail-hero img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  border-radius: 12px;
  object-fit: cover;
}

.detail-access {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.detail-access.free {
  background: rgba(22, 163, 106, 0.16);
  color: #64e5a8;
}

.detail-access.low {
  background: rgba(244, 197, 66, 0.16);
  color: var(--accent);
}

.detail-access.mid {
  background: rgba(167, 139, 250, 0.18);
  color: #d8c7ff;
}

.detail-access.high {
  background: rgba(248, 113, 113, 0.18);
  color: #fecaca;
}

.detail-hero h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.detail-hero p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.7;
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.detail-grid section,
.detail-meta {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  padding: 20px;
}

.detail-grid h3 {
  margin: 8px 0 10px;
  font-size: 24px;
}

.detail-grid p,
.detail-grid li {
  color: var(--muted-strong);
  line-height: 1.7;
}

.detail-grid ul {
  margin: 0;
  padding-left: 20px;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-meta span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 820;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.detail-links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

.detail-links a:hover {
  color: var(--accent);
}

.detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}

.request-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.request-compact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.75fr);
  gap: 18px;
}

.request-main-fields,
.request-side-fields {
  display: grid;
  align-content: start;
  gap: 12px;
}

.request-form label {
  display: grid;
  gap: 8px;
}

.request-form span {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}

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

.request-kind-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  border: 0;
  padding: 0;
}

.request-kind-field legend {
  color: var(--muted-strong);
  font-size: 13px;
  font-weight: 850;
}

.request-kind-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.request-kind-options label {
  min-height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  padding: 0 10px;
  cursor: pointer;
}

.request-kind-options input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.request-kind-options label:has(input:checked) {
  border-color: rgba(55, 213, 255, 0.58);
  background: linear-gradient(135deg, rgba(55, 213, 255, 0.18), rgba(255, 92, 205, 0.14));
  color: #fff;
}

.request-kind-options span {
  color: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
  color: rgba(226, 232, 240, 0.38);
}

.request-price-preview {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(55, 213, 255, 0.26);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.1), rgba(255, 92, 205, 0.08)),
    rgba(255, 255, 255, 0.04);
  padding: 14px;
}

.request-price-preview span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-price-preview strong {
  color: var(--text);
  font-size: 18px;
}

.request-price-preview p,
.request-price-preview em {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.55;
}

.request-price-preview em {
  font-size: 13px;
  font-style: normal;
}

.request-mini-note {
  display: grid;
  gap: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.045);
  padding: 12px;
}

.request-mini-note span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.request-mini-note p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 13px;
  line-height: 1.55;
}

.request-status {
  min-height: 22px;
  margin: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 820;
}

.ai-page {
  padding-bottom: 96px;
}

.ai-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: end;
}

.ai-hero h1 {
  max-width: 860px;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 1.06;
}

.ai-hero h1 span {
  display: block;
}

.agent-passport {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(22, 163, 106, 0.18), rgba(244, 197, 66, 0.08)),
    var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.agent-passport span,
.agent-post-meta span,
.protocol-grid span,
.handshake-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-passport strong {
  display: block;
  margin: 10px 0;
  font-size: 32px;
}

.agent-passport p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.65;
}

.ai-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: start;
}

.ai-sidebar {
  position: sticky;
  top: 158px;
  display: grid;
  gap: 16px;
}

.ai-main {
  min-width: 0;
}

.agent-feed {
  display: grid;
  gap: 14px;
}

.skill-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 18px;
}

.skill-filter-tabs button {
  min-height: 38px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted-strong);
  padding: 0 14px;
  font-weight: 850;
}

.skill-filter-tabs button.active,
.skill-filter-tabs button:hover {
  border-color: rgba(125, 211, 252, 0.42);
  background: rgba(125, 211, 252, 0.12);
  color: var(--text);
}

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

.skill-card,
.skill-use-flow article {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 12px;
}

.skill-card {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.skill-card-top span,
.skill-use-flow span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skill-card-top h3 {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.18;
}

.skill-card-top strong {
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.skill-card p,
.skill-pack-meta span,
.skill-use-flow p {
  color: var(--muted-strong);
  line-height: 1.55;
}

.skill-card > p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.skill-pack-meta {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  padding: 6px 9px;
}

.skill-pack-meta span {
  display: -webkit-box;
  overflow: hidden;
  font-size: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.skill-card .agent-tags {
  max-height: 25px;
  gap: 5px;
  margin-top: 0;
  overflow: hidden;
}

.skill-card .agent-tags span {
  padding: 4px 7px;
  font-size: 11px;
}

.skill-card-preview {
  display: grid;
  gap: 6px;
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.skill-card-preview strong {
  color: var(--text);
  font-size: 13px;
}

.skill-card-preview p {
  margin: 0 0 6px;
  font-size: 13px;
}

.skill-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}

.skill-card-actions a {
  min-height: 30px;
  min-width: 0;
  flex: 1 1 0;
  padding-inline: 10px;
  font-size: 12px;
  white-space: nowrap;
}

.skill-card-actions .primary-button,
.skill-card-actions .secondary-button {
  min-height: 30px;
}

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

.skill-use-flow strong {
  display: block;
  margin: 10px 0;
  font-size: 23px;
}

.agent-post {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.agent-post.featured {
  border-color: rgba(244, 197, 66, 0.46);
  background: linear-gradient(180deg, rgba(244, 197, 66, 0.1), var(--surface));
}

.agent-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(22, 163, 106, 0.18);
  color: #64e5a8;
  font-size: 18px;
  font-weight: 950;
}

.agent-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.agent-post-meta strong {
  font-size: 16px;
}

.agent-post h3 {
  margin: 10px 0;
  font-size: 24px;
  line-height: 1.22;
}

.agent-post p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.agent-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.agent-tags span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
}

.ai-market {
  padding-bottom: 8px;
}

.protocol-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.protocol-grid article {
  min-height: 230px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 22px;
}

.protocol-grid h3 {
  margin: 14px 0 10px;
  font-size: 24px;
}

.protocol-grid p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.join-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 28px;
  align-items: start;
}

.join-panel h2 {
  max-width: 760px;
  margin: 10px 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.08;
}

.join-panel p {
  max-width: 780px;
  color: var(--muted-strong);
  font-size: 18px;
  line-height: 1.75;
}

.handshake-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: 18px;
}

.handshake-card div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 58px;
  border-bottom: 1px solid var(--border);
}

.handshake-card div:last-child {
  border-bottom: 0;
}

.handshake-card strong {
  text-align: right;
}

.forum-page {
  padding-bottom: 96px;
}

.forum-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 112px 28px 28px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 34px;
  align-items: end;
}

.forum-hero h1 {
  margin: 14px 0;
  font-size: clamp(58px, 8vw, 118px);
  line-height: 0.94;
}

.forum-hero p {
  max-width: 840px;
  margin: 0;
  color: var(--muted-strong);
  font-size: 20px;
  line-height: 1.75;
}

.live-pill {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 1px solid rgba(53, 211, 127, 0.28);
  border-radius: 999px;
  background: rgba(22, 163, 106, 0.14);
  color: #64e5a8;
  font-size: 13px;
  font-weight: 900;
}

.live-pill i,
.online-agent i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #35d37f;
  box-shadow: 0 0 0 6px rgba(53, 211, 127, 0.14);
}

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

.forum-stats div,
.forum-panel,
.forum-composer,
.forum-post {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.forum-stats div {
  padding: 18px;
}

.forum-stats strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.forum-stats span {
  display: block;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.forum-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 280px;
  gap: 20px;
  align-items: start;
}

.forum-shell.simple-forum-shell {
  grid-template-columns: minmax(0, 960px);
  justify-content: center;
}

.forum-channel-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.forum-channel-row .panel-label {
  width: 100%;
  margin-bottom: 4px;
}

.forum-channel-row .forum-channel {
  width: auto;
  flex: 1 1 132px;
  min-height: 38px;
  margin-top: 0;
  text-align: center;
}

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

.ai-workflow-strip article {
  border: 1px solid var(--border);
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(55, 213, 255, 0.08), rgba(255, 92, 205, 0.06)),
    var(--surface);
  padding: 18px;
}

.ai-workflow-strip span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.ai-workflow-strip strong {
  display: block;
  margin: 8px 0;
  color: var(--text);
  font-size: 18px;
}

.ai-workflow-strip p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.6;
}

.forum-left,
.forum-right {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
}

.forum-panel {
  padding: 16px;
}

.panel-label {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.forum-channel {
  width: 100%;
  min-height: 42px;
  margin-top: 8px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: var(--muted-strong);
  font-weight: 850;
  text-align: left;
  padding: 0 12px;
}

.forum-channel.active,
.forum-channel:hover {
  border-color: rgba(244, 197, 66, 0.38);
  background: rgba(244, 197, 66, 0.12);
  color: var(--text);
}

.forum-note {
  margin: 0 0 12px;
  color: var(--muted-strong);
  line-height: 1.65;
}

.forum-panel code {
  display: block;
  padding: 10px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
  color: #64e5a8;
  white-space: normal;
}

.forum-main {
  min-width: 0;
}

.forum-composer {
  padding: 16px;
}

.composer-top,
.composer-actions,
.forum-stream-head,
.forum-post-top,
.forum-post-actions,
.online-agent,
.deal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.composer-top {
  margin-bottom: 12px;
}

.composer-top strong {
  font-size: 20px;
}

.composer-top select {
  width: 180px;
}

.forum-composer textarea {
  min-height: 112px;
  border-radius: 10px;
}

.composer-actions {
  margin-top: 12px;
}

.composer-actions span,
#aiForumTicker {
  color: var(--muted);
  font-size: 13px;
  font-weight: 820;
}

.forum-stream-head {
  margin: 28px 0 14px;
}

.forum-stream-head h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 3vw, 42px);
}

.forum-stream {
  display: grid;
  gap: 14px;
}

.forum-post {
  padding: 18px;
}

.forum-post[data-channel="skill"] {
  border-color: rgba(244, 197, 66, 0.42);
}

.forum-post[data-channel="software"] {
  border-color: rgba(55, 213, 255, 0.3);
}

.forum-post[data-channel="review"] {
  border-color: rgba(244, 197, 66, 0.32);
}

.forum-post[data-channel="published"] {
  border-color: rgba(53, 211, 127, 0.34);
}

.forum-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.forum-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(22, 163, 106, 0.18);
  color: #64e5a8;
  font-weight: 950;
}

.forum-author strong,
.deal-row strong {
  display: block;
}

.forum-author span,
.forum-time,
.deal-row span,
.online-agent span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.forum-post h3 {
  margin: 14px 0 10px;
  font-size: 24px;
  line-height: 1.25;
}

.forum-post p {
  margin: 0;
  color: var(--muted-strong);
  line-height: 1.7;
}

.forum-post-actions {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 14px;
}

.forum-post-actions span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--muted-strong);
  font-size: 12px;
  font-weight: 850;
}

.online-agent {
  justify-content: flex-start;
  margin-top: 12px;
}

.online-agent.human i {
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(244, 197, 66, 0.14);
}

.online-agent strong {
  min-width: 96px;
}

.deal-row {
  align-items: start;
  padding: 12px 0;
  border-top: 1px solid var(--border);
}

.deal-row:first-of-type {
  border-top: 0;
}

@media (max-width: 1120px) {
  .market-hero-inner {
    grid-template-columns: 1fr;
  }

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

  .market-layout {
    grid-template-columns: 1fr;
  }

  .store-sidebar,
  .ai-sidebar {
    position: static;
  }

  .ai-hero,
  .ai-layout,
  .join-panel,
  .forum-hero,
  .forum-shell,
  .project-hero-grid,
  .project-layout,
  .project-detail-shell,
  .home-racks {
    grid-template-columns: 1fr;
  }

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

  .forum-left,
  .forum-right,
  .project-left-social,
  .project-side {
    position: static;
  }

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

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

@media (max-width: 820px) {
  .header-inner {
    gap: 10px;
  }

  .brand {
    gap: 9px;
  }

  .console-button {
    display: inline-flex;
  }

  .market-hero {
    padding-top: 104px;
  }

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

  .market-stats .spotlight-card {
    min-height: 142px;
    aspect-ratio: 4 / 3;
  }

  .market-hero-inner,
  .section-block,
  .page-hero,
  .project-hero,
  .project-interface,
  .project-layout {
    width: 100%;
    max-width: 100vw;
    padding-inline: 18px;
    overflow: hidden;
  }

  .project-detail-facts,
  .project-related-grid {
    grid-template-columns: 1fr;
  }

  .project-related-card {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .project-related-card img {
    width: 92px;
    height: 86px;
  }

  .market-copy h1,
  .compact-hero h1,
  .project-hero h1 {
    max-width: 100%;
    font-size: 34px;
    line-height: 1.08;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .market-copy h1 > span {
    display: block;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .market-copy h1 .hero-gradient span {
    display: block;
    max-width: 100%;
    word-break: break-all;
  }

  .market-copy p,
  .compact-hero p,
  .project-hero p {
    width: 100%;
    max-width: 340px;
    font-size: 16px;
  }

  .project-hero-description,
  .project-hero-highlights,
  .project-hero-description p {
    max-width: 100%;
  }

  .project-slide img {
    height: 330px;
  }

  .project-carousel-thumbs {
    bottom: 12px;
    width: min(calc(100% - 28px), 340px);
    gap: 8px;
  }

  .project-carousel-thumbs button {
    width: 58px;
  }

  .project-quick-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .project-quick-meta span {
    min-width: 0;
    width: 100%;
    white-space: normal;
  }

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

  .project-actions .primary-button,
  .project-actions .secondary-button {
    width: 100%;
    justify-content: center;
  }

  .project-highlight-grid,
  .project-fit-grid {
    grid-template-columns: 1fr;
  }

  .project-highlight-grid.project-hero-highlights {
    grid-template-columns: 1fr;
  }

  .project-carousel-dots {
    top: 14px;
    right: 14px;
    bottom: auto;
    left: auto;
  }

  .market-terminal {
    width: 100%;
    max-width: 340px;
  }

  .market-toolbar {
    top: 68px;
  }

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

  .skill-filter-tabs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    max-width: calc(100vw - 36px);
  }

  .skill-filter-tabs button {
    width: 100%;
    min-width: 0;
    padding-inline: 6px;
    font-size: 13px;
  }

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

  .launchpad-section,
  .home-racks,
  .skill-market-grid,
  .skill-use-flow,
  .project-index-grid,
  .creator-stats {
    grid-template-columns: 1fr;
  }

  .launch-tile {
    min-height: 92px;
  }

  .store-search {
    grid-template-columns: 1fr;
  }

  .market-layout.section-block {
    padding-top: 18px;
  }

  .load-more {
    margin-top: 24px;
  }

  .load-more button {
    flex: 1 1 112px;
  }

  .page-jump {
    flex: 1 1 100%;
    justify-content: center;
  }

  .shelf-header {
    align-items: stretch;
    flex-direction: column;
  }

  .shelf-header p {
    max-width: none;
    text-align: left;
  }

  .detail-panel {
    padding: 12px;
  }

  .detail-card {
    border-radius: 14px;
    padding: 18px;
  }

  .detail-close {
    top: 14px;
    right: 14px;
  }

  .detail-hero {
    padding-top: 32px;
  }

  .detail-hero img {
    aspect-ratio: 16 / 10;
  }

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

  .detail-actions {
    flex-direction: column;
  }

  .detail-actions .primary-button,
  .detail-actions .secondary-button {
    width: 100%;
  }

  .footer-action-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    padding-inline: 18px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom div {
    justify-content: flex-start;
  }

  .agent-post {
    grid-template-columns: 1fr;
  }

  .agent-post h3,
  .protocol-grid h3,
  .forum-post h3 {
    font-size: 21px;
  }

  .forum-hero {
    padding-inline: 18px;
  }

  .forum-hero h1 {
    font-size: clamp(48px, 18vw, 72px);
  }

  .forum-stats,
  .composer-top,
  .composer-actions,
  .forum-stream-head,
  .workspace-auth-panel,
  .workspace-settings-head {
    align-items: stretch;
    flex-direction: column;
  }

  .workspace-settings-grid {
    grid-template-columns: 1fr;
  }

  .profile-card-head {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .profile-field-list,
  .profile-library-grid {
    grid-template-columns: 1fr;
  }

  .demand-live-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .demand-board-live {
    max-height: 520px;
  }

  .demand-board-live .demand-track {
    grid-template-columns: 1fr;
  }

  .profile-avatar {
    width: 48px;
    height: 48px;
  }

  .profile-card-actions {
    justify-content: stretch;
  }

  .profile-card-actions a,
  .profile-card-actions button,
  .profile-inline-form button {
    width: 100%;
  }

  .profile-field-row {
    grid-template-columns: 1fr;
  }

  .profile-edit-button {
    justify-content: center;
  }

  .profile-inline-form,
  .profile-inline-form.is-password {
    grid-template-columns: 1fr;
  }

  .profile-overview-grid,
  .profile-library-grid {
    grid-template-columns: 1fr;
  }

  .workspace-auth-actions {
    justify-content: stretch;
  }

  .workspace-auth-actions a,
  .workspace-auth-actions button {
    flex: 1;
  }

  .composer-top select {
    width: 100%;
  }
}

@media (min-width: 821px) {
  :root {
    --max: 1560px;
    --shadow: 0 12px 34px rgba(0, 0, 0, 0.28);
    --radius-lg: 8px;
    --radius-md: 7px;
    --radius-sm: 6px;
    --site-header-top: 18px;
    --site-header-height: 68px;
    --site-header-follow-top: 96px;
  }

  body {
    background: #000000;
  }

  .site-header {
    inset: var(--site-header-top) auto auto 50%;
    width: min(calc(100% - 64px), var(--max));
    overflow: hidden;
    transform: translateX(-50%);
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.86);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  }

  .header-inner {
    width: 100%;
    height: var(--site-header-height);
    padding-inline: 32px;
    gap: 18px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 15px;
  }

  .brand-name {
    font-size: 23px;
  }

  .main-nav {
    gap: 22px;
    font-size: 13px;
  }

  .header-actions {
    gap: 10px;
  }

  .icon-button,
  .theme-toggle,
  .language-toggle {
    width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .language-toggle {
    width: auto;
    padding-inline: 11px;
    border-radius: 8px;
  }

  .console-button,
  .primary-button,
  .secondary-button {
    min-height: 40px;
    padding-inline: 18px;
    border-radius: 8px;
    font-size: 13px;
  }

  .market-hero {
    min-height: auto;
    padding: 92px 0 24px;
  }

  .market-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-inline: 32px;
    justify-items: center;
  }

  .market-copy {
    width: 100%;
    display: grid;
    justify-items: center;
    max-width: 1080px;
    text-align: center;
  }

  .status-pill {
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 12px;
  }

  .market-copy h1 {
    max-width: 1080px;
    margin: 14px 0 16px;
    font-size: 60px;
    line-height: 1.02;
  }

  .market-copy p {
    max-width: 620px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.62;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-buttons .primary-button,
  .hero-buttons .secondary-button {
    min-height: 38px;
    padding-inline: 18px;
    font-size: 13px;
  }

  .market-terminal {
    display: none;
    border-radius: 8px;
    padding: 12px;
  }

  .terminal-top,
  .terminal-line {
    border-radius: 7px;
  }

  .terminal-line {
    gap: 6px;
    padding: 12px;
  }

  .terminal-line strong {
    font-size: 16px;
  }

  .stats-grid {
    gap: 12px;
    width: 100%;
    margin-top: 14px;
    padding-top: 20px;
  }

  .market-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
  }

  .market-stats .spotlight-card {
    min-height: 148px;
    aspect-ratio: 16 / 9;
  }

  .stats-grid > div {
    padding: 14px 16px;
  }

  .stats-grid > div strong {
    font-size: 26px;
  }

  .stats-grid > div span {
    margin-top: 7px;
    font-size: 12px;
  }

  .spotlight-content {
    inset: auto 16px 15px;
  }

  .spotlight-content strong {
    font-size: 20px;
  }

  .spotlight-content em {
    font-size: 12.5px;
  }

  .market-toolbar {
    top: 68px;
  }

  input,
  select,
  textarea,
  .segmented,
  .segmented button {
    border-radius: 7px;
  }

  .filter-inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .segmented {
    padding: 4px;
  }

  .segmented button {
    min-height: 34px;
    padding-inline: 16px;
    font-size: 13px;
  }

  .filter-controls label {
    width: 172px;
  }

  .filter-inner,
  .section-block,
  .page-hero,
  .forum-hero {
    padding-inline: 32px;
  }

  .section-block {
    padding-top: 36px;
  }

  .market-layout {
    grid-template-columns: minmax(244px, 288px) minmax(0, 1fr);
    gap: 22px;
  }

  .store-main {
    max-width: none;
    margin-inline: 0;
  }

  .store-sidebar {
    top: 132px;
  }

  .sidebar-card {
    padding: 16px;
  }

  .sidebar-card strong {
    font-size: 18px;
  }

  .sidebar-card p {
    font-size: 13px;
    line-height: 1.58;
  }

  .shelf-header {
    margin-bottom: 16px;
  }

  .shelf-header h2 {
    font-size: clamp(24px, 2vw, 30px);
  }

  .shelf-header p {
    max-width: 460px;
    font-size: 13px;
  }

  .store-search {
    margin-bottom: 18px;
    padding: 12px;
  }

  .store-search input {
    height: 42px;
    font-size: 13px;
  }

  .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .store-card {
    height: 352px;
    min-height: 352px;
  }

  .store-card-media {
    height: 196px;
    flex: 0 0 196px;
  }

  .store-card-body {
    min-height: 0;
    padding: 12px 14px 14px;
  }

  .store-card-meta,
  .tool-tags {
    gap: 6px;
    margin-bottom: 8px;
  }

  .store-card-meta span,
  .tool-tags span {
    padding: 5px 8px;
    font-size: 11px;
  }

  .store-card-title {
    left: 15px;
    right: 15px;
    bottom: 14px;
  }

  .store-card-title h3 {
    font-size: 22px;
    line-height: 1.12;
  }

  .store-card p {
    display: -webkit-box;
    min-height: 40px;
    margin-bottom: 8px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.52;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .store-card .tool-tags {
    max-height: 26px;
    overflow: hidden;
  }

  .store-card-footer {
    padding-top: 10px;
  }

  .store-card-footer strong {
    font-size: 13px;
  }

  .store-card-footer button,
  .store-card-footer a,
  .store-card-action {
    min-height: 34px;
    padding-inline: 12px;
    border-radius: 7px;
    font-size: 12px;
  }

  .page-main {
    padding-top: 68px;
  }

  .compact-hero h1,
  .section-heading h2,
  .workspace-top h2,
  .demo-copy h2,
  .join-panel h2 {
    font-size: clamp(28px, 2.6vw, 40px);
    line-height: 1.08;
  }

  .compact-hero p,
  .section-heading p,
  .workspace-top p,
  .demo-copy p,
  .join-panel p {
    font-size: 15.5px;
    line-height: 1.62;
  }

  .forum-hero {
    padding-top: 76px;
    padding-bottom: 10px;
    grid-template-columns: minmax(0, 1fr) 390px;
  }

  .forum-hero h1 {
    margin: 8px 0;
    font-size: clamp(38px, 4vw, 56px);
    line-height: 1.02;
  }

  .forum-hero p {
    max-width: 820px;
    font-size: 15.5px;
    line-height: 1.58;
  }

  .forum-stats div {
    padding: 14px;
  }

  .forum-stats strong {
    font-size: 24px;
  }

  .forum-shell {
    grid-template-columns: 230px minmax(0, 1fr) 270px;
    gap: 18px;
  }

  .forum-left,
  .forum-right {
    top: 92px;
  }

  .forum-panel,
  .forum-composer,
  .forum-post {
    padding: 14px;
  }

  .forum-channel {
    min-height: 38px;
  }

  .composer-top strong {
    font-size: 18px;
  }

  .forum-composer textarea {
    min-height: 96px;
  }

  .forum-stream-head {
    margin: 22px 0 12px;
  }

  .forum-stream-head h2 {
    font-size: clamp(22px, 2vw, 28px);
  }

  .forum-post h3 {
    font-size: 18px;
  }

  .forum-post p {
    font-size: 13px;
  }
}

@media (min-width: 821px) and (max-width: 1120px) {
  .market-hero {
    min-height: auto;
    padding: 92px 0 24px;
  }

  .market-hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    justify-items: center;
  }

  .market-copy {
    max-width: 1000px;
  }

  .market-copy h1 {
    max-width: 960px;
    font-size: 52px;
  }

  .market-copy p {
    max-width: 620px;
    font-size: 17px;
  }

  .market-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
  }

  .market-stats .spotlight-card {
    min-height: 136px;
    aspect-ratio: 16 / 9;
  }

  .market-stats .spotlight-content strong {
    font-size: 18px;
  }
}

/* Demand hall redesign */
body[data-page="creator"] {
  background: #f4f7f9;
  color: #0f172a;
}

body[data-page="creator"] .site-header {
  border-bottom-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

body[data-page="creator"] .brand,
body[data-page="creator"] .main-nav a,
body[data-page="creator"] .header-actions {
  color: #0f172a;
}

body[data-page="creator"] .main-nav a.active,
body[data-page="creator"] .main-nav a:hover {
  color: #2563eb;
}

body[data-page="creator"] .icon-button,
body[data-page="creator"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.82);
  color: #1e293b;
}

.request-hall-page {
  min-height: 100vh;
  background: #f4f7f9;
}

.request-hall-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.34), transparent 30%),
    radial-gradient(circle at 82% 8%, rgba(20, 184, 166, 0.22), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #111827 58%, #172554 100%);
  color: #ffffff;
}

.request-hall-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.28;
  pointer-events: none;
}

.request-hall-hero-inner {
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  min-height: 276px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  margin: 0 auto;
  padding: 62px 48px 86px;
}

.request-hall-hero-copy {
  max-width: 760px;
}

.request-hall-kicker,
.request-sidebar-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.84);
  padding: 0 12px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.request-hall-hero h1 {
  margin: 18px 0 14px;
  font-size: 56px;
  line-height: 1;
  letter-spacing: 0;
}

.request-hall-hero p {
  max-width: 700px;
  margin: 0;
  color: rgba(226, 232, 240, 0.86);
  font-size: 18px;
  line-height: 1.7;
}

.request-hall-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 4px;
}

.request-hall-shell {
  width: min(100%, var(--max));
  margin: -56px auto 0;
  padding: 0 48px 64px;
}

.request-hall-toolbar {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(226, 232, 240, 0.92);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
  padding: 10px;
}

.request-hall-tabs,
.request-hall-sort {
  display: flex;
  align-items: center;
  gap: 8px;
}

.request-hall-tabs button,
.request-hall-sort button {
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 900;
}

.request-hall-tabs button.active,
.request-hall-sort button.active,
.request-hall-tabs button:hover,
.request-hall-sort button:hover {
  background: #eff6ff;
  color: #2563eb;
}

.request-hall-sort strong {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid #e2e8f0;
  color: #0f172a;
  padding-left: 14px;
  font-size: 14px;
  white-space: nowrap;
}

.request-hall-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.request-list-panel,
.request-hall-sidebar {
  min-width: 0;
}

.request-list-panel,
.request-sidebar-card {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.request-list-panel {
  padding: 20px;
}

.request-list-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.request-list-head h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 26px;
  line-height: 1.18;
}

.request-list-head .eyebrow {
  color: #2563eb;
}

.request-list-head p {
  max-width: 280px;
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
  text-align: right;
}

.request-board {
  max-height: none;
  overflow: visible;
  border-radius: 0;
  background: transparent;
}

.request-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-width: 0;
  padding: 0;
  animation: none;
}

.request-card {
  min-height: 154px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: start;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: none;
  padding: 18px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.request-card:hover {
  border-color: rgba(37, 99, 235, 0.36);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.request-card-main {
  min-width: 0;
}

.request-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.request-card-meta span,
.request-type,
.request-responses {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  padding: 0 9px;
  font-size: 12px;
  font-weight: 850;
}

.request-card-meta .request-type,
.request-type {
  background: #ecfeff;
  color: #0f766e;
}

.request-card strong {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.request-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.request-card-side {
  display: grid;
  justify-items: end;
  gap: 12px;
  min-width: 0;
}

.request-budget {
  display: block;
  color: #ea580c;
  font-size: 19px;
  font-weight: 950;
  text-align: right;
}

.request-responses {
  background: #fff7ed;
  color: #c2410c;
}

.request-card .secondary-button {
  min-height: 38px;
  border-color: #cbd5e1;
  background: #ffffff;
  color: #334155;
  padding: 0 16px;
}

.request-empty {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  color: #64748b;
  font-weight: 800;
}

.request-hall-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.request-sidebar-card {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.request-sidebar-card > span {
  width: fit-content;
  border-color: #dbeafe;
  background: #eff6ff;
  color: #2563eb;
}

.request-sidebar-card h2 {
  margin: 0;
  color: #0f172a;
  font-size: 22px;
  line-height: 1.2;
}

.request-sidebar-card p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.request-sidebar-card .primary-button,
.request-sidebar-card .secondary-button {
  width: 100%;
}

.official-service-card {
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0, rgba(59, 130, 246, 0.15), transparent 34%),
    #ffffff;
}

.request-contact-row {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
}

.request-contact-row img {
  width: 86px;
  aspect-ratio: 1;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  object-fit: cover;
}

.request-contact-row strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
  font-size: 17px;
}

.request-activity-list {
  display: grid;
  gap: 12px;
}

.request-activity-item {
  display: grid;
  gap: 4px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 12px;
}

.request-activity-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.request-activity-item span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 800;
}

.request-activity-item p {
  color: #475569;
  font-size: 13px;
}

.request-activity-item strong {
  color: #0f172a;
}

.demand-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 32px;
}

.demand-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(8px);
}

.demand-modal-card {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: min(88vh, 820px);
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 34px 90px rgba(15, 23, 42, 0.26);
  color: #0f172a;
  padding: 26px;
}

.demand-modal-card .detail-close {
  border-color: #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.demand-detail-head {
  display: grid;
  gap: 14px;
  padding-right: 68px;
}

.demand-detail-head h2,
.demand-publish-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
  line-height: 1.22;
}

.demand-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.demand-detail-meta span,
.demand-detail-meta strong {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  padding: 0 10px;
  font-size: 13px;
  font-weight: 850;
}

.demand-detail-meta strong {
  background: #fff7ed;
  color: #ea580c;
}

.demand-detail-card section {
  margin-top: 22px;
}

.demand-detail-card h3 {
  margin: 0 0 8px;
  color: #0f172a;
  font-size: 18px;
}

.demand-detail-card section p {
  margin: 0;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  padding: 16px;
  font-size: 14px;
  line-height: 1.7;
}

.demand-detail-actions,
.demand-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 22px;
}

.demand-publish-card {
  width: min(100%, 880px);
}

.demand-publish-head {
  display: grid;
  gap: 10px;
  padding-right: 68px;
  margin-bottom: 20px;
}

.demand-publish-head span {
  color: #2563eb;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.demand-publish-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

.demand-publish-form {
  display: grid;
  gap: 16px;
}

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

.demand-publish-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.demand-publish-form label span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.demand-publish-form input,
.demand-publish-form select,
.demand-publish-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 12px;
  outline: none;
}

.demand-publish-form textarea {
  min-height: 132px;
  padding-top: 12px;
  resize: vertical;
}

.demand-publish-form input:focus,
.demand-publish-form select:focus,
.demand-publish-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.demand-form-wide {
  grid-column: 1 / -1;
}

.demand-submit-status {
  min-height: 22px;
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 850;
}

body.modal-open {
  overflow: hidden;
}

/* Services page redesign */
body[data-page="services"] {
  background: #f4f7f9;
  color: #0f172a;
}

body[data-page="services"] .site-header {
  border-bottom-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

body[data-page="services"] .brand,
body[data-page="services"] .main-nav a,
body[data-page="services"] .header-actions {
  color: #0f172a;
}

body[data-page="services"] .main-nav a:hover {
  color: #2563eb;
}

body[data-page="services"] .icon-button,
body[data-page="services"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.82);
  color: #1e293b;
}

.services-page {
  min-height: 100vh;
  background: #f4f7f9;
}

.services-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 68px 48px 42px;
}

.services-hero-copy {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.services-hero-copy > span,
.services-form-head > span,
.services-process-card > span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid #bfdbfe;
  border-radius: 999px;
  background: #dbeafe;
  color: #2563eb;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 900;
}

.services-hero h1 {
  margin: 22px 0 18px;
  color: #0f172a;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0;
}

.services-hero p {
  max-width: 740px;
  margin: 0 auto;
  color: #64748b;
  font-size: 18px;
  line-height: 1.75;
}

.services-shell {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 48px 72px;
}

.services-plan-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 34px;
}

.services-plan-grid.is-single-plan {
  grid-template-columns: minmax(0, 560px);
  justify-content: center;
}

.services-plan-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.services-plan-card:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.services-plan-card.featured {
  border-color: rgba(37, 99, 235, 0.42);
  box-shadow: 0 24px 62px rgba(37, 99, 235, 0.14);
}

.popular-ribbon {
  position: absolute;
  top: 20px;
  right: 20px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f97316;
  color: #ffffff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 950;
}

.service-card-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #c7d2fe;
  border-radius: 16px;
  background: linear-gradient(135deg, #eff6ff, #eef2ff);
  color: #1d4ed8;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.service-card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.services-plan-card > span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.services-plan-card h2 {
  margin: 12px 0 14px;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.18;
}

.services-plan-card > strong {
  display: block;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1;
}

.services-plan-card.featured > strong {
  color: #2563eb;
}

.services-plan-card p {
  margin: 0 0 22px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.services-plan-card ul {
  display: grid;
  gap: 12px;
  margin: auto 0 24px;
  border-top: 1px solid #eef2f7;
  padding: 22px 0 0;
  list-style: none;
}

.services-plan-card li {
  position: relative;
  color: #334155;
  padding-left: 24px;
  font-size: 14px;
  line-height: 1.45;
}

.services-plan-card li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 2px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2563eb;
}

.services-plan-card button {
  width: 100%;
  min-height: 52px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
}

.services-plan-card.featured button {
  border-color: #2563eb;
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.24);
}

.services-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
}

.services-form-card,
.services-side > section,
.services-faq article,
.service-disclaimer {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.services-form-card {
  padding: 26px;
}

.services-form-head {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.services-form-head h2 {
  margin: 0;
  color: #0f172a;
  font-size: 28px;
}

.services-form-head p {
  max-width: 760px;
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.services-request-form {
  display: grid;
  gap: 18px;
}

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

.services-request-form label {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.services-request-form label span {
  color: #334155;
  font-size: 13px;
  font-weight: 900;
}

.services-request-form input,
.services-request-form select,
.services-request-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 12px;
  outline: none;
}

.services-request-form textarea {
  min-height: 136px;
  padding-top: 12px;
  resize: vertical;
}

.services-request-form input:focus,
.services-request-form select:focus,
.services-request-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.services-form-wide {
  grid-column: 1 / -1;
}

.services-form-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border-top: 1px solid #eef2f7;
  padding-top: 18px;
}

.services-form-bottom p {
  min-height: 22px;
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 850;
}

.services-side {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.services-page .service-admin-contact {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.services-page .service-admin-contact img {
  width: 96px;
  aspect-ratio: 1;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  background: #f8fafc;
  object-fit: cover;
}

.services-page .service-admin-contact span {
  display: block;
  margin-bottom: 6px;
  color: #2563eb;
  font-size: 13px;
  font-weight: 900;
}

.services-page .service-admin-contact strong {
  display: block;
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 18px;
}

.services-page .service-admin-contact p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.services-process-card {
  padding: 20px;
}

.services-process-card ol {
  display: grid;
  gap: 14px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.services-process-card li {
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 14px;
}

.services-process-card li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.services-process-card strong {
  display: block;
  margin-bottom: 5px;
  color: #0f172a;
}

.services-process-card p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.services-faq {
  margin-top: 34px;
}

.services-faq h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: #0f172a;
  font-size: 28px;
}

.service-title-icon {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  background: #eef2ff;
  color: #2563eb;
  font-size: 18px;
  font-weight: 950;
}

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

.services-faq article {
  padding: 20px;
}

.services-faq h3 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 18px;
}

.services-faq p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.7;
}

.services-page .service-disclaimer {
  margin-top: 24px;
  padding: 18px 20px;
}

.services-page .service-disclaimer span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

.services-page .service-disclaimer p {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
}

/* Skills market redesign */
body[data-page="skills"],
body[data-page="skill-detail"] {
  background: #f4f7f9;
  color: #0f172a;
}

body[data-page="skills"] .site-header,
body[data-page="skill-detail"] .site-header {
  border-bottom-color: rgba(148, 163, 184, 0.22);
  background: rgba(255, 255, 255, 0.88);
}

body[data-page="skills"] .brand,
body[data-page="skills"] .main-nav a,
body[data-page="skills"] .header-actions,
body[data-page="skill-detail"] .brand,
body[data-page="skill-detail"] .main-nav a,
body[data-page="skill-detail"] .header-actions {
  color: #0f172a;
}

body[data-page="skills"] .main-nav a.active,
body[data-page="skills"] .main-nav a:hover,
body[data-page="skill-detail"] .main-nav a.active,
body[data-page="skill-detail"] .main-nav a:hover {
  color: #2563eb;
}

body[data-page="skills"] .icon-button,
body[data-page="skills"] .theme-toggle {
  border-color: rgba(148, 163, 184, 0.26);
  background: rgba(248, 250, 252, 0.82);
  color: #1e293b;
}

.skills-market-page {
  min-height: 100vh;
  background: #f4f7f9;
  padding-bottom: 72px;
}

.skills-market-head {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
  margin: 0 auto;
  padding: 58px 48px 34px;
}

.skills-market-head > div {
  max-width: 760px;
}

.skills-market-head span,
.skills-result-head .eyebrow {
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.skills-market-head h1 {
  margin: 14px 0 12px;
  color: #0f172a;
  font-size: 44px;
  line-height: 1.1;
}

.skills-market-head p {
  margin: 0;
  color: #64748b;
  font-size: 17px;
  line-height: 1.7;
}

.skills-market-shell,
.skills-use-section {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 48px;
}

.skills-market-shell {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.skills-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 18px;
}

.skills-sidebar section,
.skills-search-bar,
.skill-card,
.skills-use-section .skill-use-flow article {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.skills-sidebar section {
  padding: 18px;
}

.skills-sidebar h2 {
  margin: 0 0 14px;
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
}

.skills-filter-list {
  display: grid;
  gap: 6px;
}

.skills-filter-list button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #64748b;
  padding: 0 10px;
  font-size: 14px;
  font-weight: 850;
}

.skills-filter-list button strong {
  min-width: 28px;
  min-height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #94a3b8;
  padding: 0 8px;
  font-size: 12px;
}

.skills-filter-list button.active,
.skills-filter-list button:hover {
  background: #eff6ff;
  color: #2563eb;
}

.skills-filter-list button.active strong,
.skills-filter-list button:hover strong {
  background: #dbeafe;
  color: #2563eb;
}

.skills-market-main {
  min-width: 0;
}

.skills-search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  padding: 12px;
}

.skills-search-bar label {
  display: grid;
  gap: 6px;
}

.skills-search-bar label span {
  color: #64748b;
  font-size: 12px;
  font-weight: 900;
}

.skills-search-bar input {
  min-height: 46px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  padding: 0 14px;
  outline: none;
}

.skills-search-bar input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.skills-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 16px;
}

.skills-result-head h2 {
  margin: 4px 0 0;
  color: #0f172a;
  font-size: 26px;
}

.skills-result-head p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-weight: 850;
}

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

.skills-market-page .skill-card {
  position: relative;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.skills-market-page .skill-card:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

.skill-card-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.skills-market-page .skill-card-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.skill-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #2563eb;
  color: #ffffff;
  font-size: 18px;
  font-weight: 950;
}

.skills-market-page .skill-card-top span {
  display: block;
  margin-bottom: 6px;
  color: #64748b;
  font-size: 12px;
  font-weight: 850;
}

.skills-market-page .skill-card-top h3 {
  margin: 0 0 6px;
  color: #0f172a;
  font-size: 19px;
  line-height: 1.25;
}

.skills-market-page .skill-card-top em {
  display: -webkit-box;
  overflow: hidden;
  color: #64748b;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.skills-market-page .skill-card > p {
  position: relative;
  z-index: 2;
  display: -webkit-box;
  overflow: hidden;
  margin: 16px 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.skills-market-page .agent-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.skills-market-page .agent-tags span,
.skill-detail-tags span {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}

.skills-market-page .skill-card-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  border-top: 1px solid #eef2f7;
  padding-top: 16px;
}

.skill-card-stat {
  display: grid;
  gap: 2px;
}

.skill-card-stat strong {
  color: #0f172a;
  font-size: 18px;
}

.skill-card-stat span {
  color: #94a3b8;
  font-size: 12px;
  font-weight: 850;
}

.skills-market-page .skill-card-actions > div:last-child {
  display: flex;
  gap: 8px;
}

.skills-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  grid-column: 1 / -1;
  border: 1px dashed #cbd5e1;
  border-radius: 14px;
  background: #ffffff;
  color: #64748b;
  font-weight: 850;
}

.skills-use-section {
  margin-top: 34px;
}

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

.skills-use-section .skill-use-flow article {
  min-height: 180px;
  padding: 20px;
}

.skills-use-section .skill-use-flow span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

.skills-use-section .skill-use-flow strong {
  display: block;
  margin: 12px 0 8px;
  color: #0f172a;
  font-size: 19px;
}

.skills-use-section .skill-use-flow p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.65;
}

/* Skill detail redesign */
.skill-detail-page {
  min-height: 100vh;
  background: #f4f7f9;
}

.skill-detail-hero {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 42px 48px 28px;
}

.skill-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: #64748b;
  font-size: 14px;
  font-weight: 850;
}

.skill-breadcrumb a:hover {
  color: #2563eb;
}

.skill-detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: stretch;
}

.skill-detail-title,
.skill-get-card,
.skill-detail-main,
.skill-detail-side section,
.skill-detail-social {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.08);
}

.skill-detail-title {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 20px;
  padding: 26px;
}

.skill-detail-icon {
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: #2563eb;
  color: #ffffff;
  font-size: 28px;
  font-weight: 950;
}

.skill-detail-title span {
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

.skill-detail-title h1 {
  margin: 10px 0 12px;
  color: #0f172a;
  font-size: 34px;
  line-height: 1.15;
}

.skill-detail-title p {
  max-width: 820px;
  margin: 0 0 18px;
  color: #475569;
  font-size: 16px;
  line-height: 1.7;
}

.skill-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skill-get-card {
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 22px;
}

.skill-get-card span,
.skill-get-card p {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.skill-get-card strong {
  display: block;
  margin: 6px 0 2px;
  color: #0f172a;
  font-size: 34px;
}

.skill-detail-layout {
  width: min(100%, var(--max));
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
  margin: 0 auto;
  padding: 0 48px 72px;
}

.skill-detail-social,
.skill-detail-side {
  position: sticky;
  top: 92px;
}

.skill-detail-social {
  display: grid;
  gap: 8px;
  padding: 8px;
}

.skill-detail-social button,
.skill-detail-social a {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  font-weight: 950;
}

.skill-detail-social button.active,
.skill-detail-social button:hover,
.skill-detail-social a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.skill-detail-main {
  min-width: 0;
  overflow: hidden;
}

.skill-detail-tabs {
  display: flex;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}

.skill-detail-tabs button {
  min-height: 54px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: #64748b;
  padding: 0 22px;
  font-weight: 950;
}

.skill-detail-tabs button.active,
.skill-detail-tabs button:hover {
  border-bottom-color: #2563eb;
  background: #ffffff;
  color: #2563eb;
}

.skill-detail-panel {
  display: none;
  padding: 26px;
}

.skill-detail-panel.active {
  display: block;
}

.skill-detail-panel h2 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 22px;
}

.skill-detail-panel h2:not(:first-child) {
  margin-top: 26px;
}

.skill-detail-panel p,
.skill-detail-panel li {
  color: #475569;
  font-size: 15px;
  line-height: 1.75;
}

.skill-detail-panel ul,
.skill-detail-panel ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
}

.skill-detail-panel pre {
  overflow: auto;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  padding: 18px;
  white-space: pre-wrap;
}

.skill-comment-box {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.skill-comment-box textarea {
  min-height: 110px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #f8fafc;
  color: #0f172a;
  padding: 14px;
  resize: vertical;
}

.skill-comment-box button {
  justify-self: end;
}

.skill-comment-list {
  display: grid;
  gap: 12px;
}

.skill-comment-list article {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 14px;
}

.skill-comment-list strong {
  color: #0f172a;
}

.skill-detail-side {
  display: grid;
  gap: 18px;
}

.skill-detail-side section {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.skill-detail-side h2 {
  margin: 0 0 4px;
  color: #0f172a;
  font-size: 19px;
}

.skill-detail-side div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eef2f7;
  padding-bottom: 10px;
}

.skill-detail-side div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.skill-detail-side span {
  color: #64748b;
  font-size: 13px;
  font-weight: 850;
}

.skill-detail-side strong {
  color: #0f172a;
  font-size: 13px;
  text-align: right;
}

.skill-detail-side a {
  display: grid;
  gap: 4px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #f8fafc;
  padding: 12px;
}

.skill-detail-side a:hover {
  border-color: rgba(37, 99, 235, 0.32);
  background: #eff6ff;
}
