:root {
  --bg: #f5f5f7;
  --surface: #fff;
  --surface-2: #f2f2f4;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(29, 29, 31, .10);
  --brand: #286858;
  --brand-2: rgba(213, 237, 229, .72);
  --shadow: 0 20px 50px rgba(23, 36, 31, .08);
  --glass: rgba(255, 255, 255, .62);
  --glass-line: rgba(255, 255, 255, .78);
  --radius: 22px;
  --radius-sm: 14px;
}

body {
  background:
    radial-gradient(circle at 15% 3%, rgba(192, 229, 216, .34), transparent 24rem),
    radial-gradient(circle at 88% 18%, rgba(211, 222, 247, .28), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.topbar {
  background: rgba(247, 247, 249, .66);
  border-bottom: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 1px 0 rgba(29, 29, 31, .05);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
}

.nav { height: 72px; }

.brand-mark {
  border-radius: 11px 15px 12px 16px;
  background: linear-gradient(145deg, #101312, #303d38);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .28),
    0 8px 22px rgba(25, 43, 36, .16);
}

.brand small { font-weight: 500; }

.nav-links {
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 16px;
  background: rgba(255, 255, 255, .38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .86),
    0 8px 24px rgba(30, 42, 38, .04);
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 12px;
  transition: background .2s ease, box-shadow .2s ease, color .2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, .82);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 5px 16px rgba(28, 44, 38, .08);
}

.nav-links .nav-create {
  min-width: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: #fff;
  background: linear-gradient(145deg, #171a19, #303633);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.22), 0 8px 20px rgba(24,31,28,.16);
}
.nav-links .nav-create:hover,
.nav-links .nav-create.active {
  color: #fff;
  background: linear-gradient(145deg, #245548, #1c2723);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.24), 0 10px 24px rgba(27,56,47,.2);
}
.nav-links .nav-create span { font-size: 16px; line-height: 1; }

.nav-search,
.icon-link {
  border-color: rgba(255, 255, 255, .82);
  background: rgba(255, 255, 255, .58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 7px 20px rgba(25, 38, 33, .05);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
}

.nav-search { border-radius: 15px; }
.icon-link { border-radius: 50%; }

.btn { border-radius: 14px; }
.btn-primary {
  background: linear-gradient(145deg, #191b1a, #2b2f2d);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 9px 22px rgba(21, 27, 25, .16);
}

.card,
.panel,
.form-card {
  border-color: rgba(29, 29, 31, .08);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .88);
}

.glass-panel {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .92),
    inset 0 -1px 0 rgba(255, 255, 255, .3),
    0 18px 48px rgba(30, 47, 40, .08);
  backdrop-filter: blur(26px) saturate(175%);
  -webkit-backdrop-filter: blur(26px) saturate(175%);
}

/* Home */
.home-shell { max-width: 1120px; }

.home-hero {
  min-height: 510px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  padding: 90px 0 58px;
}

.home-hero-content {
  width: min(760px, 100%);
  position: relative;
  z-index: 2;
  text-align: center;
}

.home-hero h1 {
  margin: 0 0 34px;
  font-size: clamp(50px, 7vw, 82px);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 720;
}

.hero-glow {
  position: absolute;
  inset: 34px 4% 12px;
  overflow: hidden;
  border-radius: 50% 42% 48% 44% / 46% 52% 42% 55%;
  pointer-events: none;
  opacity: .78;
  filter: blur(.2px);
}

.hero-glow::before,
.hero-glow span {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
}

.hero-glow::before {
  width: 52%;
  height: 75%;
  left: 12%;
  top: 5%;
  background: rgba(169, 222, 204, .4);
}

.hero-glow span:first-child {
  width: 48%;
  height: 72%;
  right: 7%;
  top: 10%;
  background: rgba(195, 211, 246, .36);
}

.hero-glow span:last-child {
  width: 46%;
  height: 52%;
  left: 28%;
  bottom: 0;
  background: rgba(255, 228, 198, .28);
}

.liquid-search {
  margin: 0 auto;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, .82);
  border-radius: 22px 26px 21px 27px;
  background: rgba(255, 255, 255, .62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    inset 0 -1px 0 rgba(255, 255, 255, .35),
    0 20px 50px rgba(31, 48, 41, .11);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
}

.liquid-search input { font-size: 17px; }
.liquid-search .btn { min-width: 92px; }

.quick-tags { margin-top: 16px; }
.quick-tags a {
  padding: 7px 13px;
  color: rgba(29, 29, 31, .62);
  border-color: rgba(255, 255, 255, .76);
  background: rgba(255, 255, 255, .42);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.home-recommend { margin-top: 28px; padding-bottom: 84px; }
.section-head-minimal { align-items: center; margin-bottom: 18px; }
.section-head-minimal h2 { margin: 0; font-size: 30px; }
.section-head-minimal .text-link { font-size: 14px; }

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

.home-card {
  min-height: 230px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, .88);
  border: 1px solid rgba(29, 29, 31, .075);
  border-radius: 22px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(40, 104, 88, .18);
  box-shadow: 0 18px 42px rgba(31, 49, 42, .09);
}

.home-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.home-card-icon,
.rank-icon {
  display: grid;
  place-items: center;
  color: var(--brand);
  background: linear-gradient(145deg, rgba(234, 247, 242, .96), rgba(213, 235, 227, .82));
  border: 1px solid rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .96),
    0 8px 20px rgba(42, 94, 79, .09);
}

.home-card-icon { width: 44px; height: 44px; border-radius: 14px 18px 15px 17px; }
.home-score { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.home-card h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -.025em; }
.home-card p { margin: 0; color: var(--muted); font-size: 14px; }
.home-card-meta { margin-top: auto; padding-top: 20px; display: flex; gap: 8px; color: var(--muted); font-size: 12px; }
.home-card-meta span + span::before { content: "·"; margin-right: 8px; }

/* Discovery */
.discover-main { padding-top: 50px; }
.discover-shell { max-width: 1080px; }
.discover-heading { padding: 18px 2px 24px; }
.discover-heading h1 { margin: 0; font-size: clamp(42px, 6vw, 66px); line-height: 1; letter-spacing: -.06em; }

.discover-controls {
  position: sticky;
  top: 88px;
  z-index: 20;
  padding: 8px;
  border-radius: 24px 29px 23px 28px;
}

.discover-tabs {
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(235, 236, 238, .62);
}

.discover-tabs button {
  min-width: 68px;
  padding: 8px 14px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
}

.discover-tabs button.active {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, .9);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 5px 14px rgba(29, 37, 34, .08);
}

.discover-filters {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 160px)) minmax(160px, 1fr);
  gap: 7px;
}

.leaderboard-filter-group,
.subcategory-filter-group {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0 0 5px;
  border: 0;
}

.leaderboard-filter-group legend,
.subcategory-filter-group legend {
  margin: 0 0 7px 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}

.leaderboard-switch {
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 17px 21px 16px 20px;
  background: rgba(229,231,233,.52);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
}

.leaderboard-switch button {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 0;
  border-radius: 12px 15px 11px 14px;
  color: var(--muted);
  background: transparent;
}

.leaderboard-switch button b { color: inherit; font-size: 13px; }
.leaderboard-switch button.active {
  color: var(--text);
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 #fff, 0 7px 17px rgba(31,43,38,.08);
}

.leaderboard-switch button.is-disabled,
.subcategory-filter-chips button.is-disabled {
  color: rgba(112, 116, 121, .52);
  cursor: default;
  opacity: .72;
}

.leaderboard-switch button.is-disabled:hover,
.subcategory-filter-chips button.is-disabled:hover {
  color: rgba(112, 116, 121, .52);
  background: transparent;
  transform: none;
}

.subcategory-filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.subcategory-filter-chips button {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255,255,255,.82);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,.45);
  font-size: 12px;
  transition: transform .18s ease, color .18s ease, background .18s ease;
}
.subcategory-filter-chips button:hover { transform: translateY(-1px); color: var(--brand); background: rgba(255,255,255,.74); }
.subcategory-filter-chips button.active { color: var(--brand); border-color: rgba(49,95,82,.16); background: var(--brand-2); font-weight: 750; }

.domain-filter-group {
  grid-column: 1 / -1;
  min-width: 0;
  margin: 0;
  padding: 0 0 5px;
  border: 0;
}

.domain-filter-group legend {
  margin: 0 0 7px 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
}
.domain-filter-group .filter-legend {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.filter-legend button {
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 999px;
  color: var(--brand);
  background: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0;
}
.filter-legend button:hover { background: rgba(255,255,255,.84); }

.domain-filter-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
  gap: 6px;
}

.domain-filter-chips button {
  min-width: 0;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 7px;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 14px 17px 13px 16px;
  color: var(--muted);
  background: rgba(255, 255, 255, .48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: transform .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease;
}

.domain-filter-chips button span { color: var(--brand); font-size: 13px; }
.domain-filter-chips button:hover { transform: translateY(-1px); color: var(--text); background: rgba(255, 255, 255, .76); }
.domain-filter-chips button.active {
  color: #fff;
  background: linear-gradient(145deg, rgba(31, 47, 42, .98), rgba(52, 80, 70, .94));
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .24), 0 8px 18px rgba(31, 54, 46, .16);
}
.domain-filter-chips button.active span { color: #dff4ec; }

.taxonomy-dialog {
  width: min(880px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 28px));
  padding: 0;
  border: 0;
  border-radius: 28px 35px 27px 33px;
  background: transparent;
  box-shadow: 0 34px 110px rgba(20,35,29,.3);
}
.taxonomy-dialog::backdrop { background: rgba(28,35,33,.3); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.taxonomy-editor { padding: 24px; border-radius: inherit; background: rgba(248,249,249,.94); }
.taxonomy-editor-head { display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px; }
.taxonomy-editor-head span { color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.14em; }
.taxonomy-editor-head h2 { margin:6px 0 4px;font-size:30px;letter-spacing:-.045em; }
.taxonomy-editor-head p { margin:0;color:var(--muted);font-size:12px; }
.taxonomy-editor-head > button { width:38px;height:38px;flex:none;border:0;border-radius:50%;color:var(--muted);background:rgba(229,231,232,.72);font-size:24px; }
.taxonomy-editor-layout { min-height:390px;display:grid;grid-template-columns:250px minmax(0,1fr);gap:10px; }
.taxonomy-domain-editor,.taxonomy-direction-editor { min-width:0;padding:14px;border:1px solid rgba(29,29,31,.06);border-radius:19px 24px 18px 22px;background:rgba(255,255,255,.62); }
.taxonomy-editor-label { display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px; }
.taxonomy-editor-label b { font-size:12px; }
.taxonomy-editor-label small { color:var(--muted);font-size:10px; }
.taxonomy-editor-label button { padding:4px 7px;border:0;border-radius:8px;color:var(--brand);background:var(--brand-2);font-size:10px;font-weight:750; }
#taxonomyDomainEditorList { max-height:355px;display:flex;flex-direction:column;gap:4px;overflow:auto; }
#taxonomyDomainEditorList > button { min-height:39px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:7px;padding:7px 9px;border:0;border-radius:11px 14px 10px 13px;color:var(--muted);background:transparent;text-align:left; }
#taxonomyDomainEditorList > button b { overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px; }
#taxonomyDomainEditorList > button em { color:var(--muted);font-size:9px;font-style:normal; }
#taxonomyDomainEditorList > button.active { color:var(--text);background:#fff;box-shadow:0 6px 18px rgba(28,42,36,.08); }
.taxonomy-name-fields { display:grid;grid-template-columns:1fr;gap:8px;margin-bottom:9px; }
.taxonomy-name-fields label span { display:block;margin:0 0 5px 2px;color:var(--muted);font-size:10px; }
.taxonomy-name-fields .input { min-height:42px; }
.taxonomy-icon-field input { text-align:center; }
.taxonomy-order-actions { display:flex;gap:6px;margin-bottom:16px; }
.taxonomy-order-actions button,.taxonomy-direction-row button { padding:6px 8px;border:0;border-radius:8px;color:var(--brand);background:var(--brand-2);font-size:9px;font-weight:750; }
.taxonomy-order-actions button:disabled,.taxonomy-direction-row button:disabled { color:var(--muted);opacity:.45;cursor:not-allowed; }
.taxonomy-directions-label { margin-top:2px; }
.taxonomy-direction-list { min-height:170px;max-height:230px;display:flex;flex-direction:column;gap:6px;padding:10px;overflow:auto;border:1px solid rgba(29,29,31,.06);border-radius:15px 19px 14px 17px;background:rgba(244,246,245,.72); }
.taxonomy-direction-row { display:grid;grid-template-columns:minmax(120px,1fr) auto;align-items:center;gap:7px; }
.taxonomy-direction-row .input { min-height:36px;padding:7px 10px;background:#fff; }
.taxonomy-direction-row > div { display:flex;gap:3px; }
.taxonomy-direction-row button:last-child { color:#9c4b48;background:#f5e9e8; }
.taxonomy-direction-list > p { margin:auto;color:var(--muted);font-size:11px;text-align:center; }
.taxonomy-add-direction { display:grid;grid-template-columns:1fr auto;gap:7px;margin-top:9px; }
.taxonomy-add-direction .input { min-height:42px; }
.taxonomy-delete-domain { margin-top:18px;padding:0;border:0;color:#9c4b48;background:transparent;font-size:11px; }
.taxonomy-delete-domain:disabled { color:var(--muted);opacity:.45;cursor:not-allowed; }
.taxonomy-editor-actions { display:flex;justify-content:flex-end;gap:7px;margin-top:16px; }
.taxonomy-editor-actions .btn { min-width:100px; }

.filter-select,
.filter-search {
  min-height: 44px;
  display: flex;
  align-items: center;
  position: relative;
  border: 1px solid rgba(255, 255, 255, .84);
  border-radius: 15px 18px 14px 17px;
  background: rgba(255, 255, 255, .52);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92);
}

.filter-select > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.filter-select::after {
  content: "⌄";
  position: absolute;
  right: 12px;
  top: 10px;
  color: var(--muted);
  pointer-events: none;
}

.filter-select select {
  width: 100%;
  height: 42px;
  padding: 0 34px 0 13px;
  border: 0;
  outline: 0;
  appearance: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  cursor: pointer;
}

.filter-search { padding: 0 12px; }
.filter-search span { color: var(--muted); }
.filter-search input { width: 100%; min-width: 0; padding: 0 7px; border: 0; outline: 0; background: transparent; }

.results-head {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
  color: var(--muted);
  font-size: 13px;
}

.clear-filters { border: 0; background: transparent; color: var(--brand); font-size: 13px; }
.discover-list { display: flex; flex-direction: column; gap: 10px; }

.ranking-row {
  min-height: 126px;
  display: grid;
  grid-template-columns: 42px 50px minmax(0, 1fr) 130px 78px;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border: 1px solid rgba(29, 29, 31, .075);
  border-radius: 22px;
  background: rgba(255, 255, 255, .91);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .95);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.ranking-row.product-ranking-row {
  grid-template-columns: 42px 58px minmax(0, 1fr) 176px;
  min-height: 132px;
}

.ranking-row:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 104, 88, .16);
  box-shadow: 0 16px 38px rgba(30, 46, 40, .08);
}

.rank-index { color: var(--brand); font-size: 18px; font-weight: 760; font-variant-numeric: tabular-nums; }
.rank-index.top { color: #216e58; }
.rank-icon { width: 48px; height: 48px; border-radius: 15px 19px 16px 18px; font-size: 19px; }
.rank-logo,
.product-logo {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .92);
  color: var(--brand);
  background: linear-gradient(145deg, rgba(234, 247, 242, .98), rgba(213, 235, 227, .88));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .96), 0 10px 24px rgba(42, 94, 79, .11);
}
.rank-logo { width: 54px; height: 54px; border-radius: 17px 21px 16px 20px; }
.rank-logo b,
.product-logo b { font-size: 20px; font-weight: 800; line-height: 1; }
.rank-logo img,
.product-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.rank-copy { min-width: 0; }
.rank-title-line { display: flex; align-items: center; gap: 9px; min-width: 0; }
.rank-title-line a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; line-height: 1.3; font-weight: 720; letter-spacing: -.02em; }
.rank-title-line a:hover { color: var(--brand); }
.status-dot { flex: none; color: var(--brand); font-size: 11px; background: var(--brand-2); border-radius: 999px; padding: 3px 7px; }
.rank-copy p { margin: 5px 0 7px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 14px; }
.rank-tags { display: flex; gap: 7px; color: var(--muted); font-size: 12px; }
.rank-tags span + span::before { content: "·"; margin-right: 7px; }
.rank-price { margin-left: 2px; color: var(--brand); font-size: 12px; font-weight: 760; }
.rank-price::before { content: "·"; margin-right: 7px; color: var(--muted); font-weight: 400; }
.rank-stats { display: flex; flex-direction: column; gap: 4px; text-align: right; color: var(--muted); font-size: 12px; }
.rank-stats b { color: var(--text); font-size: 18px; font-variant-numeric: tabular-nums; }
.rank-movement { font-weight: 750; }
.rank-movement.up { color: var(--success); }
.rank-movement.down { color: var(--danger); }
.rank-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; }
.rank-open-button { min-height: 36px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; color: #fff; background: #222725; font-size: 12px; font-weight: 750; white-space: nowrap; box-shadow: 0 9px 22px rgba(23, 31, 28, .12); }
.rank-open-button:hover { transform: translateY(-1px); background: #111412; }

.favorite-icon,
.open-link {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(29, 29, 31, .08);
  border-radius: 50%;
  background: rgba(247, 247, 249, .9);
  color: var(--muted);
  transition: transform .18s ease, background .18s ease, color .18s ease;
}

.favorite-icon:hover,
.favorite-icon.active,
.open-link:hover { transform: scale(1.05); color: var(--brand); background: var(--brand-2); }
.open-link { font-size: 24px; padding-bottom: 3px; }

.empty { background: rgba(255, 255, 255, .62); border-style: solid; border-color: rgba(255, 255, 255, .78); backdrop-filter: blur(18px); }

.footer {
  background: rgba(255, 255, 255, .48);
  border-top-color: rgba(255, 255, 255, .72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.footer-inner { align-items: center; }

/* Create */
.create-page { padding-top: 34px; }
.create-shell { max-width: 1080px; }
.create-heading { display:flex;align-items:flex-end;justify-content:space-between;gap:22px;padding:15px 2px 21px; }
.create-heading>div { display:flex;align-items:baseline;gap:13px; }
.create-heading .eyebrow { margin:0; }
.create-heading h1 {
  margin: 0;
  font-size: clamp(36px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -.065em;
  font-weight: 720;
}
.create-heading p { margin: 0 0 4px; color: var(--muted); font-size: 14px; }

.create-kind-switch {
  width: fit-content;
  display: flex;
  gap: 4px;
  padding: 5px;
  border-radius: 19px 23px 18px 22px;
}
.create-kind-switch button {
  min-width: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border: 0;
  border-radius: 14px;
  color: var(--muted);
  background: transparent;
}
.create-kind-switch button.active {
  color: var(--text);
  background: rgba(255, 255, 255, .9);
  box-shadow: inset 0 1px 0 #fff, 0 7px 20px rgba(31, 44, 39, .08);
}
.create-kind-switch button span { color: var(--brand); }

.create-workspace,
.simple-create { margin-top: 22px; }
.solution-mode-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 12px;
  padding: 4px;
  width: fit-content;
  border-radius: 15px;
  background: rgba(225, 226, 229, .58);
}
.solution-mode-tabs button {
  padding: 9px 15px;
  border: 0;
  border-radius: 11px;
  color: var(--muted);
  background: transparent;
}
.solution-mode-tabs button.active {
  color: var(--text);
  font-weight: 700;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 5px 16px rgba(31, 41, 37, .07);
}
.new-dot { margin-left: 5px; padding: 2px 5px; border-radius: 999px; color: var(--brand); background: var(--brand-2); font-size: 10px; }

.import-layout { display: grid; gap: 12px; }
.import-start {
  min-height: 230px;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 30px;
  border-radius: 28px 34px 27px 32px;
  background:
    radial-gradient(circle at 92% 0, rgba(198, 217, 248, .34), transparent 32%),
    radial-gradient(circle at 8% 100%, rgba(182, 226, 210, .35), transparent 36%),
    rgba(255, 255, 255, .64);
}
.import-orb {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: 44% 56% 48% 52% / 55% 43% 57% 45%;
  color: #fff;
  background: linear-gradient(145deg, #6d9d90, #304f47);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.42), 0 13px 30px rgba(48,82,72,.2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .06em;
}
.import-start h2 { margin: 0 0 4px; font-size: 27px; letter-spacing: -.035em; }
.import-start p { margin: 0; color: var(--muted); }
.smart-url {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 19px 23px 18px 22px;
  background: rgba(255,255,255,.74);
  box-shadow: inset 0 1px 0 #fff, 0 16px 36px rgba(32,49,42,.09);
}
.smart-url input { flex: 1; min-width: 0; padding: 9px 12px; border: 0; outline: 0; background: transparent; font-size: 16px; }
.smart-url .btn { min-width: 112px; }
.recognition-status { grid-column: 1 / -1; min-height: 20px; margin-top: -6px; color: var(--muted); font-size: 13px; }
.recognition-status.loading::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 7px; border: 2px solid #a9c9bf; border-top-color: var(--brand); border-radius: 50%; animation: orbita-spin .7s linear infinite; }
.recognition-status.success { color: var(--success); }
.recognition-status.warning { color: var(--warning); }
.recognition-status.error { color: var(--danger); }
@keyframes orbita-spin { to { transform: rotate(360deg); } }
.import-recognition-preview { display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:13px 15px;border:1px solid rgba(29,29,31,.065);border-radius:16px 20px 15px 19px;background:rgba(241,244,243,.76); }
.import-recognition-preview>span { width:44px;height:44px;display:grid;place-items:center;border-radius:14px 17px 13px 16px;color:var(--brand);background:var(--brand-2);font-size:19px; }
.import-recognition-preview small,.import-recognition-preview b,.import-recognition-preview em { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.import-recognition-preview small { color:var(--muted);font-size:9px;font-weight:750;letter-spacing:.08em; }.import-recognition-preview b { margin-top:2px;font-size:14px; }.import-recognition-preview em { margin-top:2px;color:var(--muted);font-size:10px;font-style:normal; }.import-recognition-preview>i { color:var(--brand);font-size:10px;font-style:normal; }
.import-advanced { padding:14px 16px;border:1px solid rgba(29,29,31,.07);border-radius:15px 19px 14px 18px;background:rgba(247,247,248,.68); }
.import-advanced summary { cursor:pointer;color:var(--muted);font-size:12px;font-weight:700; }.import-advanced[open] summary { color:var(--text); }.import-advanced .form-grid { margin-top:15px; }

.import-form,
.builder-meta,
.builder-studio,
.simple-create {
  padding: 28px;
  border: 1px solid rgba(29,29,31,.07);
  border-radius: 26px 31px 25px 29px;
  background: rgba(255,255,255,.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.95);
}
.import-form[hidden] { display:none; }
.edit-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 2px; }
.edit-head > div { display: flex; align-items: center; gap: 10px; }
.edit-head h2 { margin: 0; font-size: 24px; letter-spacing: -.035em; }
.edit-hint { color: var(--muted); font-size: 12px; }
.step-number {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  flex: none;
  border-radius: 10px 13px 10px 12px;
  color: var(--brand);
  background: var(--brand-2);
  font-size: 12px;
  font-weight: 800;
}
.textarea-compact { min-height: 86px; }
.import-form .input,
.import-form .select,
.import-form .textarea,
.builder-meta .input,
.builder-meta .select,
.builder-meta .textarea,
.simple-create .input,
.simple-create .select,
.simple-create .textarea {
  border-color: rgba(29,29,31,.09);
  background: rgba(246,246,248,.74);
}
.publish-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.publish-bar span { color: var(--muted); font-size: 13px; }
.create-simple-focus { max-width:820px;margin-inline:auto; }
.need-description { min-height:170px!important;font-size:16px; }.guide-steps-input { min-height:220px!important; }

.builder-layout { display: grid; gap: 12px; }
.builder-section-title { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 20px; }
.builder-section-title h2 { margin: 0 0 3px; font-size: 24px; letter-spacing: -.035em; }
.builder-section-title p { margin: 0; color: var(--muted); font-size: 13px; }
.builder-studio { padding: 0; overflow: hidden; }
.builder-toolbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px 12px 20px;
  border-bottom: 1px solid var(--line);
}
.builder-toolbar > div:first-child { display: flex; align-items: center; gap: 10px; }
.template-switch { display: flex; gap: 4px; padding: 3px; border-radius: 12px; background: var(--surface-2); }
.template-switch button { padding: 7px 10px; border: 0; border-radius: 9px; color: var(--muted); background: transparent; font-size: 12px; }
.template-switch button.active { color: var(--text); background: #fff; box-shadow: 0 3px 10px rgba(30,40,36,.08); }
.studio-grid { display: grid; grid-template-columns: minmax(340px,.88fr) minmax(420px,1.12fr); min-height: 510px; }
.code-pane { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); background: #202321; }
.code-tabs { display: flex; gap: 2px; padding: 8px; border-bottom: 1px solid rgba(255,255,255,.08); }
.code-tabs button { padding: 6px 12px; border: 0; border-radius: 8px; color: #9ba49f; background: transparent; font-size: 12px; }
.code-tabs button.active { color: #fff; background: rgba(255,255,255,.09); }
#codeEditor { flex: 1; width: 100%; min-height: 450px; padding: 18px; border: 0; outline: 0; resize: none; color: #d8e5df; background: transparent; font: 12px/1.65 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; tab-size: 2; }
.preview-pane { display: flex; flex-direction: column; min-width: 0; background: #eceef0; }
.preview-bar { height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; color: var(--muted); font-size: 11px; }
.preview-bar > span { display: flex; gap: 5px; }
.preview-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c6c9cc; }
.preview-pane iframe { flex: 1; width: calc(100% - 18px); margin: 0 9px 9px; border: 0; border-radius: 13px 16px 12px 15px; background: #fff; box-shadow: 0 12px 30px rgba(28,35,32,.1); }
.builder-publish { position: sticky; bottom: 12px; z-index: 10; display: flex; align-items: center; gap: 9px; padding: 10px 10px 10px 16px; border-radius: 18px 22px 17px 21px; }
.builder-publish > div { flex: 1; display: flex; flex-direction: column; }
.builder-publish span { color: var(--muted); font-size: 12px; }
.simple-create { padding: 30px; }

.built-app-panel { overflow: hidden; }
.built-app-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 16px; }
.built-app-head h2 { margin: 0; }
.built-app-head span { color: var(--muted); font-size: 13px; }
.built-app-frame { width: 100%; min-height: 560px; border: 1px solid var(--line); border-radius: 18px 22px 17px 21px; background: #fff; }

/* Author network */
.author-inline {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px 7px 7px;
  border: 1px solid transparent;
  border-radius: 15px 19px 14px 18px;
  transition: background .18s ease, border-color .18s ease, transform .18s ease;
}
.author-inline:hover { transform: translateY(-1px); border-color: rgba(29,29,31,.08); background: rgba(255,255,255,.72); }
.author-avatar-small {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex: none;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 11px 14px 12px 13px;
  color: #fff;
  background: linear-gradient(145deg,#355f53,#1c2925);
  box-shadow: inset 0 1px 1px rgba(255,255,255,.24),0 7px 18px rgba(31,55,47,.12);
  font-size: 13px;
  font-weight: 750;
}
.author-inline > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.author-inline b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.author-inline small { color: var(--muted); font-size: 11px; }
.author-inline em { margin-left: auto; color: var(--muted); font-style: normal; font-size: 18px; }
.verified-mini { display: inline-grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; color:#fff; background:var(--brand); font-size:9px; font-style:normal; }
.solution-author { margin-top: 13px; border-top: 1px solid var(--line); padding-top: 8px; }
.solution-author .author-inline { width: 100%; }
.guide-byline,.need-byline { margin: 10px 0 14px; }
.task-summary .guide-byline + p,.task-summary .need-byline + p { margin-top: 8px; }
.sidebar-author { margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--line); }
.sidebar-author .author-inline { width: 100%; }

.author-page { padding-top: 36px; }
.author-shell { max-width: 1040px; }
.author-hero {
  display: grid;
  grid-template-columns: 112px minmax(0,1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 31px 38px 29px 36px;
  background:
    radial-gradient(circle at 88% 12%,rgba(194,213,247,.32),transparent 30%),
    radial-gradient(circle at 10% 100%,rgba(177,222,206,.35),transparent 34%),
    rgba(255,255,255,.66);
}
.author-avatar-large {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.9);
  border-radius: 39% 61% 47% 53% / 55% 43% 57% 45%;
  color: #fff;
  background: linear-gradient(145deg,#537f72,#1e2e29);
  box-shadow: inset 0 2px 2px rgba(255,255,255,.3),0 18px 42px rgba(30,56,47,.18);
  font-size: 36px;
  font-weight: 760;
}
.author-name-line { display: flex; align-items: center; gap: 9px; }
.author-name-line h1 { margin: 0; font-size: 38px; line-height: 1.05; letter-spacing: -.05em; }
.verified-mark { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; color:#fff; background:var(--brand); font-size:11px; }
.author-handle { color: var(--muted); font-size: 13px; }
.author-identity p { max-width: 590px; margin: 10px 0 12px; color: var(--muted); }
.author-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.author-tags span { padding: 5px 9px; border-radius:999px; color:var(--muted); background:rgba(255,255,255,.68); font-size:11px; }
.author-follow { min-width: 94px; color:#fff; background:linear-gradient(145deg,#1d211f,#333936); }
.author-follow.following { color:var(--text); border:1px solid var(--line); background:rgba(255,255,255,.76); box-shadow:none; }
.author-numbers { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(4,minmax(80px,1fr)); gap: 8px; }
.author-numbers div { padding: 12px 14px; border-radius:14px 18px 13px 17px; background:rgba(255,255,255,.55); }
.author-numbers b { display:block; font-size:22px; letter-spacing:-.03em; }
.author-numbers span { color:var(--muted); font-size:11px; }
.author-content { margin-top: 28px; }
.author-tabs { display:flex; gap:4px; width:fit-content; padding:4px; border-radius:15px; background:rgba(225,226,229,.58); }
.author-tabs button { padding:9px 15px; border:0; border-radius:11px; color:var(--muted); background:transparent; }
.author-tabs button.active { color:var(--text); font-weight:700; background:#fff; box-shadow:0 5px 15px rgba(30,40,36,.07); }
.author-tabs button span { margin-left:4px; font-size:11px; opacity:.62; }
.creator-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin-top:14px; }
.creator-content-card { overflow:hidden; border:1px solid rgba(29,29,31,.07); border-radius:22px 26px 21px 25px; background:rgba(255,255,255,.9); transition:transform .2s ease,box-shadow .2s ease; }
.creator-content-card:hover { transform:translateY(-3px); box-shadow:0 18px 40px rgba(29,45,39,.09); }
.creator-card-cover { height:128px; display:flex; align-items:flex-end; justify-content:space-between; padding:18px; color:#fff; background:linear-gradient(145deg,#213b33,#5e8e7f); }
.creator-card-cover.guide { background:linear-gradient(145deg,#2e3447,#7586b2); }
.creator-card-cover.need { background:linear-gradient(145deg,#55402e,#b58a64); }
.creator-card-cover > span { font-size:34px; opacity:.8; }
.creator-card-cover small { opacity:.72; }
.creator-card-copy { padding:17px; }
.creator-card-copy h3 { margin:0 0 7px; font-size:17px; letter-spacing:-.025em; }
.creator-card-copy p { min-height:44px; margin:0; display:-webkit-box; overflow:hidden; -webkit-line-clamp:2; -webkit-box-orient:vertical; color:var(--muted); font-size:13px; }
.creator-card-copy > div { display:flex; gap:12px; margin-top:15px; color:var(--muted); font-size:11px; }

/* Personal creator profile */
.profile-creator-hero {
  position:relative;
  grid-template-columns:96px minmax(0,1fr) auto;
  gap:20px;
  padding:27px 29px;
}
.profile-creator-hero .author-avatar-large { width:92px;height:92px;font-size:31px; }
.profile-creator-hero .author-name-line h1 { font-size:34px; }
.profile-creator-hero .author-identity p { max-width:670px;margin-block:8px 10px; }
.profile-actions { display:flex; align-items:center; gap:8px; }
.profile-actions .btn { min-width:94px; }
.profile-creator-hero .author-numbers {
  grid-column:2/-1;
  display:flex;
  align-items:center;
  gap:0;
  padding-top:15px;
  border-top:1px solid rgba(29,29,31,.065);
}
.profile-creator-hero .author-numbers div {
  min-width:102px;
  padding:0 22px;
  border-radius:0;
  background:transparent;
}
.profile-creator-hero .author-numbers div:first-child { padding-left:0; }
.profile-creator-hero .author-numbers div+div { border-left:1px solid rgba(29,29,31,.075); }
.profile-creator-hero .author-numbers b { font-size:20px; }
.profile-creator-hero .author-numbers span { font-size:10px; }
.profile-content-head { display:flex; align-items:center; justify-content:space-between; gap:18px; }
.profile-private-note { display:flex;align-items:center;gap:8px;color:var(--muted);font-size:11px; }
.creator-content-card.featured { position:relative; }
.creator-card-featured { position:absolute;z-index:2;top:12px;left:12px;padding:5px 8px;border:1px solid rgba(255,255,255,.72);border-radius:999px;color:#fff;background:rgba(26,36,32,.34);backdrop-filter:blur(12px);font-size:9px;font-weight:750; }
.creator-new-card { min-height:258px;display:grid;place-items:center;padding:24px;border:1px dashed rgba(40,104,88,.22);text-align:center;background:rgba(255,255,255,.36); }
.creator-new-card span { width:46px;height:46px;display:grid;place-items:center;margin:0 auto 12px;border-radius:16px 19px 15px 18px;color:#fff;background:linear-gradient(145deg,#376f60,#1e2d28);font-size:22px; }
.creator-new-card b,.creator-new-card small { display:block; }.creator-new-card small { margin-top:5px;color:var(--muted); }
.creator-activity-list { grid-column:1/-1;display:flex;flex-direction:column;gap:8px; }
.creator-activity-card { display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:12px;padding:15px 17px;border:1px solid rgba(29,29,31,.07);border-radius:16px 20px 15px 19px;background:rgba(255,255,255,.78); }
.creator-activity-card>span:first-child { width:38px;height:38px;display:grid;place-items:center;border-radius:13px 16px 12px 15px;color:var(--brand);background:var(--brand-2); }
.creator-activity-card b,.creator-activity-card small { display:block; }.creator-activity-card small { margin-top:3px;color:var(--muted);font-size:11px; }.creator-activity-card em { color:var(--muted);font-style:normal;font-size:18px; }
.profile-editor-dialog {
  width:min(590px,calc(100% - 28px));
  padding:0;
  border:1px solid rgba(255,255,255,.82);
  border-radius:28px 34px 26px 32px;
  color:var(--text);
  background:rgba(250,250,251,.9);
  box-shadow:0 34px 90px rgba(20,30,26,.22),inset 0 1px 0 #fff;
  backdrop-filter:blur(28px) saturate(140%);
  -webkit-backdrop-filter:blur(28px) saturate(140%);
}
.profile-editor-dialog::backdrop { background:rgba(31,36,34,.34); backdrop-filter:blur(8px); }
.profile-editor-dialog form { padding:26px; }
.profile-editor-head { display:flex; align-items:flex-start; justify-content:space-between; margin-bottom:20px; }
.profile-editor-head span { color:var(--brand); font-size:10px; font-weight:800; letter-spacing:.11em; }
.profile-editor-head h2 { margin:4px 0 0; font-size:28px; }
.profile-editor-head button { width:34px; height:34px; border:0; border-radius:50%; color:var(--muted); background:var(--surface-2); font-size:20px; }
.profile-editor-dialog .field + .field { margin-top:14px; }
.profile-editor-grid { margin-top:14px; }
.profile-editor-grid .field + .field { margin-top:0; }
.profile-editor-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:22px; }

/* Tutorial steps with inline prompts */
.tutorial-steps-panel { padding-bottom: 8px; }
.tutorial-steps-head { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:4px; }
.tutorial-steps-head h2 { margin:0 0 4px; }
.tutorial-steps-head p { margin:0; color:var(--muted); font-size:13px; }
.tutorial-steps .step { padding:24px 0; }
.tutorial-steps .step:last-child { border-bottom:0; }
.step-body { min-width:0; }
.step-prompt {
  margin-top:14px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.1);
  border-radius:16px 20px 15px 19px;
  color:#edf2ef;
  background:linear-gradient(145deg,#181b19,#252b28);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06),0 10px 24px rgba(22,29,26,.08);
}
.step-prompt-head { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px 0 15px; }
.step-prompt-head span { color:#9faaa5; font-size:10px; font-weight:800; letter-spacing:.08em; }
.step-prompt-head button { padding:6px 10px; border:0; border-radius:9px 11px 8px 10px; color:#eef3f0; background:rgba(255,255,255,.1); font-size:11px; }
.step-prompt-head button:hover { background:rgba(255,255,255,.16); }
.step-prompt-copy { padding:8px 15px 16px; color:#eef2ef; font:13px/1.7 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; white-space:pre-wrap; }

/* Prompt-first AI builder */
.ai-builder { margin-top: 22px; }
.ai-build-prompt {
  min-height: 300px;
  display: grid;
  place-items: center;
  align-content: center;
  padding: 32px 34px 29px;
  border-radius: 34px 42px 32px 39px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 90%,rgba(169,224,204,.38),transparent 31%),
    radial-gradient(circle at 88% 8%,rgba(193,211,248,.38),transparent 34%),
    rgba(255,255,255,.62);
}
.ai-build-orb { width:46px; height:46px; display:grid; place-items:center; margin-bottom:11px; border-radius:43% 57% 51% 49% / 58% 43% 57% 42%; color:#fff; background:linear-gradient(145deg,#4e8a78,#1d2b27); box-shadow:inset 0 1px 2px rgba(255,255,255,.35),0 16px 34px rgba(36,71,60,.18); }
.ai-build-title span { color:var(--brand); font-size:11px; font-weight:800; letter-spacing:.14em; }
.ai-build-title h2 { margin:6px 0 5px; font-size:clamp(30px,4vw,43px); line-height:1.05; letter-spacing:-.055em; }
.ai-build-title p { margin:0; color:var(--muted); }
.ai-prompt-box { width:min(790px,100%); display:flex; align-items:flex-end; gap:8px; margin-top:20px; padding:8px; border:1px solid rgba(255,255,255,.92); border-radius:22px 27px 21px 25px; background:rgba(255,255,255,.78); box-shadow:inset 0 1px 0 #fff,0 20px 48px rgba(31,50,42,.11); }
.ai-prompt-box textarea { flex:1; min-height:68px; max-height:170px; padding:13px; border:0; outline:0; resize:vertical; background:transparent; font-size:16px; }
.ai-prompt-box .btn { min-width:132px; margin:0 0 1px; }
.prompt-suggestions { display:flex; justify-content:center; flex-wrap:wrap; gap:7px; margin-top:13px; }
.prompt-suggestions button { padding:6px 10px; border:1px solid rgba(255,255,255,.8); border-radius:999px; color:var(--muted); background:rgba(255,255,255,.48); font-size:12px; }
.prompt-suggestions button:hover { color:var(--brand); background:var(--brand-2); }
.generation-status { min-height:20px; margin-top:12px; color:var(--muted); font-size:12px; }
.generation-status.loading::before { content:""; display:inline-block; width:8px; height:8px; margin-right:7px; border:2px solid #a9c9bf; border-top-color:var(--brand); border-radius:50%; animation:orbita-spin .7s linear infinite; }
.generation-status.success { color:var(--success); }.generation-status.warning{color:var(--warning)}.generation-status.error{color:var(--danger)}
.recent-projects { margin-top:20px; }
.recent-projects[hidden] { display:none; }
.recent-projects-head { display:flex;align-items:flex-end;justify-content:space-between;gap:16px;padding:0 3px 11px; }.recent-projects-head span { color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.13em; }.recent-projects-head h3 { margin:3px 0 0;font-size:21px;letter-spacing:-.035em; }.recent-projects-head a { color:var(--muted);font-size:11px; }
.recent-project-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px; }
.recent-project-card { min-width:0;display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:10px;padding:14px;border:1px solid rgba(29,29,31,.065);border-radius:17px 21px 16px 20px;text-align:left;background:rgba(255,255,255,.74); }
.recent-project-card>span { width:38px;height:38px;display:grid;place-items:center;border-radius:13px 16px 12px 15px;color:var(--brand);background:var(--brand-2); }.recent-project-card b,.recent-project-card small { display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }.recent-project-card b { font-size:13px; }.recent-project-card small { margin-top:2px;color:var(--muted);font-size:10px; }.recent-project-card em { color:var(--muted);font-style:normal;font-size:18px; }.recent-project-new { grid-template-columns:38px 1fr;border-style:dashed;color:var(--text); }
.ai-generated-workspace { margin-top:16px; }
.ai-workspace-head { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; padding:18px 4px; }
.ai-workspace-head h2 { margin:7px 0 3px; font-size:30px; letter-spacing:-.04em; }
.ai-workspace-head p { margin:0; color:var(--muted); }
.ai-preview-layout { display:grid; grid-template-columns:minmax(0,1fr) 300px; gap:12px; min-height:640px; }
.ai-preview-shell { min-width:0; display:flex; flex-direction:column; overflow:hidden; border:1px solid rgba(29,29,31,.07); border-radius:25px 31px 24px 29px; background:#e9ebee; }
.ai-preview-shell .preview-bar { flex:none; }
.preview-bar em { color:var(--muted); font-style:normal; font-size:10px; }
.preview-device-switch { display:flex;gap:3px;padding:3px;border-radius:9px;background:rgba(255,255,255,.62); }.preview-device-switch button { padding:4px 7px;border:0;border-radius:7px;color:var(--muted);background:transparent;font-size:9px; }.preview-device-switch button.active { color:var(--text);background:#fff;box-shadow:0 3px 10px rgba(27,38,33,.08); }
.ai-preview-shell iframe { flex:1; width:calc(100% - 18px); margin:0 9px 9px; border:0; border-radius:15px 19px 14px 18px; background:#fff; box-shadow:0 14px 34px rgba(28,35,32,.11);transition:width .25s ease,margin .25s ease; }
.ai-preview-shell.is-mobile iframe { width:min(390px,calc(100% - 32px));margin:0 auto 9px; }
.ai-refine-panel { align-self:stretch; display:flex; flex-direction:column; padding:18px; border-radius:23px 28px 22px 26px; }
.ai-refine-panel > div:first-child { display:flex; align-items:center; gap:9px; }
.ai-refine-panel h3 { margin:0; }
.ai-mini-orb { width:28px;height:28px;display:grid;place-items:center;border-radius:10px 13px 10px 12px;color:#fff;background:var(--brand);font-size:11px; }
.ai-conversation { flex:1; margin:18px 0; overflow:auto; color:var(--muted); font-size:13px; }
.ai-conversation p { padding:12px; border-radius:13px; background:rgba(255,255,255,.58); }
.conversation-row { margin:9px 0 9px 18px; padding:10px 12px; border-radius:13px 13px 4px 13px; color:var(--text); background:rgba(212,234,226,.78); font-size:12px; }
.refine-box { padding:6px; border:1px solid rgba(255,255,255,.86); border-radius:16px 20px 15px 19px; background:rgba(255,255,255,.66); }
.refine-box textarea { width:100%; min-height:78px; padding:9px; border:0; outline:0; resize:vertical; background:transparent; font-size:13px; }
.refine-box button { width:100%; padding:9px; border:0; border-radius:11px; color:#fff; background:var(--text); font-weight:700; }
.advanced-code { overflow:hidden; margin-top:12px; border-radius:19px 23px 18px 22px; background:#202321; }
.advanced-code #codeEditor { min-height:400px; }
.publish-details { margin-top:12px; padding:16px 18px; border:1px solid rgba(29,29,31,.07); border-radius:18px 22px 17px 21px; background:rgba(255,255,255,.72); }
.publish-details summary { cursor:pointer; font-weight:700; }
.publish-details .form-grid { margin-top:16px; }
.ai-generated-workspace .builder-publish { margin-top:12px; }

/* Compact AI navigation */
.ai-nav { margin-left:auto; position:relative; }
.ai-nav-trigger {
  min-width:82px;height:42px;display:flex;align-items:center;justify-content:center;gap:7px;padding:0 14px;
  border:1px solid rgba(255,255,255,.86);border-radius:15px 19px 14px 18px;color:var(--text);
  background:rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.94),0 8px 22px rgba(27,43,37,.06);
  backdrop-filter:blur(18px) saturate(160%);-webkit-backdrop-filter:blur(18px) saturate(160%);
  transition:transform .18s ease,background .18s ease,box-shadow .18s ease;
}
.ai-nav-trigger:hover,.ai-nav-trigger[aria-expanded="true"] { transform:translateY(-1px);background:rgba(255,255,255,.9);box-shadow:inset 0 1px 0 #fff,0 12px 28px rgba(29,48,41,.1); }
.ai-nav-trigger span { color:var(--brand);font-size:15px; }
.ai-nav-trigger em { font-style:normal;font-weight:700;font-size:13px; }
.ai-nav-panel {
  width:min(480px,calc(100vw - 28px));position:absolute;z-index:120;top:52px;right:0;padding:24px;
  border:1px solid rgba(255,255,255,.84);border-radius:25px 31px 24px 29px;
  background:rgba(249,249,250,.9);box-shadow:0 28px 80px rgba(24,39,33,.2),inset 0 1px 0 #fff;
  backdrop-filter:blur(32px) saturate(175%);-webkit-backdrop-filter:blur(32px) saturate(175%);
}
.ai-nav-panel[hidden] { display:none; }
.ai-nav-panel::before { content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:radial-gradient(circle at 12% 100%,rgba(174,226,207,.28),transparent 38%),radial-gradient(circle at 94% 0,rgba(195,211,248,.27),transparent 36%); }
.ai-nav-panel-head { display:flex;align-items:center;justify-content:space-between; }
.ai-nav-panel-head span { color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.13em; }
.ai-nav-panel-head button { width:32px;height:32px;border:0;border-radius:50%;color:var(--muted);background:rgba(232,233,235,.7);font-size:20px; }
.ai-nav-panel h2 { margin:10px 0 5px;font-size:30px;letter-spacing:-.045em; }
.ai-nav-panel > p { margin:0;color:var(--muted);font-size:13px; }
.ai-nav-form { display:flex;gap:7px;margin-top:19px;padding:6px;border:1px solid rgba(255,255,255,.92);border-radius:17px 21px 16px 20px;background:rgba(255,255,255,.8);box-shadow:inset 0 1px 0 #fff,0 12px 30px rgba(30,47,40,.08); }
.ai-nav-form input { flex:1;min-width:0;padding:8px 10px;border:0;outline:0;background:transparent;font-size:14px; }
.ai-nav-form .btn { min-width:72px;padding-inline:16px; }
.ai-nav-suggestions { display:flex;flex-wrap:wrap;gap:6px;margin-top:10px; }
.ai-nav-suggestions button { padding:6px 9px;border:1px solid rgba(255,255,255,.82);border-radius:999px;color:var(--muted);background:rgba(255,255,255,.46);font-size:11px; }
.ai-nav-suggestions button:hover { color:var(--brand);background:var(--brand-2); }

/* Direct recommendation feed */
.home-main { min-height:calc(100vh - 72px); }
.home-feed { padding:38px 0 88px; }
.home-grid { grid-auto-rows:330px; }
.home-grid > .empty:only-child { grid-column:1/-1;min-height:330px;display:flex;flex-direction:column;align-items:center;justify-content:center; }
.home-card { min-height:0;height:100%;padding:0;overflow:hidden; }
.home-card-visual { height:148px;flex:none;position:relative;display:flex;align-items:flex-start;justify-content:space-between;padding:20px;overflow:hidden;background:radial-gradient(circle at 18% 110%,rgba(169,222,204,.65),transparent 42%),radial-gradient(circle at 95% 0,rgba(191,209,247,.62),transparent 46%),linear-gradient(145deg,#eef4f1,#eff1f7); }
.home-card-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.home-card-visual:has(.home-card-cover-image):after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.08),rgba(0,0,0,.3))}.home-card-visual:has(.home-card-cover-image)>span{position:relative;z-index:2;color:#fff;text-shadow:0 1px 9px rgba(0,0,0,.3)}
.home-card-domain-label { z-index:2;max-width:58%;overflow:hidden;padding:5px 8px;border:1px solid rgba(255,255,255,.76);border-radius:999px;color:var(--brand);background:rgba(255,255,255,.48);font-size:10px;font-weight:750;text-overflow:ellipsis;white-space:nowrap;backdrop-filter:blur(12px); }
.home-card-signal { z-index:2;padding:5px 8px;border:1px solid rgba(255,255,255,.76);border-radius:999px;color:rgba(29,29,31,.62);background:rgba(255,255,255,.48);font-size:10px;backdrop-filter:blur(12px); }
.home-card-copy { flex:1;display:flex;flex-direction:column;padding:20px 22px 22px; }
.home-card-copy > p { display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2; }
.home-card-meta { margin-top:auto; }

/* Product detail */
.product-shell { max-width:1120px; }
.product-hero { display:grid;grid-template-columns:minmax(0,1.38fr) minmax(330px,.72fr);gap:14px;align-items:stretch; }
.product-preview,.product-intro { min-height:520px; }
.product-preview { display:flex;padding:20px;border:1px solid rgba(29,29,31,.07);border-radius:30px 37px 29px 35px;background:radial-gradient(circle at 8% 100%,rgba(170,222,204,.33),transparent 33%),radial-gradient(circle at 94% 0,rgba(197,211,245,.33),transparent 36%),rgba(237,239,241,.72); }
.product-preview-browser { flex:1;min-width:0;display:flex;flex-direction:column;overflow:hidden;border:1px solid rgba(255,255,255,.88);border-radius:20px 25px 19px 23px;background:#fff;box-shadow:0 22px 55px rgba(27,41,36,.14); }
.product-preview-bar { height:42px;display:flex;align-items:center;justify-content:space-between;padding:0 14px;color:var(--muted);background:rgba(244,245,246,.9);font-size:10px; }
.product-preview-bar span { display:flex;gap:5px; }.product-preview-bar i { width:7px;height:7px;border-radius:50%;background:#c5c8c7; }.product-preview-bar em { font-style:normal; }
.product-preview-frame { flex:1;width:100%;border:0;background:#fff; }
.product-media-stack { flex:1;min-height:0;position:relative;display:grid;overflow:hidden;background:#eef0ef; }
.product-media-stack > * { grid-area:1 / 1; }
.product-preview-media { z-index:1;width:100%;height:100%;min-height:0;object-fit:cover;background:#eef0ef; }
video.product-preview-media { object-fit:contain;background:#111412; }
video.product-preview-media.is-video { opacity:0;transition:opacity .2s ease; }
video.product-preview-media.is-video.is-ready { opacity:1; }
.product-mock-content { flex:1;display:grid;grid-template-columns:70px 1fr; }
.product-mock-sidebar { display:flex;flex-direction:column;align-items:center;gap:12px;padding-top:28px;border-right:1px solid rgba(29,29,31,.07);background:#f7f8f8; }
.product-mock-sidebar span { width:27px;height:8px;border-radius:999px;background:#dde1df; }.product-mock-sidebar span.active { height:27px;border-radius:9px 12px 9px 11px;background:#315e52; }
.product-mock-canvas { padding:48px 42px; }
.product-mock-canvas small { color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.1em; }
.product-mock-canvas h2 { max-width:500px;margin:11px 0 10px;font-size:clamp(31px,4vw,48px);line-height:1.02;letter-spacing:-.055em; }
.product-mock-canvas > p { max-width:520px;margin:0;color:var(--muted); }
.product-mock-grid { display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:38px; }
.product-mock-grid div { min-height:94px;padding:14px;border:1px solid rgba(29,29,31,.07);border-radius:15px 18px 14px 17px;background:#f7f8f8; }
.product-mock-grid span { display:block;color:var(--brand);font-size:11px; }.product-mock-grid b { display:block;margin-top:18px;font-size:12px;line-height:1.35; }
.product-intro { display:flex;flex-direction:column;padding:30px;border-radius:29px 35px 28px 33px; }
.product-kicker { display:flex;justify-content:space-between;align-items:center; }
.product-badges,.product-social-actions { display:flex;align-items:center;gap:7px; }
.product-price { color:var(--brand);background:rgba(228,242,237,.88); }
.product-favorite { width:38px;height:38px;border:1px solid rgba(255,255,255,.86);border-radius:50%;color:var(--muted);background:rgba(255,255,255,.5);font-size:19px; }
.product-heading { display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:15px;margin-top:28px; }
.product-heading .product-logo { width:64px;height:64px;border-radius:20px 25px 19px 23px; }
.product-heading .product-logo b { font-size:23px; }
.product-taxonomy { color:var(--brand);font-size:11px;font-weight:800;letter-spacing:.08em; }
.product-intro h1 { margin:7px 0 0;font-size:clamp(34px,4vw,52px);line-height:1;letter-spacing:-.06em; }
.product-summary { margin:0;color:var(--muted);font-size:16px;line-height:1.65; }
.product-proof { display:flex;align-items:baseline;gap:6px;margin:22px 0; }.product-proof b { font-size:22px; }.product-proof span { color:var(--muted);font-size:11px; }.product-proof i { width:1px;height:18px;margin:0 7px;background:var(--line); }
.product-actions { margin-top:auto; }.product-actions .btn + .btn { margin-top:8px; }
.product-destination { margin-top:10px;color:var(--muted);font-size:10px;text-align:center; }
.product-author-link { display:inline-flex;align-items:center;align-self:flex-start;margin-top:13px;padding-top:12px;border-top:1px solid var(--line);color:var(--muted);font-size:11px; }
.product-author-link:hover { color:var(--brand); }
.product-built,.product-section { margin-top:50px; }
.product-built { padding:25px;border:1px solid rgba(29,29,31,.07);border-radius:27px 33px 26px 31px;background:rgba(255,255,255,.78); }
.product-content { max-width:980px;margin:0 auto;padding-bottom:50px; }
.product-section-title { display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px; }
.product-section-title span { color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.14em; }.product-section-title h2 { margin:5px 0 0;font-size:31px;letter-spacing:-.04em; }.product-section-title small { color:var(--muted); }
.product-guide-list { overflow:hidden;border:1px solid rgba(29,29,31,.07);border-radius:22px 27px 21px 25px;background:rgba(255,255,255,.8); }
.product-guide-list a { display:grid;grid-template-columns:44px 1fr auto;align-items:center;gap:14px;padding:20px;border-bottom:1px solid var(--line); }.product-guide-list a:last-child { border-bottom:0; }.product-guide-list > a > span { color:var(--brand);font-size:12px;font-weight:800; }.product-guide-list h3 { margin:0 0 4px;font-size:17px; }.product-guide-list p { margin:0;color:var(--muted);font-size:13px; }.product-guide-list em { color:var(--muted);font-style:normal;font-size:12px; }
.product-related-grid { display:grid;grid-template-columns:repeat(2,1fr);gap:8px; }.product-related-grid a { min-height:94px;position:relative;padding:18px 42px 18px 18px;border:1px solid rgba(29,29,31,.07);border-radius:18px 22px 17px 21px;background:rgba(255,255,255,.74); }.product-related-grid small,.product-related-grid b { display:block; }.product-related-grid small { color:var(--muted);font-size:10px; }.product-related-grid b { margin-top:9px;font-size:14px; }.product-related-grid a > span { position:absolute;right:17px;top:35px;color:var(--muted);font-size:20px; }.product-improve { display:inline-block;margin-top:15px;color:var(--brand);font-size:13px; }
.product-improve-only { margin-top:34px; }
.product-feedback { margin-top:40px;overflow:hidden;border:1px solid rgba(29,29,31,.07);border-radius:20px 25px 19px 23px;background:rgba(255,255,255,.68); }.product-feedback summary { display:flex;justify-content:space-between;gap:12px;padding:20px;cursor:pointer;font-weight:700; }.product-feedback summary small { color:var(--muted);font-weight:400; }.product-feedback-body { padding:0 20px 20px; }.product-feedback-body > p { color:var(--muted); }.product-feedback-body .textarea { margin-top:10px;min-height:90px; }

/* Need drawer */
.need-drawer { width:min(520px,100%);max-width:none;height:100dvh;max-height:none;position:fixed;inset:0 0 0 auto;margin:0;padding:0;border:0;border-left:1px solid rgba(255,255,255,.82);border-radius:32px 0 0 36px;color:var(--text);background:rgba(249,249,250,.92);box-shadow:-24px 0 70px rgba(24,38,33,.16);backdrop-filter:blur(30px) saturate(170%);-webkit-backdrop-filter:blur(30px) saturate(170%); }
.need-drawer::backdrop { background:rgba(29,35,32,.28);backdrop-filter:blur(5px); }
.need-drawer[open] { display:flex;flex-direction:column;animation:need-in .25s ease-out; }
@keyframes need-in { from { transform:translateX(30px);opacity:0; } }
#needDrawerBody { min-height:0;display:flex;flex:1;flex-direction:column; }
.need-drawer-head { display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:28px 28px 18px; }.need-drawer-head > div > span { color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.13em; }.need-drawer-head h2 { margin:7px 0 0;font-size:30px;line-height:1.15;letter-spacing:-.045em; }.need-drawer-head button { width:36px;height:36px;flex:none;border:0;border-radius:50%;color:var(--muted);background:rgba(229,231,232,.74);font-size:22px; }
.need-drawer-scroll { flex:1;min-height:0;overflow:auto;padding:0 28px 28px; }.need-drawer-meta { display:flex;align-items:center;gap:8px; }.need-drawer-meta a { color:var(--muted);font-size:12px; }.need-drawer-author { margin:15px 0 8px; }.need-drawer-context { margin:12px 0 24px;color:var(--muted);font-size:16px;line-height:1.7; }
.need-drawer-section { padding:18px 0;border-top:1px solid var(--line); }.need-drawer-section > small { display:block;margin-bottom:9px;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.08em; }.need-drawer-section > p { margin:0; }
.need-drawer-numbers { display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:5px 0 10px; }.need-drawer-numbers div { padding:15px;border-radius:16px 19px 15px 18px;background:rgba(235,236,238,.72); }.need-drawer-numbers b,.need-drawer-numbers span { display:block; }.need-drawer-numbers b { font-size:21px; }.need-drawer-numbers span { margin-top:3px;color:var(--muted);font-size:10px; }
.need-solution-list { display:flex;flex-direction:column;gap:7px; }.need-solution-list a { display:grid;grid-template-columns:34px 1fr 18px;align-items:center;gap:11px;padding:13px;border:1px solid rgba(29,29,31,.07);border-radius:16px 20px 15px 19px;background:rgba(255,255,255,.72); }.need-solution-list a > span { width:34px;height:34px;display:grid;place-items:center;border-radius:12px;color:var(--brand);background:var(--brand-2); }.need-solution-list b { font-size:13px; }.need-solution-list p { margin:3px 0 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--muted);font-size:11px; }.need-solution-list em { color:var(--muted);font-style:normal;font-size:20px; }.need-drawer-empty { padding:18px;border-radius:18px;background:rgba(234,235,237,.64); }.need-drawer-empty p { margin:5px 0 0;color:var(--muted);font-size:12px; }
.need-drawer-actions { display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:14px 28px 22px;border-top:1px solid rgba(29,29,31,.07);background:rgba(249,249,250,.8); }

/* Tutorial workspace */
.tutorial-shell { max-width:1120px; }.tutorial-hero { display:grid;grid-template-columns:1fr auto;gap:30px;align-items:end;padding:34px;border-radius:30px 37px 29px 35px; }.tutorial-eyebrow { display:flex;gap:7px; }.tutorial-eyebrow span { padding:5px 9px;border-radius:999px;color:var(--brand);background:var(--brand-2);font-size:10px;font-weight:750; }.tutorial-hero h1 { max-width:800px;margin:14px 0 12px;font-size:clamp(39px,6vw,68px);line-height:.98;letter-spacing:-.065em; }.tutorial-hero-main > p { max-width:710px;margin:0;color:var(--muted);font-size:16px; }.tutorial-author { margin-top:18px; }
.tutorial-hero-action { min-width:260px;display:grid;grid-template-columns:1fr 1fr;gap:7px; }.tutorial-hero-action > div { padding:13px;border-radius:16px 20px 15px 19px;background:rgba(255,255,255,.58); }.tutorial-hero-action b,.tutorial-hero-action span { display:block; }.tutorial-hero-action b { font-size:21px; }.tutorial-hero-action span { color:var(--muted);font-size:10px; }.tutorial-hero-action .btn { grid-column:1/-1; }
.tutorial-result,.tutorial-prep { margin-top:48px; }.tutorial-section-head > span { color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.14em; }.tutorial-section-head h2 { margin:6px 0 18px;font-size:31px;letter-spacing:-.04em; }
.tutorial-result-preview { display:grid;grid-template-columns:1.35fr .65fr;overflow:hidden;border:1px solid rgba(29,29,31,.07);border-radius:27px 33px 26px 31px;background:rgba(255,255,255,.72); }.tutorial-result-window { margin:20px;overflow:hidden;border:1px solid rgba(255,255,255,.9);border-radius:19px 24px 18px 22px;background:#fff;box-shadow:0 18px 44px rgba(28,43,37,.12); }.tutorial-result-bar { height:38px;display:flex;align-items:center;gap:5px;padding:0 13px;background:#f2f3f4; }.tutorial-result-bar i { width:7px;height:7px;border-radius:50%;background:#c8cbca; }.tutorial-result-canvas { min-height:270px;padding:47px;background:radial-gradient(circle at 100% 0,rgba(195,211,247,.35),transparent 42%),radial-gradient(circle at 0 100%,rgba(173,224,205,.38),transparent 44%),#f8faf9; }.tutorial-result-canvas small { color:var(--brand);font-weight:800; }.tutorial-result-canvas h3 { max-width:580px;margin:14px 0 42px;font-size:clamp(26px,4vw,43px);line-height:1.08;letter-spacing:-.05em; }.tutorial-result-canvas div { display:flex;gap:8px; }.tutorial-result-canvas div span { width:28%;height:10px;border-radius:999px;background:rgba(43,90,77,.2); }.tutorial-result-copy { display:flex;flex-direction:column;justify-content:center;padding:30px;border-left:1px solid var(--line); }.tutorial-result-copy p { margin:0 0 9px;color:var(--muted); }.tutorial-result-copy b { font-size:20px;line-height:1.5; }.tutorial-result-copy a { margin-top:30px;color:var(--brand);font-size:13px; }
.tutorial-prep-grid { display:grid;grid-template-columns:repeat(3,1fr);overflow:hidden;border:1px solid rgba(29,29,31,.07);border-radius:22px 27px 21px 25px;background:rgba(255,255,255,.72); }.tutorial-prep-grid div { min-height:100px;padding:20px;border-right:1px solid var(--line); }.tutorial-prep-grid div:last-child { border-right:0; }.tutorial-prep-grid small { color:var(--muted); }.tutorial-prep-grid p { margin:12px 0 0;font-weight:600;line-height:1.5; }
.tutorial-workspace { display:grid;grid-template-columns:230px minmax(0,1fr);gap:14px;align-items:start;margin-top:50px;scroll-margin-top:100px; }.tutorial-progress { position:sticky;top:92px;padding:18px;border-radius:21px 26px 20px 24px; }.tutorial-progress-head { display:flex;justify-content:space-between;align-items:center;font-size:12px; }.tutorial-progress-head b { color:var(--brand); }.tutorial-progress-track { height:5px;margin:10px 0 14px;overflow:hidden;border-radius:999px;background:rgba(29,29,31,.08); }.tutorial-progress-track i { display:block;height:100%;border-radius:inherit;background:var(--brand);transition:width .25s ease; }.tutorial-progress ol { margin:0;padding:0;list-style:none; }.tutorial-progress li + li { margin-top:5px; }.tutorial-progress a { display:flex;align-items:center;gap:8px;padding:7px;border-radius:11px;color:var(--muted);font-size:11px; }.tutorial-progress a:hover { background:rgba(255,255,255,.62); }.tutorial-progress a span { width:23px;height:23px;display:grid;place-items:center;flex:none;border-radius:8px;background:rgba(229,231,232,.78);font-size:10px; }.tutorial-progress a.done { color:var(--brand); }.tutorial-progress a.done span { color:#fff;background:var(--brand); }
.tutorial-step-list { display:flex;flex-direction:column;gap:12px; }.tutorial-step-card { display:grid;grid-template-columns:58px 1fr;gap:18px;padding:26px;border:1px solid rgba(29,29,31,.07);border-radius:25px 31px 24px 29px;background:rgba(255,255,255,.84);transition:border-color .2s ease,box-shadow .2s ease;scroll-margin-top:100px; }.tutorial-step-card.is-complete { border-color:rgba(40,104,88,.18);box-shadow:inset 4px 0 0 rgba(40,104,88,.58); }.tutorial-step-number { width:54px;height:54px;display:grid;place-items:center;border-radius:18px 22px 17px 21px;color:#fff;background:linear-gradient(145deg,#1b1e1c,#353b38);font-size:13px;font-weight:800; }.tutorial-step-title { display:flex;align-items:flex-start;justify-content:space-between;gap:18px; }.tutorial-step-title small { color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.12em; }.tutorial-step-title h2 { margin:5px 0 0;font-size:24px;letter-spacing:-.035em; }.tutorial-step-content > p { margin:13px 0 0;color:var(--muted);line-height:1.7; }.step-complete { flex:none;padding:8px 11px;border:1px solid rgba(29,29,31,.08);border-radius:11px;color:var(--muted);background:rgba(245,246,247,.8);font-size:11px; }.tutorial-step-card.is-complete .step-complete { color:var(--brand);background:var(--brand-2); }
.tutorial-feedback { display:grid;grid-template-columns:1fr 280px;gap:22px;padding:27px;border:1px solid rgba(29,29,31,.07);border-radius:25px 31px 24px 29px;background:rgba(235,236,238,.6);opacity:.64; }.tutorial-feedback.is-ready { background:radial-gradient(circle at 0 100%,rgba(176,225,208,.32),transparent 38%),rgba(255,255,255,.82);opacity:1; }.tutorial-feedback > div:first-child > span { color:var(--brand);font-size:10px;font-weight:800;letter-spacing:.1em; }.tutorial-feedback h2 { margin:7px 0 6px;font-size:25px; }.tutorial-feedback p { margin:0;color:var(--muted); }.tutorial-feedback .textarea { grid-column:1/-1;min-height:90px; }.tutorial-feedback button:disabled,.tutorial-feedback textarea:disabled { cursor:not-allowed;opacity:.5; }

@media (max-width: 980px) {
  .product-hero { grid-template-columns:1fr; }.product-preview,.product-intro { min-height:auto; }.product-preview { min-height:500px; }.product-intro { padding:26px; }.product-actions { margin-top:25px; }
  .tutorial-result-preview { grid-template-columns:1fr; }.tutorial-result-copy { border-top:1px solid var(--line);border-left:0; }.tutorial-workspace { grid-template-columns:190px 1fr; }
}

@media (max-width: 980px) {
  .discover-filters { grid-template-columns: repeat(4, 1fr); }
  .domain-filter-chips { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .filter-search { grid-column: 1 / -1; }
  .ranking-row { grid-template-columns: 38px 48px minmax(0, 1fr) 110px 74px; padding-inline: 16px; }
  .ranking-row.product-ranking-row { grid-template-columns: 38px 54px minmax(0, 1fr) 156px; }
  .studio-grid { grid-template-columns: 1fr; }
  .code-pane { min-height: 430px; border-right: 0; border-bottom: 1px solid var(--line); }
  .preview-pane { min-height: 540px; }
  .ai-preview-layout { grid-template-columns:1fr; }
  .ai-refine-panel { min-height:300px; }
  .creator-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width: 900px) {
  body { padding-bottom: 70px; }
  .topbar {
    background: rgba(247, 247, 249, .94);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .nav { height: 64px; }
  .nav-links {
    grid-template-columns: repeat(5, 1fr);
    gap: 3px;
    height: 62px;
    padding: 6px 10px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .76);
    border-radius: 22px 22px 0 0;
    background: rgba(248, 248, 250, .78);
    box-shadow: 0 -10px 32px rgba(34, 47, 42, .08);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
  }
  .nav-links a { display: grid; place-items: center; padding: 7px 3px; border-radius: 14px; }
  .nav-links a.active { background: rgba(255, 255, 255, .86); }
  .nav-links .nav-create { min-width:0;display:flex;border-radius:14px;transform:translateY(-2px); }
  .discover-controls { top: 76px; }
  .ranking-row { grid-template-columns: 38px 48px minmax(0, 1fr) 66px; }
  .ranking-row.product-ranking-row { grid-template-columns: 38px 54px minmax(0, 1fr) 148px; }
  .rank-stats { grid-column: 3 / 4; flex-direction: row; text-align: left; }
  .rank-actions { grid-column: 4; grid-row: 1 / span 2; }
  .product-ranking-row .rank-actions { grid-column: 4;grid-row:1; }
}

@media (max-width: 700px) {
  .ai-nav-trigger { min-width:54px;width:54px;padding:0; }
  .ai-nav-trigger em { display:block;font-size:12px; }
  .ai-nav-panel { position:fixed;top:72px;right:14px; }
  .brand { margin-right: auto; }
  .home-feed { padding-top:20px; }
  .home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-grid { grid-auto-rows:320px; }
  .discover-main { padding-top: 20px; }
  .discover-heading { padding: 16px 2px 20px; }
  .discover-controls { position: static; }
  .discover-filters { grid-template-columns: 1fr 1fr; }
  .domain-filter-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .taxonomy-dialog { width:calc(100vw - 18px);max-height:calc(100vh - 18px); }
  .taxonomy-editor { padding:18px; }
  .taxonomy-editor-layout { grid-template-columns:1fr; }
  .taxonomy-domain-editor { padding-bottom:9px; }
  #taxonomyDomainEditorList { max-height:none;flex-direction:row;overflow-x:auto; }
  #taxonomyDomainEditorList > button { min-width:130px; }
  .taxonomy-direction-list { min-height:130px; }
  .leaderboard-switch { width: 100%; }
  .filter-search { grid-column: 1 / -1; }
  .ranking-row { grid-template-columns: 36px 44px minmax(0, 1fr) 40px; gap: 11px; }
  .ranking-row.product-ranking-row { grid-template-columns: 32px 48px minmax(0, 1fr);gap:11px; }
  .rank-copy p { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .rank-stats { grid-column: 3 / 5; }
  .rank-actions { grid-column: 4; }
  .rank-actions .favorite-icon { display: none; }
  .product-ranking-row .rank-actions { grid-column:3;grid-row:auto;justify-content:flex-start;margin-top:3px; }
  .product-ranking-row .rank-open-button { min-height:32px;padding-inline:12px; }
  .create-heading { align-items:flex-start;flex-direction:column;gap:5px;padding-top:8px; }
  .create-heading>div { align-items:baseline; }
  .create-heading h1 { font-size: 40px; }
  .create-kind-switch { width: 100%; }
  .create-kind-switch button { flex: 1; min-width: 0; }
  .import-start { padding: 22px; }
  .smart-url { flex-direction: column; }
  .smart-url .btn { width: 100%; }
  .builder-toolbar { align-items: flex-start; flex-direction: column; }
  .template-switch { width: 100%; overflow-x: auto; }
  .template-switch button { flex: 1; white-space: nowrap; }
  .builder-publish { align-items: stretch; flex-wrap: wrap; }
  .builder-publish > div { flex-basis: 100%; }
  .author-hero { grid-template-columns:84px 1fr; padding:24px; gap:17px; }
  .author-avatar-large { width:82px;height:82px;font-size:28px; }
  .author-follow { grid-column:1/-1;width:100%; }
  .author-actions { grid-column:1/-1;width:100%; }.author-actions .btn { flex:1; }
  .profile-creator-hero { grid-template-columns:84px 1fr; }
  .profile-actions { grid-column:1/-1;width:100%; }
  .profile-actions .btn { flex:1; }
  .profile-creator-hero .author-numbers { grid-column:1/-1;overflow-x:auto; }
  .profile-creator-hero .author-numbers div { min-width:78px;padding-inline:14px; }
  .ai-build-prompt { min-height:320px;padding:30px 20px; }
  .ai-prompt-box { flex-direction:column;align-items:stretch; }
  .ai-prompt-box .btn { width:100%; }
  .recent-project-grid { grid-template-columns:1fr 1fr; }
  .product-preview { min-height:410px;padding:12px; }.product-mock-content { grid-template-columns:48px 1fr; }.product-mock-canvas { padding:34px 24px; }.product-mock-grid { grid-template-columns:1fr;gap:6px;margin-top:24px; }.product-mock-grid div { min-height:auto; }.product-mock-grid b { margin-top:8px; }.product-related-grid { grid-template-columns:1fr; }.product-guide-list a { grid-template-columns:32px 1fr; }.product-guide-list em { grid-column:2; }.tutorial-hero { grid-template-columns:1fr;padding:25px; }.tutorial-hero-action { min-width:0; }.tutorial-prep-grid { grid-template-columns:1fr; }.tutorial-prep-grid div { border-right:0;border-bottom:1px solid var(--line); }.tutorial-prep-grid div:last-child { border-bottom:0; }.tutorial-workspace { grid-template-columns:1fr; }.tutorial-progress { position:static; }.tutorial-progress ol { display:none; }.tutorial-step-card { grid-template-columns:1fr; }.tutorial-step-number { width:44px;height:44px; }.tutorial-feedback { grid-template-columns:1fr; }.tutorial-feedback .textarea { grid-column:1; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .brand small { display: none; }
  .home-hero { min-height: 390px; padding-top: 54px; }
  .home-hero h1 { font-size: 40px; letter-spacing: -.055em; }
  .liquid-search { border-radius: 19px 23px 18px 22px; }
  .liquid-search .btn { min-width: 76px; width: auto; }
  .quick-tags a:last-child { display: none; }
  .home-recommend { margin-top: 8px; padding-bottom: 54px; }
  .section-head-minimal h2 { font-size: 26px; }
  .home-grid { grid-template-columns: 1fr; }
  .home-grid { grid-auto-rows:310px; }
  .home-card { min-height: 196px; }
  .discover-heading h1 { font-size: 46px; }
  .discover-controls { padding: 7px; border-radius: 21px 25px 20px 24px; }
  .discover-tabs { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .discover-tabs button { min-width: 0; }
  .discover-filters { grid-template-columns: 1fr 1fr; }
  .domain-filter-group { padding-bottom: 3px; }
  .domain-filter-chips { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; }
  .domain-filter-chips button { min-height: 39px; padding-inline: 4px; font-size: 11px; }
  .leaderboard-filter-group,
  .subcategory-filter-group { padding-bottom: 3px; }
  .leaderboard-switch button { min-height: 40px; padding-inline: 5px; }
  .subcategory-filter-chips { gap: 5px; }
  .subcategory-filter-chips button { padding-inline: 10px; }
  .taxonomy-editor-head p { display:none; }
  .taxonomy-editor-head h2 { font-size:26px; }
  .taxonomy-name-fields { grid-template-columns:1fr 72px; }
  .taxonomy-editor-actions .btn { flex:1;min-width:0; }
  .filter-select,
  .filter-search { min-width: 0; }
  .filter-select select { padding-left: 11px; font-size: 13px; }
  .ranking-row { grid-template-columns: 34px minmax(0, 1fr) 36px; padding: 16px 14px; }
  .rank-icon { display: none; }
  .rank-copy { grid-column: 2; }
  .rank-actions { grid-column: 3; }
  .rank-stats { grid-column: 2 / 4; }
  .status-dot { display: none; }
  .rank-title-line a { font-size: 17px; }
  .ranking-row.product-ranking-row { grid-template-columns:30px 44px minmax(0,1fr);padding:16px 14px; }
  .product-ranking-row .rank-logo { width:44px;height:44px;border-radius:14px 18px 13px 17px; }
  .product-ranking-row .rank-logo b { font-size:17px; }
  .product-ranking-row .rank-copy { grid-column:3; }
  .product-ranking-row .rank-actions { grid-column:3; }
  .footer { display: none; }
  .create-page { padding-top: 18px; }
  .create-heading h1 { font-size: 38px; }
  .create-heading p { font-size: 13px; }
  .create-kind-switch button { padding-inline: 8px; }
  .solution-mode-tabs { width: 100%; }
  .solution-mode-tabs button { flex: 1; }
  .import-start { grid-template-columns: 45px 1fr; gap: 13px; border-radius: 23px 27px 22px 26px; }
  .import-orb { width: 45px; height: 45px; }
  .import-start h2 { font-size: 22px; }
  .import-recognition-preview { grid-template-columns:40px minmax(0,1fr); }.import-recognition-preview>span { width:40px;height:40px; }.import-recognition-preview>i { display:none; }
  .import-form,
  .builder-meta,
  .simple-create { padding: 20px; }
  .edit-hint { display: none; }
  .publish-bar { align-items: stretch; flex-direction: column; }
  .studio-grid { min-height: 0; }
  #codeEditor { min-height: 390px; }
  .preview-pane { min-height: 500px; }
  .builder-publish .btn { flex: 1; padding-inline: 12px; }
  .built-app-frame { min-height: 480px; }
  .create-kind-switch button { font-size:13px; gap:4px; }
  .author-name-line h1 { font-size:30px; }
  .author-numbers { grid-template-columns:repeat(2,1fr); }
  .profile-creator-hero { padding:21px;gap:15px; }
  .profile-creator-hero .author-avatar-large { width:78px;height:78px;font-size:27px; }
  .profile-creator-hero .author-name-line h1 { font-size:28px; }
  .profile-creator-hero .author-numbers { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible; }
  .profile-creator-hero .author-numbers div { min-width:0;padding-inline:7px; }
  .profile-creator-hero .author-numbers div:first-child { padding-left:0; }
  .profile-creator-hero .author-numbers b { font-size:18px; }
  .author-tabs { width:100%; }
  .author-tabs button { flex:1;padding-inline:7px; }
  .profile-content-head { align-items:flex-start; flex-direction:column; }
  .profile-editor-dialog form { padding:21px; }
  .profile-editor-grid { grid-template-columns:1fr; }
  .profile-editor-grid .field + .field { margin-top:14px; }
  .creator-grid { grid-template-columns:1fr; }
  .ai-build-title h2 { font-size:34px; }
  .ai-prompt-box textarea { min-height:110px; }
  .recent-project-grid { grid-template-columns:1fr; }
  .ai-preview-layout { min-height:0; }
  .ai-preview-shell { min-height:560px; }
  .ai-refine-panel { min-height:320px; }
  .ai-workspace-head { align-items:flex-start;flex-direction:column; }
  .ai-generated-workspace .builder-publish { position:sticky; }
  .ai-nav-panel { top:68px;right:12px;padding:20px; }.ai-nav-form { flex-direction:column; }.ai-nav-form .btn { width:100%; }.product-preview { min-height:355px; }.product-mock-sidebar { display:none; }.product-mock-content { grid-template-columns:1fr; }.product-mock-canvas { padding:27px 20px; }.product-mock-canvas h2 { font-size:30px; }.product-mock-grid div:nth-child(n+3) { display:none; }.product-heading { grid-template-columns:52px minmax(0,1fr);gap:12px; }.product-heading .product-logo { width:52px;height:52px;border-radius:17px 21px 16px 20px; }.product-intro h1 { font-size:36px; }.product-guide-list a { padding:16px; }.product-related-grid { grid-template-columns:1fr; }.need-drawer { width:100%;height:min(86dvh,760px);inset:auto 0 0;border-left:0;border-top:1px solid rgba(255,255,255,.86);border-radius:28px 33px 0 0; }.need-drawer[open] { animation:need-up .25s ease-out; }@keyframes need-up { from { transform:translateY(30px);opacity:0; } }.need-drawer-head { padding:22px 20px 15px; }.need-drawer-scroll { padding:0 20px 22px; }.need-drawer-actions { padding:12px 20px 18px; }.tutorial-hero h1 { font-size:39px; }.tutorial-result-window { margin:12px; }.tutorial-result-canvas { min-height:220px;padding:30px 24px; }.tutorial-result-copy { padding:24px; }.tutorial-step-card { padding:20px; }.tutorial-step-title { flex-direction:column; }.step-complete { align-self:flex-start; }.tutorial-feedback { padding:21px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

/* Test account, sharing and collaboration surfaces */
.product-social-actions{display:flex;align-items:center;gap:7px}.auth-dialog,.share-dialog{width:min(520px,calc(100% - 28px));padding:0;border:1px solid rgba(255,255,255,.9);border-radius:28px 34px 27px 32px;color:var(--text);background:rgba(250,250,251,.94);box-shadow:0 34px 100px rgba(22,34,29,.25),inset 0 1px 0 #fff;backdrop-filter:blur(30px) saturate(165%)}.auth-dialog::backdrop,.share-dialog::backdrop{background:rgba(25,31,29,.35);backdrop-filter:blur(8px)}.auth-dialog-inner,.share-dialog-inner{padding:25px}.auth-dialog-head,.share-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.auth-dialog-head span,.share-dialog-head span{color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.14em}.auth-dialog-head h2,.share-dialog-head h2{margin:5px 0 0;font-size:29px;letter-spacing:-.045em}.auth-dialog-head button,.share-dialog-head button{width:34px;height:34px;border:0;border-radius:50%;color:var(--muted);background:rgba(232,233,235,.86);font-size:20px}.auth-reason{margin:14px 0 19px;color:var(--muted);font-size:13px;line-height:1.65}.auth-email-form{display:grid;gap:11px;padding:17px;border:1px solid rgba(255,255,255,.72);border-radius:21px 24px 19px 23px;background:linear-gradient(145deg,rgba(239,246,243,.9),rgba(239,240,244,.78));box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.auth-email-form [hidden]{display:none!important}.auth-email-form label{display:grid;gap:7px}.auth-email-form label span{font-size:11px;font-weight:760}.auth-email-form .input[readonly]{color:var(--muted);background:rgba(255,255,255,.62)}.auth-change-email{justify-self:end;margin:-3px 2px 0;padding:3px;border:0;color:var(--brand);background:transparent;font-size:10px;font-weight:750}.auth-status{min-height:20px;margin-top:10px;color:var(--brand);font-size:11px;text-align:center}.auth-guest{display:block;width:100%;margin:2px 0 11px;padding:12px;border:1px solid rgba(29,29,31,.09);border-radius:15px;color:var(--text);background:rgba(255,255,255,.74);font-size:12px;font-weight:760}.auth-guest:hover{background:#fff}.auth-dialog-inner>small{display:block;color:#96969c;font-size:9px;line-height:1.55;text-align:center}.share-work-card{display:grid;grid-template-columns:48px 1fr;align-items:center;gap:12px;margin:18px 0;padding:14px;border:1px solid rgba(29,29,31,.07);border-radius:17px;background:rgba(255,255,255,.8)}.share-work-card>span{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:var(--brand);background:var(--brand-2);font-size:20px}.share-work-card b,.share-work-card small{display:block}.share-work-card small{margin-top:4px;color:var(--muted);font-size:10px}.share-dialog section h3{margin:18px 0 9px;font-size:12px}.share-friends{display:flex;gap:8px;overflow:auto}.share-friends button{min-width:65px;padding:8px;border:0;border-radius:13px;background:rgba(238,239,241,.75)}.share-friends span,.share-friends b{display:block}.share-friends span{width:34px;height:34px;display:grid;place-items:center;margin:auto;border-radius:12px;color:#fff;background:var(--brand)}.share-friends b{margin-top:5px;font-size:9px}.share-empty{padding:14px;border-radius:15px;background:rgba(239,240,242,.72)}.share-empty p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.share-empty a{display:inline-block;margin-top:7px;color:var(--brand);font-size:10px;font-weight:750}.share-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:17px}.share-actions .btn:only-child{grid-column:1/-1}.share-note{display:block;margin-top:11px;color:#96969c;font-size:9px;line-height:1.55;text-align:center}
.author-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px}.author-actions .author-follow{position:static}.author-actions .btn{white-space:nowrap}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid rgba(34,116,93,.25);outline-offset:3px}
@media(max-width:620px){.auth-dialog-inner,.share-dialog-inner{padding:21px}.auth-dialog-head h2,.share-dialog-head h2{font-size:26px}.share-actions{grid-template-columns:1fr}}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar,
  .glass-panel,
  .liquid-search,
  .ai-nav-panel,
  .nav-links { background: rgba(248, 248, 250, .96); }
}

/* 2026-07-23 simplified publishing, discussions and structured tutorials */
.nav-publish{position:relative;display:grid;place-items:center}
.nav-links .nav-create{width:40px;height:40px;min-width:40px;padding:0;border:1px solid rgba(255,255,255,.65);border-radius:13px 17px 12px 16px}
.nav-links .nav-create span{font-size:23px;font-weight:450;transform:translateY(-1px)}
.publish-menu{position:absolute;z-index:80;top:calc(100% + 13px);left:50%;width:190px;padding:7px;border:1px solid rgba(255,255,255,.9);border-radius:19px 23px 18px 21px;background:rgba(249,250,250,.94);box-shadow:0 24px 70px rgba(22,34,29,.2),inset 0 1px 0 #fff;backdrop-filter:blur(28px) saturate(170%);transform:translateX(-50%)}
.publish-menu[hidden]{display:none}
.publish-menu a{display:block;padding:11px 13px!important;border-radius:13px!important;background:transparent!important;box-shadow:none!important;color:var(--text)!important}
.publish-menu a:hover{background:rgba(232,239,236,.9)!important}
.publish-menu a b{font-size:12px}

.discussion-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:start;padding:20px 22px;border:1px solid rgba(29,29,31,.07);border-radius:22px 27px 21px 25px;background:rgba(255,255,255,.78);box-shadow:inset 0 1px 0 rgba(255,255,255,.9);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.discussion-row:hover{transform:translateY(-1px);border-color:rgba(48,98,83,.15);box-shadow:0 15px 34px rgba(28,41,36,.055),inset 0 1px 0 #fff}
.discussion-copy{min-width:0}.discussion-meta{display:flex;align-items:center;gap:9px;flex-wrap:wrap;color:var(--muted);font-size:10px}.feed-author{display:inline-flex;align-items:center;gap:6px;color:var(--text)}.feed-author>span{width:23px;height:23px;display:grid;place-items:center;overflow:hidden;border-radius:8px 10px 8px 9px;color:#fff;background:var(--brand);font-size:9px}.feed-author img{width:100%;height:100%;object-fit:cover}.feed-author b{font-size:10px}.discussion-copy h2{margin:10px 0 6px;font-size:20px;line-height:1.3;letter-spacing:-.025em}.discussion-copy h2 a:hover{color:var(--brand)}.discussion-copy>p{max-width:760px;margin:0;color:var(--muted);font-size:13px;line-height:1.65}.discussion-copy .rank-tags{margin-top:12px}.discussion-stats{min-width:132px;display:flex;flex-direction:column;align-items:flex-end;gap:6px;color:var(--muted);font-size:10px}.discussion-stats a{width:34px;height:34px;display:grid;place-items:center;margin-top:5px;border:1px solid rgba(29,29,31,.08);border-radius:50%;background:rgba(255,255,255,.82);font-size:22px}.feed-sort{min-width:130px;display:flex;align-items:center;gap:8px;padding:0 13px;border:1px solid rgba(255,255,255,.82);border-radius:14px 17px 13px 16px;background:rgba(255,255,255,.57)}.feed-sort span{color:var(--muted);font-size:10px}.feed-sort select{flex:1;padding:11px 18px 11px 0;border:0;outline:0;background:transparent;color:var(--text)}

.publish-composer{padding:26px 28px;border-radius:27px 33px 26px 31px}.publish-composer .builder-section-title{margin-bottom:23px}.textarea-compact{min-height:92px}.field-error{min-height:15px;color:var(--danger);font-size:11px}.purpose-picker{grid-column:1/-1;display:flex;gap:8px;flex-wrap:wrap;margin:0;padding:0;border:0}.purpose-picker legend{width:100%;margin-bottom:3px;font-size:13px;font-weight:750}.purpose-picker input{position:absolute;opacity:0}.purpose-picker span{display:block;padding:10px 14px;border:1px solid rgba(29,29,31,.08);border-radius:13px 16px 12px 15px;background:rgba(255,255,255,.72);font-size:12px}.purpose-picker input:checked+span{border-color:rgba(48,98,83,.2);color:var(--brand);background:var(--brand-2);box-shadow:0 0 0 3px rgba(48,98,83,.08)}.ai-organize-row{display:flex;align-items:center;gap:12px}.ai-organize-row>span,.ai-source-box>div>span{color:var(--brand);font-size:11px}.structured-draft,.guide-meta-editor,.guide-step-builder,.ai-source-box{padding:20px;border:1px solid rgba(29,29,31,.07);border-radius:21px 25px 20px 24px;background:rgba(255,255,255,.55)}.structured-draft-head,.guide-step-builder-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:17px}.structured-draft-head span,.guide-step-builder-head span{color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.13em}.structured-draft-head h3,.guide-step-builder-head h3{margin:4px 0 0;font-size:19px}.compact-attachments{padding:15px 17px;border:1px solid rgba(29,29,31,.07);border-radius:17px 20px 16px 19px;background:rgba(255,255,255,.5)}.compact-attachments summary{cursor:pointer;font-size:12px;font-weight:750}.compact-attachments[open] summary{margin-bottom:15px}.ai-source-box{display:grid;gap:12px}.ai-source-box>label{font-size:13px;font-weight:750}.ai-source-box>div{display:flex;align-items:center;gap:12px}.guide-meta-editor{background:rgba(248,249,249,.72)}
.guide-step-builder{padding:0;border:0;background:transparent}.guide-step-editor{overflow:hidden;margin-top:12px;border:1px solid rgba(29,29,31,.075);border-radius:22px 27px 21px 25px;background:rgba(255,255,255,.76)}.guide-step-editor>header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;padding:12px 13px;border-bottom:1px solid rgba(29,29,31,.06);background:rgba(245,246,247,.7)}.guide-step-editor>header .input{padding:8px 10px;border-color:transparent;background:transparent;font-weight:750}.guide-step-editor>header>div,.guide-block-editor header>div{display:flex;gap:3px}.guide-step-editor header button,.guide-block-editor header button{width:28px;height:28px;border:0;border-radius:9px;color:var(--muted);background:rgba(255,255,255,.7)}.guide-step-editor>footer{display:flex;gap:5px;flex-wrap:wrap;padding:11px 13px;border-top:1px solid rgba(29,29,31,.055)}.guide-step-editor>footer button{padding:6px 9px;border:1px solid rgba(29,29,31,.07);border-radius:10px;color:var(--muted);background:rgba(255,255,255,.76);font-size:10px}.guide-block-list{display:grid;gap:9px;padding:13px}.guide-block-editor{padding:11px;border:1px solid rgba(29,29,31,.065);border-radius:15px 18px 14px 17px;background:rgba(248,249,249,.76)}.guide-block-editor>header{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.guide-block-editor>header>span,.guide-block-editor>label{color:var(--brand);font-size:10px;font-weight:750}.guide-block-editor .textarea{margin-top:7px;min-height:78px}.guide-block-editor .input{margin-top:7px}

.need-attachments{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.need-attachments a{min-height:74px;display:grid;place-items:center;overflow:hidden;padding:10px;border-radius:14px 17px 13px 16px;color:var(--brand);background:rgba(236,241,239,.82);font-size:11px}.need-attachments img{width:100%;height:100px;object-fit:cover;border-radius:10px}.need-discussion{margin-top:20px;padding-top:18px;border-top:1px solid var(--line)}.need-discussion h3{margin:0 0 12px;font-size:18px}.need-discussion article{display:grid;grid-template-columns:30px 1fr;gap:9px;padding:10px 0;border-bottom:1px solid rgba(29,29,31,.055)}.need-discussion article>span{width:30px;height:30px;display:grid;place-items:center;overflow:hidden;border-radius:10px;color:#fff;background:var(--brand);font-size:10px}.need-discussion article img{width:100%;height:100%;object-fit:cover}.need-discussion article b{font-size:11px}.need-discussion article p{margin:3px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.need-discussion-empty{color:var(--muted);font-size:12px}.need-discussion form{display:grid;gap:8px;margin-top:13px}

.tutorial-result-preview.has-media{grid-template-columns:minmax(0,1fr) 170px;align-items:stretch}.tutorial-result-bar span{margin-left:auto;color:var(--muted);font-size:10px}.tutorial-result-media{width:100%;height:330px;display:block;object-fit:cover}.tutorial-result-link{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:26px;border-left:1px solid var(--line);color:var(--brand);font-size:12px;font-weight:750}.tutorial-result-link span{font-size:22px}.tutorial-result-summary{grid-column:1/-1;padding:36px}.tutorial-result-summary>span{color:var(--brand);font-size:10px;font-weight:850;letter-spacing:.12em}.tutorial-result-summary h3{max-width:780px;margin:10px 0 0;font-size:28px;letter-spacing:-.035em}.tutorial-text-block{white-space:pre-wrap}.tutorial-media-block{margin:16px 0 0}.tutorial-media-block img,.tutorial-media-block video{width:100%;max-height:560px;display:block;border-radius:17px 21px 16px 20px;object-fit:contain;background:#eef0ef}.tutorial-media-block video{background:#101311}.tutorial-media-block figcaption{margin-top:8px;color:var(--muted);font-size:12px;line-height:1.6}.tutorial-note-block{margin-top:15px;padding:14px 16px;border-left:3px solid var(--brand);border-radius:7px 15px 14px 7px;background:var(--brand-2)}.tutorial-note-block>span{color:var(--brand);font-size:9px;font-weight:850;letter-spacing:.1em}.tutorial-note-block p{margin:5px 0 0!important;color:var(--text)!important}.step-prompt-copy{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;font:inherit}.tutorial-discussion{padding:25px;border:1px solid rgba(29,29,31,.07);border-radius:25px 31px 24px 29px;background:rgba(255,255,255,.8)}.tutorial-comment-list{display:grid}.tutorial-comment-list article{display:grid;grid-template-columns:38px 1fr;gap:11px;padding:14px 0;border-bottom:1px solid rgba(29,29,31,.06)}.tutorial-comment-list article>span{width:38px;height:38px;display:grid;place-items:center;overflow:hidden;border-radius:13px 16px 12px 15px;color:#fff;background:var(--brand);font-size:11px}.tutorial-comment-list article>span img{width:100%;height:100%;object-fit:cover}.tutorial-comment-list header{display:flex;align-items:center;justify-content:space-between;gap:12px}.tutorial-comment-list b{font-size:12px}.tutorial-comment-list small{color:var(--muted);font-size:9px}.tutorial-comment-list p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.65}.tutorial-comment-empty{color:var(--muted);font-size:13px}.tutorial-comment-form{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end;margin-top:16px}.tutorial-comment-form .textarea{min-height:76px}.tutorial-comment-form .btn{height:44px}

.auth-code-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:-3px}.auth-change-email,.auth-resend-code{padding:3px;border:0;color:var(--brand);background:transparent;font-size:10px;font-weight:750}.auth-resend-code:disabled{color:var(--muted);cursor:default}.auth-delivery-note{display:block;color:var(--muted);font-size:9px;line-height:1.55}.profile-creator-hero .author-numbers{grid-template-columns:repeat(4,minmax(80px,1fr))}

@media(max-width:900px){
  .nav-publish{display:grid}.nav-links .nav-create{width:46px;height:46px;margin:-4px auto 0;border-radius:15px 19px 14px 18px;box-shadow:0 10px 25px rgba(24,31,28,.22),inset 0 1px 1px rgba(255,255,255,.24)}.publish-menu{position:fixed;top:auto;bottom:68px;left:50%;width:min(320px,calc(100% - 28px));transform:translateX(-50%)}.discussion-row{grid-template-columns:minmax(0,1fr)}.discussion-stats{grid-column:1;min-width:0;align-items:center;flex-direction:row;flex-wrap:wrap}.discussion-stats a{margin:0 0 0 auto}.tutorial-result-preview.has-media{grid-template-columns:1fr}.tutorial-result-link{border-top:1px solid var(--line);border-left:0}.tutorial-result-media{height:auto;max-height:480px}.profile-creator-hero .author-numbers{grid-template-columns:repeat(4,minmax(0,1fr))}
}
@media(max-width:620px){
  .discussion-row{grid-template-columns:minmax(0,1fr);gap:11px;padding:16px 14px}.discussion-copy h2{font-size:17px}.discussion-stats{font-size:9px}.publish-composer{padding:20px}.structured-draft,.guide-meta-editor,.ai-source-box{padding:15px}.guide-step-editor>header{grid-template-columns:minmax(0,1fr)}.guide-step-editor>header>div{grid-column:1;justify-content:flex-end}.guide-step-editor>footer button{flex:1}.need-attachments{grid-template-columns:1fr}.tutorial-comment-form{grid-template-columns:1fr}.tutorial-result-media{max-height:300px}.profile-creator-hero .author-numbers{grid-template-columns:repeat(4,minmax(0,1fr))!important}.profile-creator-hero .author-numbers div{padding-inline:5px}.profile-private-note{display:none}
}

/* 2026-07-24 rendering budget: keep the glass language without repainting the whole viewport */
.topbar,
.glass-panel,
.liquid-search,
.ai-nav-panel,
.publish-menu,
.auth-dialog,
.share-dialog,
.profile-editor-dialog,
.need-drawer,
.friends-layout {
  backdrop-filter: blur(12px) saturate(125%);
  -webkit-backdrop-filter: blur(12px) saturate(125%);
}

@supports (content-visibility:auto) {
  .ranking-row,
  .discussion-row,
  .creator-content-card,
  .tutorial-step-card {
    content-visibility: auto;
    contain-intrinsic-size: 1px 150px;
  }
}

@media(max-width:900px) {
  .topbar,
  .nav-links,
  .glass-panel,
  .liquid-search,
  .ai-nav-panel,
  .publish-menu,
  .auth-dialog,
  .share-dialog,
  .profile-editor-dialog,
  .need-drawer,
  .friends-layout,
  .collab-editor,
  .collab-side,
  .empty,
  .home-card-signal,
  .creator-card-featured {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .auth-dialog::backdrop,
  .share-dialog::backdrop,
  .profile-editor-dialog::backdrop,
  .taxonomy-dialog::backdrop,
  .need-drawer::backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
  .topbar,
  .nav-links,
  .glass-panel,
  .liquid-search,
  .ai-nav-panel,
  .publish-menu,
  .auth-dialog,
  .share-dialog,
  .profile-editor-dialog,
  .need-drawer,
  .friends-layout {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

/* Unified community feed and configurable work leaderboards */
.discover-controls.community-mode .discover-filters {
  grid-template-columns: minmax(0, 1fr);
}
.discover-controls.community-mode .community-search {
  grid-column: 1 / -1;
}
.discover-filters > .filter-search {
  grid-column: 1 / -1;
}
.leaderboard-switch {
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}
.community-type-label {
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--brand-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .04em;
}
.empty-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.discussion-row-clean .discussion-stats a {
  width: auto;
  min-width: 54px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 750;
}
@media(max-width:520px) {
  .discover-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* 论坛架构 */
.discover-controls.community-mode .discover-filters{display:block}
.filter-search span{display:block;margin:0 0 8px;color:var(--muted);font-size:10px;font-weight:700}
.forum-search{max-width:none}
.rank-actions{display:flex;gap:6px;margin-top:5px}
.rank-actions button,.forum-thread-actions button{padding:7px 10px;border:1px solid rgba(29,29,31,.08);border-radius:999px;color:var(--text);background:rgba(255,255,255,.74);font-size:10px}
.rank-actions button:hover,.forum-thread-actions button:hover{border-color:rgba(43,105,88,.22);color:var(--brand)}

.forum-directory{padding:22px;border:1px solid rgba(29,29,31,.07);border-radius:24px 29px 23px 27px;background:rgba(255,255,255,.62)}
.forum-switcher-head,.forum-feed-head,.profile-overview-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}
.forum-switcher-head h2,.forum-feed-head h2,.profile-overview-head h2{margin:0;font-size:19px}
.forum-switcher-head p,.forum-feed-head p{margin:5px 0 0;color:var(--muted);font-size:11px}
.forum-switcher{display:flex;gap:8px;margin-top:17px;overflow-x:auto;padding-bottom:3px;scrollbar-width:thin}
.forum-switcher button{min-width:156px;display:flex;flex-direction:column;align-items:flex-start;gap:5px;padding:14px 15px;border:1px solid rgba(29,29,31,.07);border-radius:17px 21px 16px 20px;color:var(--text);background:rgba(255,255,255,.72);text-align:left}
.forum-switcher button.active{border-color:rgba(52,107,91,.25);color:#fff;background:linear-gradient(145deg,#315e52,#1e312b);box-shadow:0 12px 28px rgba(29,49,42,.13)}
.forum-switcher button b{font-size:13px}.forum-switcher button span{color:inherit;opacity:.66;font-size:9px}
.forum-hero-card{display:flex;align-items:center;justify-content:space-between;gap:26px;margin-top:16px;padding:25px}
.forum-identity{min-width:0;display:flex;align-items:center;gap:16px}
.forum-wordmark{width:66px;height:66px;display:grid;place-items:center;flex:0 0 auto;border-radius:20px 24px 19px 23px;color:#fff;background:linear-gradient(145deg,#3b7666,#1f352e);font-size:20px;font-weight:800}
.forum-title-line{display:flex;align-items:center;gap:9px}.forum-title-line h1{margin:0;font-size:27px;letter-spacing:-.035em}
.forum-identity p{max-width:700px;margin:7px 0;color:var(--muted);font-size:12px;line-height:1.6}.forum-identity small{color:var(--muted);font-size:9px}
.forum-hero-actions{display:flex;gap:8px;flex:0 0 auto}
.forum-feed{margin-top:18px}.forum-feed-head{padding:0 3px 12px}
.forum-post-row{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:14px;align-items:start;padding:19px 20px;border:1px solid rgba(29,29,31,.07);border-radius:20px 25px 19px 23px;background:rgba(255,255,255,.76)}
.forum-post-row+.forum-post-row{margin-top:8px}
.forum-post-avatar,.forum-reply-avatar{width:42px;height:42px;display:grid;place-items:center;overflow:hidden;border-radius:14px 17px 13px 16px;color:#fff;background:var(--brand);font-size:12px;font-weight:750}
.forum-post-avatar img,.forum-reply-avatar img{width:100%;height:100%;object-fit:cover}
.forum-post-copy{min-width:0}.forum-post-meta{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:9px}.forum-post-meta a{color:var(--text);font-weight:750}.forum-post-meta b{padding:3px 6px;border-radius:999px;color:var(--brand);background:var(--brand-2);font-size:8px}
.forum-post-copy h2{margin:7px 0 5px;font-size:18px;letter-spacing:-.025em}.forum-post-copy h2 a:hover{color:var(--brand)}
.forum-post-copy>p{display:-webkit-box;max-width:780px;overflow:hidden;margin:0;color:var(--muted);font-size:12px;line-height:1.65;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.forum-post-tags{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.forum-post-tags span{padding:4px 7px;border-radius:999px;color:var(--brand);background:rgba(225,240,235,.78);font-size:8px}
.forum-post-stats{min-width:88px;display:flex;flex-direction:column;align-items:flex-end;gap:5px;color:var(--muted);font-size:9px}

.forum-editor-dialog{width:min(580px,calc(100% - 28px))}
.forum-post-composer{max-width:920px;margin-inline:auto}.forum-post-textarea{min-height:260px}
.forum-compose-note{display:flex;align-items:center;justify-content:space-between;gap:18px;padding-top:16px;border-top:1px solid var(--line)}
.forum-compose-note p{margin:0;color:var(--muted);font-size:11px}

.profile-primary-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:6px;border-radius:20px 24px 19px 23px;background:rgba(229,230,233,.72)}
.profile-primary-tabs button{min-height:54px;border:0;border-radius:15px 19px 14px 18px;color:var(--muted);background:transparent;font-size:17px;font-weight:760}
.profile-primary-tabs button.active{color:var(--text);background:rgba(255,255,255,.93);box-shadow:0 10px 25px rgba(29,29,31,.06)}
.profile-subnav{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px}
.profile-secondary-tabs{display:flex;gap:4px;overflow-x:auto;padding:4px;border-radius:16px 20px 15px 19px;background:rgba(235,236,239,.7)}
.profile-secondary-tabs button{min-width:76px;padding:10px 13px;border:0;border-radius:12px 15px 11px 14px;color:var(--muted);background:transparent;font-size:11px;font-weight:700}
.profile-secondary-tabs button.active{color:var(--text);background:#fff;box-shadow:0 7px 18px rgba(29,29,31,.055)}
.profile-forum-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.profile-forum-overview>section{min-width:0;padding:18px;border:1px solid rgba(29,29,31,.07);border-radius:19px 23px 18px 22px;background:rgba(255,255,255,.64)}
.profile-overview-head a{color:var(--brand);font-size:10px;font-weight:700}.profile-forum-list{display:grid;gap:7px;margin-top:13px}.profile-forum-list>p{margin:0;color:var(--muted);font-size:11px}
.profile-forum-card{min-width:0;display:flex;align-items:center;gap:10px;padding:11px;border:1px solid rgba(29,29,31,.06);border-radius:14px 17px 13px 16px;background:rgba(255,255,255,.78)}
.profile-forum-card>span{width:34px;height:34px;display:grid;place-items:center;flex:0 0 auto;border-radius:11px 14px 10px 13px;color:#fff;background:var(--brand);font-size:9px;font-weight:750}
.profile-forum-card b,.profile-forum-card small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-forum-card b{font-size:11px}.profile-forum-card small{margin-top:3px;color:var(--muted);font-size:8px}
.creator-card-cover.post{background:linear-gradient(145deg,#315c51,#73978c)}
.profile-grid-heading{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px;padding-top:18px;border-top:1px solid var(--line)}
.profile-grid-heading h2{margin:0;font-size:19px}.profile-grid-heading p{margin:4px 0 0;color:var(--muted);font-size:10px}.profile-grid-note{grid-column:1/-1;color:var(--muted);font-size:11px}

.forum-post-main{padding-top:28px}.forum-post-shell{max-width:980px}.forum-thread{padding:28px}
.forum-thread-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding-bottom:20px;border-bottom:1px solid var(--line)}
.forum-thread-head span{color:var(--brand);font-size:10px;font-weight:750}.forum-thread-head h1{margin:7px 0 0;font-size:32px;line-height:1.25;letter-spacing:-.04em}
.forum-thread-author{margin-top:18px}.forum-thread-author>a{display:inline-flex;align-items:center;gap:10px}.forum-thread-author>a>span{width:40px;height:40px;display:grid;place-items:center;overflow:hidden;border-radius:13px 16px 12px 15px;color:#fff;background:var(--brand);font-size:11px}.forum-thread-author img{width:100%;height:100%;object-fit:cover}.forum-thread-author b,.forum-thread-author small{display:block}.forum-thread-author b{font-size:11px}.forum-thread-author small{margin-top:3px;color:var(--muted);font-size:8px}
.forum-thread-body{min-height:130px;margin-top:22px;font-size:15px;line-height:1.9;white-space:normal}
.forum-thread-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:24px;padding-top:17px;border-top:1px solid var(--line)}
.forum-replies{margin-top:18px}.forum-replies-head{padding:0 3px 12px}.forum-replies-head h2{margin:0;font-size:21px}.forum-replies-head p{margin:5px 0 0;color:var(--muted);font-size:10px}
.forum-reply-list{display:grid;gap:7px}.forum-reply{position:relative;display:grid;grid-template-columns:42px minmax(0,1fr);gap:12px;padding:18px 20px;border:1px solid rgba(29,29,31,.07);border-radius:18px 22px 17px 21px;background:rgba(255,255,255,.75)}.forum-reply-floor{position:absolute;top:12px;right:15px;color:var(--muted);font-size:8px}.forum-reply-meta{display:flex;gap:8px;color:var(--muted);font-size:9px}.forum-reply-meta a{color:var(--text);font-weight:750}.forum-reply p{margin:7px 0 0;font-size:12px;line-height:1.7}.forum-replies-empty{padding:30px;border:1px solid rgba(29,29,31,.07);border-radius:18px 22px 17px 21px;text-align:center;background:rgba(255,255,255,.64)}.forum-replies-empty b{font-size:16px}.forum-replies-empty p{margin:6px 0 0;color:var(--muted);font-size:10px}
.forum-reply-form{display:grid;gap:9px;margin-top:12px;padding:20px;border:1px solid rgba(29,29,31,.07);border-radius:18px 22px 17px 21px;background:rgba(255,255,255,.75)}.forum-reply-form label{font-size:12px;font-weight:750}.forum-reply-form textarea{min-height:120px}.forum-reply-form>div{display:flex;align-items:center;justify-content:space-between}.forum-reply-form>div span{color:var(--muted);font-size:9px}
.product-forum-cta>p{max-width:680px;color:var(--muted);font-size:12px;line-height:1.7}
.auth-dialog-head button,.profile-editor-head>button{width:auto;min-width:48px;padding:0 10px;border-radius:999px;font-size:9px}

@media (max-width:760px){
  .forum-hero-card{align-items:flex-start;flex-direction:column}.forum-hero-actions{width:100%}.forum-hero-actions .btn{flex:1}
  .forum-post-row{grid-template-columns:36px minmax(0,1fr)}.forum-post-avatar{width:36px;height:36px}.forum-post-stats{grid-column:2;min-width:0;align-items:center;flex-direction:row}
  .profile-forum-overview{grid-template-columns:1fr}.profile-subnav{align-items:stretch;flex-direction:column}.profile-subnav>.btn{width:100%}.profile-secondary-tabs{width:100%}.profile-secondary-tabs button{flex:1}
  .forum-compose-note{align-items:stretch;flex-direction:column}.forum-compose-note .btn{width:100%}
}

@media (max-width:520px){
  .forum-directory{padding:16px}.forum-switcher-head{align-items:stretch;flex-direction:column}.forum-switcher-head .btn{width:100%}.forum-switcher button{min-width:142px}
  .forum-hero-card{padding:18px}.forum-wordmark{width:52px;height:52px;border-radius:16px 19px 15px 18px}.forum-title-line h1{font-size:22px}.forum-identity p{font-size:11px}
  .forum-post-row{padding:15px 13px}.forum-post-copy h2{font-size:16px}
  .profile-primary-tabs button{min-height:48px;font-size:15px}.profile-secondary-tabs button{min-width:69px;padding-inline:9px}.profile-forum-overview>section{padding:15px}
  .forum-thread{padding:19px 16px}.forum-thread-head{align-items:stretch;flex-direction:column}.forum-thread-head h1{font-size:25px}.forum-thread-head .btn{width:100%}.forum-thread-body{font-size:14px}
  .forum-reply{grid-template-columns:34px minmax(0,1fr);padding:15px 13px}.forum-reply-avatar{width:34px;height:34px}
}
