:root {
  color-scheme: light;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  --radius-panel: 28px;
  --radius-card: 8px;
  --radius-pill: 999px;
  --shadow-soft: 0 24px 70px rgba(8, 14, 28, 0.14);
  --max-width: 1180px;
  --bg: #e9edf2;
  --bg-layer: #e9edf2;
  --surface: #e9edf2;
  --surface-strong: #f3f6fa;
  --text: #152033;
  --muted: #637084;
  --line: rgba(92, 103, 120, 0.18);
  --accent: #2f6bff;
  --accent-2: #00a884;
  --accent-3: #e58b37;
  --button-text: #ffffff;
  --outer-shadow: 16px 16px 34px rgba(173, 181, 194, 0.74), -16px -16px 34px rgba(255, 255, 255, 0.86);
  --inner-shadow: inset 10px 10px 20px rgba(178, 186, 198, 0.68), inset -10px -10px 20px rgba(255, 255, 255, 0.86);
  --edge-line: rgba(255, 255, 255, 0.7);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

#profileGate.is-hidden {
  display: none !important;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(145deg, #f2f5f8 0%, #e5eaf0 44%, #dfe5eb 100%);
}

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

button {
  font: inherit;
  appearance: none;
  -webkit-appearance: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  width: min(var(--max-width), calc(100% - 32px));
  min-height: 72px;
  margin: 16px auto 0;
  padding: 10px 12px;
  border: 1px solid var(--edge-line);
  border-radius: var(--radius-pill);
  background: var(--bg-layer);
  box-shadow: var(--outer-shadow);
  backdrop-filter: blur(18px);
}

.topbar {
  border-color: rgba(255, 255, 255, 0.78);
}

.login-trigger,
.user-entry,
.primary-action,
.secondary-action,
.search-shell button,
.modal-close {
  min-height: 44px;
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.login-trigger {
  min-width: 86px;
  padding: 0 20px;
  border-radius: var(--radius-pill);
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px rgba(47, 107, 255, 0.28);
  font-weight: 800;
}

.login-trigger.is-logged-in {
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
}

.account-area {
  display: flex;
  justify-content: flex-end;
  min-width: 100px;
}

.user-entry {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 6px 12px 6px 6px;
  border-radius: var(--radius-pill);
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.42), -8px -8px 18px rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.user-entry img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 140px;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.nav a {
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: var(--text);
  background: var(--surface-strong);
}

.nav a.is-active {
  color: var(--text);
  background: var(--surface-strong);
}

.page-view {
  display: none;
}

.page-view.is-active {
  display: block;
}

.page-shell {
  min-height: calc(100vh - 168px);
  padding: 22px 0;
}

.page-panel {
  min-height: min(620px, calc(100vh - 190px));
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: 34px;
  width: min(var(--max-width), calc(100% - 32px));
  min-height: calc(100vh - 114px);
  margin: 26px auto 0;
  padding: 42px 0 28px;
  align-items: center;
}

.hero-copy,
.workspace-preview,
.section,
.api-panel,
.login-modal {
  border: 1px solid var(--edge-line);
  background: var(--surface);
  box-shadow: var(--outer-shadow);
  backdrop-filter: blur(20px);
}

.hero-copy {
  padding: clamp(28px, 5vw, 52px);
  border-radius: var(--radius-panel);
}

.hero-copy,
.workspace-preview,
.section,
.api-panel,
.login-modal {
  border-color: rgba(255, 255, 255, 0.72);
}

.eyebrow,
.section-heading span,
.gateway-copy > span,
.preview-header span,
.api-topline span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: var(--surface-strong);
  font-size: 13px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-text {
  max-width: 620px;
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0;
}

.primary-action,
.secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 146px;
  padding: 0 22px;
  border-radius: var(--radius-pill);
  font-weight: 900;
}

.primary-action {
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 32px rgba(47, 107, 255, 0.28);
}

.secondary-action {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--surface-strong);
}

.login-trigger:hover,
.primary-action:hover,
.secondary-action:hover,
.search-shell button:hover,
.modal-close:hover {
  transform: translateY(-2px);
}

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

.metric-row div {
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.metric-row strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.metric-row span {
  color: var(--muted);
  font-size: 13px;
}

.workspace-preview {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border-radius: var(--radius-panel);
}

.workspace-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.22;
}

.workspace-preview::before {
  opacity: 0.08;
}

.preview-header,
.search-shell,
.today-grid,
.api-topline,
.api-list div,
.project-card > div {
  position: relative;
}

.preview-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.preview-header img {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(47, 107, 255, 0.25);
}

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

.search-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 72px;
  margin-bottom: 18px;
  padding: 12px 12px 12px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: var(--inner-shadow);
}

.search-shell span {
  color: var(--muted);
  font-weight: 700;
}

.search-shell input {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 46px;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
  font: inherit;
  font-weight: 900;
}

.search-shell input::-webkit-search-decoration,
.search-shell input::-webkit-search-cancel-button {
  display: none;
}

.search-shell button {
  min-width: 110px;
  padding: 0 18px;
  border-radius: var(--radius-pill);
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent-2), var(--accent-3));
  font-weight: 900;
}

.home-search-results {
  position: relative;
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
}

.home-search-results[hidden] {
  display: none;
}

.search-result-section {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(243, 246, 250, 0.82);
}

.search-result-section > div:first-child {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.search-result-section span,
.result-card span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.search-result-section h3,
.result-card h3 {
  margin: 0;
  font-size: 18px;
}

.user-result-list,
.result-card-grid {
  display: grid;
  gap: 10px;
}

.user-result-card,
.result-card {
  display: grid;
  gap: 12px;
  min-height: 88px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 6px 6px 14px rgba(173, 181, 194, 0.38), -6px -6px 14px rgba(255, 255, 255, 0.7);
}

.user-result-card {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

.user-result-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.user-result-main img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 14px;
  object-fit: cover;
}

.user-result-main span {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.user-result-main b,
.user-result-main small,
.user-result-main em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-result-main b {
  color: var(--text);
  font-size: 16px;
}

.user-result-main small,
.user-result-main em {
  color: var(--muted);
  font-style: normal;
  font-weight: 700;
}

.follow-action {
  min-height: 38px;
  min-width: 78px;
  padding: 0 14px;
  border: 0;
  border-radius: var(--radius-pill);
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  cursor: pointer;
  font-weight: 900;
}

.follow-action.is-following {
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--inner-shadow);
}

.follow-action.is-self,
.follow-action:disabled {
  cursor: default;
  opacity: 0.68;
}

.result-card p {
  margin: 0;
  color: var(--muted);
}

.result-card a {
  width: fit-content;
  color: var(--accent);
  font-weight: 900;
}

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

.today-grid article,
.learning-lane article,
.module-card,
.project-card,
.roadmap div {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.today-grid article,
.learning-lane article,
.module-card,
.project-card,
.roadmap div,
.metric-row div,
.api-list div {
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.45), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.today-grid span,
.module-card span,
.project-card span {
  color: var(--accent-3);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.today-grid strong,
.module-card b,
.project-card b,
.learning-lane b,
.roadmap b {
  display: block;
  margin: 8px 0;
  font-size: 18px;
}

.today-grid p,
.module-card p,
.project-card p,
.learning-lane p,
.roadmap p,
.gateway-copy p,
.api-list span,
.modal-note {
  margin-bottom: 0;
  color: var(--muted);
}

.section {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 18px auto;
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-panel);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading h2 {
  max-width: 760px;
}

.learning-lane,
.module-grid,
.project-grid,
.roadmap {
  display: grid;
  gap: 14px;
}

.learning-lane {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: center;
}

.gateway-copy p {
  max-width: 620px;
  margin: 18px 0 24px;
  font-size: 17px;
}

.gateway-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gateway-points span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-strong);
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
}

.api-panel {
  min-height: 320px;
  padding: 22px;
  border-radius: 22px;
}

.api-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.api-topline strong {
  font-size: 34px;
}

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

.api-list div {
  min-height: 72px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
}

.api-list b,
.api-list span {
  display: block;
}

.project-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.project-card small {
  color: var(--muted);
  font-weight: 800;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.38fr);
  gap: 18px;
  align-items: start;
}

.source-grid,
.feed-list,
.ranking-layout,
.rank-list,
.market-grid {
  display: grid;
  gap: 14px;
}

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

.source-card,
.news-card,
.rank-card,
.market-card,
.form-panel,
.profile-edit-form label,
.empty-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.45), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.source-card {
  min-height: 94px;
  padding: 16px;
}

.source-card span,
.news-card span,
.rank-column > .sub-heading span,
.market-card span,
.form-panel > span,
.profile-edit-form label,
.form-message {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.source-card b {
  display: block;
  margin-top: 8px;
}

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

.news-card,
.market-card {
  min-height: 220px;
  padding: 18px;
}

.news-card > div,
.market-card > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.news-card h3,
.market-card h3,
.form-panel h3,
.sub-heading h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
}

.news-card p,
.market-card p,
.rank-card p {
  color: var(--muted);
}

.news-card a,
.market-card a,
.model-rank-card a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
}

.form-panel {
  padding: 20px;
}

.form-panel form,
.profile-edit-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.form-panel label,
.profile-edit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 900;
}

.form-panel input,
.form-panel textarea,
.profile-edit-form input,
.profile-edit-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  outline: none;
  color: var(--text);
  background: var(--surface);
  box-shadow: var(--inner-shadow);
  font: inherit;
  resize: vertical;
}

.form-panel textarea,
.profile-edit-form textarea {
  min-height: 110px;
}

.form-message {
  min-height: 22px;
  margin: 12px 0 0;
}

.wide-form {
  margin-top: 18px;
}

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

.form-grid-full {
  grid-column: 1 / -1;
}

.ranking-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
}

.sub-heading {
  margin-bottom: 14px;
}

.rank-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 84px;
  padding: 16px;
}

.rank-card strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.rank-card b,
.rank-card span {
  display: block;
}

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

.rank-card em {
  color: var(--accent-2);
  font-style: normal;
  font-weight: 900;
  white-space: nowrap;
}

.model-rank-card {
  align-items: start;
}

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

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

.profile-edit-form label {
  padding: 14px;
}

.profile-edit-form label:nth-child(3),
.profile-edit-form button {
  grid-column: 1 / -1;
}

.empty-card {
  padding: 18px;
  color: var(--muted);
  font-weight: 900;
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 22px auto 32px;
  color: var(--muted);
  font-weight: 800;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 9, 18, 0.56);
}

.modal-backdrop.is-open {
  display: flex;
}

.login-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 28px;
  border-radius: 26px;
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  min-height: 42px;
  border-radius: 50%;
  color: var(--text);
  background: var(--surface-strong);
  font-size: 26px;
  line-height: 1;
}

.modal-title {
  padding-right: 32px;
  text-align: left;
}

.modal-title span {
  color: var(--accent-2);
  font-weight: 900;
}

.modal-title h2 {
  margin: 6px 0 20px;
  font-size: 28px;
}

.qr-shell {
  display: grid;
  place-items: center;
  width: min(272px, 100%);
  aspect-ratio: 1;
  margin: 0 auto 16px;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.qr-shell img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.login-status {
  min-height: 28px;
  margin-bottom: 14px;
  color: var(--muted);
  font-weight: 800;
}

.modal-action {
  width: 100%;
  border: 0;
}

.modal-action:disabled {
  cursor: wait;
  opacity: 0.62;
}

.modal-note {
  margin-top: 14px;
  font-size: 13px;
}

.profile-layout {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
}

.profile-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
}

.profile-card,
.profile-main,
.profile-section {
  border: 1px solid var(--edge-line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--outer-shadow);
}

.profile-card {
  padding: clamp(24px, 4vw, 38px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-button,
.inline-edit-title,
.inline-edit-bio {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.avatar-button {
  position: relative;
  width: 96px;
  margin: 0 auto 18px;
  border-radius: 28px;
}

.profile-card img {
  width: 96px;
  height: 96px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(47, 107, 255, 0.24);
  cursor: pointer;
}

.profile-card span,
.profile-section span {
  display: block;
  color: var(--accent);
  font-weight: 900;
}

.profile-identity {
  width: 100%;
}

.profile-identity > span {
  margin-top: 0;
  font-size: 13px;
}

.profile-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(30px, 4vw, 46px);
}

.inline-edit-title {
  margin: 8px 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
  word-break: break-word;
}

.inline-edit-title:hover,
.inline-edit-bio:hover {
  color: var(--accent);
}

.profile-card p {
  color: var(--muted);
  font-weight: 700;
}

.inline-edit-bio {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
  margin-top: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-strong);
}

.profile-id {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  color: var(--muted) !important;
  background: var(--surface-strong);
  font-size: 13px;
}

.profile-id b {
  color: var(--text);
  font-size: 16px;
  letter-spacing: 0.08em;
}

.profile-logout {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
}

.profile-main {
  padding: clamp(18px, 3vw, 28px);
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.profile-stats article,
.profile-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.42), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.profile-stats article {
  min-height: 96px;
  padding: 18px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.profile-stats article:hover,
.profile-stats article.is-active {
  transform: translateY(-2px);
  border-color: rgba(47, 107, 255, 0.42);
  box-shadow: 0 18px 34px rgba(47, 107, 255, 0.12), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.profile-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.profile-stats span {
  color: var(--muted);
  font-weight: 900;
}

.profile-section {
  margin-top: 18px;
  padding: 26px 24px 24px;
  box-shadow: none;
}

.profile-section > div:first-child {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.profile-section span {
  margin-top: 0;
}

.profile-section h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.24;
}

.profile-list {
  display: grid;
  gap: 14px;
  margin-top: 0;
}

.profile-list article {
  min-height: 96px;
  padding: 18px;
}

.profile-detail-section .user-result-card {
  min-height: 86px;
}

.profile-list b {
  display: block;
  margin-bottom: 6px;
}

.profile-list p {
  margin: 0;
  color: var(--muted);
}

.profile-vibe-item {
  display: grid;
  gap: 8px;
}

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

.mini-status,
.status-work-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 26px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  background: rgba(47, 107, 255, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.status-approved {
  color: var(--accent-3);
  background: rgba(0, 168, 132, 0.12);
}

.status-rejected {
  color: #c44b5d;
  background: rgba(216, 91, 130, 0.12);
}

.profile-vibe-item small {
  color: var(--muted);
  font-weight: 800;
}

.profile-vibe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-vibe-actions a {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.admin-page {
  min-height: 100vh;
  background: linear-gradient(145deg, #f2f5f8 0%, #e5eaf0 44%, #dfe5eb 100%);
}

.admin-shell {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
}

.admin-login,
.admin-dashboard,
.admin-section {
  border: 1px solid var(--edge-line);
  border-radius: var(--radius-panel);
  background: var(--surface);
  box-shadow: var(--outer-shadow);
}

.admin-login {
  width: min(520px, 100%);
  margin: 8vh auto 0;
  padding: clamp(26px, 5vw, 42px);
}

.admin-login img {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  object-fit: cover;
  box-shadow: 0 18px 36px rgba(47, 107, 255, 0.22);
}

.admin-login span,
.admin-header span,
.admin-section-title span {
  display: block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 900;
}

.admin-login h1,
.admin-header h1 {
  margin: 8px 0 22px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.05;
}

.admin-login form {
  display: grid;
  gap: 12px;
}

.admin-login label {
  color: var(--muted);
  font-weight: 900;
}

.admin-login input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: none;
  color: var(--text);
  background: var(--surface-strong);
  box-shadow: var(--inner-shadow);
  font: inherit;
}

.admin-login p {
  margin: 16px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.admin-dashboard {
  padding: clamp(20px, 4vw, 36px);
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

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

.admin-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stats article {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.45), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.admin-stats strong {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.admin-stats span {
  color: var(--muted);
  font-weight: 800;
}

.admin-section {
  margin-top: 18px;
  padding: 22px;
}

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

.admin-section-title span {
  margin-top: 0;
}

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

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.admin-table-wrap th,
.admin-table-wrap td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.admin-table-wrap th {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.admin-table-wrap td {
  font-weight: 800;
}

.vibe-store {
  display: grid;
  gap: 22px;
}

.vibe-hero-grid,
.detail-hero,
.submit-layout,
.challenge-layout,
.ideas-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.vibe-hero-copy,
.vibe-spotlight,
.vibe-search-panel,
.vibe-block,
.growth-card,
.creation-card,
.creator-card,
.tool-mini-card,
.detail-section,
.detail-bottom-cta,
.submit-form,
.submit-guide article,
.rank-controls,
.ranked-work,
.creator-hero,
.creator-stats-row article,
.challenge-card,
.idea-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-strong);
  box-shadow: 8px 8px 18px rgba(173, 181, 194, 0.45), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.vibe-hero-copy {
  padding: clamp(24px, 4vw, 42px);
}

.vibe-hero-copy h1,
.detail-copy h1,
.rank-hero h1,
.creator-hero h1,
.challenge-layout h1,
.ideas-layout h1,
.submit-layout h1 {
  max-width: 720px;
  margin: 14px 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.03;
}

.vibe-hero-copy p,
.detail-copy p,
.rank-hero p,
.creator-hero p,
.challenge-layout p,
.ideas-layout p,
.submit-layout p {
  color: var(--muted);
  font-size: 17px;
}

.vibe-subtitle {
  color: var(--text) !important;
  font-size: 22px !important;
  font-weight: 900;
}

.vibe-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.featured-work {
  display: grid;
  min-height: 100%;
  grid-template-columns: minmax(170px, 0.48fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.featured-cover,
.detail-cover,
.creation-cover,
.screenshot-grid div {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-card);
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.featured-cover span,
.detail-cover span,
.creation-icon {
  font-size: 52px;
  line-height: 1;
}

.featured-copy {
  align-self: center;
}

.featured-copy > span,
.detail-section > span,
.growth-card span,
.creator-hero small,
.challenge-card span {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.featured-copy h2 {
  margin: 8px 0 10px;
}

.featured-copy p {
  color: var(--muted);
}

.featured-stats,
.detail-meta,
.creation-tags,
.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.featured-stats b,
.detail-meta b,
.creation-tags em,
.quick-tags em {
  padding: 7px 10px;
  border-radius: var(--radius-pill);
  color: var(--muted);
  background: var(--surface);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.vibe-search-panel {
  padding: 16px;
}

.vibe-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  margin-bottom: 14px;
}

.vibe-search-form input,
.submit-form input,
.submit-form select,
.submit-form textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--inner-shadow);
  font: inherit;
  font-weight: 800;
}

.vibe-search-form input,
.submit-form input,
.submit-form select,
.comment-form input {
  min-height: 48px;
  padding: 0 18px;
}

.submit-form textarea,
.comment-form textarea {
  min-height: 120px;
  padding: 16px 18px;
  border-radius: 18px;
  resize: vertical;
}

.logo-upload-label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.logo-upload-label input[type="file"] {
  min-height: auto;
  padding: 13px 16px;
  cursor: pointer;
}

.vibe-category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.category-chip,
.rank-controls button,
.creation-actions button,
.rating-buttons button {
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--muted);
  cursor: pointer;
  font-weight: 900;
}

.category-chip {
  min-height: 36px;
  padding: 0 13px;
}

.category-chip.is-active,
.rank-controls button.is-active,
.creation-actions button.is-active,
.rating-buttons button.is-active,
.secondary-action.is-active {
  color: var(--button-text);
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

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

.growth-card {
  min-height: 142px;
  padding: 18px;
}

.growth-card h3,
.tool-mini-card span,
.creator-card b,
.creation-card h3,
.detail-section h2,
.challenge-card h2 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.2;
}

.growth-card p,
.creator-card p,
.tool-mini-card p,
.creation-card p,
.detail-section p,
.idea-list span,
.submit-guide span {
  color: var(--muted);
}

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

.vibe-block {
  padding: 22px;
}

.compact-heading {
  margin-bottom: 16px;
}

.creation-grid,
.creator-grid,
.tool-mini-grid,
.screenshot-grid,
.feature-list,
.archive-grid,
.creator-stats-row,
.idea-list,
.submit-guide {
  display: grid;
  gap: 14px;
}

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

.creator-grid,
.tool-mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creation-card {
  display: grid;
  min-height: 360px;
  overflow: hidden;
}

.creation-cover {
  min-height: 142px;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  flex-direction: column;
  gap: 10px;
}

.creation-cover small {
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.22);
  font-weight: 900;
}

.creation-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.creation-meta,
.creation-author,
.creation-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.creation-meta span,
.creation-author a {
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
}

.creation-meta small,
.creation-author span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.creation-card h3 {
  margin: 0;
}

.creation-card p {
  margin: 0;
}

.creation-actions button {
  min-height: 34px;
  padding: 0 10px;
  font-size: 12px;
}

.creator-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 138px;
  padding: 16px;
}

.creator-card > span,
.creator-hero > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-weight: 900;
  overflow: hidden;
}

.creator-card > span img,
.creator-hero > span img,
.work-author span img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.creator-card small {
  color: var(--accent-3);
  font-weight: 900;
}

.tool-mini-card {
  min-height: 140px;
  padding: 18px;
}

.tool-mini-card b {
  color: var(--accent-3);
  font-size: 13px;
}

.cover-blue {
  background: linear-gradient(135deg, #2f6bff, #00a884);
}

.cover-green {
  background: linear-gradient(135deg, #00a884, #70b36a);
}

.cover-gold {
  background: linear-gradient(135deg, #e58b37, #d4aa35);
}

.cover-cyan {
  background: linear-gradient(135deg, #14a6c7, #2f6bff);
}

.cover-rose {
  background: linear-gradient(135deg, #d85b82, #e58b37);
}

.cover-violet {
  background: linear-gradient(135deg, #7257d6, #2f6bff);
}

.detail-hero {
  margin-bottom: 22px;
}

.detail-cover {
  min-height: 340px;
}

.detail-cover span {
  font-size: 110px;
}

.detail-copy,
.rank-hero {
  align-self: center;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 18px;
  align-items: start;
}

.detail-main,
.detail-side {
  display: grid;
  gap: 18px;
}

.detail-section {
  padding: 22px;
}

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

.screenshot-grid div {
  min-height: 160px;
  display: grid;
  place-items: center;
}

.screenshot-grid b,
.screenshot-grid small {
  grid-column: 1;
  grid-row: 1;
}

.screenshot-grid small {
  align-self: end;
  justify-self: end;
  margin: 0 14px 12px 0;
  opacity: 0.7;
  font-weight: 900;
}

.feature-list,
.archive-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 14px;
}

.feature-list article,
.archive-grid article,
.comment-list article,
.suggestion-list article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.archive-grid p,
.comment-list p,
.suggestion-list p {
  margin: 8px 0 0;
}

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

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

.comment-list,
.suggestion-list {
  display: grid;
  gap: 10px;
}

.comment-list small,
.suggestion-list small {
  color: var(--muted);
}

.suggestion-list {
  margin-top: 12px;
}

.compact-empty p {
  color: var(--muted);
}

.rating-buttons {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}

.rating-buttons button {
  width: 40px;
  min-height: 40px;
  color: var(--accent-3);
  font-size: 18px;
}

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

.detail-info-list b {
  color: var(--muted);
}

.detail-bottom-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 22px;
  padding: 24px;
}

.submit-layout {
  align-items: start;
}

.submit-guide {
  margin-top: 20px;
}

.submit-guide article,
.idea-list article {
  padding: 16px;
}

.submit-guide b,
.idea-list b {
  display: block;
  margin-bottom: 6px;
}

.submit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
}

.submit-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.rank-hero,
.creator-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.rank-controls {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  padding: 12px;
}

.rank-controls > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.rank-controls button {
  min-height: 36px;
  padding: 0 13px;
}

.ranked-work-list {
  display: grid;
  gap: 12px;
}

.ranked-work {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 92px;
  padding: 16px;
}

.ranked-work > strong {
  color: var(--accent-3);
  font-size: 26px;
}

.ranked-work .creation-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: var(--surface);
  font-size: 28px;
}

.ranked-work h3,
.ranked-work p {
  margin: 0;
}

.ranked-work p {
  color: var(--muted);
}

.ranked-work > b {
  color: var(--accent);
  font-size: 20px;
}

.creator-hero {
  justify-content: flex-start;
  padding: 24px;
}

.creator-hero > span {
  width: 92px;
  height: 92px;
  border-radius: 28px;
  font-size: 30px;
}

.creator-stats-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.creator-stats-row article {
  padding: 16px;
}

.creator-stats-row b {
  display: block;
  font-size: 28px;
}

.creator-stats-row span {
  color: var(--muted);
}

.challenge-card {
  padding: 28px;
}

.ideas-layout {
  align-items: start;
}

.idea-list {
  margin-top: 18px;
}

/* AI creation store polish */
.vibe-store {
  width: min(1220px, calc(100% - 40px));
  padding: clamp(28px, 4vw, 44px);
  gap: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.52), rgba(233, 237, 242, 0.88));
}

.vibe-hero-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, 0.96fr);
  gap: 26px;
  align-items: center;
}

.vibe-hero-copy,
.vibe-spotlight {
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.62);
}

.vibe-hero-copy {
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(232, 238, 245, 0.72));
}

.vibe-hero-copy h1 {
  max-width: 680px;
  margin: 16px 0 14px;
  font-size: clamp(42px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: 0;
}

.vibe-hero-copy p {
  max-width: 650px;
  color: #445069;
}

.vibe-subtitle {
  max-width: 650px;
  margin: 0 0 12px;
  color: #172033 !important;
  font-size: clamp(19px, 2vw, 24px) !important;
  line-height: 1.5;
}

.featured-work {
  min-height: 100%;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.76);
}

.featured-cover {
  min-height: 260px;
  border-radius: 20px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.featured-cover span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 86px;
  height: 86px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.22);
  font-size: 42px;
  font-weight: 900;
}

.featured-copy h2 {
  color: #172033;
  font-size: clamp(28px, 3.6vw, 44px);
}

.featured-copy p {
  color: #445069;
  font-size: 15px;
}

.featured-stats b {
  color: #445069;
  background: rgba(255, 255, 255, 0.76);
}

.vibe-search-panel {
  border-radius: 22px;
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.6);
}

.vibe-search-form {
  grid-template-columns: minmax(0, 1fr) minmax(126px, auto);
}

.vibe-search-form input {
  min-height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.vibe-search-form .primary-action {
  min-height: 52px;
  border-radius: 18px;
}

.category-chip {
  min-height: 38px;
  padding: 0 14px;
  border-color: rgba(96, 112, 132, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: #445069;
  font-size: 13px;
  box-shadow: none;
}

.category-chip:hover {
  color: var(--accent);
  border-color: rgba(47, 107, 255, 0.28);
}

.vibe-growth-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.growth-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 172px;
  padding: 24px;
  overflow: hidden;
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(238, 244, 255, 0.72));
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.growth-card::after {
  content: "";
  position: absolute;
  inset: auto -44px -56px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.18), rgba(0, 168, 132, 0.16));
}

.growth-card:hover,
.creation-card:hover,
.creator-card:hover,
.tool-mini-card:hover {
  transform: translateY(-4px);
  border-color: rgba(47, 107, 255, 0.34);
  box-shadow: 14px 18px 34px rgba(126, 139, 160, 0.28), -10px -10px 24px rgba(255, 255, 255, 0.78);
}

.growth-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  border-radius: 20px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 22px;
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(47, 107, 255, 0.22);
}

.growth-card h3 {
  margin: 4px 0 8px;
  color: #172033;
  font-size: 24px;
}

.growth-card p {
  margin: 0;
  color: #7b879d;
  font-size: 14px;
}

.growth-card > b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  white-space: nowrap;
}

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

.store-section-header > div {
  min-width: 0;
}

.store-section-header span {
  display: inline-flex;
  width: fit-content;
  min-height: 28px;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  font-weight: 900;
}

.store-section-header h2 {
  margin: 10px 0 0;
  color: #172033;
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.12;
}

.store-section-header p {
  margin: 8px 0 0;
  color: #7b879d;
  font-size: 14px;
}

.store-section-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(47, 107, 255, 0.18);
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.vibe-block {
  padding: 24px;
  border-radius: 24px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.54);
}

.vibe-list-block {
  display: grid;
  align-content: start;
  gap: 18px;
}

.vibe-list-grid {
  display: grid;
  gap: 14px;
}

.vibe-list-card {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  min-height: 128px;
  padding: 18px 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 12px 12px 26px rgba(168, 179, 194, 0.22), -12px -12px 26px rgba(255, 255, 255, 0.64);
}

.vibe-list-cover {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  color: var(--button-text);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.vibe-list-logo-img {
  width: 72%;
  height: 72%;
  padding: 8px;
  border-radius: 17px;
}

.vibe-list-main {
  min-width: 0;
}

.vibe-list-main h3 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
}

.vibe-list-main h3 a {
  min-width: 0;
  color: var(--text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vibe-list-main h3 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  color: #ffffff;
  background: #08ad83;
  font-size: 11px;
  flex: 0 0 auto;
}

.vibe-list-main small,
.vibe-list-side small {
  color: var(--muted);
  font-weight: 800;
}

.vibe-list-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 8px 0;
}

.vibe-list-tags em {
  min-height: 24px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(223, 229, 238, 0.88);
  color: #526174;
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
}

.vibe-list-tags em:last-child {
  background: rgba(0, 178, 137, 0.13);
  color: #009a77;
}

.vibe-list-main p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.vibe-list-side {
  display: grid;
  justify-items: end;
  gap: 9px;
  min-width: 92px;
}

.vibe-list-side b {
  min-height: 32px;
  padding: 7px 12px;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: var(--radius-pill);
  color: #263143;
  background: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  white-space: nowrap;
}

.vibe-list-side a {
  color: var(--muted);
  font-size: 18px;
  font-weight: 900;
}

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

.creation-card {
  display: flex;
  flex-direction: column;
  min-height: 438px;
  padding: 0;
  overflow: hidden;
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.82);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.creation-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  margin: 14px 14px 0;
  border-radius: 18px;
}

.featured-cover {
  aspect-ratio: 1 / 1;
  min-height: 0;
}

.work-logo {
  width: 68%;
  height: 68%;
  object-fit: contain;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 8px 8px 18px rgba(26, 42, 68, 0.16), -8px -8px 18px rgba(255, 255, 255, 0.62);
}

.featured-logo,
.detail-logo {
  width: 72%;
  height: 72%;
  max-width: 220px;
  max-height: 220px;
}

.cover-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 24px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.creation-cover small,
.creation-cover b {
  position: absolute;
  top: 12px;
  min-height: 28px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.22);
  font-size: 12px;
  font-weight: 900;
}

.creation-cover small {
  left: 12px;
}

.creation-cover b {
  right: 12px;
  background: rgba(229, 139, 55, 0.9);
}

.creation-body {
  flex: 1;
  align-content: start;
  gap: 12px;
  padding: 16px 18px 18px;
}

.creation-meta {
  align-items: center;
}

.creation-meta small {
  color: #7b879d;
  font-size: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: var(--radius-pill);
  color: #445069;
  background: rgba(233, 237, 242, 0.82);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.category-badge {
  color: var(--accent);
  background: rgba(47, 107, 255, 0.1);
}

.tool-badge {
  color: #007c68;
  background: rgba(0, 168, 132, 0.1);
}

.creation-card h3 {
  margin: 0;
  color: #172033;
  font-size: 20px;
  line-height: 1.18;
}

.creation-card p {
  min-height: 42px;
  margin: 0;
  color: #7b879d;
  font-size: 14px;
  line-height: 1.5;
}

.work-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: #445069;
  font-size: 13px;
  font-weight: 900;
}

.work-author span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 13px;
  overflow: hidden;
}

.creation-tags,
.tool-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
}

.work-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, auto));
  gap: 8px;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(92, 103, 120, 0.12);
}

.work-stat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #445069;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.work-stat i {
  font-style: normal;
}

.creation-actions {
  display: grid;
  grid-template-columns: 1fr 1fr 38px 38px;
  gap: 8px;
  align-items: center;
  margin-top: auto;
}

.work-primary,
.work-secondary,
.work-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border-radius: var(--radius-pill);
  border: 0;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.work-primary {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 20px rgba(47, 107, 255, 0.18);
}

.work-secondary {
  color: var(--accent);
  border: 1px solid rgba(47, 107, 255, 0.18);
  background: rgba(255, 255, 255, 0.74);
}

.work-icon-btn {
  min-width: 38px;
  width: 38px;
  padding: 0;
  color: #445069;
  border: 1px solid rgba(92, 103, 120, 0.14);
  background: rgba(255, 255, 255, 0.72);
}

.work-primary:hover,
.work-secondary:hover,
.work-icon-btn:hover {
  transform: translateY(-2px);
}

.work-icon-btn.is-active {
  color: #ffffff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.creator-card,
.tool-mini-card {
  border-radius: 20px;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.72);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.creator-grid,
.tool-mini-grid {
  gap: 20px;
}

@media (max-width: 980px) {
  .topbar {
    grid-template-columns: auto 1fr auto;
    border-radius: 28px;
  }

  .brand {
    min-width: 0;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 4px 2px 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .split-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 22px;
  }

  .learning-lane,
  .module-grid,
  .project-grid,
  .roadmap,
  .profile-stats,
  .source-grid,
  .feed-list,
  .market-grid {
    grid-template-columns: 1fr 1fr;
  }

  .content-grid,
  .ranking-layout,
  .vibe-hero-grid,
  .detail-hero,
  .detail-layout,
  .submit-layout,
  .challenge-layout,
  .ideas-layout {
    grid-template-columns: 1fr;
  }

  .profile-panel {
    grid-template-columns: 1fr;
  }

  .creation-grid,
  .creator-grid,
  .tool-mini-grid,
  .feature-list,
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vibe-store {
    width: min(100% - 28px, 940px);
  }

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

  .vibe-growth-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-work {
    grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1fr);
  }

  .vibe-hero-copy {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .topbar {
    width: calc(100% - 20px);
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 10px;
    padding: 10px 10px 12px;
    border-radius: 24px;
  }

  .brand span {
    font-size: 15px;
  }

  .account-area {
    min-width: 0;
  }

  .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding: 2px 0 0;
  }

  .nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 8px 12px;
    font-size: 13px;
    white-space: nowrap;
    background: rgba(243, 246, 250, 0.68);
  }

  .user-entry span {
    display: none;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .hero,
  .section,
  .footer {
    width: calc(100% - 20px);
  }

  .hero {
    gap: 14px;
    margin-top: 18px;
  }

  .hero-copy,
  .workspace-preview,
  .section,
  .login-modal {
    border-radius: 20px;
  }

  h1 {
    font-size: 40px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .metric-row,
  .today-grid,
  .learning-lane,
  .module-grid,
  .project-grid,
  .roadmap,
    .profile-stats,
    .source-grid,
    .feed-list,
    .market-grid,
    .vibe-growth-grid,
    .creation-grid,
    .creator-grid,
    .tool-mini-grid,
    .screenshot-grid,
    .feature-list,
    .archive-grid,
    .creator-stats-row,
    .form-grid,
    .profile-edit-form {
    grid-template-columns: 1fr;
  }

  .form-grid-full,
  .profile-edit-form label:nth-child(3),
  .profile-edit-form button {
    grid-column: auto;
  }

  .rank-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .rank-card em,
  .model-rank-card a {
    grid-column: 2;
    justify-self: start;
  }

  .profile-main {
    padding: 18px;
  }

  .profile-card {
    padding: 24px 22px;
  }

  .avatar-button,
  .profile-card img {
    width: 84px;
    height: 84px;
    border-radius: 24px;
  }

  .avatar-button {
    margin-bottom: 16px;
  }

  .inline-edit-title {
    font-size: 32px;
  }

  .profile-section {
    padding: 24px 22px 22px;
  }

  .profile-section > div:first-child {
    gap: 8px;
    margin-bottom: 22px;
  }

  .profile-section h2 {
    margin: 0;
    font-size: 24px;
    line-height: 1.26;
  }

  .profile-list {
    gap: 14px;
  }

  .profile-list article {
    min-height: 98px;
    padding: 18px;
  }

  .hero-actions {
    display: grid;
  }

  .metric-row {
    display: grid;
  }

  .search-shell {
    align-items: stretch;
    flex-direction: column;
    border-radius: 18px;
  }

  .search-shell button {
    width: 100%;
  }

  .search-result-section > div:first-child {
    display: block;
  }

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

  .follow-action {
    width: 100%;
  }

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

  .section-heading {
    display: block;
  }

  .section-heading span {
    margin-bottom: 12px;
  }

  .vibe-search-form,
  .comment-form,
  .submit-form,
  .ranked-work {
    grid-template-columns: 1fr;
  }

  .featured-work {
    grid-template-columns: 1fr;
  }

  .featured-cover,
  .detail-cover {
    min-height: 220px;
  }

  .detail-cover span {
    font-size: 78px;
  }

  .rank-hero,
  .detail-bottom-cta {
    display: grid;
    justify-items: start;
  }

  .creation-meta,
  .creation-author,
  .rank-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .vibe-store {
    width: calc(100% - 20px);
    padding: 22px 14px;
    gap: 24px;
  }

  .vibe-hero-copy,
  .vibe-spotlight,
  .vibe-search-panel,
  .vibe-block {
    border-radius: 20px;
  }

  .vibe-hero-copy h1 {
    font-size: 38px;
  }

  .vibe-subtitle {
    font-size: 18px !important;
  }

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

  .vibe-growth-grid {
    grid-template-columns: 1fr;
  }

  .vibe-section-stack {
    grid-template-columns: 1fr;
  }

  .vibe-list-card {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: 13px;
    padding: 14px;
  }

  .vibe-list-cover {
    width: 64px;
    border-radius: 16px;
  }

  .vibe-list-main h3 {
    font-size: 18px;
  }

  .vibe-list-side {
    grid-column: 2;
    grid-template-columns: auto auto auto;
    justify-content: start;
    justify-items: start;
    align-items: center;
    min-width: 0;
  }

  .growth-card {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 18px;
  }

  .growth-card > b {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .store-section-header {
    display: grid;
    align-items: start;
  }

  .store-section-action {
    width: fit-content;
  }

  .creation-card {
    min-height: auto;
  }

  .creation-cover {
    min-height: 0;
  }

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

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

  .work-icon-btn {
    width: 100%;
  }

  .footer {
    flex-direction: column;
  }

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

  .admin-header {
    display: block;
  }

  .admin-actions {
    margin-top: 14px;
  }
}

/* Vibe Coding store rebuild */
.vibe-store {
  width: min(1180px, calc(100% - 36px));
  padding: clamp(22px, 3vw, 34px);
  gap: 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 72% 7%, rgba(112, 153, 255, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.76), rgba(236, 242, 250, 0.82));
}

.vibe-store .vibe-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.92fr);
  gap: clamp(18px, 4vw, 56px);
  align-items: center;
  min-height: 274px;
}

.vibe-store .vibe-hero-copy {
  min-height: 0;
  padding: 18px 16px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vibe-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(47, 107, 255, 0.2);
  border-radius: var(--radius-pill);
  color: var(--accent);
  background: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 900;
}

.vibe-store .vibe-hero-copy h1 {
  max-width: 560px;
  margin: 22px 0 12px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.04;
}

.vibe-store .vibe-subtitle {
  max-width: 680px;
  margin: 0 0 14px;
  color: #172033 !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.45;
}

.vibe-hero-note {
  max-width: 560px;
  margin: 0;
  color: #526174;
  font-size: 15px;
  line-height: 1.8;
}

.vibe-store .vibe-actions {
  align-items: center;
  margin-top: 22px;
}

.vibe-hero-art {
  position: relative;
  min-height: 280px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.vibe-hero-art::before {
  content: "";
  position: absolute;
  width: min(92%, 470px);
  height: 160px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(47, 107, 255, 0.08), rgba(0, 178, 137, 0.09));
  filter: blur(2px);
  transform: translateY(52px);
}

.store-illustration {
  position: relative;
  width: min(82%, 390px);
  aspect-ratio: 1.45 / 1;
}

.store-body {
  position: absolute;
  left: 50%;
  bottom: 32px;
  width: 178px;
  height: 132px;
  transform: translateX(-50%);
  border-radius: 26px 26px 30px 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.28), rgba(69, 116, 255, 0.86)),
    linear-gradient(135deg, #6e8dff, #10b7b1);
  box-shadow: 0 28px 54px rgba(63, 100, 206, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.store-body span {
  position: absolute;
  bottom: 18px;
  width: 36px;
  height: 58px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.24);
}

.store-body span:nth-child(1) {
  left: 24px;
}

.store-body span:nth-child(2) {
  left: 71px;
  height: 78px;
}

.store-body span:nth-child(3) {
  right: 24px;
}

.store-awning {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 44px;
  width: 224px;
  height: 76px;
  transform: translateX(-50%) rotate(2deg);
  border-radius: 30px 30px 22px 22px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.82) 0 34px, rgba(94, 126, 255, 0.86) 34px 68px);
  box-shadow: 0 20px 34px rgba(76, 108, 212, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.store-float {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 10px 14px 28px rgba(110, 126, 158, 0.22), -8px -8px 18px rgba(255, 255, 255, 0.8);
  font-weight: 900;
}

.store-float-a {
  left: 24px;
  top: 62px;
}

.store-float-b {
  right: 52px;
  top: 50px;
  color: #2f6bff;
}

.store-float-c {
  right: 12px;
  bottom: 70px;
}

.store-float-d {
  left: 58px;
  bottom: 58px;
  color: #8b5cf6;
}

.vibe-store .vibe-search-panel {
  padding: 14px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.vibe-store .vibe-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: 14px;
  margin-bottom: 14px;
}

.vibe-store .vibe-search-form input {
  min-height: 56px;
  padding: 0 24px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.84);
}

.vibe-store .vibe-search-form .primary-action {
  min-height: 56px;
  border-radius: 28px;
}

.vibe-store .category-chip {
  min-height: 32px;
  padding: 0 18px;
  border: 0;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 4px 5px 12px rgba(165, 177, 194, 0.18), -4px -4px 12px rgba(255, 255, 255, 0.7);
}

.vibe-store .category-chip.is-active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.vibe-store .vibe-growth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.vibe-store .growth-card {
  min-height: 154px;
  grid-template-columns: 98px minmax(0, 1fr) auto;
  padding: 24px 28px;
  border-radius: 22px;
  background:
    radial-gradient(circle at 84% 50%, rgba(111, 93, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(244, 248, 255, 0.76));
}

.vibe-store .growth-card:nth-child(2) {
  background:
    radial-gradient(circle at 82% 54%, rgba(40, 205, 194, 0.2), transparent 26%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(240, 252, 251, 0.78));
}

.vibe-store .growth-icon {
  width: 76px;
  height: 76px;
  border-radius: 24px;
  font-size: 30px;
  background: linear-gradient(135deg, #7c62ff, #2f6bff);
}

.vibe-store .growth-card:nth-child(2) .growth-icon {
  background: linear-gradient(135deg, #1fc9bd, #08a37d);
}

.vibe-store .growth-card h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.vibe-store .growth-card > b {
  min-height: 40px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.vibe-store .growth-card:nth-child(2) > b {
  background: linear-gradient(135deg, #08a37d, #11b9ac);
}

.vibe-featured-block,
.vibe-store .vibe-block,
.vibe-submit-banner {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 12px 16px 32px rgba(151, 163, 183, 0.22), -10px -10px 24px rgba(255, 255, 255, 0.72);
}

.vibe-featured-block {
  padding: 18px;
}

.vibe-block-title h2 {
  margin: 0 0 14px;
  font-size: 22px;
}

.vibe-store .featured-work {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 390px) minmax(0, 1fr) 170px;
  gap: 28px;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.vibe-store .featured-cover {
  min-height: 0;
  aspect-ratio: 2.08 / 1;
  border-radius: 16px;
}

.vibe-store .featured-copy h2 {
  margin: 0 0 10px;
  font-size: 28px;
}

.vibe-store .featured-copy p {
  margin: 0;
  color: #526174;
}

.featured-author-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #334155;
  font-weight: 900;
}

.featured-author-row span {
  color: #526174;
}

.vibe-store .featured-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 0;
}

.vibe-store .featured-stats b {
  padding: 0;
  color: #526174;
  background: transparent;
  font-size: 14px;
}

.featured-action-stack {
  display: grid;
  gap: 14px;
}

.featured-action-stack .primary-action,
.featured-action-stack .secondary-action {
  min-height: 52px;
}

.vibe-market-section {
  padding: 18px;
}

.vibe-store .store-section-header {
  margin-bottom: 16px;
}

.vibe-store .store-section-header span {
  min-height: 24px;
  color: var(--accent);
  background: transparent;
  padding: 0;
}

.vibe-store .store-section-header h2 {
  margin-top: 2px;
  font-size: 24px;
}

.vibe-store .vibe-market-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.vibe-market-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 8px 10px 22px rgba(151, 163, 183, 0.18), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.vibe-market-cover {
  display: grid;
  place-items: center;
  aspect-ratio: 1.45 / 1;
  margin: 8px 8px 0;
  overflow: hidden;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.store-work-logo {
  width: 68%;
  height: 68%;
  object-fit: contain;
  padding: 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 6px 8px 16px rgba(26, 42, 68, 0.16), -5px -5px 14px rgba(255, 255, 255, 0.55);
}

.vibe-market-body {
  display: grid;
  gap: 9px;
  padding: 12px 12px 14px;
}

.vibe-market-body h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
}

.vibe-market-body h3 a {
  color: var(--text);
}

.market-author-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: #526174;
  font-size: 12px;
  font-weight: 900;
}

.market-author-line .author-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.market-author-line span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-author-line em {
  flex: 0 0 auto;
  padding: 3px 7px;
  border-radius: var(--radius-pill);
  background: rgba(223, 229, 238, 0.76);
  font-style: normal;
}

.vibe-market-body > small {
  color: #526174;
  font-weight: 900;
}

.market-stats {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  color: #526174;
  font-size: 12px;
  font-weight: 900;
}

.vibe-market-body .work-secondary {
  min-height: 34px;
  font-size: 13px;
}

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

.vibe-mini-board {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 8px 10px 22px rgba(151, 163, 183, 0.16), -8px -8px 18px rgba(255, 255, 255, 0.72);
}

.vibe-mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.vibe-mini-head h3 {
  margin: 0;
  font-size: 18px;
}

.vibe-mini-head a {
  color: #526174;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

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

.vibe-mini-item {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  color: var(--text);
}

.vibe-mini-icon {
  display: grid;
  place-items: center;
  width: 36px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  color: #ffffff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.vibe-mini-icon .store-work-logo {
  width: 88%;
  height: 88%;
  padding: 5px;
  border-radius: 9px;
}

.creator-mini-icon {
  box-shadow: none;
}

.vibe-mini-item b,
.vibe-mini-item small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vibe-mini-item b {
  font-size: 14px;
}

.vibe-mini-item small,
.vibe-mini-item > span {
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}

.vibe-mini-item > span {
  white-space: nowrap;
}

.vibe-store .tool-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.vibe-store .tool-mini-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 96px;
  padding: 14px;
  border-radius: 16px;
}

.tool-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: #ffffff;
  background: #0f172a;
  font-weight: 900;
}

.tool-mini-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.tool-mini-card p {
  margin: 0;
  color: #526174;
  font-size: 12px;
  line-height: 1.4;
}

.tool-mini-card small {
  display: block;
  margin-top: 5px;
  color: #7b879d;
  font-size: 12px;
  font-weight: 800;
}

.vibe-submit-banner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding: 24px 36px;
  background:
    radial-gradient(circle at 92% 50%, rgba(47, 107, 255, 0.16), transparent 22%),
    linear-gradient(135deg, rgba(211, 224, 255, 0.78), rgba(255, 255, 255, 0.72));
}

.vibe-submit-banner h2 {
  margin: 0 0 8px;
  font-size: 24px;
}

.vibe-submit-banner p {
  margin: 0;
  color: #526174;
}

.vibe-submit-banner .primary-action {
  min-height: 54px;
}

@media (max-width: 1180px) {
  .vibe-store .vibe-market-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .vibe-board-grid,
  .vibe-store .tool-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .vibe-store {
    width: calc(100% - 20px);
    padding: 18px 12px;
  }

  .vibe-store .vibe-hero-grid,
  .vibe-store .vibe-growth-grid,
  .vibe-store .featured-work,
  .vibe-submit-banner {
    grid-template-columns: 1fr;
  }

  .vibe-hero-art {
    min-height: 220px;
  }

  .vibe-store .vibe-search-form {
    grid-template-columns: 1fr;
  }

  .vibe-store .vibe-market-grid,
  .vibe-board-grid,
  .vibe-store .tool-mini-grid {
    grid-template-columns: 1fr;
  }

  .featured-action-stack {
    grid-template-columns: 1fr 1fr;
  }

  .vibe-store .growth-card {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .vibe-store .growth-card > b {
    grid-column: 1 / -1;
    justify-content: center;
  }

  .vibe-submit-banner {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .vibe-store .vibe-hero-copy h1 {
    font-size: 38px;
  }

  .vibe-store .featured-cover {
    aspect-ratio: 1.55 / 1;
  }

  .featured-action-stack {
    grid-template-columns: 1fr;
  }

  .vibe-mini-item {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .vibe-mini-item > span {
    grid-column: 2;
  }
}

/* Generated Vibe Coding covers */
.generated-work-art.work-logo,
.generated-work-art.store-work-logo,
.generated-work-art.featured-logo,
.generated-work-art.detail-logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border-radius: inherit;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.78), transparent 17%),
    linear-gradient(135deg, #2f6bff, #08a37d);
  box-shadow: none;
  isolation: isolate;
}

.generated-work-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: inherit;
  opacity: 0.78;
}

.generated-work-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: radial-gradient(circle at center, #000 0, transparent 72%);
  opacity: 0.72;
}

.generated-work-art strong {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 64px;
  min-height: 64px;
  padding: 12px;
  border-radius: 24px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1;
}

.generated-work-art em {
  position: absolute;
  z-index: 3;
  left: 12px;
  top: 12px;
  min-height: 26px;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  font-size: 12px;
  font-style: normal;
  font-weight: 900;
  backdrop-filter: blur(8px);
}

.art-glow {
  position: absolute;
  z-index: 1;
  width: 56%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  filter: blur(2px);
}

.art-chip {
  position: absolute;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.26);
}

.art-chip-a {
  right: 16px;
  top: 18px;
  transform: rotate(12deg);
}

.art-chip-b {
  left: 18px;
  bottom: 18px;
  transform: rotate(-18deg);
}

.art-versus {
  background:
    radial-gradient(circle at 46% 48%, rgba(255, 255, 255, 0.26), transparent 18%),
    linear-gradient(105deg, #ed1f54 0 47%, #f7f7ff 47% 53%, #0876ff 53% 100%) !important;
}

.art-versus strong {
  min-width: 98px;
  min-height: 72px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.22);
  text-shadow: 0 5px 16px rgba(15, 23, 42, 0.28);
  font-size: clamp(34px, 7vw, 76px);
  font-style: italic;
  letter-spacing: 0;
}

.versus-side {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.26);
  font-size: 28px;
}

.versus-red {
  left: 12%;
  bottom: 18%;
}

.versus-blue {
  right: 12%;
  top: 18%;
}

.art-work {
  background: linear-gradient(135deg, #5967ff, #26b4ff) !important;
}

.art-tool {
  background: linear-gradient(135deg, #0f172a, #2f6bff) !important;
}

.art-web {
  background: linear-gradient(135deg, #14b8a6, #2563eb) !important;
}

.art-business {
  background: linear-gradient(135deg, #f97316, #e11d48) !important;
}

.art-life {
  background: linear-gradient(135deg, #22c55e, #0ea5e9) !important;
}

.art-love {
  background: linear-gradient(135deg, #fb7185, #a855f7) !important;
}

.art-kids {
  background: linear-gradient(135deg, #facc15, #38bdf8) !important;
}

.art-odd {
  background: linear-gradient(135deg, #7c3aed, #06b6d4) !important;
}

.art-game {
  background: linear-gradient(135deg, #2563eb, #0891b2) !important;
}

.art-default {
  background: linear-gradient(135deg, #2f6bff, #08a37d) !important;
}

.vibe-market-cover .generated-work-art strong {
  min-width: 56px;
  min-height: 56px;
  border-radius: 20px;
  font-size: 34px;
}

.vibe-mini-icon .generated-work-art em,
.vibe-mini-icon .art-chip,
.vibe-mini-icon .art-glow,
.vibe-mini-icon .versus-side {
  display: none;
}

.vibe-mini-icon .generated-work-art strong {
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 18px;
}

.vibe-mini-icon .art-versus strong {
  font-size: 13px;
  letter-spacing: 0;
}
