:root {
  --ink: #f6f8fb;
  --text: #121820;
  --muted: #697481;
  --paper: #f2efe7;
  --panel: #fffdf8;
  --line: #ddd4c4;
  --dark: #070d12;
  --graphite: #151d25;
  --graphite-2: #222c36;
  --teal: #b84a4a;
  --gold: #d9aa4d;
  --coral: #e7614d;
  --danger: #bd3f34;
  --shadow: 0 22px 64px rgba(7, 13, 18, 0.18);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background: var(--paper);
  font-family:
    "PingFang SC",
    "Microsoft YaHei",
    system-ui,
    sans-serif;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 0 clamp(18px, 5vw, 56px);
  color: var(--ink);
  background: rgba(7, 13, 18, 0.9);
  border-bottom: 1px solid rgba(246, 248, 251, 0.1);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), #f0cf7d);
  border-radius: 8px;
  font-size: 0.9rem;
}

.brand-text {
  display: grid;
  justify-items: center;
  gap: 2px;
  line-height: 1;
  text-align: center;
}

.brand-text > span {
  display: block;
}

.brand-text small {
  display: block;
  color: rgba(246, 248, 251, 0.65);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  color: rgba(246, 248, 251, 0.82);
  font-size: 0.94rem;
  font-weight: 760;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
}

.member-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.member-search {
  position: relative;
  width: min(280px, 34vw);
}

.member-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  color: var(--graphite);
  background: rgba(246, 248, 251, 0.96);
  border: 1px solid rgba(246, 248, 251, 0.22);
  border-radius: 8px;
}

.search-icon,
.search-icon svg {
  width: 18px;
  height: 18px;
}

.member-search-box input {
  width: 100%;
  min-width: 0;
  padding: 0;
  color: var(--graphite);
  background: transparent;
  border: 0;
  outline: 0;
  font-weight: 850;
}

.member-search-results {
  position: absolute;
  top: 48px;
  right: 0;
  z-index: 20;
  display: grid;
  gap: 8px;
  width: min(420px, calc(100vw - 36px));
  max-height: min(520px, calc(100vh - 110px));
  overflow: auto;
  padding: 10px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.search-result {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 12px;
  color: var(--text);
  text-align: left;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.search-result:hover {
  border-color: rgba(25, 170, 164, 0.55);
}

.search-result span {
  color: var(--teal);
  font-size: 0.74rem;
  font-weight: 950;
}

.search-result strong {
  font-size: 0.98rem;
}

.search-result small {
  color: var(--muted);
  font-weight: 800;
}

.top-drawer {
  position: relative;
}

.top-action-summary,
.user-summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  color: var(--graphite);
  background: rgba(246, 248, 251, 0.96);
  border: 1px solid rgba(246, 248, 251, 0.22);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.top-action-summary::-webkit-details-marker,
.user-summary::-webkit-details-marker {
  display: none;
}

.user-summary {
  gap: 8px;
  min-width: 136px;
  justify-content: space-between;
}

.user-summary::after {
  content: "⌄";
  color: var(--teal);
  font-weight: 950;
}

.user-avatar {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--ink);
  background: var(--graphite);
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 950;
}

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

.hero {
  position: relative;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  color: var(--ink);
  background: var(--dark);
}

.portal-hero {
  min-height: clamp(420px, 58vh, 560px);
}

.single-gate h1 {
  max-width: none;
  font-size: clamp(2.8rem, 6.2vw, 4.55rem);
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
}

.single-gate .hero-copy {
  max-width: 820px;
  overflow-wrap: normal;
}

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

.hero-image {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 13, 18, 0.92) 0%, rgba(7, 13, 18, 0.74) 48%, rgba(7, 13, 18, 0.16) 100%),
    linear-gradient(180deg, rgba(7, 13, 18, 0.1), rgba(7, 13, 18, 0.78));
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 78px 0;
}

.portal-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 164px;
  gap: 40px;
  align-items: center;
  min-height: clamp(420px, 58vh, 560px);
  padding: 56px 0;
}

.portal-copy {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0;
}

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

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.6rem, 8vw, 5.1rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(246, 248, 251, 0.86);
  font-size: 1.12rem;
}

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

.portal-inner .hero-actions {
  flex-direction: column;
  align-items: stretch;
  justify-self: end;
  width: 164px;
  margin-top: 0;
}

.portal-inner .hero-actions .btn {
  width: 100%;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 17px;
  color: var(--ink);
  background: var(--teal);
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.btn-primary {
  color: var(--dark);
  background: var(--gold);
  box-shadow: 0 18px 34px rgba(217, 170, 77, 0.22);
}

.btn-dark {
  color: var(--ink);
  background: var(--graphite);
}

.btn-light {
  color: var(--text);
  background: transparent;
  border-color: var(--line);
}

.btn-danger {
  background: var(--danger);
}

.btn-small {
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.9rem;
}

.btn-wide {
  width: 100%;
}

.proof-grid,
.feature-grid,
.dashboard-grid,
.admin-grid {
  display: grid;
  gap: 16px;
}

.proof-grid {
  grid-template-columns: repeat(4, minmax(0, 150px));
  margin-top: 42px;
}

.portal-steps {
  grid-template-columns: repeat(3, minmax(0, 170px));
}

.proof-grid div,
.dark-card {
  padding: 18px;
  color: var(--ink);
  background: rgba(246, 248, 251, 0.1);
  border: 1px solid rgba(246, 248, 251, 0.16);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.proof-grid strong {
  display: block;
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

.proof-grid span {
  display: block;
  margin-top: 7px;
  color: rgba(246, 248, 251, 0.76);
}

.section {
  padding: 74px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-head h2,
.page-title h1 {
  margin: 0;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.12;
}

.section-head p,
.page-title p {
  margin: 12px 0 0;
  color: var(--muted);
}

.feature-grid {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  min-height: 220px;
  padding: 22px;
  color: var(--ink);
  background: var(--graphite);
  border: 1px solid rgba(246, 248, 251, 0.08);
  border-radius: 8px;
}

.feature-card span {
  color: var(--gold);
  font-weight: 950;
}

.feature-card h3 {
  margin: 32px 0 0;
  font-size: 1.14rem;
}

.feature-card p {
  margin: 10px 0 0;
  color: rgba(246, 248, 251, 0.72);
}

.compact-section {
  padding-top: 54px;
}

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

.portal-card {
  display: grid;
  min-height: 230px;
  padding: 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(7, 13, 18, 0.08);
}

.portal-card span {
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 950;
}

.portal-card h3 {
  margin: 24px 0 0;
  font-size: 1.18rem;
}

.portal-card p {
  margin: 8px 0 0;
  color: var(--muted);
}

.portal-card a {
  align-self: end;
  color: var(--graphite);
  font-weight: 950;
}

.book-showcase {
  background: #f7f2e8;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.78fr) minmax(620px, 1.22fr);
  gap: clamp(28px, 4vw, 46px);
  align-items: center;
}

.book-copy h2 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(2.4rem, 4.6vw, 4.15rem);
  line-height: 1.02;
  white-space: nowrap;
}

.book-copy p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.book-trial-note {
  color: var(--muted);
  font-weight: 900;
}

.book-visual {
  display: grid;
  grid-template-columns: minmax(380px, 1.18fr) minmax(0, 0.72fr);
  gap: 16px;
  align-items: stretch;
}

.book-cover {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  grid-template-rows: auto 1fr auto;
  align-content: stretch;
  min-height: 468px;
  gap: 18px 18px;
  padding: 28px;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid rgba(7, 13, 18, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.book-cover > * {
  position: relative;
  z-index: 1;
}

.book-cover-textured {
  padding: 42px 42px 38px 68px;
  color: var(--graphite);
  background:
    radial-gradient(ellipse at 18% 18%, rgba(255, 253, 245, 0.88) 0 18%, transparent 19%),
    radial-gradient(ellipse at 76% 22%, rgba(107, 132, 122, 0.18) 0 22%, transparent 23%),
    radial-gradient(ellipse at 24% 72%, rgba(178, 126, 102, 0.18) 0 21%, transparent 22%),
    radial-gradient(ellipse at 86% 78%, rgba(217, 170, 77, 0.13) 0 19%, transparent 20%),
    linear-gradient(118deg, rgba(255, 255, 250, 0.52) 0 34%, transparent 35%),
    linear-gradient(180deg, #f3eee3 0%, #e6decd 52%, #f0eadc 100%),
    var(--paper);
  box-shadow:
    inset 0 0 0 1px rgba(255, 253, 244, 0.68),
    inset 0 80px 120px rgba(255, 255, 247, 0.32),
    inset 0 -80px 130px rgba(91, 79, 65, 0.09),
    var(--shadow);
}

.book-cover-textured::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 0;
  width: 50px;
  background:
    repeating-linear-gradient(90deg, rgba(35, 45, 51, 0.07) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(217, 170, 77, 0.22), rgba(102, 119, 111, 0.18));
  box-shadow: inset -1px 0 rgba(255, 255, 246, 0.42), 8px 0 18px rgba(86, 75, 64, 0.06);
}

.book-cover-textured::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 16% 32%, rgba(36, 47, 52, 0.1) 0 10%, transparent 11%),
    radial-gradient(ellipse at 80% 30%, rgba(126, 93, 75, 0.1) 0 12%, transparent 13%),
    linear-gradient(100deg, transparent 0 16%, rgba(62, 76, 72, 0.08) 17% 28%, transparent 29% 100%),
    linear-gradient(11deg, transparent 0 47%, rgba(126, 93, 75, 0.09) 48% 65%, transparent 66%),
    radial-gradient(ellipse at 72% 78%, rgba(98, 119, 111, 0.1) 0 18%, transparent 19%),
    repeating-linear-gradient(0deg, rgba(49, 42, 37, 0.035) 0 1px, transparent 1px 3px),
    repeating-linear-gradient(90deg, rgba(255, 255, 248, 0.2) 0 1px, transparent 1px 6px);
  mix-blend-mode: multiply;
  opacity: 0.76;
}

.book-cover-minimal {
  color: var(--ink);
  background:
    linear-gradient(150deg, rgba(7, 13, 18, 0.97), rgba(21, 29, 37, 0.94)),
    var(--graphite);
}

.book-title-stack {
  grid-column: 1;
  grid-row: 1 / -1;
  display: grid;
  gap: 16px;
  align-content: center;
  justify-self: start;
  padding-top: 4px;
}

.book-title-stack strong {
  display: grid;
  gap: 0.02em;
  width: max-content;
  color: #17212a;
  font-family: "STKaiti", "KaiTi", "FangSong", "SimSun", serif;
  font-size: clamp(3.9rem, 6.55vw, 5.95rem);
  line-height: 0.93;
  font-weight: 950;
  letter-spacing: 0;
  text-shadow:
    0 1px 0 rgba(255, 255, 248, 0.62),
    0 10px 28px rgba(7, 13, 18, 0.12);
}

.book-title-stack strong span {
  display: block;
  min-height: 0.98em;
}

.book-edition {
  justify-self: center;
  color: rgba(21, 29, 37, 0.66);
  font-family: "STKaiti", "KaiTi", "FangSong", "SimSun", serif;
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.12;
  writing-mode: vertical-rl;
  text-orientation: upright;
}

.book-author {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  grid-template-rows: auto auto;
  grid-column: 2;
  grid-row: 1;
  gap: 8px 12px;
  align-self: start;
  justify-self: center;
  justify-items: center;
  max-width: 100%;
}

.book-author .author-name,
.book-author .author-mark {
  color: rgba(21, 29, 37, 0.76);
  font-family: "STKaiti", "KaiTi", "FangSong", "SimSun", serif;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1.05;
  writing-mode: vertical-rl;
  text-orientation: upright;
  white-space: nowrap;
}

.book-author .author-name {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 6.1em;
}

.book-author .author-mark {
  grid-column: 1 / -1;
  position: relative;
  margin-top: 8px;
  padding-top: 20px;
  color: rgba(21, 29, 37, 0.72);
  font-size: 0.9rem;
}

.book-author .author-mark::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 14px;
  background: rgba(21, 29, 37, 0.28);
}

.book-subtitle {
  grid-column: 2;
  grid-row: 3;
  justify-self: center;
  align-self: end;
  display: grid;
  gap: 6px;
  justify-items: center;
  margin: 0;
  color: rgba(21, 29, 37, 0.72);
  font-family: "STKaiti", "KaiTi", "FangSong", "SimSun", serif;
  font-size: 0.94rem;
  font-weight: 950;
  line-height: 1;
  transform: translateX(-10px);
}

.book-cover-paper-islands {
  background:
    radial-gradient(ellipse at 70% 22%, rgba(156, 85, 79, 0.28) 0 18%, transparent 19%),
    radial-gradient(ellipse at 24% 70%, rgba(122, 141, 126, 0.24) 0 20%, transparent 21%),
    radial-gradient(ellipse at 84% 80%, rgba(200, 157, 92, 0.26) 0 18%, transparent 19%),
    linear-gradient(145deg, #f0eadc, #e4dfcf 62%, #efe6d4);
}

.book-cover-teal-scroll {
  background:
    linear-gradient(94deg, rgba(36, 118, 126, 0.62) 0 20%, transparent 20%),
    radial-gradient(ellipse at 56% 36%, rgba(239, 226, 204, 0.78) 0 28%, transparent 29%),
    radial-gradient(ellipse at 78% 72%, rgba(183, 101, 92, 0.24) 0 26%, transparent 27%),
    linear-gradient(145deg, #d9e5dc, #f0e3ca);
}

.book-cover-rose-ink {
  background:
    radial-gradient(ellipse at 66% 76%, rgba(186, 98, 99, 0.5) 0 30%, transparent 31%),
    radial-gradient(ellipse at 24% 78%, rgba(74, 96, 82, 0.34) 0 22%, transparent 23%),
    radial-gradient(ellipse at 82% 18%, rgba(81, 104, 91, 0.24) 0 20%, transparent 21%),
    linear-gradient(145deg, #eee9dc, #e7decf);
}

.book-cover-sage-gold {
  background:
    linear-gradient(180deg, rgba(78, 93, 82, 0.86) 0 47%, rgba(183, 112, 104, 0.58) 48% 100%),
    radial-gradient(ellipse at 50% 44%, rgba(241, 231, 204, 0.2), transparent 42%);
}

.book-cover-sage-gold .book-title-stack strong {
  filter: drop-shadow(0 2px 0 rgba(53, 41, 21, 0.32));
}

.book-cover-harbor-blue {
  background:
    radial-gradient(ellipse at 46% 18%, rgba(255, 255, 255, 0.42) 0 28%, transparent 29%),
    radial-gradient(ellipse at 48% 74%, rgba(89, 127, 143, 0.28) 0 32%, transparent 33%),
    linear-gradient(180deg, #cbdde0, #e4ddcf 78%);
}

.book-cover-mist-jade {
  background:
    radial-gradient(ellipse at 22% 28%, rgba(182, 115, 100, 0.2) 0 22%, transparent 23%),
    radial-gradient(ellipse at 76% 22%, rgba(76, 122, 114, 0.34) 0 23%, transparent 24%),
    radial-gradient(ellipse at 72% 78%, rgba(121, 147, 111, 0.26) 0 22%, transparent 23%),
    linear-gradient(120deg, #ebe4d1, #dbe5d9 62%, #efe4d6);
}

.book-cover-cinnabar-spine {
  background:
    linear-gradient(90deg, rgba(130, 62, 65, 0.82) 0 13%, transparent 13%),
    radial-gradient(ellipse at 72% 70%, rgba(176, 96, 90, 0.3) 0 30%, transparent 31%),
    radial-gradient(ellipse at 44% 22%, rgba(205, 160, 101, 0.22) 0 18%, transparent 19%),
    linear-gradient(145deg, #efe8d8, #dce2d2);
}

.book-cover-ash-blue {
  background:
    radial-gradient(ellipse at 44% 78%, rgba(104, 135, 149, 0.36) 0 34%, transparent 35%),
    radial-gradient(ellipse at 18% 24%, rgba(185, 101, 92, 0.2) 0 18%, transparent 19%),
    linear-gradient(160deg, #d7e2df, #eee4d1);
}

.book-cover-pale-roof {
  background:
    linear-gradient(168deg, transparent 0 42%, rgba(179, 102, 96, 0.34) 43% 70%, transparent 71%),
    radial-gradient(ellipse at 32% 78%, rgba(78, 99, 88, 0.28) 0 20%, transparent 21%),
    linear-gradient(145deg, #e8e0ce, #d6e1d8);
}

.cover-options-page {
  background: #f7f2e8;
}

.cover-options-hero {
  padding-top: 54px;
  padding-bottom: 24px;
}

.cover-options-hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.cover-options-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 72px;
}

.cover-sample {
  display: grid;
  gap: 10px;
}

.cover-sample .book-cover {
  min-height: 460px;
}

.cover-sample h2 {
  margin: 0;
  color: var(--graphite);
  font-size: 1rem;
}

.cover-sample p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.book-cover-minimal .book-title-stack strong {
  color: #f2cc73;
  text-shadow: none;
}

.book-cover-minimal .book-edition {
  color: rgba(246, 248, 251, 0.72);
}

.book-cover-minimal .book-author .author-name,
.book-cover-minimal .book-author .author-mark {
  color: rgba(242, 204, 115, 0.95);
}

.book-cover-minimal .book-author .author-mark::before {
  background: rgba(242, 204, 115, 0.82);
}

.book-cover-minimal .book-subtitle {
  color: rgba(246, 248, 251, 0.82);
}

.book-points {
  display: grid;
  gap: 12px;
}

.book-points article {
  display: grid;
  gap: 6px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 13, 18, 0.07);
}

.book-points span {
  color: #ad7d2d;
  font-size: 0.98rem;
  font-weight: 950;
}

.book-points strong {
  color: var(--graphite);
  font-size: 1.32rem;
  line-height: 1.22;
}

.book-points p {
  margin: 0;
  color: var(--muted);
}

.book-link-note {
  justify-self: start;
  margin-top: 6px;
  color: var(--graphite);
  font-size: 0.94rem;
  font-weight: 950;
  border-bottom: 2px solid var(--gold);
}

.reader-map-section {
  background: #f7f2e8;
}

.reader-map-layout {
  display: grid;
  gap: 20px;
}

.reader-map-copy {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.reader-map-copy h2 {
  margin: 0;
  color: var(--graphite);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
}

.reader-map-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.reader-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 14px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(15, 23, 32, 0.98), rgba(3, 7, 12, 0.98));
  border: 1px solid rgba(246, 248, 251, 0.12);
  border-radius: 18px;
  box-shadow: 0 22px 58px rgba(7, 13, 18, 0.2);
}

.reader-map-canvas {
  position: relative;
  min-height: 660px;
  overflow: hidden;
  background: #050b11;
  border: 1px solid rgba(246, 248, 251, 0.08);
  border-radius: 14px;
}

.reader-map-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(246, 248, 251, 0.66);
  font-weight: 900;
}

.reader-map-svg {
  width: 100%;
  height: 100%;
  min-height: 660px;
  display: block;
}

.reader-map-province {
  fill: #17222c;
  stroke: rgba(246, 248, 251, 0.26);
  stroke-width: 0.85;
  vector-effect: non-scaling-stroke;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.reader-map-province.is-lit {
  fill: color-mix(in srgb, #f6f8fb calc(18% + var(--reader-strength, 0.5) * 42%), #17222c);
  stroke: rgba(246, 248, 251, 0.72);
}

.reader-map-marker-line {
  stroke: rgba(246, 248, 251, 0.2);
  stroke-width: 1;
  opacity: calc(0.18 + var(--reader-strength, 0.5) * 0.2);
  vector-effect: non-scaling-stroke;
}

.reader-map-marker circle {
  fill: color-mix(in srgb, #ffffff calc(34% + var(--reader-strength, 0.5) * 66%), #9aa4b2);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 1.3;
  opacity: calc(0.55 + var(--reader-strength, 0.5) * 0.45);
}

.reader-map-marker.is-primary circle {
  fill: #ffffff;
  stroke: rgba(246, 248, 251, 0.98);
}

.reader-map-marker text {
  fill: #f6f8fb;
  font-size: 14px;
  font-weight: 950;
  opacity: calc(0.72 + var(--reader-strength, 0.5) * 0.28);
  paint-order: stroke;
  stroke: rgba(5, 11, 17, 0.86);
  stroke-linejoin: round;
  stroke-width: 3px;
}

.reader-region-list {
  align-self: stretch;
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
  padding: 18px;
  color: rgba(246, 248, 251, 0.9);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(246, 248, 251, 0.1);
  border-radius: 18px;
}

.reader-region-list > span {
  color: #f0cf7d;
  font-size: 0.86rem;
  font-weight: 950;
}

.reader-region-list ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.reader-region-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(246, 248, 251, 0.08);
}

.reader-region-list li:last-child {
  border-bottom: 0;
}

.reader-region-list b {
  color: #fffaf0;
  font-size: 0.96rem;
}

.reader-region-list em {
  color: #f0cf7d;
  font-style: normal;
  font-weight: 950;
}

.free-read-page {
  min-height: 100vh;
  background: var(--paper);
}

.free-read-main {
  display: grid;
  align-items: center;
  min-height: calc(100vh - 70px);
  padding: clamp(42px, 8vw, 86px) 0;
}

.free-read-shell {
  display: grid;
  gap: 26px;
}

.free-read-head h1 {
  max-width: 760px;
  color: var(--graphite);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

.free-read-head p {
  max-width: 760px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.baidu-link-panel {
  display: grid;
  gap: 16px;
  max-width: 760px;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(7, 13, 18, 0.08);
}

.baidu-link-panel strong {
  color: var(--graphite);
  font-size: 1.35rem;
}

.baidu-link-placeholder {
  display: grid;
  gap: 8px;
  padding: 18px;
  color: var(--muted);
  background: #f7f2e8;
  border: 1px dashed rgba(173, 125, 45, 0.44);
  border-radius: 8px;
}

.baidu-link-placeholder code {
  color: var(--graphite);
  font-weight: 950;
  white-space: normal;
}

.free-read-form {
  display: grid;
  gap: 14px;
}

.free-read-form textarea {
  min-height: 118px;
}

.free-read-drop {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 190px;
  padding: 24px;
  color: #f6f8fb;
  text-align: center;
  background:
    radial-gradient(circle at 20% 15%, rgba(239, 63, 122, 0.16), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(217, 170, 77, 0.18), transparent 30%),
    #151d25;
  border: 1px dashed rgba(217, 170, 77, 0.74);
  border-radius: 18px;
  cursor: pointer;
}

.free-read-drop.is-dragging {
  outline: 4px solid rgba(217, 170, 77, 0.22);
}

.free-read-drop span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #151d25;
  background: #fff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
}

.free-read-drop small {
  color: rgba(246, 248, 251, 0.72);
}

.free-read-drop input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  opacity: 0;
  pointer-events: none;
}

.free-read-file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.free-read-file-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  color: #445160;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.free-read-preview {
  display: grid;
  gap: 10px;
  padding: 18px;
  color: #f6f8fb;
  background: #151d25;
  border-radius: 14px;
}

.free-read-preview span {
  color: #f0cf7d;
  font-size: 0.82rem;
  font-weight: 950;
}

.free-read-preview a {
  color: #f0cf7d;
}

.dark-section {
  color: var(--ink);
  background: var(--graphite);
}

.split-note {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 38px;
  align-items: start;
}

.split-note h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
}

.split-note p {
  margin: 0;
  color: rgba(246, 248, 251, 0.75);
}

.page {
  min-height: calc(100vh - 70px);
  padding: 58px 0 80px;
}

.page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1fr);
  gap: 34px;
  align-items: start;
}

.panel {
  padding: clamp(20px, 4vw, 30px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 820;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 820;
}

.check-row input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--teal);
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--text);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}

textarea {
  min-height: 98px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 170, 164, 0.16);
}

.status {
  min-height: 1.5em;
  margin: 14px 0 0;
  color: #0f7475;
  font-weight: 820;
}

.notice {
  margin-top: 16px;
  padding: 13px 14px;
  color: #3f4750;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
}

.form-hint,
.muted-line {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.agreement-box {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  background: #fff8ea;
  border: 1px solid rgba(217, 170, 77, 0.45);
  border-radius: 8px;
}

.agreement-box input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.agreement-box span {
  display: grid;
  gap: 8px;
  color: #111827;
  line-height: 1.55;
}

.agreement-box strong {
  font-weight: 950;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 22px 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 900;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}


.auth-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 63, 122, 0.1), transparent 30%),
    radial-gradient(circle at 92% 8%, rgba(58, 112, 255, 0.12), transparent 28%),
    linear-gradient(135deg, #f6f2ea, #f7f9ff);
}

.auth-page .topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
}

.auth-shell {
  width: min(1160px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0;
  display: grid;
  align-items: center;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.9fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: stretch;
}

.auth-hero-card,
.auth-card {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
}

.auth-hero-card {
  display: grid;
  align-content: center;
  gap: 22px;
  min-height: 560px;
  padding: clamp(28px, 5vw, 54px);
  color: #101820;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 63, 122, 0.18), transparent 24%),
    radial-gradient(circle at 78% 34%, rgba(58, 112, 255, 0.17), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46));
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 28px 80px rgba(17, 24, 39, 0.12);
}

.auth-hero-card::after {
  content: "";
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(217, 170, 77, 0.36), transparent 64%);
  pointer-events: none;
}

.auth-hero-card h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.register-title span {
  display: block;
  white-space: nowrap;
}

.auth-hero-card > p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #5f6b7a;
  font-size: 1.08rem;
  line-height: 1.8;
}

.auth-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.auth-steps span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(239, 63, 122, 0.2);
}

.auth-steps span:nth-child(2) {
  background: linear-gradient(135deg, #6a4cff, #3aa0ff);
}

.auth-steps span:nth-child(3) {
  background: linear-gradient(135deg, #151d25, #344252);
}

.auth-soft-card {
  max-width: 560px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(217, 170, 77, 0.28);
  border-radius: 20px;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.08);
}

.auth-soft-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.auth-soft-card p {
  margin: 0;
  color: #667085;
  line-height: 1.7;
  white-space: nowrap;
}

.auth-card {
  align-self: center;
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 26px 80px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(14px);
}

.auth-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ef3f7a, #ff7046, #6a4cff, #3aa0ff);
}

.auth-card-head {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
}

.auth-card-head span {
  color: #d9aa4d;
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.auth-card-head strong {
  font-size: 1.35rem;
  line-height: 1.35;
}

.auth-card form {
  gap: 16px;
}

.auth-card label > span:first-child {
  color: #101820;
  font-size: 0.96rem;
  font-weight: 950;
}

.auth-card input,
.auth-card textarea {
  min-height: 54px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #dbe2ec;
  border-radius: 15px;
  font-size: 1rem;
}

.auth-card input:focus,
.auth-card textarea:focus {
  border-color: rgba(239, 63, 122, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 63, 122, 0.1);
}

.auth-card .agreement-box {
  padding: 16px;
  background: linear-gradient(135deg, rgba(255, 248, 234, 0.92), rgba(255, 255, 255, 0.72));
  border-radius: 18px;
}

.auth-card .agreement-box strong {
  font-size: 0.94rem;
}

.auth-card .btn-primary {
  min-height: 52px;
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(239, 63, 122, 0.22);
}

.auth-card .btn-light {
  min-height: 50px;
  border-radius: 999px;
}

.auth-card .status {
  color: #b65f12;
}


.auth-card .qr-placeholder {
  border-radius: 18px;
  background: linear-gradient(135deg, #d9aa4d, #ef3f7a);
}

.login-shell {
  display: grid;
  place-items: center;
  width: min(100% - 32px, 520px);
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 58px) 0;
}

.login-panel {
  position: relative;
  display: grid;
  gap: 18px;
  width: 100%;
  padding: clamp(26px, 5vw, 38px);
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 63, 122, 0.18), transparent 30%),
    radial-gradient(circle at 92% 12%, rgba(58, 112, 255, 0.16), transparent 28%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(17, 24, 39, 0.16);
  backdrop-filter: blur(14px);
}

.login-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ef3f7a, #ff7046, #6a4cff, #3aa0ff);
}

.login-mark {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 2px;
  color: #101820;
  background: linear-gradient(135deg, #f2c65e, #d9aa4d);
  border-radius: 22px;
  font-size: 1.15rem;
  font-weight: 950;
  box-shadow: 0 18px 34px rgba(217, 170, 77, 0.26);
}

.login-panel h1 {
  margin: 0 0 4px;
  color: #111827;
  font-size: clamp(2.4rem, 8vw, 4rem);
  line-height: 1;
  text-align: center;
}

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

.login-form input:not([type="checkbox"]) {
  min-height: 56px;
  padding: 0 18px;
  color: #111827;
  background: rgba(248, 250, 252, 0.94);
  border: 1px solid #dbe2ec;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 850;
}

.login-form input:not([type="checkbox"]):focus {
  border-color: rgba(239, 63, 122, 0.55);
  box-shadow: 0 0 0 4px rgba(239, 63, 122, 0.1);
}

.login-check {
  justify-content: flex-start;
  padding: 0 2px;
  color: #667085;
  font-weight: 900;
}

.login-panel .btn-primary,
.login-panel .btn-light {
  min-height: 54px;
  border-radius: 999px;
  font-weight: 950;
}

.login-panel .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  border: 0;
  box-shadow: 0 16px 34px rgba(239, 63, 122, 0.22);
}

.login-panel .btn-light {
  color: #111827;
  background: #fff;
  border-color: #dbe2ec;
}

.login-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 8px;
}

.login-code-row button {
  min-height: 54px;
  color: #fff;
  background: #101820;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.login-code-row button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #98a2b3;
  font-size: 0.9rem;
  font-weight: 950;
}

.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #e4e9f2;
}


.login-panel .status {
  min-height: 20px;
  margin: 0;
  color: #b65f12;
  text-align: center;
}

.admin-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 7% 10%, rgba(239, 63, 122, 0.18), transparent 28%),
    radial-gradient(circle at 92% 8%, rgba(58, 112, 255, 0.14), transparent 30%),
    #f3f5f9;
}

.admin-shell {
  min-height: 100vh;
}

.admin-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 44px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0;
}

.admin-login-copy {
  position: relative;
  display: grid;
  gap: 20px;
  min-height: 560px;
  align-content: center;
  padding: clamp(30px, 5vw, 58px);
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(217, 170, 77, 0.24), transparent 25%),
    radial-gradient(circle at 85% 28%, rgba(106, 76, 255, 0.3), transparent 28%),
    linear-gradient(135deg, #101820, #1b2430 52%, #111827);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.32);
}

.admin-login-copy .eyebrow {
  color: #d9aa4d;
}

.admin-login-copy h1 {
  display: grid;
  gap: 8px;
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(3.6rem, 8vw, 6.8rem);
  line-height: 0.95;
}

.admin-login-copy h1 span {
  display: block;
  white-space: nowrap;
}

.admin-login-copy > p {
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1.05rem;
  line-height: 1.85;
}

.admin-login-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.admin-login-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  font-weight: 950;
}

.admin-login-note {
  max-width: 520px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
}

.admin-login-note strong {
  display: block;
  margin-bottom: 6px;
  color: #d9aa4d;
}

.admin-login-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.7;
}

.admin-login-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 26px;
  box-shadow: 0 26px 80px rgba(17, 24, 39, 0.16);
}

.admin-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #d9aa4d, #ef3f7a, #3aa0ff);
}

.admin-login-card-head {
  display: grid;
  gap: 6px;
  margin: 0 0 22px;
}

.admin-login-card-head span {
  color: #d9aa4d;
  font-size: 0.8rem;
  font-weight: 950;
  text-transform: uppercase;
}

.admin-login-card-head strong {
  color: #111827;
  font-size: 1.32rem;
}

.admin-login-card label > span:first-child {
  color: #111827;
  font-weight: 950;
}

.admin-login-card input {
  min-height: 54px;
  background: #f8fafc;
  border-color: #dbe2ec;
  border-radius: 15px;
}

.admin-login-card input:focus {
  border-color: rgba(217, 170, 77, 0.75);
  box-shadow: 0 0 0 4px rgba(217, 170, 77, 0.16);
}

.admin-login-card .admin-remember {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 14px 0 18px;
  color: #263241;
  font-weight: 850;
}

.admin-login-card .admin-remember input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-height: 18px;
  accent-color: #d9aa4d;
}

.admin-login-card .admin-remember span {
  font-size: 0.92rem;
}

.admin-login-card .btn-primary {
  min-height: 52px;
  color: #101820;
  background: linear-gradient(135deg, #d9aa4d, #f4c965);
  border: 0;
  border-radius: 999px;
}

.admin-console {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background: #f3f5f9;
}

.admin-side {
  position: sticky;
  top: 0;
  align-self: start;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 24px;
  min-height: 100vh;
  padding: 24px 18px;
  color: #fff;
  background:
    radial-gradient(circle at 24% 8%, rgba(217, 170, 77, 0.24), transparent 25%),
    linear-gradient(180deg, #101820, #1b2530);
  box-shadow: 18px 0 48px rgba(17, 24, 39, 0.16);
}

.admin-brand {
  color: #fff;
}

.admin-side .brand-text small {
  color: rgba(255, 255, 255, 0.58);
}

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

.admin-side-nav a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  color: rgba(255, 255, 255, 0.78);
  border-radius: 14px;
  font-weight: 950;
}

.admin-side-nav a:hover {
  color: #101820;
  background: #d9aa4d;
}

.admin-side .btn-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 14px;
}

.admin-main {
  display: grid;
  gap: 22px;
  padding: 24px clamp(18px, 3vw, 34px) 44px;
}

.admin-top,
.admin-panel {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  box-shadow: 0 20px 52px rgba(17, 24, 39, 0.08);
}

.admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 28px;
}

.admin-top h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1;
}

.admin-top p:last-child {
  margin: 8px 0 0;
  color: #667085;
}

.admin-top .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  border: 0;
  border-radius: 999px;
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 20px;
  align-items: start;
}

.admin-panel {
  padding: 22px;
}

.admin-panel .section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.admin-compact-form {
  gap: 12px;
}

.admin-compact-form input,
.admin-compact-form textarea {
  background: #f8fafc;
  border-color: #dbe2ec;
  border-radius: 14px;
}

.admin-compact-form input:focus,
.admin-compact-form textarea:focus {
  border-color: rgba(217, 170, 77, 0.72);
  box-shadow: 0 0 0 4px rgba(217, 170, 77, 0.13);
}

.admin-compact-form .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  border: 0;
  border-radius: 999px;
}

.admin-panel .content-card,
.admin-panel .user-card,
.admin-panel .invite-card,
.admin-panel .message-card,
.admin-panel .message-thread {
  background: #fff;
  border-color: #e4e9f2;
  border-radius: 18px;
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.06);
}

.dashboard-grid {
  grid-template-columns: 280px minmax(0, 1fr);
}

.workspace-head {
  margin-bottom: 24px;
}

.workspace-head h1 {
  max-width: 820px;
  color: var(--text);
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.08;
}

.workspace-head p:last-child {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--muted);
}

.module-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.module-menu a,
.module-menu button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  color: var(--graphite);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 900;
}

.module-menu button {
  cursor: pointer;
}

.module-menu a:hover,
.module-menu button:hover,
.module-menu button.active {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 170, 164, 0.12);
}

.module-menu button.active {
  color: var(--dark);
  background: var(--gold);
  border-color: transparent;
  box-shadow: none;
}

.module-panel {
  min-height: 420px;
}

.member-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.member-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
}

.sidebar-tools,
.sidebar-list {
  display: grid;
  gap: 10px;
}

.sidebar-sort-toggle {
  min-height: 38px;
  color: var(--dark);
  background: rgba(217, 170, 77, 0.2);
  border: 1px solid rgba(217, 170, 77, 0.45);
  border-radius: 8px;
  font-weight: 950;
}

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

.sidebar-sort-controls {
  display: flex;
  gap: 4px;
}

.sidebar-move {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: var(--graphite);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
}

.sidebar-move:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.member-sidebar.sorting .member-nav-item {
  cursor: default;
}

.member-sidebar .member-nav-item {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  color: var(--graphite);
  text-align: left;
  text-decoration: none;
  font: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
}

.member-sidebar .member-nav-item:hover,
.member-sidebar .member-nav-item.active {
  color: var(--dark);
  background: var(--gold);
  border-color: transparent;
}

.member-toolbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin: -56px 0 22px;
}

.nickname-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  color: var(--graphite);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.9rem;
  font-weight: 850;
}

.nickname-chip strong {
  margin-left: 4px;
  font-weight: 950;
}

.member-content {
  width: 100%;
  max-width: none;
}

.account-drawer {
  position: relative;
}

.account-drawer summary {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  color: var(--graphite);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  font-weight: 950;
  list-style: none;
}

.account-drawer summary::-webkit-details-marker {
  display: none;
}

.account-drawer summary::after {
  content: "+";
  margin-left: 9px;
  color: var(--teal);
  font-weight: 950;
}

.account-drawer[open] summary::after {
  content: "-";
}

.account-panel {
  position: absolute;
  right: 0;
  top: 48px;
  z-index: 6;
  width: min(360px, calc(100vw - 36px));
  padding: 18px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.message-panel {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  grid-template-areas:
    "head head"
    "tabs body";
  gap: 14px;
  width: min(640px, calc(100vw - 36px));
}

.message-center-head {
  grid-area: head;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 0;
}

.message-center-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.message-tabs {
  grid-area: tabs;
  display: grid;
  gap: 8px;
  align-content: start;
  margin-bottom: 0;
  padding: 5px;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-tabs button {
  min-height: 42px;
  color: var(--graphite);
  background: transparent;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  font-weight: 950;
  text-align: left;
  padding: 0 12px;
}

.message-tabs button.active {
  color: var(--dark);
  background: var(--gold);
}

.message-tab-panel {
  grid-area: body;
  display: grid;
  gap: 12px;
}

.message-compose {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-compose h3 {
  margin: 0;
  font-size: 1rem;
}

.account-panel h2 {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.account-panel .side-list {
  margin-top: 0;
}

.account-panel .side-list li {
  color: var(--muted);
  border-bottom-color: var(--line);
}

.account-panel .side-list strong {
  color: var(--text);
}

.settings-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.message-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: 7px;
  padding: 0 6px;
  color: var(--ink);
  background: var(--danger);
  border-radius: 999px;
  font-size: 0.74rem;
  line-height: 1;
}

.message-summary {
  position: relative;
}

.message-drawer {
  position: fixed;
  right: calc(clamp(18px, 5vw, 42px) + 156px);
  bottom: clamp(18px, 5vw, 42px);
  z-index: 24;
}

.message-drawer .message-summary {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  min-height: 56px;
  padding: 0;
  color: var(--dark);
  background: var(--panel);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.18);
}

.message-drawer .message-summary::after {
  display: none;
}

.message-drawer .message-summary > span:not(.top-action-icon):not(.message-badge) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.message-drawer .top-action-icon,
.message-drawer .top-action-icon svg {
  width: 24px;
  height: 24px;
}

.message-drawer .message-panel {
  position: absolute;
  right: -78px;
  top: auto;
  bottom: 76px;
  width: min(520px, calc(100vw - 36px));
}

.message-drawer.message-solo {
  right: clamp(18px, 5vw, 42px);
}

.message-drawer.message-solo .message-panel {
  right: 0;
}

.top-action-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
}

.top-action-icon svg {
  width: 20px;
  height: 20px;
}

.message-summary .message-badge {
  position: absolute;
  top: -9px;
  right: -10px;
  min-width: 22px;
  height: 22px;
  color: #fff;
  background: #ff2442;
  border: 2px solid var(--panel);
  font-size: 0.68rem;
  font-weight: 950;
}

.message-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.message-card {
  padding: 14px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.admin-stat-card {
  display: grid;
  gap: 6px;
  min-height: 92px;
  padding: 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 12%, rgba(217, 170, 77, 0.3), transparent 34%),
    linear-gradient(135deg, #151d25, #26313c);
  border: 1px solid rgba(246, 248, 251, 0.12);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(7, 13, 18, 0.12);
}

.admin-stat-card strong {
  color: #fffaf0;
  font-size: 2rem;
  line-height: 1;
}

.admin-stat-card span {
  color: rgba(246, 248, 251, 0.72);
  font-weight: 900;
}

.message-card.unread,
.message-thread.unread {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 170, 77, 0.13);
}

.message-card h3 {
  margin: 0;
  font-size: 1rem;
}

.message-card p {
  margin: 8px 0 0;
}

.message-thread {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.message-thread-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.86rem;
}

.message-thread-title strong {
  color: var(--text);
}

.message-bubble {
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 8px;
}

.message-bubble p {
  margin: 4px 0 0;
}

.message-bubble-self {
  justify-self: end;
  color: var(--ink);
  background: var(--graphite);
}

.message-bubble-admin {
  justify-self: start;
  color: var(--text);
  background: #f6efe1;
  border: 1px solid var(--line);
}

.message-pill {
  justify-self: start;
  padding: 4px 8px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 950;
}

.activity-card {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.activity-icon {
  display: grid;
  place-items: center;
  min-height: 38px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 950;
}

.notice-card,
.activity-card {
  color: var(--text);
}

.notice-card p,
.activity-card p {
  margin: 0;
  color: var(--muted);
}

.message-reply {
  margin-top: 12px;
  padding: 12px;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.reply-form {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.sidebar {
  position: sticky;
  top: 92px;
  height: fit-content;
  padding: 22px;
  color: var(--ink);
  background: var(--graphite);
  border-radius: 8px;
}

.sidebar h2 {
  margin: 0;
  font-size: 1.28rem;
}

.side-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.side-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  color: rgba(246, 248, 251, 0.72);
  border-bottom: 1px solid rgba(246, 248, 251, 0.1);
}

.side-list strong {
  color: var(--ink);
}

.content-stack {
  display: grid;
  gap: 22px;
}

.content-list,
.user-list,
.invite-list {
  display: grid;
  gap: 14px;
}

.review-watchlist,
.knowledge-ai,
.limit-board {
  display: grid;
  gap: 14px;
  margin: 0 0 18px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 13, 18, 0.06);
}

.review-watchlist h3,
.limit-board h3,
.ai-training-panel h3 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.review-watchlist p,
.knowledge-ai p,
.limit-board p {
  margin: 0;
  color: var(--muted);
}

.watchlist-form,
.knowledge-ai-form,
.ai-training-form,
.limit-board-form,
.private-note-form {
  display: grid;
  gap: 10px;
}

.watchlist-form textarea,
.knowledge-ai-form textarea,
.ai-training-form textarea,
.limit-board-form textarea,
.private-note-form textarea {
  min-height: 92px;
}

.ai-training-panel {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.training-drop {
  position: relative;
  display: grid;
  place-items: center;
  gap: 10px;
  min-height: 190px;
  padding: 24px;
  color: var(--ink);
  text-align: center;
  background: linear-gradient(135deg, #151d25, #24313d);
  border: 1px dashed rgba(217, 170, 77, 0.72);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(7, 13, 18, 0.14);
}

.training-drop.is-dragging {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(25, 170, 164, 0.16), 0 18px 42px rgba(7, 13, 18, 0.14);
}

.training-plus {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: var(--dark);
  background: #fffdf8;
  border-radius: 50%;
  box-shadow: 0 5px 0 rgba(0, 0, 0, 0.28);
  font-size: 2.2rem;
  line-height: 1;
}

.training-drop strong {
  font-size: 1.18rem;
}

.training-drop span:not(.training-plus) {
  max-width: 420px;
  color: rgba(246, 248, 251, 0.78);
  font-size: 0.92rem;
}

.training-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.training-file-pill {
  width: fit-content;
  padding: 5px 8px;
  color: var(--graphite);
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

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

.training-list,
.limit-board-list,
.private-note-list {
  display: grid;
  gap: 10px;
}

.training-card,
.limit-card,
.private-note-card {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.training-card span,
.limit-card span,
.private-note-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}

.training-card p,
.limit-card p,
.private-note-card p {
  color: var(--text);
  white-space: pre-wrap;
}

.limit-board-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.limit-board-actions span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 850;
}

.limit-board-workbench {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(300px, 1.1fr);
  gap: 14px;
  align-items: start;
}

.limit-tier {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.limit-tier h4 {
  margin: 0;
  font-size: 1rem;
}

.limit-stock-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.limit-stock-btn {
  min-height: 34px;
  padding: 0 10px;
  color: var(--graphite);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 950;
}

.limit-stock-btn.active,
.limit-stock-btn:hover {
  color: var(--dark);
  background: var(--gold);
  border-color: transparent;
}

.stock-detail-card {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 10px;
  padding: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stock-detail-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}

.market-stack {
  display: grid;
  gap: 10px;
}

.market-panel {
  display: grid;
  gap: 8px;
  padding: 10px;
  color: #f6f8fb;
  background: #050607;
  border: 1px solid #7a1d1d;
  border-radius: 8px;
}

.market-panel > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.market-panel strong {
  color: #fff;
  font-size: 0.92rem;
}

.market-panel span {
  color: #d9aa4d;
  font-size: 0.78rem;
  font-weight: 900;
}

.market-svg {
  width: 100%;
  height: 190px;
  overflow: hidden;
  border-radius: 6px;
}

.market-volume-svg {
  height: 150px;
}

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

.volume-box {
  padding: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.volume-box strong {
  display: block;
  font-size: 1rem;
}

.watchlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.watchlist-card {
  display: grid;
  gap: 8px;
  padding: 12px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.watchlist-card strong {
  font-size: 1.04rem;
}

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

.watchlist-chip {
  width: fit-content;
  padding: 3px 8px;
  color: var(--dark);
  background: rgba(217, 170, 77, 0.32);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
}

.watchlist-card.is-removed {
  opacity: 0.68;
}

.watchlist-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.watchlist-card-actions button {
  min-height: 28px;
  padding: 0 8px;
  color: var(--graphite);
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 0.76rem;
  font-weight: 950;
}

.ai-model-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-model-row button {
  min-height: 34px;
  padding: 0 12px;
  color: var(--graphite);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 950;
}

.ai-model-row button.active {
  color: var(--dark);
  background: var(--gold);
  border-color: transparent;
}

.ai-answer-list {
  display: grid;
  gap: 10px;
  max-height: 360px;
  overflow: auto;
}

.ai-answer-card {
  display: grid;
  gap: 7px;
  padding: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ai-answer-card.user {
  background: #f6efe1;
}

.ai-answer-card span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 950;
}

.ai-answer-card p {
  color: var(--text);
}

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

.source-card,
.company-source-card {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--graphite);
  text-decoration: none;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(7, 13, 18, 0.06);
}

.source-card:hover,
.company-source-card:hover {
  border-color: rgba(25, 170, 164, 0.5);
  transform: translateY(-1px);
}

.source-card span,
.company-source-card span {
  color: var(--teal);
  font-size: 0.8rem;
  font-weight: 950;
}

.source-card strong,
.company-source-card strong {
  font-size: 1.22rem;
  font-weight: 950;
}

.source-card small,
.company-source-card small {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 850;
}

.source-card-pending {
  opacity: 0.62;
  pointer-events: none;
}

.content-card,
.user-card,
.invite-card {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(7, 13, 18, 0.08);
}

.content-card img,
.image-preview img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.content-card img {
  margin: 14px 0 0;
}

.content-image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

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

.content-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f7f2e8;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  max-height: none;
  object-fit: cover;
  margin: 0;
}

.post-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  align-items: start;
  gap: 18px;
}

.post-tile {
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(7, 13, 18, 0.08);
}

.post-cover-button {
  display: grid;
  width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
}

.post-cover {
  display: grid;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #eee7d8;
}

.post-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #f7f8fb;
}

.post-cover.has-image {
  gap: 2px;
  background: #f7f8fb;
}

.post-cover.image-count-1 {
  place-items: center;
}

.post-cover.image-count-1 img {
  width: 100%;
  height: auto;
  max-height: 100%;
}

.post-cover.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.post-cover.image-count-3 {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.post-cover.image-count-3 img:first-child {
  grid-row: 1 / 3;
}

.post-cover-fallback {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 190px;
  color: var(--dark);
  background:
    linear-gradient(135deg, rgba(217, 170, 77, 0.9), rgba(25, 170, 164, 0.7)),
    #eee7d8;
  font-weight: 950;
}

.post-tile-body {
  padding: 14px 14px 10px;
}

.post-tile h3 {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 0;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-tile p {
  display: -webkit-box;
  margin: 8px 0 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.9rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.post-icon-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px 14px;
  color: var(--muted);
}

.content-card .post-icon-row,
.post-detail .post-icon-row {
  padding: 14px 0 0;
}

.icon-button {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 28px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font-weight: 850;
}

.icon-button svg {
  width: 20px;
  height: 20px;
}

.icon-button.active {
  color: #ff2442;
}

.comment-head {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-top: 20px;
  font-weight: 950;
}

.comment-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.comment-item {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.comment-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--graphite);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 950;
}

.comment-item strong {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
}

.comment-item strong em {
  padding: 1px 5px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.68rem;
  font-style: normal;
}

.comment-item span {
  display: block;
  color: var(--text);
}

.comment-empty {
  color: var(--muted);
  font-size: 0.92rem;
}

.ai-avatar {
  color: #fff;
}

.ai-deepseek {
  background: #2266ff;
}

.ai-benuli {
  background: linear-gradient(135deg, #111827, #6a4cff);
}

.ai-qianwen {
  background: #7157ff;
}

.ai-yuanbao {
  background: #20b86f;
}

.ai-doubao {
  background: #ff5a7a;
}

.ai-longxia {
  background: #f58b13;
}

.ai-generic {
  background: var(--graphite);
}

.ai-mention-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ai-mention-bar button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 10px;
  color: #111827;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 900;
}

.ai-mention-bar button span:not(.ai-avatar) {
  color: #111827;
}

.ai-mention-bar .ai-avatar {
  width: 22px;
  height: 22px;
  font-size: 0.68rem;
}

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

.comment-form .ai-mention-bar {
  grid-column: 1 / -1;
}

.post-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 24px;
}

.compose-fab {
  position: fixed;
  right: calc(clamp(18px, 5vw, 42px) + 78px);
  bottom: clamp(18px, 5vw, 42px);
  z-index: 20;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #1d9bf0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(29, 155, 240, 0.38);
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 500;
}

.compose-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
  display: grid;
  place-items: center;
  padding: 24px;
}

.compose-sheet {
  position: relative;
  z-index: 1;
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  padding: clamp(22px, 4vw, 34px);
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.compose-sheet h2 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.compose-sheet p {
  color: var(--muted);
}

.compose-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.compose-options button {
  display: grid;
  gap: 8px;
  min-height: 130px;
  padding: 18px;
  color: var(--text);
  text-align: left;
  background: #fbf8f1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.compose-options button:hover {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 170, 164, 0.14);
}

.compose-options strong {
  font-size: 1.2rem;
}

.compose-options span {
  color: var(--muted);
}

.compose-circle-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(92px, 1fr));
  gap: clamp(12px, 3vw, 20px);
  justify-items: center;
  margin-top: 26px;
}

.compose-options .compose-circle {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  width: min(138px, 28vw);
  aspect-ratio: 1;
  min-height: 0;
  padding: 0;
  color: #111827;
  text-align: center;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 50%;
  box-shadow: 0 16px 36px rgba(22, 29, 37, 0.14);
}

.compose-options .compose-circle strong {
  position: relative;
  z-index: 1;
  font-size: clamp(1.05rem, 3vw, 1.4rem);
  font-weight: 1000;
  letter-spacing: 0;
}

.compose-options .compose-circle::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.compose-review {
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.86), transparent 24%),
    linear-gradient(135deg, #ff7ab6 0%, #ffb36b 100%);
}

.compose-notice {
  background:
    radial-gradient(circle at 70% 18%, rgba(255, 255, 255, 0.84), transparent 24%),
    linear-gradient(135deg, #ff7a45 0%, #d9aa4d 100%);
}

.compose-note {
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(135deg, #b9a5ff 0%, #6fd6ff 100%);
}

.compose-options .compose-circle:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(22, 29, 37, 0.24);
}

.compose-keywords {
  margin: 0;
}

.dinner-board {
  display: grid;
  gap: 16px;
}

.dinner-intro {
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 63, 122, 0.32), transparent 28%),
    radial-gradient(circle at 88% 30%, rgba(35, 181, 211, 0.28), transparent 30%),
    linear-gradient(135deg, #151d25, #2b3541);
  border-radius: 8px;
}

.dinner-intro strong {
  font-size: 1.1rem;
}

.dinner-intro span {
  color: rgba(246, 248, 251, 0.72);
}

.dinner-board {
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.dinner-calendar-card,
.dinner-photo-card {
  display: grid;
  gap: 16px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 24, 32, 0.08);
}

.dinner-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.dinner-card-head h3,
.dinner-card-head p {
  margin: 0;
}

.dinner-card-head p {
  margin-top: 5px;
  color: var(--muted);
}

.dinner-card-head > span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #7a4d0f;
  background: rgba(217, 170, 77, 0.18);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
  white-space: nowrap;
}

.dinner-calendar {
  display: grid;
  gap: 12px;
}

.dinner-calendar-top,
.dinner-legend,
.dinner-slot-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.dinner-calendar-top {
  justify-content: space-between;
}

.dinner-calendar-top strong {
  font-size: 1.08rem;
}

.dinner-legend span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 850;
}

.dinner-legend i {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.dinner-legend .is-available,
.dinner-day.is-available,
.dinner-slot-pill.is-available {
  background: #eef1f5;
}

.dinner-legend .is-reserved,
.dinner-day.is-reserved,
.dinner-slot-pill.is-reserved {
  color: #111827;
  background: linear-gradient(135deg, #f2bf5b, #d9aa4d);
}

.dinner-legend .is-pending,
.dinner-day.is-pending,
.dinner-slot-pill.is-pending {
  color: #111827;
  background: linear-gradient(135deg, #dbeafe, #93c5fd);
}

.dinner-weekdays,
.dinner-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
}

.dinner-weekdays span {
  color: var(--muted);
  text-align: center;
  font-size: 0.78rem;
  font-weight: 950;
}

.dinner-day {
  display: grid;
  place-items: center;
  gap: 2px;
  min-height: 58px;
  color: #17202a;
  background: #faf7ef;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  font: inherit;
  font-weight: 950;
}

.dinner-day span {
  font-size: 0.68rem;
  opacity: 0.82;
}

.dinner-day.is-empty,
.dinner-day.is-blank {
  color: #c8ccd3;
  background: #f7f8fa;
}

.dinner-day:not(:disabled):hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 24, 32, 0.12);
}

.dinner-slot-detail {
  display: grid;
  gap: 10px;
  padding: 14px;
  background: #fbf7ef;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.dinner-slot-detail > p {
  margin: 0;
  color: var(--muted);
}

.dinner-slot-pill {
  display: grid;
  gap: 2px;
  min-width: 128px;
  min-height: 50px;
  padding: 8px 12px;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 12px;
  text-align: left;
  font: inherit;
}

.dinner-slot-pill span {
  font-weight: 950;
}

.dinner-slot-pill small {
  color: #4b5563;
  font-weight: 760;
}

.dinner-slot-form,
.dinner-photo-form {
  display: grid;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(16, 24, 32, 0.08);
}

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

.dinner-slot-form button,
.dinner-photo-form button {
  grid-column: 1 / -1;
}

.dinner-photo-drop {
  display: grid;
  place-items: center;
  gap: 5px;
  min-height: 154px;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 63, 122, 0.38), transparent 28%),
    linear-gradient(135deg, #17202a, #2f3c4a);
  border: 1px dashed rgba(217, 170, 77, 0.58);
  border-radius: 18px;
  cursor: pointer;
}

.dinner-photo-drop span {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #111827;
  background: #fff;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 800;
}

.dinner-photo-drop small {
  color: rgba(255, 255, 255, 0.74);
}

.dinner-photo-drop input {
  display: none;
}

.dinner-photo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.dinner-photo-item,
.dinner-photo-empty {
  overflow: hidden;
  background: #fffdf9;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 14px;
}

.dinner-photo-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.dinner-photo-item div,
.dinner-photo-empty {
  display: grid;
  gap: 4px;
  padding: 12px;
}

.dinner-photo-item span,
.dinner-photo-empty p {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.meeting-board {
  display: grid;
  gap: 16px;
}

.meeting-form {
  display: grid;
  gap: 12px;
  padding: 18px;
  background:
    radial-gradient(circle at 12% 0%, rgba(239, 63, 122, 0.14), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(106, 76, 255, 0.12), transparent 32%),
    #fffdf9;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(22, 29, 37, 0.08);
}

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

.meeting-form textarea {
  min-height: 104px;
}

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

.meeting-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(22, 29, 37, 0.08);
}

.meeting-card-head,
.meeting-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.meeting-card-head span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #161d25;
  background: var(--gold);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 950;
}

.meeting-card-head small,
.meeting-card-actions span {
  color: var(--muted);
  font-weight: 760;
}

.meeting-card h3 {
  margin: 0;
}

.draft-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px;
  color: var(--muted);
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 850;
}

.draft-strip span {
  margin-right: auto;
}

.keyword-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0 0;
}

.keyword-chip-row span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  color: #0f766e;
  background: rgba(15, 159, 146, 0.1);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.edit-trace {
  justify-self: start;
  margin-top: 10px;
  color: #8a6a20;
  font-size: 0.78rem;
  font-weight: 900;
}

.post-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 18, 0.55);
  border: 0;
}

.post-modal-sheet {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  background: var(--panel);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.post-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 950;
}

.post-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1fr);
  min-height: 560px;
}

.post-detail-media {
  display: grid;
  place-items: center;
  background: #eee7d8;
}

.post-detail-media > img,
.post-detail-media > .post-cover-fallback {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: contain;
  background: #f7f2e8;
}

.post-detail-media .content-image-grid {
  width: 100%;
  max-height: calc(100vh - 80px);
  margin: 0;
  overflow: auto;
  padding: 12px;
}

.post-detail-media .content-image-grid img {
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: contain;
}

.post-detail-main {
  padding: 30px;
}

.post-detail-main h3 {
  margin: 0;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  line-height: 1.18;
}

.post-detail-main p {
  white-space: pre-wrap;
}

.image-preview {
  display: grid;
  gap: 10px;
}

.image-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.download-fields {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.download-drop {
  position: relative;
  display: grid;
  gap: 6px;
  min-height: 128px;
  padding: 24px;
  place-items: center;
  text-align: center;
  background: var(--panel);
  border: 1px dashed #b9a77f;
  border-radius: 8px;
}

.download-drop.is-dragging {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(25, 170, 164, 0.14);
}

.download-drop strong {
  font-size: 1rem;
}

.download-drop span,
.file-preview {
  color: var(--muted);
  font-size: 0.9rem;
}

.download-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.download-code {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 10px;
  color: var(--graphite);
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 900;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 950;
}

.badge-muted {
  color: var(--ink);
  background: var(--graphite-2);
}

.badge-danger {
  color: var(--ink);
  background: var(--danger);
}

.admin-grid {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.82fr);
  align-items: start;
}

.echo-teaser {
  padding-top: 0;
}

.echo-teaser-primary {
  position: relative;
  min-height: clamp(340px, 46vh, 430px);
  display: flex;
  align-items: center;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(7, 13, 18, 0.96) 0%, rgba(18, 28, 36, 0.92) 54%, rgba(35, 45, 51, 0.88) 100%),
    radial-gradient(circle at 24% 24%, rgba(217, 170, 77, 0.28), transparent 34%),
    radial-gradient(circle at 74% 64%, rgba(25, 170, 164, 0.16), transparent 38%),
    var(--graphite);
}

.echo-teaser-primary::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 150px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(7, 13, 18, 0), rgba(7, 13, 18, 0.92));
}

.echo-wechat-mark {
  position: absolute;
  top: 30px;
  left: max(24px, calc((100vw - var(--max)) / 2));
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  max-width: calc(100% - 48px);
  padding: 12px 16px;
  text-align: left;
  color: rgba(246, 248, 251, 0.92);
  background: rgba(255, 253, 248, 0.1);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: 14px;
  box-shadow: 0 20px 46px rgba(7, 13, 18, 0.16);
  backdrop-filter: blur(12px);
  opacity: 0.74;
  pointer-events: auto;
  cursor: pointer;
  transition: opacity 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.echo-wechat-mark:hover {
  opacity: 0.92;
  border-color: rgba(217, 170, 77, 0.46);
  transform: translateY(-1px);
}

.wechat-profile-modal[hidden] {
  display: none;
}

.wechat-profile-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.wechat-profile-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 13, 18, 0.58);
  border: 0;
}

.wechat-profile-card {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  padding: 24px;
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.wechat-profile-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: #f4efe4;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 950;
}

.wechat-profile-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-right: 34px;
}

.wechat-profile-head img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
}

.wechat-profile-head strong {
  display: block;
  color: var(--graphite);
  font-size: 1.4rem;
  line-height: 1.2;
}

.wechat-profile-head p,
.wechat-profile-body p {
  margin: 6px 0 0;
  color: var(--muted);
}

.wechat-profile-body {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.wechat-profile-body small {
  min-height: 1.2em;
  color: var(--teal);
  font-weight: 900;
}

.wechat-avatar-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  object-fit: cover;
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.46);
  border-radius: 50%;
}

.wechat-mark-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.wechat-mark-copy strong {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 950;
  line-height: 1.2;
}

.wechat-mark-copy strong span {
  color: var(--gold);
}

.wechat-mark-copy small {
  color: rgba(246, 248, 251, 0.66);
  font-size: 0.78rem;
  white-space: nowrap;
  overflow: visible;
}

.echo-teaser-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px;
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(7, 13, 18, 0.92), rgba(34, 44, 54, 0.94)),
    radial-gradient(circle at 20% 10%, rgba(217, 170, 77, 0.25), transparent 38%);
  border-radius: 8px;
}

.echo-teaser-primary .echo-teaser-inner {
  position: relative;
  z-index: 1;
  min-height: clamp(340px, 46vh, 430px);
  padding: 82px 0 64px;
  background: transparent;
  border-radius: 0;
}

.echo-teaser-primary .btn {
  min-height: 54px;
  padding-inline: 22px;
}

.echo-teaser h2 {
  margin: 0;
  font-size: clamp(2.25rem, 5.2vw, 3.7rem);
  line-height: 1.05;
}

.echo-teaser p {
  max-width: 860px;
  margin: 10px 0 0;
  color: rgba(246, 248, 251, 0.76);
  white-space: nowrap;
}

.echo-shell {
  padding: clamp(32px, 6vw, 78px) 0;
}

.echo-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  gap: 24px;
  align-items: end;
  margin-bottom: 24px;
}

.echo-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7rem);
  line-height: 0.98;
}

.echo-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.echo-policy {
  display: grid;
  gap: 9px;
  padding: 18px;
  color: var(--ink);
  background: var(--graphite);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.echo-policy strong {
  color: var(--gold);
  font-size: 1.12rem;
}

.echo-policy span {
  padding-top: 8px;
  border-top: 1px solid rgba(246, 248, 251, 0.12);
  color: rgba(246, 248, 251, 0.76);
  font-weight: 850;
}

.echo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 20px;
  align-items: start;
  margin-bottom: 34px;
}

.echo-composer,
.echo-reply-card,
.echo-post {
  padding: 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 42px rgba(7, 13, 18, 0.07);
}

.echo-composer {
  display: grid;
  gap: 13px;
}

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

.echo-form-head h2,
.echo-reply-card h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.echo-form-head span {
  color: var(--teal);
  font-weight: 950;
}

.echo-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}

.echo-tags legend {
  width: 100%;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 950;
}

.echo-tags label,
.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  min-height: 36px;
  padding: 0 10px;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 900;
}

.echo-composer textarea {
  min-height: 140px;
}

.echo-reply-card {
  position: sticky;
  top: 92px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(246, 239, 225, 0.94)),
    radial-gradient(circle at 20% 10%, rgba(217, 170, 77, 0.16), transparent 38%);
}

.echo-reply-card ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--graphite);
  font-weight: 850;
}

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

.echo-post {
  display: grid;
  gap: 12px;
}

.echo-post-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
}

.echo-post-head span {
  padding: 4px 9px;
  color: var(--dark);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.echo-post h3 {
  margin: 0;
  font-size: 1.12rem;
}

.echo-post p {
  margin: 0;
  white-space: pre-wrap;
}

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

.echo-images img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
}

.echo-comments {
  display: grid;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.echo-comment {
  padding: 10px;
  background: #f6efe1;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.echo-comment-ai {
  background: rgba(217, 170, 77, 0.14);
  border-color: rgba(217, 170, 77, 0.38);
}

.echo-comment strong {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.echo-reply-form {
  display: grid;
  gap: 8px;
}

.echo-reply-form textarea {
  min-height: 74px;
}

.echo-page {
  background: #f6f7fb;
}

.echo-topbar {
  color: var(--text);
  background: rgba(255, 255, 255, 0.94);
  border-top: 5px solid #111827;
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.08);
}

.echo-auth-page {
  min-height: 100vh;
  color: #101820;
  background:
    radial-gradient(circle at 10% 18%, rgba(239, 63, 122, 0.16), transparent 28%),
    radial-gradient(circle at 82% 16%, rgba(86, 76, 255, 0.16), transparent 30%),
    linear-gradient(135deg, #f8f4eb 0%, #f4f7ff 100%);
}

.echo-auth-topbar {
  border-top: 5px solid #111827;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.08);
}

.echo-auth-shell {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 72px);
  margin: 0 auto;
  padding: clamp(38px, 7vw, 86px) 0;
  display: grid;
  align-items: center;
}

.echo-auth-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 44px);
  align-items: stretch;
}

.echo-auth-hero-single {
  grid-template-columns: minmax(320px, 560px);
  justify-content: center;
}

.echo-auth-copy {
  position: relative;
  min-height: 560px;
  padding: clamp(32px, 5vw, 58px);
  display: grid;
  align-content: center;
  gap: 20px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 22%, rgba(239, 63, 122, 0.42), transparent 24%),
    radial-gradient(circle at 78% 28%, rgba(66, 153, 255, 0.32), transparent 25%),
    linear-gradient(135deg, #101820 0%, #233244 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  box-shadow: 0 34px 86px rgba(16, 24, 32, 0.18);
}

.echo-auth-copy::after {
  content: "";
  position: absolute;
  right: -90px;
  bottom: -120px;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(217, 170, 77, 0.28), transparent 66%);
}

.echo-auth-copy .eyebrow {
  color: #f0c75d;
}

.echo-auth-copy h1 {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(14px, 2vw, 24px);
  margin: 0;
  max-width: 520px;
  font-size: clamp(5.2rem, 8.8vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
}

.echo-auth-copy h1 span {
  display: block;
  white-space: nowrap;
}

.echo-auth-copy > p:not(.eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  line-height: 1.8;
}

.echo-auth-social-tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.echo-auth-social-tags span {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #101820;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
}

.echo-auth-card {
  width: 100%;
  padding: 26px;
  min-height: 560px;
  display: grid;
  align-content: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.14);
  backdrop-filter: blur(16px);
}

.echo-auth-card-head {
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
}

.echo-auth-card-head span {
  color: #d9aa4d;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.echo-auth-card-head strong {
  font-size: 1.6rem;
  line-height: 1.2;
}

.echo-auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px;
  background: rgba(244, 247, 251, 0.92);
  border: 1px solid rgba(188, 163, 126, 0.24);
  border-radius: 999px;
}

.echo-auth-tabs button {
  min-height: 40px;
  color: #647084;
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 950;
}

.echo-auth-tabs button.active {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  box-shadow: 0 12px 28px rgba(239, 63, 122, 0.22);
}

.echo-auth-form {
  display: grid;
  gap: 16px;
}

.echo-auth-form label {
  display: grid;
  gap: 8px;
  font-weight: 950;
}

.echo-auth-form input {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  color: #101820;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(188, 163, 126, 0.46);
  border-radius: 14px;
  font: inherit;
  font-weight: 800;
}

.echo-auth-form input:focus {
  outline: 3px solid rgba(239, 63, 122, 0.18);
  border-color: rgba(239, 63, 122, 0.5);
}

.echo-auth-form .btn-primary {
  min-height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ef3f7a, #ff7046);
  box-shadow: 0 18px 38px rgba(239, 63, 122, 0.22);
}

.echo-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 126px;
  gap: 8px;
}

.echo-code-row button {
  min-height: 54px;
  color: #fff;
  background: #101820;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font: inherit;
  font-weight: 950;
}

.echo-code-row button[disabled] {
  cursor: not-allowed;
  opacity: 0.58;
}

.echo-auth-remember {
  display: inline-flex !important;
  align-items: center;
  gap: 8px !important;
  color: #5f6b7a;
  font-size: 0.92rem;
  font-weight: 900;
}

.echo-auth-remember input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: #ef3f7a;
}



.echo-auth-agreement {
  margin-top: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  color: #384456;
  background: rgba(255, 248, 232, 0.74);
  border: 1px solid rgba(217, 170, 77, 0.28);
  border-radius: 16px;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.7;
}

.echo-auth-agreement input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  accent-color: #ef3f7a;
}

.echo-auth-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: #ef3f7a;
  font-weight: 950;
}

.echo-topbar .brand,
.echo-topbar .nav a {
  color: var(--text);
}

.echo-topbar .brand-mark {
  color: var(--dark);
  background: linear-gradient(135deg, var(--gold), #f0cf7d);
}

.echo-topbar .brand-text small {
  color: rgba(18, 24, 32, 0.46);
}

.echo-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a 0%, #ff8b2b 100%);
  border-color: transparent;
  box-shadow: 0 10px 24px rgba(239, 63, 122, 0.24);
}

.echo-top-search {
  position: relative;
  width: min(300px, 25vw);
  margin-left: 2px;
}

.echo-search-box {
  height: 38px;
  background: rgba(246, 248, 251, 0.92);
  border-color: rgba(16, 24, 32, 0.08);
}

.echo-search-results {
  top: 48px;
  right: 0;
}

.echo-community {
  width: min(100% - 36px, 1160px);
  margin: 0 auto;
  padding: 34px 0 90px;
}

.echo-community-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.echo-public-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(142px, 1fr));
  gap: 12px;
  margin: 0 0 18px;
}

.echo-public-tools a {
  display: grid;
  place-items: center;
  min-height: 44px;
  padding: 0 12px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.1);
}

.echo-public-tools a:nth-child(1) { background: linear-gradient(135deg, #ef3f7a, #ff7a45); }
.echo-public-tools a:nth-child(2) { background: linear-gradient(135deg, #d94841, #6a4cff); }
.echo-public-tools a:nth-child(3) { background: linear-gradient(135deg, #6a4cff, #3aa0ff); }
.echo-public-tools a:nth-child(4) { background: linear-gradient(135deg, #f58b13, #ef4b3f); }
.echo-public-tools a:nth-child(5) { background: linear-gradient(135deg, #151d25, #475467); }
.echo-public-tools a:nth-child(6) { background: linear-gradient(135deg, #7a4fd9, #d9aa4d); }
.echo-public-tools a:nth-child(7) { background: linear-gradient(135deg, #b91c1c, #d9aa4d); }
.echo-public-tools a:nth-child(8) { background: linear-gradient(135deg, #b91c1c, #d9aa4d); }

.echo-public-tools a.tool-industry {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.5), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(255, 215, 120, 0.42), transparent 24%),
    linear-gradient(135deg, #111827 0%, #7a4fd9 45%, #ef3f7a 100%);
  box-shadow: 0 16px 30px rgba(122, 79, 217, 0.2);
}

.echo-public-tools a:nth-child(4) {
  font-size: 0.93rem;
  padding-inline: 10px;
}

.exchange-public-tools {
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  width: min(100%, 360px);
  margin-top: 18px;
  margin-bottom: 22px;
  padding-top: 2px;
}

.exchange-public-tools a {
  min-height: 42px;
}

.exchange-public-tools a:nth-child(1) {
  background: linear-gradient(135deg, #ef3f7a, #ff7a45);
}

.exchange-public-tools a:nth-child(2) {
  background: linear-gradient(135deg, #6a4cff, #3a70ff);
}

.echo-page .exchange-public-tools,
.member-page .member-exchange-tools {
  grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
  width: 100%;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 22px;
}

.echo-page .exchange-public-tools a,
.member-page .member-exchange-tools a {
  min-height: 42px;
  border-radius: 12px;
  font-size: 0.95rem;
}

.echo-page .exchange-public-tools a:nth-child(3),
.member-page .member-exchange-tools a:nth-child(3) {
  background: linear-gradient(135deg, #f04773, #ff784f);
}

.echo-page .exchange-public-tools a:nth-child(4),
.member-page .member-exchange-tools a:nth-child(4) {
  background: linear-gradient(135deg, #263241, #526071);
}

.echo-page .exchange-public-tools a:nth-child(5),
.member-page .member-exchange-tools a:nth-child(5) {
  background: linear-gradient(135deg, #b42318, #f97316);
}

.echo-page .exchange-public-tools a:nth-child(6),
.member-page .member-exchange-tools a:nth-child(6) {
  background: linear-gradient(135deg, #d9aa4d, #9a6a23);
}

.echo-page .exchange-public-tools a.tool-industry,
.member-page .member-exchange-tools a.tool-industry {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.5), transparent 26%),
    radial-gradient(circle at 84% 18%, rgba(255, 215, 120, 0.42), transparent 24%),
    linear-gradient(135deg, #111827 0%, #7a4fd9 45%, #ef3f7a 100%);
}

.utility-public-tools {
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 10px;
  margin-top: -6px;
  margin-bottom: 22px;
}

.utility-public-tools a {
  min-height: 38px;
  border-radius: 10px;
  font-size: 0.92rem;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.08);
}

.utility-public-tools a:nth-child(1) { background: linear-gradient(135deg, #f04773, #ff784f); }
.utility-public-tools a:nth-child(2) { background: linear-gradient(135deg, #8647d9, #5068ff); }
.utility-public-tools a:nth-child(3) { background: linear-gradient(135deg, #263241, #526071); }
.utility-public-tools a:nth-child(4) { background: linear-gradient(135deg, #b42318, #f97316); }
.utility-public-tools a:nth-child(5) { background: linear-gradient(135deg, #d9aa4d, #9a6a23); }
.utility-public-tools a:nth-child(6) { background: linear-gradient(135deg, #3a70ff, #6a4cff); }
.utility-public-tools a:nth-child(7) { background: linear-gradient(135deg, #111827, #334155); }

.industry-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 10%, rgba(239, 63, 122, 0.08), transparent 28%),
    radial-gradient(circle at 88% 8%, rgba(58, 112, 255, 0.08), transparent 30%),
    #f5f6fa;
}

.industry-shell {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px) 0 80px;
}

.industry-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: stretch;
  padding: clamp(24px, 4vw, 38px);
  background:
    radial-gradient(circle at 8% 12%, rgba(239, 63, 122, 0.12), transparent 30%),
    radial-gradient(circle at 84% 10%, rgba(106, 76, 255, 0.14), transparent 34%),
    rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.08);
}

.industry-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #111827;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.industry-subtitle {
  max-width: 760px;
  margin: 18px 0 0;
  color: #475467;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  font-weight: 820;
}

.industry-hero-card {
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 230px;
  padding: 22px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 78% 14%, rgba(217, 170, 77, 0.34), transparent 30%),
    linear-gradient(135deg, #111827, #273342);
  border-radius: 20px;
  box-shadow: 0 24px 52px rgba(17, 24, 39, 0.22);
}

.industry-hero-card span,
.industry-card-top span {
  justify-self: start;
  padding: 6px 10px;
  color: #111827;
  background: #d9aa4d;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.industry-hero-card strong {
  color: #fff;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.25;
}

.industry-hero-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.72);
}

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

.industry-feature-grid article,
.industry-card,
.industry-request-panel {
  padding: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 48px rgba(17, 24, 39, 0.07);
}

.industry-feature-grid article {
  display: grid;
  gap: 10px;
}

.industry-feature-grid span {
  color: #ef3f7a;
  font-size: 0.82rem;
  font-weight: 950;
}

.industry-feature-grid strong {
  color: #111827;
  font-size: 1.05rem;
}

.industry-feature-grid p,
.industry-card p,
.industry-request-panel p {
  margin: 0;
  color: #667085;
}

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

.industry-observation-list,
.industry-request-panel,
.industry-request-list {
  display: grid;
  gap: 14px;
}

.industry-card {
  display: grid;
  gap: 14px;
}

.industry-card-featured {
  color: #f8fafc;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 63, 122, 0.28), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(58, 112, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #111827, #263241);
}

.industry-card-featured p {
  color: rgba(248, 250, 252, 0.78);
}

.industry-card h3 {
  margin: 0;
  color: inherit;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1.2;
}

.industry-card-top,
.industry-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.industry-card-top small {
  color: inherit;
  opacity: 0.62;
  font-weight: 900;
}

.industry-card-actions button {
  min-height: 38px;
  padding: 0 14px;
  color: #111827;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  font-weight: 950;
}

.industry-card-actions button:last-child {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7448);
  border-color: transparent;
}

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

.industry-check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 12px;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e6eaf0;
  border-radius: 14px;
}

.industry-check-grid input {
  width: 16px;
  min-height: 16px;
  accent-color: #ef3f7a;
}

.industry-agreement {
  border-radius: 16px;
}

.industry-request-item {
  display: grid;
  gap: 6px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6eaf0;
  border-radius: 16px;
}

.industry-request-item strong {
  color: #111827;
}

.industry-request-item span {
  color: #98a2b3;
  font-size: 0.82rem;
  font-weight: 850;
}

.industry-topbar .nav .active {
  color: var(--gold);
}

.industry-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 18px;
  align-items: center;
  padding: clamp(20px, 3vw, 32px) clamp(24px, 4vw, 42px);
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 18%, rgba(239, 63, 122, 0.16), transparent 26%),
    radial-gradient(circle at 88% 12%, rgba(58, 112, 255, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 26px;
  box-shadow: 0 26px 76px rgba(16, 24, 32, 0.1);
}

.industry-stage-copy {
  display: grid;
  align-content: center;
  gap: 16px;
  min-width: 0;
}

.industry-stage-copy h1 {
  margin: 0;
  color: #111827;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.industry-stage-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: #475467;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  font-weight: 860;
  line-height: 1.7;
}

.industry-focus-points,
.industry-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.industry-focus-points span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: #111827;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 999px;
  font-weight: 920;
}

.industry-boundary-card {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  min-height: 210px;
  padding: 22px;
  color: #f8fafc;
  background:
    radial-gradient(circle at 78% 16%, rgba(217, 170, 77, 0.36), transparent 30%),
    radial-gradient(circle at 22% 18%, rgba(239, 63, 122, 0.2), transparent 30%),
    linear-gradient(135deg, #111827, #273342);
  border-radius: 22px;
  box-shadow: 0 22px 56px rgba(17, 24, 39, 0.24);
  text-align: center;
}

.industry-boundary-card span,
.industry-brief-card > span,
.industry-request-item > span {
  justify-self: start;
  padding: 6px 11px;
  color: #111827;
  background: #d9aa4d;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.industry-boundary-card strong {
  color: #fff;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.18;
}

.industry-boundary-simple strong {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  line-height: 1.25;
  letter-spacing: 0;
}

.industry-boundary-card p {
  margin: 0;
  color: rgba(248, 250, 252, 0.74);
  line-height: 1.72;
}

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

.industry-signal-strip article {
  position: relative;
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(17, 24, 39, 0.06);
}

.industry-signal-strip article:nth-child(1) { border-top: 5px solid #ef3f7a; }
.industry-signal-strip article:nth-child(2) { border-top: 5px solid #6a4cff; }
.industry-signal-strip article:nth-child(3) { border-top: 5px solid #111827; }
.industry-signal-strip article:nth-child(4) { border-top: 5px solid #d9aa4d; }

.industry-signal-strip span {
  color: #98a2b3;
  font-size: 0.78rem;
  font-weight: 950;
}

.industry-signal-strip strong {
  color: #111827;
  font-size: 1.18rem;
}

.industry-signal-strip p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.industry-edit-button,
.industry-manage-button {
  display: none;
  justify-self: start;
  min-height: 32px;
  padding: 0 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(17, 24, 39, 0.12);
  border-radius: 999px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

.industry-page.is-manager .industry-edit-button,
.industry-page.is-manager .industry-manage-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.industry-signal-strip .industry-edit-button {
  position: absolute;
  right: 14px;
  top: 14px;
}

.industry-edit-item.is-editing {
  outline: 2px solid rgba(239, 63, 122, 0.5);
  outline-offset: 3px;
}

[data-industry-edit-field][contenteditable="true"] {
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(217, 170, 77, 0.16);
  outline: 1px dashed rgba(217, 170, 77, 0.88);
}

.industry-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 410px);
  gap: 18px;
  align-items: start;
}

.industry-feed,
.industry-pick-panel {
  min-width: 0;
}

.industry-section-head {
  margin-bottom: 14px;
}

.industry-section-head h2 {
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.05;
}

.industry-spotlight,
.industry-brief-card,
.industry-pick-panel {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 58px rgba(17, 24, 39, 0.08);
}

.industry-spotlight {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 30px);
  color: #f8fafc;
  background:
    radial-gradient(circle at 18% 18%, rgba(239, 63, 122, 0.3), transparent 25%),
    radial-gradient(circle at 82% 18%, rgba(58, 112, 255, 0.25), transparent 28%),
    linear-gradient(135deg, #111827, #25313f);
}

.industry-spotlight h3,
.industry-brief-card h3 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.industry-spotlight p {
  max-width: 760px;
  margin: 0;
  color: rgba(248, 250, 252, 0.78);
  font-size: 1.02rem;
  line-height: 1.85;
}

.industry-spotlight .industry-focus-points span {
  color: #111827;
  background: rgba(255, 255, 255, 0.9);
}

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

.industry-brief-card {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 22px;
}

.industry-spotlight .industry-edit-button,
.industry-brief-card .industry-edit-button {
  justify-self: end;
}

.industry-request-tools {
  display: none;
  gap: 8px;
}

.industry-page.is-manager .industry-request-tools {
  display: flex;
}

.industry-request-item footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.industry-request-item button {
  min-height: 30px;
  padding: 0 10px;
  color: #9f1d36;
  background: #fff7f2;
  border: 1px solid rgba(217, 170, 77, 0.36);
  border-radius: 999px;
  font-weight: 920;
}

.industry-brief-card:nth-child(1) > span {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7448);
}

.industry-brief-card:nth-child(2) > span {
  color: #fff;
  background: linear-gradient(135deg, #6a4cff, #3a70ff);
}

.industry-brief-card h3 {
  color: #111827;
}

.industry-brief-card p {
  margin: 0;
  color: #667085;
  line-height: 1.76;
}

.industry-pick-panel {
  position: sticky;
  top: 86px;
  display: grid;
  gap: 18px;
  padding: 22px;
}

.industry-picker-block {
  display: grid;
  gap: 10px;
}

.industry-picker-block > strong {
  color: #111827;
  font-size: 1.02rem;
}

.industry-chip-row button {
  min-height: 38px;
  padding: 0 14px;
  color: #344054;
  background: #f4f6f9;
  border: 1px solid #e6eaf0;
  border-radius: 999px;
  font-weight: 920;
}

.industry-chip-row button.active {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7448);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(239, 63, 122, 0.18);
}

.industry-angle-row button.active {
  background: linear-gradient(135deg, #111827, #475467);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.18);
}

.industry-note-card {
  display: grid;
  gap: 10px;
  padding: 16px;
  background:
    radial-gradient(circle at 92% 18%, rgba(217, 170, 77, 0.16), transparent 28%),
    #f8fafc;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  border-radius: 20px;
}

.industry-note-card span {
  color: #667085;
  font-size: 0.82rem;
  font-weight: 950;
}

.industry-note-input {
  min-height: 112px;
  color: #111827;
  outline: none;
  font-size: 1rem;
  line-height: 1.75;
}

.industry-note-input:empty::before {
  content: attr(data-placeholder);
  color: #98a2b3;
}

.industry-submit-button {
  min-height: 48px;
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7448);
  border: 0;
  border-radius: 14px;
  box-shadow: 0 16px 28px rgba(239, 63, 122, 0.18);
  font-weight: 950;
}

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

.industry-request-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #e6eaf0;
  border-radius: 18px;
}

.industry-request-item > span {
  color: #fff;
  background: linear-gradient(135deg, #111827, #475467);
}

.industry-request-item strong {
  color: #111827;
  font-size: 1.05rem;
}

.industry-request-item p {
  margin: 0;
  color: #667085;
  line-height: 1.65;
}

.industry-request-item small {
  color: #98a2b3;
  font-weight: 850;
}

.industry-invite-panel,
.industry-trend-section {
  margin-top: 22px;
  padding: clamp(18px, 2.4vw, 28px);
  background:
    radial-gradient(circle at 12% 12%, rgba(239, 63, 122, 0.14), transparent 28%),
    radial-gradient(circle at 86% 18%, rgba(58, 112, 255, 0.13), transparent 30%),
    rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 22px 64px rgba(17, 24, 39, 0.09);
}

.industry-invite-panel .industry-section-head,
.industry-trend-section .industry-section-head {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.industry-invite-panel .industry-section-head h2,
.industry-trend-section .industry-section-head h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.2rem);
}

.industry-invite-panel .industry-section-head p:not(.eyebrow),
.industry-trend-section .industry-section-head p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: #667085;
  line-height: 1.7;
}

.industry-invite-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr) minmax(160px, 0.35fr);
  gap: 16px;
  align-items: stretch;
}

.industry-invite-panel .industry-picker-block,
.industry-invite-panel .industry-note-card,
.industry-invite-action {
  min-width: 0;
  padding: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(17, 24, 39, 0.06);
}

.industry-invite-panel .industry-picker-block > strong,
.industry-invite-panel .industry-note-card span {
  color: #111827;
  font-size: 1rem;
}

.industry-invite-panel [data-industry-topic-list] {
  gap: 9px;
  max-height: 178px;
  overflow: auto;
  padding-right: 4px;
}

.industry-invite-panel [data-industry-topic-list] button {
  min-height: 34px;
  padding: 7px 12px;
  color: #344054;
  background: rgba(244, 246, 249, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 999px;
  white-space: normal;
  line-height: 1.2;
  text-align: left;
}

.industry-invite-panel [data-industry-topic-list] button.active {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7448);
  box-shadow: 0 12px 24px rgba(239, 63, 122, 0.18);
}

.industry-invite-panel .industry-note-card {
  background:
    radial-gradient(circle at 90% 18%, rgba(217, 170, 77, 0.18), transparent 30%),
    rgba(248, 250, 252, 0.86);
}

.industry-invite-panel .industry-note-input {
  min-height: 128px;
  padding: 2px 0;
}

.industry-invite-action {
  display: grid;
  align-content: center;
  gap: 12px;
}

.industry-invite-action .status {
  min-height: 20px;
  margin: 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.45;
}

.industry-request-list-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 16px;
}

.industry-request-list-inline .industry-request-item {
  background: rgba(248, 250, 252, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.industry-request-list-inline .industry-request-item > span {
  max-width: 100%;
  color: #fff;
  background: linear-gradient(135deg, #6a4cff, #3a70ff);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.industry-trend-section .industry-section-head {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
}

.industry-trend-section .industry-section-head .eyebrow,
.industry-trend-section .industry-section-head h2 {
  grid-column: 1;
}

.industry-trend-section .industry-new-article-button {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
}

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

.industry-article-card {
  min-width: 0;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 24px;
  box-shadow: 0 20px 48px rgba(17, 24, 39, 0.09);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.industry-article-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 64px rgba(17, 24, 39, 0.13);
}

.industry-article-cover {
  position: relative;
  display: grid;
  align-content: end;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 200, 90, 0.68), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(70, 210, 255, 0.48), transparent 28%),
    linear-gradient(135deg, #ef3f7a 0%, #6a4cff 58%, #111827 100%);
}

.industry-article-cover.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0.78)),
    radial-gradient(circle at 18% 18%, rgba(239, 63, 122, 0.28), transparent 28%);
  z-index: 1;
}

.industry-article-cover > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}

.industry-article-card:nth-child(2n) .industry-article-cover {
  background:
    radial-gradient(circle at 26% 20%, rgba(217, 170, 77, 0.54), transparent 26%),
    radial-gradient(circle at 82% 24%, rgba(239, 63, 122, 0.34), transparent 30%),
    linear-gradient(135deg, #111827, #3a70ff);
}

.industry-article-card:nth-child(3n) .industry-article-cover {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 120, 76, 0.58), transparent 28%),
    radial-gradient(circle at 86% 26%, rgba(217, 170, 77, 0.46), transparent 32%),
    linear-gradient(135deg, #7d3cff, #243044);
}

.industry-article-cover span {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  justify-self: start;
  padding: 7px 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 950;
}

.industry-article-cover strong {
  position: relative;
  z-index: 2;
  margin-top: 48px;
  max-width: 92%;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.18;
  letter-spacing: 0;
  text-shadow: 0 12px 26px rgba(17, 24, 39, 0.22);
}

.industry-article-cover small {
  position: relative;
  z-index: 2;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 900;
}

.industry-article-body {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.industry-question {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 14px;
  color: #111827;
  background: #f8fafc;
  border-left: 4px solid #d9aa4d;
  border-radius: 16px;
}

.industry-question small {
  color: #b42318;
  font-size: 0.78rem;
  font-weight: 950;
}

.industry-question p {
  margin: 0;
  color: #111827;
  font-weight: 850;
  line-height: 1.58;
}

.industry-answer-preview {
  margin: 0;
  color: #475467;
  line-height: 1.76;
}

.industry-article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid #edf0f4;
}

.industry-article-meta span {
  color: #667085;
  font-size: 0.88rem;
  font-weight: 850;
}

.industry-article-meta button {
  min-height: 36px;
  padding: 0 14px;
  color: #111827;
  background: #fff7e8;
  border: 1px solid rgba(217, 170, 77, 0.46);
  border-radius: 999px;
  font-weight: 950;
}

.industry-article-modal[hidden] {
  display: none;
}

.industry-article-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.industry-article-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.48);
  backdrop-filter: blur(8px);
}

.industry-article-sheet {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(86vh, 880px);
  overflow: auto;
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 10% 12%, rgba(239, 63, 122, 0.12), transparent 28%),
    radial-gradient(circle at 90% 10%, rgba(58, 112, 255, 0.12), transparent 30%),
    #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 28px;
  box-shadow: 0 34px 90px rgba(17, 24, 39, 0.26);
}

.industry-article-reader {
  display: grid;
  gap: 18px;
}

.industry-article-reader > span {
  justify-self: start;
  padding: 7px 12px;
  color: #111827;
  background: #d9aa4d;
  border-radius: 999px;
  font-weight: 950;
}

.industry-article-reader h2 {
  max-width: 760px;
  margin: 0;
  color: #111827;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.05;
}

.industry-reader-question {
  display: grid;
  gap: 8px;
  max-width: 760px;
  padding: 18px;
  background: #f8fafc;
  border-left: 5px solid #ef3f7a;
  border-radius: 18px;
}

.industry-reader-question strong {
  color: #b42318;
}

.industry-reader-question p {
  margin: 0;
  color: #111827;
  font-weight: 850;
  line-height: 1.72;
}

.industry-reader-body {
  display: grid;
  gap: 14px;
  max-width: 780px;
}

.industry-reader-body p {
  margin: 0;
  color: #344054;
  font-size: 1.06rem;
  line-height: 1.9;
}

.industry-reader-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  max-width: 840px;
}

.industry-reader-gallery figure {
  margin: 0;
  overflow: hidden;
  background: #f8fafc;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
}

.industry-reader-gallery img {
  display: block;
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  background: #fff;
}

.industry-article-editor {
  display: grid;
  gap: 16px;
}

.industry-article-editor label {
  display: grid;
  gap: 8px;
  color: #111827;
  font-weight: 950;
}

.industry-article-editor input,
.industry-article-editor textarea {
  width: 100%;
  padding: 13px 14px;
  color: #111827;
  background: #fffdfa;
  border: 1px solid rgba(17, 24, 39, 0.14);
  border-radius: 14px;
  font: inherit;
  line-height: 1.65;
  resize: vertical;
}

.industry-editor-actions {
  display: flex;
  justify-content: flex-end;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.industry-image-editor {
  display: grid;
  gap: 14px;
  padding: 16px;
  background:
    radial-gradient(circle at 16% 12%, rgba(239, 63, 122, 0.12), transparent 26%),
    radial-gradient(circle at 86% 22%, rgba(58, 112, 255, 0.12), transparent 28%),
    #f8fafc;
  border: 1px dashed rgba(17, 24, 39, 0.18);
  border-radius: 20px;
}

.industry-image-editor.is-dragging {
  border-color: #ef3f7a;
  box-shadow: 0 0 0 4px rgba(239, 63, 122, 0.08);
}

.industry-image-pick {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 150px;
  padding: 18px;
  color: #111827;
  background:
    radial-gradient(circle at 28% 20%, rgba(217, 170, 77, 0.42), transparent 30%),
    linear-gradient(135deg, #fffdfa, #fff);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 18px;
  cursor: pointer;
}

.industry-image-pick span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #111827;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 18px 36px rgba(17, 24, 39, 0.2);
}

.industry-image-pick strong {
  font-size: 1.05rem;
  font-weight: 1000;
}

.industry-image-pick small,
.industry-image-empty {
  color: #667085;
  font-weight: 850;
}

.industry-image-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: 12px;
}

.industry-image-preview {
  position: relative;
  min-height: 128px;
  margin: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
  cursor: grab;
}

.industry-image-preview:active {
  cursor: grabbing;
}

.industry-image-preview img {
  display: block;
  width: 100%;
  height: 128px;
  object-fit: cover;
}

.industry-image-preview figcaption {
  position: absolute;
  inset: 8px 8px auto 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.industry-image-preview figcaption span,
.industry-image-preview figcaption button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 50%;
  font-weight: 1000;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.14);
}

.industry-image-preview figcaption button {
  color: #b42318;
  cursor: pointer;
}

.industry-image-empty {
  display: grid;
  place-items: center;
  min-height: 96px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(17, 24, 39, 0.08);
  border-radius: 16px;
  text-align: center;
}

.industry-float-actions {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 50;
  display: none;
}

.industry-page.is-manager .industry-float-actions {
  display: flex;
}

.industry-float-add {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  color: #fff;
  background: #1d9bf0;
  border: 0;
  border-radius: 50%;
  font-size: 2.2rem;
  font-weight: 900;
  box-shadow: 0 18px 44px rgba(29, 155, 240, 0.38);
}

.echo-community-head h1 {
  margin: 0;
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  line-height: 1;
}

.echo-community-head p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
}

.echo-policy-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 420px;
}

.echo-policy-strip span {
  min-height: 34px;
  padding: 7px 12px;
  color: #fff;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
}

.echo-policy-strip span:nth-child(1) {
  background: linear-gradient(135deg, #ef3f7a, #ff6b4a);
}

.echo-policy-strip span:nth-child(2) {
  background: linear-gradient(135deg, #16b983, #0aa6c2);
}

.echo-policy-strip span:nth-child(3) {
  background: linear-gradient(135deg, #3aa0ff, #6a4cff);
}

.echo-policy-strip span:nth-child(4) {
  background: linear-gradient(135deg, #f58b13, #ef4b3f);
}

.echo-channel-bar {
  position: sticky;
  top: 82px;
  z-index: 5;
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(16, 24, 32, 0.08);
  backdrop-filter: blur(14px);
}

.echo-channel-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  padding: 8px;
  background: rgba(246, 248, 251, 0.78);
  border-radius: 12px;
}

.echo-channel-main {
  background: transparent;
  padding: 0;
}

.echo-channel-group > span {
  min-width: 70px;
  color: #667085;
  font-size: 0.78rem;
  font-weight: 950;
}

.echo-channel-bar button {
  min-height: 34px;
  padding: 0 16px;
  color: #445160;
  background: #eef1f5;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.echo-channel-bar button.active,
.echo-channel-bar button:hover {
  color: #fff;
  background: #151d25;
}

.echo-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}

.echo-social-card,
.echo-empty-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(16, 24, 32, 0.08);
}

.echo-social-card {
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.echo-social-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(16, 24, 32, 0.13);
}

.echo-card-cover {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 230px;
  padding: 18px;
  color: #fff;
}

.echo-card-cover.large {
  min-height: 620px;
}

.echo-card-cover img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: 0;
  grid-area: 1 / 1;
}

.echo-card-cover.has-image {
  display: grid;
  align-content: stretch;
  gap: 2px;
  min-height: 230px;
  padding: 0;
  background: #f7f8fb;
}

.echo-card-cover.has-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #f7f8fb;
  grid-area: auto;
}

.echo-card-cover.has-image.image-count-1 img {
  justify-self: center;
  align-self: center;
  width: 100%;
  height: auto;
  max-height: 360px;
}

.echo-card-cover.image-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  min-height: 270px;
}

.echo-card-cover.image-count-3 {
  grid-template-columns: 1.12fr 0.88fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  min-height: 270px;
}

.echo-card-cover.image-count-3 img:first-child {
  grid-row: 1 / 3;
}

.echo-card-cover.large.has-image {
  min-height: 0;
  max-height: calc(100vh - 36px);
  overflow: auto;
  align-content: start;
}

.echo-card-cover.large.has-image img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.echo-card-cover.large.image-count-2,
.echo-card-cover.large.image-count-3 {
  grid-template-columns: 1fr;
  grid-template-rows: none;
}

.echo-card-cover.large.image-count-3 img:first-child {
  grid-row: auto;
}

.echo-card-cover span,
.echo-card-cover strong {
  position: relative;
  z-index: 1;
}

.echo-card-cover span {
  width: fit-content;
  padding: 5px 10px;
  color: #151d25;
  background: rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 950;
}

.echo-card-cover strong {
  max-width: 12em;
  font-size: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.24);
}

.echo-cover-1 {
  background:
    radial-gradient(circle at 25% 15%, rgba(255, 210, 114, 0.95), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(96, 205, 190, 0.9), transparent 30%),
    linear-gradient(145deg, #ef3f7a, #6a4cff 58%, #151d25);
}

.echo-cover-2 {
  background:
    radial-gradient(circle at 20% 70%, rgba(255, 255, 255, 0.72), transparent 28%),
    radial-gradient(circle at 82% 18%, rgba(255, 124, 92, 0.88), transparent 32%),
    linear-gradient(140deg, #d94841, #6a4cff 52%, #2a55d9);
}

.echo-cover-3 {
  background:
    radial-gradient(circle at 72% 20%, rgba(255, 255, 255, 0.58), transparent 28%),
    linear-gradient(150deg, #f58b13, #ef3f7a 50%, #582dde);
}

.echo-cover-4 {
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 236, 177, 0.9), transparent 24%),
    radial-gradient(circle at 72% 80%, rgba(35, 181, 211, 0.8), transparent 28%),
    linear-gradient(150deg, #161d25, #455a64);
}

.echo-cover-5 {
  background:
    radial-gradient(circle at 74% 18%, rgba(239, 63, 122, 0.65), transparent 30%),
    radial-gradient(circle at 18% 80%, rgba(22, 185, 131, 0.7), transparent 30%),
    linear-gradient(150deg, #fff5d6, #9fa8da);
}

.echo-cover-5 strong {
  color: #151d25;
  text-shadow: none;
}

.echo-cover-6 {
  background:
    radial-gradient(circle at 24% 20%, rgba(106, 76, 255, 0.8), transparent 26%),
    radial-gradient(circle at 76% 76%, rgba(245, 139, 19, 0.84), transparent 30%),
    linear-gradient(150deg, #eff4ff, #3a70ff);
}

.echo-cover-6 strong {
  color: #111827;
  text-shadow: none;
}

.echo-social-body {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.echo-tag-row,
.echo-author-row,
.echo-social-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.echo-tag-row {
  justify-content: space-between;
  color: #6b7280;
  font-size: 0.82rem;
}

.echo-tag-row span,
.echo-detail-tag {
  color: #b84a4a;
  font-weight: 950;
}

.echo-social-body h3 {
  margin: 0;
  color: #151d25;
  font-size: 1rem;
  line-height: 1.45;
}

.echo-author-row {
  color: #5f6b7a;
  font-size: 0.88rem;
}

.echo-author-button,
.echo-detail-author-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  background: transparent;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.echo-author-button span:last-child,
.echo-detail-author-button span:last-child {
  display: grid;
  min-width: 0;
}

.echo-author-button small,
.echo-detail-author-button small {
  color: #8a94a3;
  font-size: 0.76rem;
  font-weight: 850;
}

.echo-author-button:hover strong,
.echo-detail-author-button:hover strong {
  color: #ef3f7a;
}

.echo-author-row strong {
  overflow: hidden;
  color: #4b5563;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.echo-avatar,
.echo-ai-avatar {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  color: #fff;
  border-radius: 50%;
  font-size: 0.76rem;
  font-weight: 950;
}

.echo-avatar-1 { background: #ef3f7a; }
.echo-avatar-2 { background: #16b983; }
.echo-avatar-3 { background: #3aa0ff; }
.echo-avatar-4 { background: #f58b13; }
.echo-avatar-5 { background: #6a4cff; }
.echo-avatar-6 { background: #151d25; }

.echo-heart {
  margin-left: auto;
  color: #667085;
  font-weight: 900;
}

.echo-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  color: #667085;
}

.echo-card-actions button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
}

.echo-card-actions button.active {
  color: #ff2442;
}

.echo-card-actions svg {
  width: 19px;
  height: 19px;
  stroke-width: 1.7;
}

.echo-owner-actions,
.owner-post-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.echo-private-chip,
.privacy-chip {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  color: #8a4a00;
  background: #fff0d6;
  border: 1px solid rgba(217, 170, 77, 0.34);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 950;
}

.danger-action {
  color: #b42318 !important;
}

.echo-compose-fab {
  position: fixed;
  right: calc(clamp(18px, 5vw, 46px) + 78px);
  bottom: clamp(18px, 5vw, 46px);
  z-index: 24;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: #fff;
  background: #1d9bf0;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 44px rgba(29, 155, 240, 0.38);
  font-size: 2.5rem;
  line-height: 1;
}

.echo-compose-modal,
.echo-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
}

.echo-step-sheet,
.echo-compose-sheet,
.echo-detail-sheet {
  position: fixed;
  z-index: 33;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(16, 24, 32, 0.28);
}

.echo-action-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 34;
  display: grid;
  width: min(520px, 100%);
  overflow: hidden;
  background: #fff;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 50px rgba(16, 24, 32, 0.18);
  transform: translateX(-50%);
}

.echo-action-sheet button {
  min-height: 72px;
  color: #151d25;
  background: #fff;
  border: 0;
  border-bottom: 1px solid #eef1f5;
  font: inherit;
  font-size: 1.35rem;
  font-weight: 850;
}

.echo-action-sheet button strong,
.echo-action-sheet button span {
  display: block;
}

.echo-action-sheet button span {
  margin-top: 4px;
  color: #8a94a3;
  font-size: 0.92rem;
}

.echo-action-sheet .echo-action-cancel {
  margin-top: 8px;
  background: #f6f7f9;
}

.echo-step-sheet {
  left: 50%;
  top: 50%;
  display: grid;
  gap: 16px;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  padding: 18px;
  overflow: auto;
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.echo-step-tip {
  margin: 0;
  color: #667085;
  font-size: 0.92rem;
  font-weight: 850;
}

.echo-photo-grid,
.echo-edit-preview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.echo-photo-card,
.echo-edit-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f3f5f8;
  border: 1px solid #eef1f5;
  border-radius: 18px;
}

.echo-photo-card {
  cursor: grab;
}

.echo-photo-card img,
.echo-edit-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.echo-photo-card small,
.echo-edit-card small {
  position: absolute;
  left: 8px;
  bottom: 8px;
  padding: 3px 7px;
  color: #fff;
  background: rgba(16, 24, 32, 0.62);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 950;
}

.echo-photo-tools {
  position: absolute;
  top: 7px;
  left: 7px;
  right: 7px;
  display: flex;
  justify-content: space-between;
  gap: 6px;
}

.echo-photo-tools button {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: #111827;
  background: rgba(255, 255, 255, 0.88);
  border: 0;
  border-radius: 50%;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.12);
}

.echo-photo-tools button[disabled] {
  opacity: 0.42;
}

.echo-photo-add {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 132px;
  color: #151d25;
  background: #f7f8fb;
  border: 1px dashed #bcc6d4;
  border-radius: 20px;
  text-align: center;
  font-weight: 950;
}

.echo-photo-add span,
.echo-media-add-mini span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #9aa4b2;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 14px;
  font-size: 2rem;
  line-height: 1;
}

.echo-photo-add small {
  color: #8a94a3;
}

.echo-photo-add input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.echo-edit-tools,
.echo-note-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.echo-edit-tools button,
.echo-note-tools button {
  min-height: 40px;
  padding: 0 15px;
  color: #151d25;
  background: #f3f5f8;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
}

.echo-edit-tools button.active {
  color: #fff;
  background: #151d25;
}

.echo-topic-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.echo-topic-bar button {
  min-height: 34px;
  padding: 0 12px;
  color: #344054;
  background: #f3f5f8;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 950;
}

.echo-topic-bar button.active {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #6a4cff);
}

.echo-poll-builder {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e5eaf2;
  border-radius: 16px;
}

.echo-poll-builder[hidden] {
  display: none;
}

.echo-poll-builder-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.echo-poll-builder-head strong {
  color: #151d25;
}

.echo-poll-builder-head button,
.echo-poll-option-field button {
  min-height: 32px;
  padding: 0 10px;
  color: #b42318;
  background: #fff5f5;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.echo-poll-options {
  display: grid;
  gap: 8px;
}

.echo-poll-option-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  gap: 8px;
}

.echo-poll-option-field input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  color: #111827;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 12px;
  font: inherit;
  font-weight: 850;
}

.echo-poll-option-field button[disabled] {
  opacity: 0.38;
}

.echo-poll-add {
  justify-self: start;
  min-height: 38px;
}

.echo-compose-sheet {
  left: 50%;
  top: 50%;
  display: grid;
  gap: 14px;
  width: min(520px, calc(100vw - 24px));
  max-height: calc(100vh - 40px);
  padding: 18px;
  overflow: auto;
  border-radius: 24px;
  transform: translate(-50%, -50%);
}

.echo-compose-sheet textarea {
  min-height: 210px;
}

.echo-app-head {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.echo-app-head strong {
  color: #151d25;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 950;
}

.echo-icon-button,
.echo-text-button,
.echo-secondary-button {
  min-height: 38px;
  color: #151d25;
  background: #f3f5f8;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
}

.echo-icon-button {
  width: 38px;
  font-size: 1.5rem;
}

.echo-text-button {
  padding: 0 12px;
  color: #111827;
}

.echo-compose-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #667085;
  font-size: 0.82rem;
  font-weight: 850;
}

.echo-app-field {
  display: grid;
  gap: 8px;
  color: #151d25;
  font-weight: 950;
}

.echo-app-field:has(.echo-title-plain),
.echo-app-field:has(.echo-body-plain) {
  gap: 0;
}

.echo-title-input,
.echo-body-input {
  width: 100%;
  padding: 13px 14px;
  color: #151d25;
  background: #f8fafc;
  border: 1px solid #dde3ec;
  border-radius: 14px;
  font: inherit;
  font-weight: 780;
}

.echo-body-input {
  resize: vertical;
}

.echo-title-plain,
.echo-body-plain {
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 0;
  font-size: 1.35rem;
  font-weight: 850;
}

.echo-title-plain::placeholder,
.echo-body-plain::placeholder {
  color: #c0c6cf;
}

.echo-body-plain {
  font-size: 1.18rem;
}

.echo-publish-media {
  display: flex;
  gap: 10px;
  align-items: stretch;
  overflow-x: auto;
  padding: 2px 0 8px;
}

.echo-media-add-mini {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 86px;
  width: 86px;
  aspect-ratio: 1;
  background: #f7f8fb;
  border: 1px dashed #d3dae5;
  border-radius: 18px;
}

.echo-media-add-mini input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.echo-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  border: 0;
}

.echo-keywords legend {
  width: 100%;
  margin-bottom: 2px;
  color: #667085;
  font-size: 0.88rem;
  font-weight: 950;
}

.echo-keywords label {
  cursor: pointer;
}

.echo-keywords input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.echo-keywords span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  color: #344054;
  background: #f3f5f8;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 950;
}

.echo-keywords input:checked + span {
  color: #fff;
  background: #151d25;
}

.echo-upload-box {
  position: relative;
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 108px;
  padding: 18px;
  background: #f7f8fb;
  border: 1px dashed #b7c0ce;
  border-radius: 18px;
  text-align: center;
}

.echo-upload-plus {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: linear-gradient(135deg, #3aa0ff, #6a4cff);
  border-radius: 50%;
  font-size: 1.9rem;
  line-height: 1;
}

.echo-upload-box small {
  color: #6b7280;
  font-size: 0.9rem;
}

.echo-upload-box input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.echo-compose-actions {
  display: grid;
  grid-template-columns: minmax(120px, 0.45fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin-top: 8px;
}

.echo-publish-button {
  min-height: 48px;
  color: #fff;
  background: #111827;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
}

.echo-secondary-button {
  padding: 0 14px;
  min-height: 48px;
  color: #151d25;
  background: #fff;
  border: 1px solid #dde3ec;
}

.echo-detail-sheet {
  left: 50%;
  top: 50%;
  width: min(980px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: hidden;
  transform: translate(-50%, -50%);
}

.echo-detail-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(320px, 1.05fr);
  align-items: start;
  max-height: calc(100vh - 36px);
}

.echo-detail-main {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 28px;
  overflow: auto;
}

.echo-detail-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.echo-detail-author .echo-avatar {
  width: 38px;
  height: 38px;
}

.echo-detail-author strong,
.echo-detail-author small {
  display: block;
}

.echo-detail-author small {
  color: #6b7280;
}

.echo-detail-body {
  margin: 0;
  color: #111827;
  white-space: pre-wrap;
  font-size: 1.02rem;
}

.echo-image-preview {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}

.echo-image-preview img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid #eef1f5;
}

.echo-social-actions {
  display: flex;
  gap: 12px;
  padding: 13px 0;
  color: #667085;
  border-top: 1px solid #eef1f5;
  border-bottom: 1px solid #eef1f5;
  font-weight: 900;
}

.echo-social-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-width: 44px;
  min-height: 40px;
  padding: 0 12px;
  color: #4b5563;
  background: #fff;
  border: 1px solid #eef1f5;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(16, 24, 32, 0.05);
}

.echo-social-actions button.active {
  color: #ff2442;
  background: #fff5f7;
  border-color: rgba(255, 36, 66, 0.18);
}

.echo-social-actions svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.7;
}

.echo-social-actions span {
  min-width: 1ch;
  font-size: 0.92rem;
}

.echo-poll {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 14px;
}

.echo-poll-compact {
  padding: 10px;
}

.echo-poll strong {
  color: #151d25;
  font-size: 0.98rem;
}

.echo-poll button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  overflow: hidden;
  padding: 0 12px;
  color: #344054;
  background: #fff;
  border: 1px solid #e5eaf2;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
}

.echo-poll button span,
.echo-poll button em {
  position: relative;
  z-index: 1;
}

.echo-poll button em {
  color: #8a94a3;
  font-style: normal;
  font-size: 0.82rem;
}

.echo-poll button i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(135deg, rgba(239, 63, 122, 0.18), rgba(106, 76, 255, 0.16));
  transition: width 180ms ease;
}

.echo-poll button.active {
  color: #ff2442;
  border-color: rgba(255, 36, 66, 0.28);
}

.echo-poll small {
  color: #8a94a3;
  font-size: 0.78rem;
  font-weight: 850;
}

.echo-ai-comments {
  display: grid;
  gap: 12px;
}

.echo-ai-comments h3 {
  margin: 0;
  font-size: 1rem;
}

.echo-ai-comment {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 12px;
}

.echo-ai-avatar {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, #6a4cff, #3a70ff);
}

.echo-ai-comment p {
  margin: 5px 0 0;
  color: #344054;
}

.echo-ai-comment small {
  display: block;
  margin-top: 6px;
  color: #8a94a3;
  font-size: 0.78rem;
  font-weight: 850;
}

.echo-ai-comment.is-user .echo-ai-avatar {
  color: #111827;
  background: #eef1f5;
}

.echo-comment-form {
  display: grid;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
  border-radius: 14px;
}

.echo-ai-mention-wrap {
  display: grid;
  gap: 8px;
}

.echo-ai-mention-wrap > small {
  color: #667085;
  font-weight: 950;
}

.echo-comment-form .ai-mention-bar {
  padding: 0;
  background: transparent;
  border: 0;
}

.echo-comment-form .ai-mention-bar button {
  color: #111827;
  background: #fff;
}

.echo-comment-form .ai-mention-bar button span:not(.ai-avatar) {
  color: #111827;
}

.echo-comment-form textarea {
  min-height: 78px;
  resize: vertical;
  color: #111827;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 12px;
  font: inherit;
  padding: 10px 12px;
}

.echo-comment-form button {
  justify-self: end;
  min-height: 38px;
  padding: 0 18px;
  color: #fff;
  background: #111827;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 950;
}

.echo-comment-form .ai-mention-bar button,
.comment-form .ai-mention-bar button {
  justify-self: auto;
  min-height: 34px;
  padding: 0 10px;
  color: #111827;
  background: #fff;
  border: 1px solid #dde3ec;
  border-radius: 999px;
}

.echo-comment-form .ai-mention-bar button span:not(.ai-avatar),
.comment-form .ai-mention-bar button span:not(.ai-avatar) {
  color: #111827;
}

.echo-report-row {
  margin: 12px 0 0;
}

.echo-report-button {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  color: #8a4b18;
  background: rgba(217, 170, 77, 0.14);
  border: 1px solid rgba(217, 170, 77, 0.32);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
}

.echo-ai-comment .echo-report-button {
  margin-top: 8px;
}

.echo-empty-card {
  padding: 18px;
}

.footer {
  padding: 34px clamp(18px, 5vw, 56px);
  color: rgba(246, 248, 251, 0.7);
  background: var(--dark);
}

.footer strong {
  color: var(--ink);
}

.site-footer {
  padding: 28px 18px;
  color: var(--muted);
  text-align: center;
  background: #e9e3d6;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  font-weight: 850;
}

.site-footer a:hover {
  color: var(--text);
}

.member-page {
  background:
    radial-gradient(circle at 8% 0%, rgba(239, 63, 122, 0.08), transparent 28%),
    radial-gradient(circle at 95% 6%, rgba(19, 189, 138, 0.1), transparent 26%),
    #f6f7fb;
}

.member-page .topbar {
  color: #111827;
  background: rgba(255, 255, 255, 0.95);
  border-top: 5px solid transparent;
  border-image: linear-gradient(90deg, #6a4cff, #ef3f7a, #3a70ff, #f58b13) 1;
  border-bottom: 1px solid rgba(16, 24, 32, 0.08);
  box-shadow: 0 8px 22px rgba(16, 24, 32, 0.08);
}

.member-page .topbar .brand,
.member-page .topbar .nav a {
  color: #111827;
}

.member-page .topbar .brand-mark {
  color: #111827;
  background: linear-gradient(135deg, var(--gold), #f0cf7d);
}

.member-page .topbar .brand-text small {
  color: rgba(18, 24, 32, 0.46);
}

.member-page .workspace-head {
  padding: 24px;
  background:
    radial-gradient(circle at 18% 10%, rgba(239, 63, 122, 0.1), transparent 28%),
    radial-gradient(circle at 84% 18%, rgba(58, 112, 255, 0.12), transparent 30%),
    rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 20px;
  box-shadow: 0 18px 46px rgba(16, 24, 32, 0.08);
}

.member-page .workspace-head h1 {
  color: #111827;
}

.member-public-tools {
  margin: 20px 0 0;
}

.member-exchange-tools {
  margin-top: 18px;
  margin-bottom: 0;
}

.member-page .member-sidebar .member-nav-item {
  min-height: 48px;
  color: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 12px 24px rgba(16, 24, 32, 0.1);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="review"] {
  background: linear-gradient(135deg, #ef3f7a, #ff7a45);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="daily"] {
  background: linear-gradient(135deg, #d94841, #6a4cff);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="meetings"] {
  background: linear-gradient(135deg, #6a4cff, #3aa0ff);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="dinner"] {
  background: linear-gradient(135deg, #f58b13, #ef4b3f);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="aiAssistant"] {
  background: linear-gradient(135deg, #151d25, #475467);
}

.member-page .member-sidebar .member-nav-item[data-nav-key="xuangutong"] {
  background: linear-gradient(135deg, #7a4fd9, #d9aa4d);
}

.member-page .member-sidebar .member-nav-item:hover,
.member-page .member-sidebar .member-nav-item.active {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(16, 24, 32, 0.16);
}

.member-page .section-head {
  max-width: none;
  margin-bottom: 20px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(16, 24, 32, 0.06);
}

.member-page .review-watchlist,
.member-page .knowledge-ai,
.member-page .limit-board,
.member-page .dinner-intro,
.member-page .source-card,
.member-page .company-source-card,
.member-page .content-card,
.member-page .post-tile,
.member-page .training-card,
.member-page .limit-card,
.member-page .private-note-card,
.member-page .watchlist-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(16, 24, 32, 0.08);
  border-radius: 18px;
  box-shadow: 0 14px 38px rgba(16, 24, 32, 0.08);
}

.member-page .post-grid {
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}

.member-page .post-tile {
  overflow: hidden;
}

.member-page .post-cover {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 220, 125, 0.72), transparent 26%),
    radial-gradient(circle at 82% 20%, rgba(106, 76, 255, 0.38), transparent 30%),
    #f7f2e8;
}

.member-page .post-cover img {
  object-fit: contain;
}

.member-page .post-tile-body {
  padding: 14px 14px 10px;
}

.member-page .post-cover-fallback {
  color: #fff;
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 220, 125, 0.9), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(35, 181, 211, 0.78), transparent 30%),
    linear-gradient(145deg, #ef3f7a, #6a4cff 58%, #151d25);
}

.member-page .btn-primary,
.member-page .compose-options .compose-review {
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7a45);
}

.member-page .compose-options .compose-notice {
  color: #fff;
  background: linear-gradient(135deg, #d94841, #6a4cff);
}

.member-page .compose-options .compose-note {
  color: #fff;
  background: linear-gradient(135deg, #6a4cff, #3aa0ff);
}

.member-page .compose-options .compose-circle {
  border: 0;
  box-shadow: 0 16px 36px rgba(16, 24, 32, 0.12);
}

.member-page .compose-options .compose-circle strong {
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.member-me-fab,
.echo-me-fab {
  position: fixed;
  bottom: clamp(18px, 5vw, 46px);
  z-index: 24;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #475467);
  border: 0;
  border-radius: 50%;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.24);
  font-size: 1.05rem;
  font-weight: 950;
}

.echo-me-fab {
  right: clamp(18px, 5vw, 46px);
}

.member-me-fab {
  right: clamp(18px, 5vw, 42px);
}

.member-me-modal,
.echo-me-modal {
  position: fixed;
  inset: 0;
  z-index: 32;
}

.member-me-sheet,
.echo-me-sheet {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 33;
  display: grid;
  gap: 18px;
  width: min(880px, calc(100vw - 28px));
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: clamp(20px, 4vw, 34px);
  color: #f8fafc;
  background:
    radial-gradient(circle at 20% 12%, rgba(106, 76, 255, 0.28), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(239, 63, 122, 0.22), transparent 30%),
    #070d12;
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(16, 24, 32, 0.42);
  transform: translate(-50%, -50%);
}

.member-me-hero,
.echo-me-hero {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.member-me-avatar,
.echo-me-avatar {
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  color: #fff;
  background: linear-gradient(135deg, #6a4cff, #3a70ff);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 950;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.12);
}

.member-me-hero h2,
.echo-me-hero h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.member-me-hero p,
.echo-me-hero p {
  margin: 6px 0 18px;
  color: rgba(248, 250, 252, 0.68);
  font-weight: 850;
}

.member-me-hero strong,
.echo-me-hero strong {
  display: block;
  max-width: 560px;
  font-size: 1.1rem;
}

.member-me-stats,
.echo-me-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.member-me-stats span,
.echo-me-stats span {
  display: inline-flex;
  gap: 6px;
  align-items: baseline;
  padding: 9px 14px;
  color: rgba(248, 250, 252, 0.78);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  font-weight: 900;
}

.member-me-stats strong,
.echo-me-stats strong {
  color: #fff;
  font-size: 1.14rem;
}

.member-me-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-me-info div {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 12px;
  color: #111827;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.member-me-note,
.echo-private-note {
  display: grid;
  gap: 8px;
  padding: 16px;
  color: #111827;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 16px;
}

.member-me-info span,
.member-me-note small,
.echo-private-note small,
.member-me-section-head small,
.echo-me-section-head small {
  color: #667085;
  font-weight: 850;
}

.member-me-info span {
  color: rgba(248, 250, 252, 0.72);
  font-size: 0.78rem;
}

.member-me-info strong {
  overflow: hidden;
  color: #fff;
  font-size: 0.92rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-me-section-head,
.echo-me-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: #fff;
  font-size: 1.08rem;
}

.member-me-note-form,
.echo-private-note-form {
  display: grid;
  gap: 10px;
}

.member-me-note-form input,
.member-me-note-form textarea,
.echo-private-note-form input,
.echo-private-note-form textarea {
  width: 100%;
  padding: 13px 14px;
  color: #111827;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 14px;
  font-weight: 850;
}

.member-me-note-form textarea,
.echo-private-note-form textarea {
  min-height: 110px;
  resize: vertical;
}

.member-me-note-form button,
.echo-private-note-form button,
.member-me-logout {
  min-height: 44px;
  color: #fff;
  background: linear-gradient(135deg, #ef3f7a, #ff7a45);
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.member-me-note-list,
.echo-private-note-list {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.member-me-note div,
.echo-private-note div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.member-me-note p,
.echo-private-note p {
  margin: 0;
  white-space: pre-wrap;
}

.member-me-note button,
.echo-private-note button {
  justify-self: start;
  min-height: 32px;
  padding: 0 10px;
  color: #111827;
  background: #f3f5f8;
  border: 0;
  border-radius: 999px;
  font-weight: 950;
}

.echo-me-post-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.echo-me-post {
  display: grid;
  gap: 8px;
  padding: 0;
  color: #fff;
  text-align: left;
  background: transparent;
  border: 0;
}

.echo-me-post .echo-card-cover {
  min-height: 170px;
  border-radius: 18px;
}

.echo-me-post span,
.echo-me-empty {
  color: rgba(248, 250, 252, 0.86);
  font-weight: 900;
}

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

  .proof-grid,
  .feature-grid,
  .portal-grid,
  .book-layout,
  .page-grid,
  .dashboard-grid,
  .admin-grid,
  .split-note {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: static;
  }

  .post-detail,
  .book-visual,
  .compose-options,
  .echo-hero,
  .echo-layout,
  .industry-hero,
  .industry-stage,
  .industry-invite-grid,
  .industry-request-list-inline,
  .industry-trend-grid,
  .industry-workbench,
  .industry-signal-strip,
  .industry-brief-grid,
  .industry-layout,
  .industry-feature-grid {
    grid-template-columns: 1fr;
  }

  .industry-pick-panel {
    position: static;
  }

  .industry-trend-section .industry-section-head {
    grid-template-columns: 1fr;
  }

  .industry-trend-section .industry-section-head .eyebrow,
  .industry-trend-section .industry-section-head h2,
  .industry-trend-section .industry-new-article-button {
    grid-column: auto;
    grid-row: auto;
  }

  .industry-invite-panel [data-industry-topic-list] {
    max-height: none;
  }

  .echo-reply-card {
    position: static;
  }

  .post-detail-media > img,
  .post-detail-media > .post-cover-fallback {
    min-height: 280px;
  }

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

@media (max-width: 560px) {
  .topbar {
    padding: 0 14px;
  }

  .brand-text small {
    display: none;
  }

  .shell {
    width: min(100% - 30px, var(--max));
  }

  .hero-actions .btn,
  .actions .btn {
    width: 100%;
  }

  .portal-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .portal-inner .hero-actions {
    justify-self: stretch;
    width: 100%;
  }

  .single-gate h1 {
    font-size: clamp(2.35rem, 13vw, 3.2rem);
    line-height: 1.04;
    white-space: normal;
  }

  .member-toolbar {
    justify-content: flex-start;
    margin: 0 0 18px;
  }

  .account-panel {
    left: 0;
    right: auto;
  }

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

  .member-sidebar {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .echo-teaser-inner,
  .echo-form-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .book-cover {
    min-height: 280px;
  }

  .cover-options-grid {
    grid-template-columns: 1fr;
  }

  .cover-sample .book-cover {
    min-height: 430px;
  }
}

@media (max-width: 1100px) {
  .auth-grid,
  .echo-auth-hero,
  .admin-login-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .auth-hero-card,
  .echo-auth-copy,
  .admin-login-copy {
    min-height: auto;
  }

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

  .admin-side {
    position: relative;
    min-height: auto;
  }

  .admin-side-nav {
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  }

  .admin-top {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .auth-shell,
  .echo-auth-shell,
  .admin-login-layout {
    width: min(100% - 24px, 1180px);
    padding: 22px 0 40px;
  }

  .auth-hero-card,
  .auth-card,
  .echo-auth-copy,
  .echo-auth-card,
  .admin-login-copy,
  .admin-login-card,
  .admin-top,
  .admin-panel {
    border-radius: 18px;
  }

  .auth-hero-card,
  .echo-auth-copy,
  .admin-login-copy {
    padding: 24px;
  }

  .auth-hero-card h1,
  .echo-auth-copy h1,
  .admin-login-copy h1 {
    font-size: clamp(2.7rem, 14vw, 4.2rem);
  }

  .register-title span,
  .auth-soft-card p {
    white-space: normal;
  }

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

  .auth-card,
  .echo-auth-card,
  .admin-login-card {
    padding: 22px;
  }

  .admin-main {
    padding: 14px 12px 30px;
  }

  .admin-side {
    padding: 18px 12px;
  }
}
