/*
 * 孤本网 · 科技杂志风（theme-earth override）
 *
 * This stylesheet intentionally layers on top of Halo Earth's generated CSS.
 * It does not change template data, URLs, or content rendering.
 */
:root {
  --solo-bg: #07111f;
  --solo-bg-deep: #040b15;
  --solo-panel: rgba(10, 27, 45, 0.9);
  --solo-panel-strong: rgba(12, 33, 54, 0.96);
  --solo-border: rgba(105, 227, 236, 0.2);
  --solo-border-strong: rgba(105, 227, 236, 0.44);
  --solo-ink: #e9f4ff;
  --solo-muted: #9aafc4;
  --solo-cyan: #39e3f1;
  --solo-mint: #6af0c5;
  --solo-violet: #9a8cff;
  --solo-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --solo-radius: 18px;
}

html {
  background: var(--solo-bg);
  color-scheme: dark;
}

body.hidden,
body {
  display: block !important;
  min-height: 100vh;
  background:
    radial-gradient(1100px 540px at 8% -10%, rgba(33, 114, 151, 0.3), transparent 65%),
    radial-gradient(900px 520px at 100% 0%, rgba(51, 59, 138, 0.22), transparent 68%),
    linear-gradient(180deg, var(--solo-bg) 0%, var(--solo-bg-deep) 100%) !important;
  color: var(--solo-ink) !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0.01em;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(93, 208, 224, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(93, 208, 224, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

/* Header / navigation */
#header-menu {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 72px !important;
  border-bottom: 1px solid var(--solo-border-strong);
  background: rgba(4, 15, 27, 0.84) !important;
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px) saturate(135%);
}

#header-menu > div {
  max-width: 1280px !important;
}

#site-title {
  color: var(--solo-cyan) !important;
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.12em;
  text-shadow: 0 0 24px rgba(57, 227, 241, 0.4);
}

#header-menu a,
#header-menu button,
#header-menu [class*="text-gray-"],
#header-menu [class*="text-slate-"] {
  color: var(--solo-muted) !important;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

#header-menu a:hover,
#header-menu button:hover,
#header-menu li:hover > a,
#header-menu [class*="hover:text-"]:hover {
  color: var(--solo-cyan) !important;
}

#header-menu ul.menu-dropdown,
#header-menu [x-show="show"] {
  border: 1px solid var(--solo-border);
  background: var(--solo-panel-strong) !important;
  box-shadow: var(--solo-shadow);
  backdrop-filter: blur(16px);
}

/* Home hero and page banners */
body > section:first-of-type > div.bg-cover,
.pattern-header-text,
section[class*="bg-cover"] {
  border-color: var(--solo-border);
}

body > section:first-of-type > div.bg-cover {
  position: relative;
  overflow: hidden;
  min-height: 176px;
  border-bottom: 1px solid var(--solo-border);
  background:
    radial-gradient(760px 240px at 50% 0%, rgba(40, 183, 207, 0.22), transparent 72%),
    linear-gradient(135deg, rgba(9, 34, 57, 0.95), rgba(6, 18, 34, 0.94)) !important;
}

body > section:first-of-type > div.bg-cover::after {
  position: absolute;
  right: 7%;
  bottom: 18px;
  width: 160px;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--solo-cyan));
  box-shadow: 0 0 22px rgba(57, 227, 241, 0.65);
}

.pattern-header-text h1,
body > section:first-of-type > div.bg-cover h1,
body > section:first-of-type > div.bg-cover span {
  text-shadow: 0 3px 28px rgba(0, 0, 0, 0.4);
}

/* Content layout */
main,
#post-list,
body > section:not(:first-of-type) {
  position: relative;
}

#post-list {
  gap: 1rem !important;
}

#post-list > .group,
#post-list > div.group,
[id="post-list"] > div {
  border: 1px solid var(--solo-border) !important;
  border-radius: var(--solo-radius) !important;
  background: linear-gradient(145deg, rgba(12, 33, 54, 0.94), rgba(7, 21, 37, 0.95)) !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2) !important;
  color: var(--solo-ink) !important;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

#post-list > .group:hover,
#post-list > div.group:hover,
[id="post-list"] > div:hover {
  border-color: var(--solo-border-strong) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(57, 227, 241, 0.08) !important;
  transform: translateY(-3px);
}

#post-list img {
  filter: saturate(1.08) contrast(1.03);
}

#post-list h1,
#post-list h2,
#post-list h3,
#post-list a,
#post-list [class*="text-gray-900"],
#post-list [class*="text-gray-800"] {
  color: var(--solo-ink) !important;
}

#post-list p,
#post-list [class*="font-light"],
#post-list [class*="text-gray-600"],
#post-list [class*="text-slate-300"] {
  color: var(--solo-muted) !important;
}

#post-list a:hover,
#post-list h1 a:hover {
  color: var(--solo-cyan) !important;
  text-decoration-color: var(--solo-cyan);
}

/* Shared surfaces, filters, sidebar and pagination */
[class*="bg-white"],
[class*="dark:bg-slate-800"],
[class*="dark:bg-slate-700"] {
  border-color: var(--solo-border) !important;
  background-color: var(--solo-panel) !important;
  color: var(--solo-ink);
}

[class*="border-gray-200"],
[class*="border-gray-100"],
[class*="dark:border-slate-700"] {
  border-color: var(--solo-border) !important;
}

[class*="text-gray-900"],
[class*="text-gray-800"],
[class*="dark:text-slate-50"],
[class*="dark:text-slate-100"] {
  color: var(--solo-ink) !important;
}

[class*="text-gray-600"],
[class*="text-gray-500"],
[class*="text-gray-400"],
[class*="dark:text-slate-300"],
[class*="dark:text-slate-400"],
[class*="dark:text-slate-500"] {
  color: var(--solo-muted) !important;
}

input,
textarea,
select {
  border: 1px solid var(--solo-border) !important;
  background: rgba(4, 16, 29, 0.72) !important;
  color: var(--solo-ink) !important;
  border-radius: 10px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--solo-cyan) !important;
  box-shadow: 0 0 0 3px rgba(57, 227, 241, 0.14) !important;
  outline: none !important;
}

button,
[role="button"] {
  border-color: var(--solo-border) !important;
}

button:hover,
[role="button"]:hover {
  border-color: var(--solo-border-strong) !important;
}

.toc-container,
aside > div,
[class*="shadow-md"],
[class*="shadow-sm"] {
  border: 1px solid var(--solo-border) !important;
  border-radius: var(--solo-radius) !important;
  background: linear-gradient(145deg, rgba(12, 33, 54, 0.92), rgba(7, 21, 37, 0.94)) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2) !important;
}

/* Article detail */
#content {
  max-width: none !important;
  color: #d9e8f6 !important;
  font-size: 1.06rem;
  line-height: 1.95;
}

#content h1,
#content h2,
#content h3,
#content h4 {
  color: var(--solo-ink) !important;
  letter-spacing: 0.015em;
}

#content h2,
#content h3 {
  border-left: 3px solid var(--solo-cyan);
  padding-left: 0.8rem;
}

#content a {
  color: var(--solo-cyan) !important;
  text-decoration-color: rgba(57, 227, 241, 0.45);
}

#content blockquote {
  margin: 1.8rem 0;
  border-left: 3px solid var(--solo-mint);
  border-radius: 0 12px 12px 0;
  background: rgba(48, 191, 182, 0.08);
  color: #cceee9;
  padding: 1rem 1.25rem;
}

#content pre,
#content code {
  border: 1px solid var(--solo-border);
  background: #061321 !important;
  color: #baf8f4 !important;
}

#content img {
  border: 1px solid var(--solo-border);
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

/* Archive/category/page surfaces */
#post-list + *,
table,
article,
.markdown-body {
  color: var(--solo-ink);
}

table th,
table td {
  border-color: var(--solo-border) !important;
}

footer {
  border-top: 1px solid var(--solo-border) !important;
  background: rgba(4, 14, 25, 0.88) !important;
  color: var(--solo-muted) !important;
}

footer a,
footer [class*="text-gray-"],
footer [class*="text-slate-"] {
  color: var(--solo-muted) !important;
}

footer a:hover {
  color: var(--solo-cyan) !important;
}

#btn-scroll-to-top {
  border: 1px solid var(--solo-border-strong) !important;
  background: var(--solo-panel-strong) !important;
  color: var(--solo-cyan) !important;
}

@media (max-width: 767px) {
  #header-menu {
    height: 62px !important;
  }

  #site-title {
    font-size: 1.22rem !important;
  }

  body > section:first-of-type > div.bg-cover {
    min-height: 140px;
  }

  #post-list > .group,
  #post-list > div.group,
  [id="post-list"] > div {
    border-radius: 14px !important;
  }

  #content {
    font-size: 1rem;
    line-height: 1.82;
  }
}

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

/* v2 visibility pass: make the selected direction unmistakable on cached Earth builds. */
#header-menu {
  border-bottom: 2px solid rgba(57, 227, 241, 0.72) !important;
}

#header-menu::after {
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent 0%, var(--solo-cyan) 34%, var(--solo-mint) 66%, transparent 100%);
  box-shadow: 0 0 18px rgba(57, 227, 241, 0.72);
  pointer-events: none;
}

#header-menu > div > div:first-child img {
  filter: brightness(1.65) saturate(1.18) drop-shadow(0 0 14px rgba(57, 227, 241, 0.28));
}

body > section:first-of-type > div.bg-cover {
  min-height: 224px;
  border-bottom: 2px solid rgba(57, 227, 241, 0.32) !important;
  background:
    radial-gradient(560px 210px at 50% 15%, rgba(57, 227, 241, 0.2), transparent 70%),
    linear-gradient(115deg, rgba(8, 39, 63, 0.98), rgba(4, 16, 31, 0.98)) !important;
}

body > section:first-of-type > div.bg-cover::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent 0%, rgba(57, 227, 241, 0.08) 50%, transparent 100%);
  pointer-events: none;
}

body > section:first-of-type > div.bg-cover::after {
  right: 4%;
  width: 300px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--solo-cyan), var(--solo-mint));
  box-shadow: 0 0 26px rgba(57, 227, 241, 0.82);
}

#post-list > .group,
#post-list > div.group,
[id="post-list"] > div {
  border-color: rgba(57, 227, 241, 0.34) !important;
  background: linear-gradient(145deg, rgba(11, 40, 64, 0.96), rgba(5, 20, 37, 0.98)) !important;
}

#post-list > .group::before,
#post-list > div.group::before,
[id="post-list"] > div::before {
  position: absolute;
  top: 0;
  right: 18%;
  left: 18%;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(106, 240, 197, 0.72), transparent);
  box-shadow: 0 0 14px rgba(106, 240, 197, 0.28);
}

#post-list > .group:hover,
#post-list > div.group:hover,
[id="post-list"] > div:hover {
  border-color: rgba(106, 240, 197, 0.78) !important;
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42), 0 0 24px rgba(57, 227, 241, 0.12) !important;
}

/* Demo-matched homepage composition */
.solo-home {
  width: 100%;
}

.solo-hero {
  position: relative;
  isolation: isolate;
  min-height: 360px;
  margin: 18px auto 0;
  max-width: 1280px;
  overflow: hidden;
  border: 1px solid rgba(122, 220, 239, 0.28);
  border-radius: 16px;
  background-color: #071625;
  background-position: center;
  background-size: cover;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.36);
}

.solo-hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(3, 13, 25, 0.98) 0%, rgba(5, 18, 32, 0.82) 43%, rgba(5, 18, 32, 0.16) 78%, rgba(5, 18, 32, 0.32) 100%);
}

.solo-hero__copy {
  max-width: 620px;
  padding: 42px 46px 48px;
}

.solo-kicker,
.solo-post-card__category {
  display: inline-flex;
  align-items: center;
  border-radius: 7px;
  background: var(--solo-mint);
  color: #062219 !important;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 7px 13px;
}

.solo-eyebrow {
  margin: 30px 0 8px;
  color: #c0d8e8 !important;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.solo-hero h1 {
  margin: 0;
  color: #f2f9ff !important;
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.solo-hero h1 em {
  color: var(--solo-mint);
  font-style: normal;
  text-shadow: 0 0 28px rgba(106, 240, 197, 0.35);
}

.solo-hero__summary {
  max-width: 510px;
  margin: 18px 0 25px;
  color: #b0c6d8 !important;
  font-size: 1.03rem;
  line-height: 1.75;
}

.solo-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--solo-mint), var(--solo-cyan));
  color: #062219 !important;
  font-weight: 800;
  padding: 13px 24px;
  box-shadow: 0 10px 28px rgba(57, 227, 241, 0.24);
}

.solo-cta:hover {
  color: #04131a !important;
  transform: translateY(-2px);
}

.solo-hero__dots {
  position: absolute;
  top: 23px;
  right: 26px;
  display: flex;
  gap: 6px;
}

.solo-hero__dots i {
  display: block;
  width: 17px;
  height: 4px;
  border-radius: 99px;
  background: rgba(181, 211, 228, 0.38);
}

.solo-hero__dots i.is-active {
  width: 32px;
  background: var(--solo-mint);
  box-shadow: 0 0 14px rgba(106, 240, 197, 0.55);
}

.solo-home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 20px;
  max-width: 1280px;
  margin: 20px auto 0;
  padding: 0 16px 40px;
}

.solo-main-column,
.solo-sidebar {
  min-width: 0;
}

.solo-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.solo-section-heading,
.solo-side-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.solo-section-heading {
  margin: 4px 0 12px;
  color: var(--solo-ink);
  font-size: 1.22rem;
  font-weight: 800;
}

.solo-section-heading > div,
.solo-side-heading {
  display: flex;
  align-items: center;
}

.solo-section-heading a,
.solo-side-heading a {
  color: var(--solo-muted) !important;
  font-size: 0.82rem;
}

.solo-section-heading a:hover,
.solo-side-heading a:hover {
  color: var(--solo-cyan) !important;
}

.solo-section-mark {
  display: inline-block;
  width: 4px;
  height: 22px;
  margin-right: 10px;
  border-radius: 4px;
  background: var(--solo-mint);
  box-shadow: 0 0 14px rgba(106, 240, 197, 0.55);
}

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

.solo-topic-card {
  display: flex;
  align-items: center;
  min-height: 76px;
  gap: 12px;
  border: 1px solid rgba(105, 227, 236, 0.16);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(15, 37, 59, 0.96), rgba(7, 23, 40, 0.96));
  padding: 14px 13px;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.solo-topic-card:hover {
  border-color: rgba(106, 240, 197, 0.7);
  background: linear-gradient(135deg, rgba(18, 60, 75, 0.98), rgba(7, 26, 44, 0.98));
  transform: translateY(-2px);
}

.solo-topic-icon {
  display: grid;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(57, 227, 241, 0.55);
  border-radius: 10px;
  color: var(--solo-cyan) !important;
  font-size: 1.35rem;
}

.solo-topic-text {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.solo-topic-text strong {
  overflow: hidden;
  color: var(--solo-ink) !important;
  font-size: 0.98rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.solo-topic-text small {
  overflow: hidden;
  color: var(--solo-muted) !important;
  font-size: 0.72rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#post-list.solo-post-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px !important;
  margin-top: 0 !important;
}

.solo-post-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(105, 227, 236, 0.18);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(12, 34, 56, 0.98), rgba(6, 20, 36, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.22);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.solo-post-card:hover {
  border-color: rgba(106, 240, 197, 0.72);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.36), 0 0 18px rgba(57, 227, 241, 0.12);
  transform: translateY(-4px);
}

.solo-post-card__cover {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1d32;
}

.solo-post-card__cover img {
  width: 100%;
  height: 100%;
  border: 0 !important;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform 300ms ease;
}

.solo-post-card:hover .solo-post-card__cover img {
  transform: scale(1.04);
}

.solo-post-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 14px 15px 15px;
}

.solo-post-card__category {
  align-self: flex-start;
  background: rgba(54, 229, 202, 0.14);
  color: var(--solo-mint) !important;
  font-size: 0.68rem;
  padding: 4px 8px;
}

.solo-post-card h2 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.38;
}

.solo-post-card h2 a {
  color: var(--solo-ink) !important;
}

.solo-post-card h2 a:hover {
  color: var(--solo-mint) !important;
}

.solo-post-card p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--solo-muted) !important;
  font-size: 0.85rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.solo-post-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  color: #8ea8be !important;
  font-size: 0.73rem;
}

.solo-bookmark {
  margin-left: auto;
  color: var(--solo-cyan);
  font-size: 1.15rem;
}

.solo-side-panel,
.solo-quote-panel {
  border: 1px solid rgba(105, 227, 236, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(11, 33, 54, 0.98), rgba(6, 19, 34, 0.98));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
  padding: 18px;
}

.solo-side-heading {
  gap: 9px;
  margin-bottom: 12px;
}

.solo-side-heading h2 {
  margin: 0;
  color: var(--solo-ink) !important;
  font-size: 1.18rem;
  font-weight: 800;
}

.solo-side-heading a {
  margin-left: auto;
}

.solo-flame,
.solo-calendar {
  color: var(--solo-mint);
  font-size: 1.35rem;
}

.solo-picks {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solo-picks li + li {
  border-top: 1px solid rgba(105, 227, 236, 0.13);
}

.solo-picks a {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 0;
}

.solo-picks b {
  min-width: 18px;
  color: var(--solo-mint);
  font-size: 1.35rem;
  font-style: italic;
}

.solo-picks span {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.solo-picks strong {
  display: -webkit-box;
  overflow: hidden;
  color: var(--solo-ink) !important;
  font-size: 0.83rem;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.solo-picks small {
  color: var(--solo-muted) !important;
  font-size: 0.7rem;
}

.solo-year {
  display: flex;
  justify-content: space-between;
  border: 1px solid rgba(105, 227, 236, 0.15);
  border-radius: 7px;
  color: var(--solo-ink);
  font-size: 0.86rem;
  margin-bottom: 10px;
  padding: 8px 10px;
}

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

.solo-months a {
  border: 1px solid rgba(105, 227, 236, 0.13);
  border-radius: 6px;
  color: var(--solo-muted) !important;
  font-size: 0.76rem;
  padding: 7px 4px;
  text-align: center;
}

.solo-months a:hover,
.solo-months a.is-active {
  border-color: var(--solo-mint);
  background: rgba(106, 240, 197, 0.1);
  color: var(--solo-mint) !important;
}

.solo-quote-panel {
  min-height: 132px;
  background: linear-gradient(145deg, rgba(19, 57, 79, 0.95), rgba(7, 22, 38, 0.96));
}

.solo-quote-panel p {
  margin: 0;
  color: var(--solo-ink) !important;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.65;
}

.solo-quote-panel span {
  display: block;
  margin-top: 12px;
  color: var(--solo-muted) !important;
  font-size: 0.78rem;
  text-align: right;
}

.solo-empty {
  border: 1px dashed var(--solo-border);
  border-radius: 12px;
  color: var(--solo-muted);
  padding: 42px;
  text-align: center;
}

@media (max-width: 980px) {
  .solo-home-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .solo-quote-panel {
    grid-column: span 2;
  }
}

@media (max-width: 700px) {
  .solo-hero {
    min-height: 440px;
    margin: 10px 12px 0;
    background-position: 64% center;
  }

  .solo-hero__scrim {
    background: linear-gradient(180deg, rgba(3, 13, 25, 0.42), rgba(3, 13, 25, 0.98) 78%);
  }

  .solo-hero__copy {
    padding: 26px 24px 30px;
    padding-top: 180px;
  }

  .solo-hero h1 {
    font-size: 2.15rem;
  }

  .solo-topic-grid,
  #post-list.solo-post-grid,
  .solo-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .solo-home-grid {
    padding: 0 12px 28px;
  }

  .solo-topic-card {
    min-height: 68px;
    padding: 10px;
  }

  .solo-topic-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    font-size: 1.1rem;
  }

  .solo-topic-text strong {
    font-size: 0.82rem;
  }

  .solo-topic-text small {
    font-size: 0.63rem;
  }

  .solo-post-card h2 {
    font-size: 0.98rem;
  }

  .solo-quote-panel {
    grid-column: span 2;
  }
}

@media (max-width: 480px) {
  .solo-topic-grid,
  #post-list.solo-post-grid,
  .solo-sidebar {
    grid-template-columns: minmax(0, 1fr);
  }

  .solo-quote-panel {
    grid-column: auto;
  }
}
.solo-hero{background-image:url(/brand/solo-hero-1920.webp)!important}
@media(max-width:1280px){.solo-hero{background-image:url(/brand/solo-hero-1280.webp)!important}}
@media(max-width:768px){.solo-hero{background-image:url(/brand/solo-hero-768.webp)!important}}
@media(max-width:480px){.solo-hero{background-image:url(/brand/solo-hero-480.webp)!important}}

/* ============================================================
 * 亮色主题（白色配色）· 2026-09-19
 * 暗色保持原有配色不变，此段仅在 <html> 无 .dark 类时生效
 * ============================================================ */
html:not(.dark) {
  --solo-bg: #f5f8fb;
  --solo-bg-deep: #eaf1f7;
  --solo-panel: #ffffff;
  --solo-panel-strong: #ffffff;
  --solo-border: rgba(13, 143, 158, 0.22);
  --solo-border-strong: rgba(13, 143, 158, 0.45);
  --solo-ink: #0f1e2e;
  --solo-muted: #5a7285;
  --solo-cyan: #0a7c8a;
  --solo-mint: #0f9b78;
  --solo-violet: #6b5ce7;
  --solo-shadow: 0 18px 44px rgba(15, 30, 46, 0.10);
  color-scheme: light;
}
html:not(.dark) body {
  background: linear-gradient(180deg, #f5f8fb 0%, #eaf1f7 100%) !important;
  color: #0f1e2e !important;
}
html:not(.dark) body::before {
  background-image:
    linear-gradient(rgba(13, 143, 158, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 143, 158, 0.05) 1px, transparent 1px);
}
html:not(.dark) #header-menu {
  background: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 2px solid rgba(13, 143, 158, 0.4) !important;
  box-shadow: 0 10px 30px rgba(15, 30, 46, 0.07);
}
html:not(.dark) #header-menu::after {
  background: linear-gradient(90deg, transparent, #0a7c8a 34%, #0f9b78 66%, transparent);
  box-shadow: 0 0 14px rgba(10, 124, 138, 0.3);
}
html:not(.dark) #header-menu a,
html:not(.dark) #header-menu button,
html:not(.dark) #header-menu [class*="text-gray-"],
html:not(.dark) #header-menu [class*="text-slate-"] { color: #43586b !important; }
html:not(.dark) #header-menu a:hover,
html:not(.dark) #header-menu button:hover,
html:not(.dark) #header-menu li:hover > a { color: #0a7c8a !important; }
html:not(.dark) #header-menu ul.menu-dropdown,
html:not(.dark) #header-menu [x-show="show"] {
  background: #ffffff !important;
  border-color: rgba(13, 143, 158, 0.22);
  box-shadow: 0 18px 40px rgba(15, 30, 46, 0.12);
}
html:not(.dark) [class*="bg-white"],
html:not(.dark) [class*="dark:bg-slate-800"],
html:not(.dark) [class*="dark:bg-slate-700"] {
  background-color: #ffffff !important;
  border-color: rgba(13, 143, 158, 0.2) !important;
  color: #0f1e2e;
}
html:not(.dark) [class*="border-gray-200"],
html:not(.dark) [class*="border-gray-100"],
html:not(.dark) [class*="dark:border-slate-700"] { border-color: rgba(13, 143, 158, 0.18) !important; }
html:not(.dark) [class*="text-gray-900"],
html:not(.dark) [class*="text-gray-800"],
html:not(.dark) [class*="dark:text-slate-50"] { color: #0f1e2e !important; }
html:not(.dark) [class*="text-gray-600"],
html:not(.dark) [class*="text-gray-500"],
html:not(.dark) [class*="text-gray-400"] { color: #5a7285 !important; }
html:not(.dark) #post-list > div,
html:not(.dark) [id="post-list"] > div {
  border-color: rgba(13, 143, 158, 0.2) !important;
  background: #ffffff !important;
  box-shadow: 0 14px 34px rgba(15, 30, 46, 0.07) !important;
}
html:not(.dark) #post-list h1,
html:not(.dark) #post-list h2,
html:not(.dark) #post-list h3,
html:not(.dark) #post-list a { color: #0f1e2e !important; }
html:not(.dark) #post-list p { color: #5a7285 !important; }
html:not(.dark) #post-list a:hover { color: #0a7c8a !important; }
html:not(.dark) .solo-post-card {
  border-color: rgba(13, 143, 158, 0.18);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 30, 46, 0.07);
}
html:not(.dark) .solo-post-card:hover {
  border-color: rgba(13, 143, 158, 0.48);
  box-shadow: 0 20px 44px rgba(15, 30, 46, 0.13);
}
html:not(.dark) .solo-post-card h2 a { color: #0f1e2e !important; }
html:not(.dark) .solo-post-card h2 a:hover { color: #0f9b78 !important; }
html:not(.dark) .solo-post-card p { color: #5a7285 !important; }
html:not(.dark) .solo-post-card__meta { color: #7b8fa1 !important; }
html:not(.dark) .solo-post-card__cover { background: #eef4f8; }
html:not(.dark) .solo-post-card__category {
  background: rgba(15, 155, 120, 0.12);
  color: #0f7a5f !important;
}
html:not(.dark) .solo-section-heading { color: #0f1e2e; }
html:not(.dark) .solo-section-heading a { color: #5a7285 !important; }
html:not(.dark) .solo-section-heading a:hover { color: #0a7c8a !important; }
html:not(.dark) .solo-section-mark { background: #0f9b78; }
html:not(.dark) .solo-topic-card {
  border-color: rgba(13, 143, 158, 0.18);
  background: #ffffff;
}
html:not(.dark) .solo-topic-card:hover {
  border-color: rgba(13, 143, 158, 0.48);
  background: #f1f8fa;
}
html:not(.dark) .solo-topic-icon { border-color: rgba(13, 143, 158, 0.4); color: #0a7c8a !important; }
html:not(.dark) .solo-topic-text strong { color: #0f1e2e !important; }
html:not(.dark) .solo-topic-text small { color: #5a7285 !important; }
html:not(.dark) .solo-side-panel,
html:not(.dark) .solo-quote-panel {
  border-color: rgba(13, 143, 158, 0.18);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 30, 46, 0.07);
}
html:not(.dark) .solo-side-heading h2 { color: #0f1e2e !important; }
html:not(.dark) .solo-side-heading a { color: #5a7285 !important; }
html:not(.dark) .solo-side-heading a:hover { color: #0a7c8a !important; }
html:not(.dark) .solo-flame,
html:not(.dark) .solo-calendar { color: #0f9b78; }
html:not(.dark) .solo-picks li + li { border-top-color: rgba(13, 143, 158, 0.12); }
html:not(.dark) .solo-picks b { color: #0f9b78; }
html:not(.dark) .solo-picks strong { color: #0f1e2e !important; }
html:not(.dark) .solo-picks small { color: #7b8fa1 !important; }
html:not(.dark) .solo-year {
  border-color: rgba(13, 143, 158, 0.16);
  color: #0f1e2e;
}
html:not(.dark) .solo-months a {
  border-color: rgba(13, 143, 158, 0.14);
  color: #5a7285 !important;
}
html:not(.dark) .solo-months a:hover,
html:not(.dark) .solo-months a.is-active {
  border-color: #0f9b78;
  background: rgba(15, 155, 120, 0.1);
  color: #0f7a5f !important;
}
html:not(.dark) .solo-quote-panel p { color: #0f1e2e !important; }
html:not(.dark) .solo-quote-panel span { color: #5a7285 !important; }
html:not(.dark) .solo-empty { border-color: rgba(13, 143, 158, 0.3); color: #5a7285; }
html:not(.dark) footer {
  border-top-color: rgba(13, 143, 158, 0.18) !important;
  background: #ffffff !important;
  color: #5a7285 !important;
}
html:not(.dark) footer a,
html:not(.dark) footer [class*="text-gray-"],
html:not(.dark) footer [class*="text-slate-"] { color: #5a7285 !important; }
html:not(.dark) footer a:hover { color: #0a7c8a !important; }
html:not(.dark) input,
html:not(.dark) textarea,
html:not(.dark) select {
  border-color: rgba(13, 143, 158, 0.28) !important;
  background: #ffffff !important;
  color: #0f1e2e !important;
}
html:not(.dark) input:focus,
html:not(.dark) textarea:focus,
html:not(.dark) select:focus {
  border-color: #0a7c8a !important;
  box-shadow: 0 0 0 3px rgba(10, 124, 138, 0.14) !important;
}
html:not(.dark) #content { color: #26384a !important; }
html:not(.dark) #content h1,
html:not(.dark) #content h2,
html:not(.dark) #content h3,
html:not(.dark) #content h4 { color: #0f1e2e !important; }
html:not(.dark) #content h2,
html:not(.dark) #content h3 { border-left-color: #0a7c8a; }
html:not(.dark) #content a { color: #0a7c8a !important; }
html:not(.dark) #content blockquote {
  border-left-color: #0f9b78;
  background: rgba(15, 155, 120, 0.07);
  color: #2b4a44;
}
html:not(.dark) #content pre,
html:not(.dark) #content code {
  border-color: rgba(13, 143, 158, 0.22);
  background: #f2f7fa !important;
  color: #12303a !important;
}
html:not(.dark) #content img { border-color: rgba(13, 143, 158, 0.18); }
html:not(.dark) table th,
html:not(.dark) table td { border-color: rgba(13, 143, 158, 0.2) !important; }
html:not(.dark) .toc-container,
html:not(.dark) aside > div,
html:not(.dark) [class*="shadow-md"],
html:not(.dark) [class*="shadow-sm"] {
  border-color: rgba(13, 143, 158, 0.18) !important;
  background: #ffffff !important;
  box-shadow: 0 12px 30px rgba(15, 30, 46, 0.07) !important;
}
html:not(.dark) #btn-scroll-to-top {
  border-color: rgba(13, 143, 158, 0.45) !important;
  background: #ffffff !important;
  color: #0a7c8a !important;
  box-shadow: 0 8px 24px rgba(15, 30, 46, 0.12);
}

/* logo 主题适配 (2026-09-19)：暗色下反相为纯白确保可见，亮色保持原色 */
html.dark #header-menu img[src*="guben-logo"],
html.dark footer img[src*="guben-logo"] {
  filter: brightness(0) invert(1) drop-shadow(0 0 14px rgba(57, 227, 241, 0.35)) !important;
}
html:not(.dark) #header-menu img[src*="guben-logo"],
html:not(.dark) footer img[src*="guben-logo"] {
  filter: none !important;
}

/* banner 配图 (2026-09-19) */
body > section:first-of-type > div.bg-cover {
  background:
    linear-gradient(115deg, rgba(4, 16, 31, 0.74), rgba(4, 16, 31, 0.45) 58%, rgba(4, 16, 31, 0.66)),
    url('/brand/site-banner.webp') center / cover no-repeat !important;
}
