:root {
  --bg: #f3f6fb;
  --card: #fff;
  --text: #1a2438;
  --muted: #667085;
  --primary: #071a3d;
  --primary-dark: #04102a;
  --accent: #00c2ff;
  --accent-dark: #0099cc;
  --accent-soft: rgba(0, 194, 255, 0.12);
  --border: #d7e0ec;
  --radius: 6px;
  --shadow: 0 8px 28px rgba(7, 26, 61, 0.08);
  --footer: #071a3d;
  --tech-line: rgba(0, 194, 255, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background:
    radial-gradient(ellipse at top left, rgba(0, 194, 255, 0.07), transparent 42%),
    radial-gradient(ellipse at bottom right, rgba(7, 26, 61, 0.05), transparent 46%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  color: var(--accent);
  text-decoration: none;
}

/* ========== Header (参考 ynlxing 双层顶栏) ========== */
.site-header {
  background: linear-gradient(180deg, #0a214f 0%, var(--primary) 100%);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(4, 16, 42, 0.28);
}

.header-inner {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header-top .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 38px;
  flex-wrap: wrap;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
}

.header-top-left {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: #fff;
}

.header-top-left li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-top-left a {
  color: #fff;
}
.header-top-left a:hover {
  color: var(--accent);
}

.header-phone-ico::before {
  content: '☎';
  font-style: normal;
  margin-right: 0.15rem;
  opacity: 0.9;
}

#user-bar,
.header-top-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-top .btn {
  padding: 0.2rem 0.7rem;
  font-size: 0.82rem;
  border-radius: 2px;
}
.header-top .btn-outline {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: transparent;
}
.header-top .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.header-top .btn-primary {
  background: var(--accent);
  border-color: var(--accent);
}
.header-top .btn-primary:hover {
  background: var(--accent-dark);
}

.header-main {
  background: var(--primary);
}

.header-main .header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 72px;
  flex-wrap: wrap;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: #fff !important;
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.3;
  max-width: 22em;
}
.logo:hover {
  color: var(--accent) !important;
  text-decoration: none;
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 194, 255, 0.35), 0 0 16px rgba(0, 194, 255, 0.25);
}
.logo-text {
  display: inline-block;
  max-width: 14em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.15rem;
  flex-wrap: wrap;
  margin-left: auto;
}

.nav-link {
  color: #fff !important;
  font-size: 0.95rem;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  border-radius: 2px;
}
.nav-link:hover {
  color: var(--accent) !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
  color: var(--accent) !important;
  font-weight: 600;
}
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.2rem;
  height: 2px;
  background: var(--accent);
}

.nav-cats {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.user-bar-wrap {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem 0.6rem;
  padding: 0.2rem 0.55rem 0.2rem 0.7rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}
.user-bar-wrap .user-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: #fff;
}
.user-name-link {
  font-weight: 600;
  color: #fff !important;
  text-decoration: none !important;
  max-width: 7.5em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-name-link:hover {
  color: var(--accent) !important;
}
.user-bar-wrap .user-gold {
  color: #ffd27a !important;
  font-weight: 500;
  text-decoration: none !important;
}
.user-bar-wrap .user-gold:hover {
  color: #fff !important;
}
.user-bar-wrap .btn-text {
  color: rgba(255, 255, 255, 0.75) !important;
}
.user-bar-wrap .btn-text:hover {
  color: #fff !important;
}

.user-meta {
  font-size: 0.9rem;
}
.user-name {
  font-weight: 600;
}
.user-gold {
  color: #b45309;
  margin-left: 0.35rem;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  padding: 0.45rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}
.btn-outline {
  border-color: var(--border);
  color: var(--text) !important;
  background: var(--card);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.btn-sm {
  padding: 0.3rem 0.65rem;
  font-size: 0.85rem;
}
.btn-text {
  background: none;
  border: none;
  color: var(--muted) !important;
}
.btn-block {
  display: block;
  width: 100%;
}

/* ========== Main ========== */
main.site-main {
  flex: 1;
  max-width: 1170px;
  margin: 0 auto;
  padding: 1.5rem 15px 3rem;
  width: 100%;
}

main.site-main.home-main {
  max-width: none;
  padding: 0 0 0;
}

.page-title {
  font-size: 1.5rem;
  margin: 0 0 1rem;
  font-weight: 700;
  color: var(--primary);
}

/* ========== Banner ========== */
.home-banner {
  color: #fff;
  text-align: left;
  padding: 5.5rem 1.25rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: clamp(320px, 48vw, 460px);
  display: flex;
  align-items: center;
  background: #04102a;
}
.home-banner-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.home-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
  transform: scale(1.02);
  animation: bannerDrift 18s ease-in-out infinite alternate;
}
.home-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(4, 16, 42, 0.92) 0%, rgba(7, 26, 61, 0.72) 48%, rgba(0, 153, 204, 0.28) 100%),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  pointer-events: none;
}
.home-banner-overlay::after {
  content: '';
  position: absolute;
  left: -10%;
  bottom: -35%;
  width: 55%;
  height: 70%;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.28), transparent 68%);
  filter: blur(8px);
  animation: bannerGlow 7s ease-in-out infinite alternate;
}
.home-banner-inner {
  position: relative;
  z-index: 2;
  max-width: 1170px;
  width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}
.banner-eyebrow {
  margin: 0 0 0.75rem !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.22em;
  color: var(--accent) !important;
  opacity: 1 !important;
  font-weight: 600;
}
.home-banner h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.85rem, 4.4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 0 24px rgba(0, 194, 255, 0.25);
}
.home-banner .banner-company {
  margin: 0 0 0.85rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.95;
  font-weight: 500;
}
.home-banner .banner-desc {
  margin: 0 0 1.5rem;
  max-width: 34rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  opacity: 1;
}
.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: rgba(0, 194, 255, 0.1);
}
@keyframes bannerDrift {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}
@keyframes bannerGlow {
  from {
    opacity: 0.55;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(8%, -6%, 0);
  }
}

.home-wrap {
  max-width: 1170px;
  margin: 0 auto;
  padding: 2rem 15px 3rem;
}

/* ========== Section titles ========== */
.section-title {
  text-align: center;
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
  letter-spacing: 0.04em;
}
.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 3px;
  margin-left: -32px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  box-shadow: 0 0 12px rgba(0, 194, 255, 0.55);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 1.1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.55rem;
  position: relative;
}
.section-head::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 88px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-head h2,
.section-head h3 {
  margin: 0;
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
}
.section-head a {
  font-size: 0.88rem;
  color: var(--muted);
  align-self: flex-end;
}
.section-head a:hover {
  color: var(--accent);
}
.section-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-weight: 700;
}
.section-head-plain::after {
  display: none;
}
.section-head-plain {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 1.25rem;
}

.home-section {
  margin-bottom: 1.5rem;
}

.home-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(215, 224, 236, 0.95);
  border-radius: 14px;
  padding: 1.35rem 1.35rem 1.45rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.home-panel::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(0, 194, 255, 0.12), transparent 68%);
  pointer-events: none;
}
.home-split-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
.home-split-row .home-section {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .home-split-row {
    grid-template-columns: 1fr;
  }
}

.home-feature-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.1rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .home-feature-layout {
    grid-template-columns: 1fr;
  }
}
.home-feature-main {
  min-height: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #071a3d;
  display: flex;
}
.home-feature-card {
  display: block;
  position: relative;
  width: 100%;
  min-height: 280px;
  color: #fff !important;
  text-decoration: none !important;
}
.home-feature-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-feature-body {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.35rem 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(4, 16, 42, 0.92));
}
.home-feature-tag {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(0, 194, 255, 0.2);
  border: 1px solid rgba(0, 194, 255, 0.45);
  color: #9be7ff;
}
.home-feature-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  line-height: 1.35;
}
.home-feature-body p {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.home-feed-list {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.home-feed-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.85rem 0.95rem;
  border-radius: 10px;
  background: #f7faff;
  border: 1px solid transparent;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.home-feed-list a:hover {
  border-color: rgba(0, 194, 255, 0.45);
  background: #eef8ff;
  color: var(--accent);
  transform: translateX(3px);
}
.home-feed-title {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.94rem;
}
.home-feed-meta {
  flex-shrink: 0;
  font-size: 0.78rem;
  color: var(--muted);
}
.home-feed-empty {
  padding: 1.25rem;
  color: var(--muted);
  background: #f7faff;
  border-radius: 10px;
}

.home-shot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) {
  .home-shot-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .home-shot-grid {
    grid-template-columns: 1fr;
  }
}
.home-shot-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.home-shot-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(0, 194, 255, 0.45);
  color: inherit;
}
.home-shot-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #071a3d;
}
.home-shot-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.home-shot-card:hover .home-shot-media img {
  transform: scale(1.05);
}
.home-shot-body {
  padding: 0.85rem 0.95rem 1rem;
}
.home-shot-body h5 {
  margin: 0 0 0.35rem;
  font-size: 0.96rem;
  color: var(--primary);
  line-height: 1.35;
}
.home-shot-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.home-rank-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.home-rank-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  background: linear-gradient(90deg, #f5f9ff, #fff);
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.home-rank-item:hover {
  border-color: rgba(0, 194, 255, 0.4);
  box-shadow: 0 6px 18px rgba(7, 26, 61, 0.06);
  transform: translateY(-2px);
  color: inherit;
}
.home-rank-no {
  flex-shrink: 0;
  width: 2.1rem;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  line-height: 1.4;
}
.home-rank-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.home-rank-main strong {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 600;
  line-height: 1.4;
}
.home-rank-item:hover .home-rank-main strong {
  color: var(--accent);
}
.home-rank-main em {
  font-style: normal;
  font-size: 0.78rem;
  color: var(--muted);
}

.home-compact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
.home-compact-card {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.home-compact-card:hover {
  border-color: rgba(0, 194, 255, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  color: inherit;
}
.home-compact-card img {
  width: 84px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #e8eef5;
}
.home-compact-card h5 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  color: var(--primary);
  line-height: 1.35;
}
.home-compact-card:hover h5 {
  color: var(--accent);
}
.home-compact-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
}

.cat-side-placeholder {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== 推荐信息 ========== */
.reco-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 992px) {
  .reco-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .reco-grid {
    grid-template-columns: 1fr;
  }
}

.reco-card {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  border: 1px solid var(--border);
  padding: 1.15rem 1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: box-shadow 0.25s, border-color 0.25s, transform 0.25s;
  text-decoration: none;
  color: inherit;
  min-height: 100%;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.reco-card::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.25s;
}
.reco-card:hover {
  border-color: rgba(0, 194, 255, 0.55);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-3px);
}
.reco-card:hover::before {
  opacity: 1;
}
.reco-ico {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(145deg, #0b2a63, #071a3d);
  color: #9be7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: inset 0 0 0 1px rgba(0, 194, 255, 0.25);
}
.reco-card:hover .reco-ico {
  background: var(--accent);
}
.reco-body h5 {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  color: var(--primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reco-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ========== 分类：列表+图 ========== */
.cat-split {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 860px) {
  .cat-split {
    grid-template-columns: 1fr;
  }
}

.cat-link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.cat-link-list li {
  border-bottom: 1px dashed var(--border);
}
.cat-link-list li:last-child {
  border-bottom: none;
}
.cat-link-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  color: var(--text);
  font-size: 0.92rem;
}
.cat-link-list a:hover {
  color: var(--accent);
  background: var(--accent-soft);
}
.cat-link-list .cat-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  min-width: 0;
}
.cat-link-list .cat-link-text::before {
  content: '›';
  display: inline-block;
  margin-right: 0.45rem;
  color: var(--accent);
  font-weight: 700;
}
.cat-link-list .cat-link-date {
  flex-shrink: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.cat-side-img {
  background: var(--card);
  border: 1px solid var(--border);
  overflow: hidden;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.cat-side-img img {
  width: 100%;
  height: 100%;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.cat-side-img .cat-side-placeholder {
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem;
  text-align: center;
}

/* ========== 分类：编号双列 ========== */
.num-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem 0.75rem;
  border-radius: var(--radius);
}
@media (max-width: 700px) {
  .num-grid {
    grid-template-columns: 1fr;
  }
}
.num-item {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed var(--border);
  text-decoration: none;
  color: inherit;
}
.num-item:nth-last-child(-n + 2) {
  border-bottom: none;
}
@media (max-width: 700px) {
  .num-item:nth-last-child(-n + 2) {
    border-bottom: 1px dashed var(--border);
  }
  .num-item:last-child {
    border-bottom: none;
  }
}
.num-item:hover {
  color: inherit;
}
.num-item:hover .num-text {
  color: var(--accent);
}
.num-badge {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}
.num-item:hover .num-badge {
  background: var(--accent);
}
.num-text {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text);
}
.num-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== 分类：图文卡片 ========== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 700px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}
.media-card {
  display: flex;
  gap: 0.85rem;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 0.85rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
  border-radius: var(--radius);
}
.media-card:hover {
  border-color: rgba(0, 194, 255, 0.55);
  box-shadow: var(--shadow);
  color: inherit;
  transform: translateY(-2px);
}
.media-card img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  flex-shrink: 0;
  background: #eef2f7;
  border-radius: 4px;
}
.media-body h5 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  color: var(--primary);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.media-card:hover h5 {
  color: var(--accent);
}
.media-body p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.home-empty {
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
  background: var(--card);
  border: 1px dashed var(--border);
}

/* ========== Cards (列表页等) ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--bg);
}
.card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
}
.card-title a {
  color: var(--primary);
}
.card-title a:hover {
  color: var(--accent);
}
.card-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.card-desc {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.5rem;
}
.card-phone {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

/* ========== 分类列表页 ========== */
main.site-main.list-main {
  max-width: 1170px;
  padding-top: 1.25rem;
}
.list-hero {
  margin-bottom: 1.5rem;
  padding: 1.5rem 1.35rem 1.25rem;
  border-radius: 16px;
  background:
    linear-gradient(120deg, rgba(7, 26, 61, 0.96), rgba(10, 48, 96, 0.9) 55%, rgba(0, 153, 204, 0.55)),
    radial-gradient(circle at right top, rgba(0, 194, 255, 0.35), transparent 42%);
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.list-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.35;
  pointer-events: none;
}
.list-hero-inner {
  position: relative;
  z-index: 1;
  margin-bottom: 1.1rem;
}
.list-hero-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: #9be7ff;
  font-weight: 700;
}
.list-hero .page-title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
}
.list-hero-desc {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}
.list-cat-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.list-cat-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fff !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.list-cat-tab:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
}
.list-cat-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #04102a !important;
  font-weight: 700;
}

.list-demand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 860px) {
  .list-demand-grid {
    grid-template-columns: 1fr;
  }
}
.list-demand-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(7, 26, 61, 0.05);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.list-demand-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 194, 255, 0.45);
  box-shadow: var(--shadow);
}
@media (max-width: 640px) {
  .list-demand-card {
    grid-template-columns: 1fr;
  }
}
.list-demand-cover {
  display: block;
  min-height: 180px;
  background: #071a3d;
  overflow: hidden;
}
.list-demand-cover img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s;
}
.list-demand-card:hover .list-demand-cover img {
  transform: scale(1.04);
}
.list-demand-body {
  padding: 1.1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.list-demand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}
.list-demand-type {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: #087ea4;
  font-size: 0.75rem;
  font-weight: 700;
}
.list-demand-date {
  font-size: 0.78rem;
  color: var(--muted);
}
.list-demand-title {
  margin: 0 0 0.45rem;
  font-size: 1.08rem;
  line-height: 1.4;
}
.list-demand-title a {
  color: var(--primary);
}
.list-demand-title a:hover {
  color: var(--accent);
}
.list-demand-desc {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.list-demand-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: auto;
}
.list-demand-meta {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.list-demand-meta strong {
  color: #0b6b8a;
  font-size: 0.98rem;
}
.list-demand-meta span {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ========== Forms ========== */
.form-panel {
  max-width: 440px;
  margin: 0 auto;
  background: var(--card);
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.register-panel {
  max-width: 480px;
}

.reg-type-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.reg-type-tab {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}
.reg-type-tab input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.reg-type-tab span {
  display: block;
  text-align: center;
  padding: 0.7rem 0.5rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f8fafc;
  color: var(--text);
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.reg-type-tab.active span,
.reg-type-tab input:checked + span {
  border-color: var(--accent);
  background: #e8f8ff;
  color: var(--primary);
}
.enterprise-fields {
  margin-bottom: 0.25rem;
  border-top: 1px dashed var(--border);
  padding-top: 0.85rem;
}
.agree-row {
  margin-top: 0.35rem;
}
.agree-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}
.agree-label input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.agree-label a {
  color: var(--accent);
}
.agree-label a:hover {
  text-decoration: underline;
}

.legal-page {
  max-width: 800px;
  margin: 0 auto;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--primary);
}
.legal-page h2 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  color: var(--primary);
}
.legal-page p,
.legal-page li {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.7;
}
.legal-page ul {
  padding-left: 1.25rem;
  margin: 0.4rem 0 0.8rem;
}
.legal-meta {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.25rem;
}
.form-group {
  margin-bottom: 1rem;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: var(--muted);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.captcha-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.captcha-row img {
  height: 44px;
  border-radius: 4px;
  cursor: pointer;
  border: 1px solid var(--border);
}

.alert {
  padding: 0.75rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.alert-warn {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.alert-info {
  background: #eff6ff;
  border: 1px solid #93c5fd;
  color: #1e3a8a;
}

/* ========== Detail ========== */
.detail-layout {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 800px) {
  .detail-layout {
    grid-template-columns: 1fr 320px;
  }
}
.detail-main img.detail-cover {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.detail-side {
  background: var(--card);
  padding: 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  height: fit-content;
}
.detail-recharge-tip {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  text-align: left;
  color: var(--muted);
}
.detail-recharge-tip-mark {
  color: #ff8533;
  font-weight: 700;
  text-decoration: none;
}
.detail-recharge-tip-mark:hover {
  text-decoration: underline;
}

/* ========== Modals ========== */
.login-tip-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 28, 103, 0.45);
}
.login-tip-dialog {
  width: 100%;
  max-width: 360px;
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem 1.75rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 28, 103, 0.18);
}
.login-tip-msg {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  color: #374151;
  line-height: 1.6;
}
.login-tip-btn {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
}
.login-tip-countdown {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  color: #9ca3af;
}
.login-tip-countdown strong {
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.qr-pay-dialog {
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 8px;
  padding: 1.75rem 1.5rem 1.5rem;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 28, 103, 0.18);
}
.qr-pay-tip {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.6;
  white-space: pre-line;
}
.qr-pay-dialog img {
  max-width: 220px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.member-status-box {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}
.recharge-packages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin: 1.25rem 0;
  padding: 0.75rem;
  background: #eef2f7;
  border-radius: 8px;
}
.member-packages {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 700px) {
  .member-packages {
    grid-template-columns: 1fr;
  }
}
.pkg {
  position: relative;
  border: none;
  border-radius: 8px;
  padding: 1.35rem 0.75rem 1.15rem;
  text-align: center;
  cursor: pointer;
  background: #fff;
  transition: background-color 0.2s, color 0.2s;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pkg:hover:not(.selected) {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.pkg.selected {
  background: #ff8533;
  box-shadow: 0 4px 12px rgba(255, 133, 51, 0.35);
}
.pkg-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.55rem;
}
.pkg-price {
  font-size: 1.45rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
}
.pkg-reward {
  color: #ff9a76;
  font-size: 0.82rem;
  margin-top: 0.45rem;
  line-height: 1.3;
}
.pkg-valid {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  color: var(--muted);
}
.pkg.selected .pkg-name,
.pkg.selected .pkg-price,
.pkg.selected .pkg-reward,
.pkg.selected .pkg-valid {
  color: #fff;
}
.member-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.75rem;
}
@media (max-width: 800px) {
  .member-benefit-grid {
    grid-template-columns: 1fr;
  }
}
.member-benefit-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1rem;
  background: #f8fbff;
}
.member-benefit-card h3 {
  margin: 0 0 0.65rem;
  color: var(--primary);
}
.member-benefit-price {
  font-size: 1.6rem;
  font-weight: 700;
  color: #c2410c;
  margin-bottom: 0.65rem;
}
.member-benefit-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.15rem;
}
.member-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
}
.member-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.member-table th,
.member-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.member-table th {
  background: #f0f4fa;
  color: var(--muted);
  font-weight: 600;
}
.member-table tr:last-child td {
  border-bottom: none;
}
.pkg-badge {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background: #ffc107;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.18rem 0.55rem;
  border-radius: 8px 0 10px 0;
  line-height: 1.2;
}

.qr-box {
  text-align: center;
  margin: 1.5rem 0;
}
.qr-box img {
  max-width: 220px;
  border: 1px solid var(--border);
  border-radius: 4px;
}

/* ========== My table ========== */
.my-table-wrap {
  width: 100%;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.my-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.my-table th,
.my-table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.my-table th {
  background: #f0f4fa;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
}
.my-table tr:last-child td {
  border-bottom: none;
}
.my-table tr:hover td {
  background: #fafbfc;
}
.my-table .status-on {
  color: #15803d;
  font-weight: 500;
}
.my-table .status-off {
  color: var(--muted);
}
.my-table .btn-xs {
  padding: 0.25rem 0.55rem;
  font-size: 0.82rem;
  border-radius: 4px;
}

/* ========== Footer ========== */
.site-footer {
  background:
    linear-gradient(180deg, rgba(0, 194, 255, 0.08), transparent 28%),
    linear-gradient(180deg, #0a214f 0%, var(--footer) 100%);
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
  font-size: 0.88rem;
  border-top: 1px solid rgba(0, 194, 255, 0.18);
}
.footer-body {
  max-width: 1170px;
  margin: 0 auto;
  padding: 2.25rem 15px 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.2fr;
  gap: 2rem;
}
@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}
.footer-col h3 {
  margin: 0 0 1rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  position: relative;
  padding-bottom: 0.45rem;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--accent);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col li {
  margin: 0.45rem 0;
  line-height: 1.55;
}
.footer-col a {
  color: rgba(255, 255, 255, 0.78);
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-company-name {
  color: #fff;
  font-weight: 600;
}
.footer-icp {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.9rem 15px;
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-icp a {
  color: rgba(255, 255, 255, 0.65);
}
.footer-icp a:hover {
  color: var(--accent);
}

.pagination {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--card);
  color: var(--text);
  text-decoration: none;
}
.pagination .active {
  border-color: var(--accent);
  color: var(--accent);
  background: #e8f8ff;
}

/* ========== Publish ========== */
.publish-page {
  max-width: 720px;
  margin: 0 auto;
}
.publish-head {
  text-align: center;
  margin-bottom: 1.75rem;
}
.publish-head .page-title {
  margin-bottom: 0.5rem;
}
.publish-sub {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}
.publish-login-tip {
  max-width: 420px;
  margin: 2rem auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.publish-login-tip p {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text);
}
.publish-panel {
  background: var(--card);
  padding: 1.75rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
@media (min-width: 640px) {
  .publish-panel {
    padding: 2rem 2.25rem;
  }
}
.publish-section {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}
.publish-section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.publish-section-title {
  margin: 0 0 1.1rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding-left: 0.65rem;
  border-left: 3px solid var(--accent);
}
.publish-row {
  display: grid;
  gap: 0 1rem;
}
@media (min-width: 520px) {
  .publish-row {
    grid-template-columns: 1fr 1fr;
  }
}
.publish-panel .form-group input:focus,
.publish-panel .form-group select:focus,
.publish-panel .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(3, 185, 248, 0.15);
}
.publish-upload {
  padding: 1rem;
  border: 1px dashed var(--border);
  border-radius: 4px;
  background: #fafafa;
  transition: border-color 0.15s, background 0.15s;
}
.publish-upload:hover {
  border-color: var(--accent);
  background: #f0fbff;
}
.publish-upload input[type='file'] {
  width: 100%;
  font-size: 0.9rem;
}
.publish-upload-hint {
  margin: 0.5rem 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}
.publish-upload-preview {
  margin-top: 0.75rem;
}
.publish-upload-preview img {
  display: block;
  max-width: 100%;
  max-height: 240px;
  width: auto;
  border-radius: 4px;
  border: 1px solid var(--border);
  object-fit: contain;
  background: #f8fafc;
}
.publish-content-group textarea {
  min-height: 160px;
}
.publish-actions {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.publish-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  text-align: center;
}
.publish-note strong {
  color: #c2410c;
  font-weight: 600;
}
.publish-submit {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.empty-state {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--muted);
}

@media (max-width: 768px) {
  .header-main .header-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .nav-menu {
    margin-left: 0;
    width: 100%;
  }
  .nav-link {
    padding: 0.45rem 0.65rem;
    font-size: 0.9rem;
  }
  .home-banner {
    padding: 3.25rem 1rem 3rem;
    min-height: 300px;
    text-align: center;
  }
  .home-banner-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .home-banner .banner-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .banner-actions {
    justify-content: center;
  }
  .logo-text {
    max-width: 11em;
    font-size: 0.95rem;
  }
}
