/*
Theme Name: 国际期货直播网
Theme URI: https://example.com/
Author: Codex
Description: 国际期货直播室 WordPress 主题，覆盖首页、直播室列表页、直播室内容页、标签页与专题页，内置 GEO SEO 结构化数据。
Version: 1.0.0
Text Domain: guoji-qihuo-live
*/

:root {
  --bg: #f4f6fb;
  --panel: #ffffff;
  --panel-soft: #f8faff;
  --line: #e4e9f3;
  --text: #162033;
  --muted: #6c788d;
  --deep: #071224;
  --deep-2: #0c1c38;
  --blue: #2d6cf6;
  --blue-2: #4a87ff;
  --cyan: #38b7ff;
  --red: #f04452;
  --green: #1fb36b;
  --gold: #f2b840;
  --shadow: 0 18px 48px rgba(11, 24, 53, 0.08);
  --shadow-soft: 0 10px 24px rgba(11, 24, 53, 0.05);
  --radius: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: linear-gradient(180deg, #f8f9fc 0%, var(--bg) 240px, #f6f8fc 100%);
  font: 14px/1.55 "Inter", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

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

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

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

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

.container {
  width: min(100%, 1516px);
  margin: 0 auto;
  padding: 0 28px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(180deg, #07111f 0%, #0b1832 100%);
  color: #eef3ff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.14);
}

.header-inner {
  width: min(100%, 1516px);
  margin: 0 auto;
  padding: 16px 28px 12px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 0 3px rgba(64, 137, 255, 0.25);
  flex: 0 0 auto;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text strong {
  display: block;
  font-size: 19px;
  line-height: 1.1;
  color: #fff;
}

.brand-text small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  color: rgba(238, 243, 255, 0.74);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(420px, 100%);
  padding: 6px 10px 6px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.header-search input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.icon-btn {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.08);
}

.header-user {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 0 0 auto;
}

.header-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.85);
}

.open-btn,
.primary-btn,
.ghost-btn,
.red-btn,
.filter-btn,
.select-pill,
.room-btn,
.chat-input button,
.page-btn,
.page-num,
.section-more,
.action-mini a {
  transition: 0.2s ease;
}

.open-btn {
  padding: 11px 18px;
  border-radius: 10px;
  background: linear-gradient(180deg, #2e79ff 0%, #285fe5 100%);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(45, 108, 246, 0.28);
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  color: #fff;
}

.site-nav {
  width: min(100%, 1516px);
  margin: 0 auto;
  padding: 0 28px 10px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 10px;
  border-radius: 8px;
  color: rgba(244, 247, 255, 0.9);
}

.nav-link:hover,
.nav-link.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

.site-main {
  padding: 0 0 48px;
}

.page-wrap {
  padding-top: 18px;
}

@media (min-width: 901px) {
  body:not(.page-home):not(.page-topic) .page-wrap.container {
    padding-right: 96px;
  }
}

.site-footer {
  background: linear-gradient(180deg, #0b1730 0%, #091224 100%);
  color: #d9e3fa;
  padding: 40px 0 18px;
}

.footer-inner {
  width: min(100%, 1516px);
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 22px;
}

.footer-brand .brand-text small {
  color: rgba(217, 227, 250, 0.7);
  max-width: 320px;
}

.footer-copy {
  margin: 16px 0 0;
  color: rgba(217, 227, 250, 0.68);
}

.footer-col h3,
.footer-risk h3 {
  margin: 0 0 14px;
  font-size: 17px;
  color: #fff;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: rgba(217, 227, 250, 0.78);
}

.footer-col a:hover {
  color: #fff;
}

.footer-risk p {
  margin: 0;
  color: rgba(217, 227, 250, 0.74);
  line-height: 1.8;
}

.cert-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  color: rgba(217, 227, 250, 0.88);
}

.cert-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-bottom {
  width: min(100%, 1516px);
  margin: 22px auto 0;
  padding: 16px 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: rgba(217, 227, 250, 0.62);
  font-size: 12px;
}

.float-toolbar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 45;
}

.float-tool {
  width: 66px;
  min-height: 66px;
  padding: 10px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
  color: #5a6780;
  display: grid;
  justify-items: center;
  gap: 4px;
  text-align: center;
  font-size: 12px;
}

.tool-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--blue);
  background: rgba(45, 108, 246, 0.08);
}

.float-tool:hover {
  color: var(--blue);
}

.page-home + .float-toolbar,
body.page-home .float-toolbar,
body.page-topic .float-toolbar {
  display: none;
}

.panel {
  background: var(--panel);
  border: 1px solid rgba(228, 233, 243, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.panel-dark {
  background: linear-gradient(180deg, #0a152e 0%, #101c33 100%);
  border-color: rgba(255, 255, 255, 0.04);
  color: #edf3ff;
}

.panel-dark .section-head h2 {
  color: #fff;
}

.panel-dark .section-more {
  color: #9dc0ff;
}

.section-head,
.page-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2,
.page-title-row h1,
.content-page h1 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
  color: #111a2b;
}

.section-more {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
}

.section-more:hover {
  color: #1652d1;
}

.badge,
.title-pill,
.chip,
.mini-tag,
.status,
.live-dot,
.select-pill,
.tab,
.page-num,
.page-btn,
.filter-btn,
.room-btn,
.red-btn,
.primary-btn,
.ghost-btn,
.action-mini a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}

.badge {
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.badge-gold {
  background: rgba(242, 184, 64, 0.16);
  color: #a66d00;
}

.badge-default {
  background: rgba(45, 108, 246, 0.12);
  color: var(--blue);
}

.title-pill {
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(45, 108, 246, 0.12);
  color: var(--blue);
  font-size: 12px;
  vertical-align: middle;
}

.chip-row,
.hero-pills,
.room-tags,
.article-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  min-height: 32px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f1f5fb;
  color: #51607a;
}

.chip-count {
  margin-left: 4px;
  color: #97a4bc;
}

.mini-tag,
.article-tags span {
  min-height: 26px;
  padding: 0 8px;
  border-radius: 8px;
  background: #edf3ff;
  color: #5e77a4;
  font-size: 12px;
}

.hero-section {
  position: relative;
  overflow: hidden;
  padding: 0 0 22px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.02);
}

.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 12, 27, 0.86) 0%, rgba(6, 16, 34, 0.62) 40%, rgba(6, 16, 34, 0.3) 100%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.1fr 0.74fr;
  gap: 40px;
  align-items: center;
  padding-top: 72px;
  padding-bottom: 38px;
}

.hero-copy {
  color: #fff;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(45, 108, 246, 0.12);
  color: #9dc0ff;
  margin-bottom: 14px;
}

.hero-copy h1 {
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 18px 0 0;
  max-width: 740px;
  font-size: 16px;
  color: rgba(237, 243, 255, 0.8);
}

.hero-pills {
  margin-top: 24px;
}

.hero-pills span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(12, 24, 54, 0.52);
  border: 1px solid rgba(129, 165, 255, 0.2);
  color: rgba(240, 245, 255, 0.92);
}

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

.primary-btn,
.ghost-btn,
.red-btn {
  min-height: 44px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 700;
}

.primary-btn {
  background: linear-gradient(180deg, #3b7aff 0%, #295df1 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(45, 108, 246, 0.3);
}

.ghost-btn {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.red-btn {
  background: linear-gradient(180deg, #ff5d5d 0%, #ef474f 100%);
  color: #fff;
}

.primary-btn.small,
.ghost-btn.small {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 10px;
}

.ghost-btn.block {
  width: 100%;
  margin-top: 14px;
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(45, 108, 246, 0.26);
}

.hero-panels {
  display: grid;
  gap: 14px;
}

.floating-market {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(9, 20, 45, 0.6);
  border: 1px solid rgba(142, 181, 255, 0.16);
  color: #fff;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.floating-market h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.floating-market strong {
  font-size: 28px;
  letter-spacing: 0.3px;
}

.floating-market span {
  display: inline-flex;
  margin-left: 8px;
  font-weight: 700;
}

.floating-market .up {
  color: #4fe08d;
}

.floating-market .down {
  color: #ff7681;
}

.floating-market svg {
  width: 100%;
  height: 52px;
  margin-top: 8px;
}

.market-strip {
  width: min(100%, 1516px);
  margin: -40px auto 0;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

.market-strip-inner {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(228, 233, 243, 0.9);
  box-shadow: var(--shadow);
}

.market-tile {
  min-height: 194px;
  padding: 26px 10px 24px;
  border-radius: 0;
  border: 0;
  border-right: 1px solid #e7edf6;
  background: #fff;
  display: grid;
  grid-template-rows: 58px 26px 28px 24px 36px;
  justify-items: center;
  align-content: center;
  gap: 7px;
  text-align: center;
  box-shadow: inset 8px 0 18px rgba(16, 30, 56, 0.035);
}

.market-tile:last-child {
  border-right: 0;
}

.market-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: transparent;
  border-radius: 0;
  color: inherit;
  line-height: 1;
  position: relative;
}

.market-icon::before,
.market-icon::after {
  content: "";
  display: block;
}

.market-icon-hk::before {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #d93232;
  box-shadow: inset 0 -6px 10px rgba(120, 0, 0, 0.16);
}

.market-icon-hk::after {
  content: "✿";
  position: absolute;
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.market-icon-oil::before {
  width: 34px;
  height: 44px;
  border-radius: 9px 9px 7px 7px;
  background: linear-gradient(180deg, #333 0%, #171717 100%);
  box-shadow: inset 0 5px 0 rgba(255, 255, 255, 0.16), inset 0 -5px 0 rgba(0, 0, 0, 0.34);
}

.market-icon-oil::after {
  position: absolute;
  width: 28px;
  height: 2px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 -11px 0 rgba(255, 255, 255, 0.14), 0 11px 0 rgba(255, 255, 255, 0.1);
}

.market-icon-gold::before {
  width: 24px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, #ffd868 0%, #efae1e 100%);
  transform: translateY(-7px);
  box-shadow: -15px 19px 0 #e7a114, 15px 19px 0 #f5bf35;
}

.market-icon-us::before,
.market-icon-de::before,
.market-icon-global::before {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.market-icon-us::before {
  background: repeating-linear-gradient(180deg, #dc2f3d 0 4px, #fff 4px 8px);
  box-shadow: inset 0 0 0 1px rgba(20, 40, 80, 0.08);
}

.market-icon-us::after {
  position: absolute;
  left: 11px;
  top: 10px;
  width: 22px;
  height: 18px;
  border-radius: 2px;
  background: radial-gradient(circle, #fff 0 1px, transparent 1px 4px), #2c5aa6;
  background-size: 7px 6px;
}

.market-icon-de::before {
  background: linear-gradient(180deg, #111 0 33%, #dd2929 33% 66%, #ffce00 66% 100%);
  box-shadow: inset 0 0 0 1px rgba(20, 20, 20, 0.06);
}

.market-icon-global::before {
  content: "🌐";
  display: grid;
  place-items: center;
  font-size: 38px;
  line-height: 1;
}

.market-icon-silver::before {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: linear-gradient(135deg, #f0f2f5 0%, #b8bec7 100%);
  transform: translateY(-5px);
  box-shadow: -13px 16px 0 #dfe3e8, 13px 16px 0 #c1c7cf;
}

.market-icon-gas::before {
  content: "🔥";
  font-size: 44px;
  line-height: 1;
}

.market-tile h3 {
  margin: 0;
  color: #1e2a3d;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

.market-tile > p {
  margin: 0;
  color: #208c52;
  font-size: 19px;
  font-weight: 800;
  line-height: 1;
}

.market-change {
  text-align: center;
  color: #27a662;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
}

.market-down .market-change {
  color: var(--red);
}

.market-flat .market-change {
  color: transparent;
}

.market-flat > p {
  color: #8b95a5;
  font-size: 15px;
  font-weight: 800;
}

.market-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid rgba(45, 108, 246, 0.35);
  color: #2c6ff2;
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.home-stack {
  margin-top: 18px;
  display: grid;
  gap: 18px;
}

.split-grid {
  display: grid;
  gap: 18px;
}

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

.strategy-feature {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.strategy-feature img {
  width: 168px;
  height: 200px;
  object-fit: cover;
  border-radius: 14px;
}

.feature-copy h3 {
  margin: 8px 0 8px;
  font-size: 28px;
  color: #fff;
}

.feature-copy p {
  margin: 0;
  color: rgba(237, 243, 255, 0.72);
}

.live-dot {
  min-height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(255, 70, 70, 0.16);
  color: #ff8b8b;
  font-size: 12px;
}

.live-dot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

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

.viewer-note {
  color: rgba(237, 243, 255, 0.7);
}

.strategy-schedule {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.strategy-schedule h4 {
  margin: 0;
  font-size: 16px;
}

.strategy-schedule ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.strategy-schedule li,
.time-list li {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(228, 233, 243, 0.9);
}

.strategy-schedule li:last-child,
.time-list li:last-child {
  border-bottom: 0;
}

.strategy-schedule span,
.time-list span {
  color: var(--blue);
  font-weight: 700;
}

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

.hot-strategy {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  background: #f9fbff;
  border: 1px solid #edf1f8;
}

.hot-strategy img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 12px;
}

.hot-strategy h3 {
  margin: 0 0 4px;
  font-size: 16px;
}

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

.hot-strategy a {
  color: var(--blue);
  font-weight: 700;
}

body.page-home .home-stack {
  width: min(100%, 1516px);
  margin-top: 22px;
}

body.page-home .split-2 {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 18px;
  align-items: stretch;
}

body.page-home .strategy-panel,
body.page-home .hot-panel {
  min-height: 430px;
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(21, 32, 54, 0.08);
}

body.page-home .strategy-panel .section-head,
body.page-home .hot-panel .section-head {
  margin-bottom: 14px;
}

body.page-home .strategy-panel .section-head h2,
body.page-home .hot-panel .section-head h2 {
  font-size: 24px;
  font-weight: 900;
  color: #0f1728;
}

body.page-home .strategy-live-card {
  min-height: 350px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.9fr) minmax(300px, 0.9fr);
  border-radius: 10px;
  background: linear-gradient(120deg, #07142a 0%, #0d1b34 55%, #111e35 100%);
  color: #f5f8ff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

body.page-home .strategy-live-main {
  position: relative;
  min-height: 350px;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px 28px 48px 28px;
}

body.page-home .strategy-live-main::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 64px;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

body.page-home .strategy-live-main > img {
  width: 166px;
  height: 252px;
  align-self: end;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
  filter: saturate(0.95) contrast(1.04);
}

body.page-home .strategy-live-main .live-dot {
  position: absolute;
  left: 20px;
  top: 20px;
  z-index: 2;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  background: #e63d45;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

body.page-home .strategy-live-main .live-dot::before {
  display: none;
}

body.page-home .feature-copy h3 {
  margin: 0 0 26px;
  font-size: 26px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

body.page-home .feature-copy p {
  margin: 0 0 10px;
  color: rgba(232, 238, 250, 0.78);
  font-size: 16px;
  font-weight: 700;
}

body.page-home .feature-actions {
  margin-top: 24px;
}

body.page-home .feature-actions .red-btn {
  min-width: 136px;
  min-height: 46px;
  border-radius: 10px;
  background: linear-gradient(180deg, #f2555c 0%, #d9343d 100%);
  font-size: 16px;
  font-weight: 900;
}

body.page-home .strategy-live-main .viewer-note {
  position: absolute;
  left: 28px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(232, 238, 250, 0.74);
  font-size: 15px;
  font-weight: 700;
}

body.page-home .viewer-faces {
  display: inline-flex;
}

body.page-home .viewer-faces i {
  width: 28px;
  height: 28px;
  margin-right: -7px;
  border: 2px solid #17243a;
  border-radius: 50%;
  background: linear-gradient(180deg, #f7c782 0%, #a76a38 100%);
}

body.page-home .viewer-faces i:nth-child(2) {
  background: linear-gradient(180deg, #d1b08c 0%, #5b6d88 100%);
}

body.page-home .viewer-faces i:nth-child(3) {
  background: linear-gradient(180deg, #8fd3dd 0%, #276477 100%);
}

body.page-home .viewer-faces i:nth-child(4) {
  background: linear-gradient(180deg, #d9bb96 0%, #7c4b34 100%);
}

body.page-home .strategy-panel .strategy-schedule {
  min-height: 350px;
  margin: 0;
  padding: 22px 24px;
  gap: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.015);
}

body.page-home .strategy-panel .strategy-schedule h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

body.page-home .strategy-panel .strategy-schedule ul {
  gap: 13px;
}

body.page-home .strategy-panel .strategy-schedule li {
  grid-template-columns: 58px 1fr 58px;
  gap: 12px;
  padding: 0;
  border: 0;
  color: rgba(244, 247, 255, 0.9);
}

body.page-home .strategy-panel .strategy-schedule span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  font-weight: 900;
}

body.page-home .strategy-panel .strategy-schedule strong,
body.page-home .strategy-panel .strategy-schedule em {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  font-style: normal;
  font-weight: 800;
}

body.page-home .schedule-more {
  margin-top: 2px;
  color: #2f7dff;
  font-size: 16px;
  font-weight: 900;
}

body.page-home .hot-panel .hot-strategy-list {
  gap: 12px;
}

body.page-home .hot-panel .hot-strategy {
  min-height: 114px;
  display: grid;
  grid-template-columns: 150px 1fr 128px;
  gap: 18px;
  padding: 10px 18px 10px 10px;
  border-radius: 10px;
  border: 1px solid #e9edf5;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 34, 59, 0.06);
}

body.page-home .hot-panel .hot-strategy figure {
  position: relative;
  width: 150px;
  height: 94px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

body.page-home .hot-panel .hot-strategy img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}

body.page-home .hot-panel .hot-strategy figure span {
  position: absolute;
  right: 8px;
  top: 8px;
  min-width: 46px;
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #2f75ff;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

body.page-home .hot-panel .hot-gold figure span {
  background: #d89a14;
}

body.page-home .hot-panel .hot-stock figure span {
  background: #e54854;
}

body.page-home .hot-panel .hot-strategy h3 {
  margin: 0 0 8px;
  color: #172033;
  font-size: 18px;
  font-weight: 900;
}

body.page-home .hot-panel .hot-strategy p {
  margin: 0 0 10px;
  color: #7a8494;
  font-size: 15px;
  font-weight: 700;
}

body.page-home .hot-panel .hot-strategy strong {
  display: block;
  color: #394356;
  font-size: 15px;
  font-weight: 900;
}

body.page-home .hot-panel .hot-strategy > a {
  justify-self: end;
  align-self: center;
  min-width: 104px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(45, 108, 246, 0.35);
  border-radius: 8px;
  color: #2d6cf6;
  background: #fff;
  font-size: 15px;
  font-weight: 900;
}

.quote-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.quote-card {
  min-height: 156px;
  padding: 14px 14px 10px;
  border: 1px solid #edf1f8;
  border-radius: 12px;
  background: linear-gradient(180deg, #fff 0%, #fafcff 100%);
}

.quote-card h3 {
  margin: 0 0 10px;
  font-size: 15px;
}

.quote-value strong {
  display: block;
  font-size: 20px;
  margin-bottom: 2px;
}

.quote-value span {
  font-size: 12px;
  font-weight: 700;
}

.quote-value.is-up {
  color: var(--green);
}

.quote-value.is-down {
  color: var(--red);
}

.quote-chart svg {
  width: 100%;
  height: 60px;
  margin-top: 10px;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.calendar-table th,
.calendar-table td {
  padding: 12px 10px;
  border-bottom: 1px solid #edf1f8;
  text-align: left;
  vertical-align: middle;
}

.calendar-table th {
  color: #7a879d;
  font-size: 12px;
  font-weight: 700;
}

.calendar-table td.time,
.calendar-table td.flag {
  color: #5a6780;
}

.stars {
  color: var(--gold);
  letter-spacing: 1px;
  font-size: 12px;
}

.data-alerts {
  display: grid;
  gap: 10px;
}

.data-alert {
  padding: 14px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
  display: grid;
  gap: 4px;
}

.data-alert strong {
  font-size: 15px;
}

.data-alert span,
.data-alert em {
  color: var(--muted);
  font-style: normal;
}

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

.ai-card {
  padding: 16px;
  border-radius: 12px;
  background: #fbfdff;
  border: 1px solid #edf1f8;
}

.ai-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.gauge {
  min-height: 180px;
  display: grid;
  place-items: center;
  position: relative;
}

.gauge-ring {
  width: 160px;
  height: 80px;
  border-radius: 160px 160px 0 0;
  background: conic-gradient(from 180deg, #d94a4a 0deg, #f0c24d 70deg, #5ac55d 180deg, #5ac55d 180deg);
  -webkit-mask: radial-gradient(circle at 50% 100%, transparent 41%, #000 42%);
  mask: radial-gradient(circle at 50% 100%, transparent 41%, #000 42%);
}

.gauge-value {
  position: absolute;
  top: 68px;
  font-size: 22px;
  font-weight: 800;
  color: #2c7a3c;
}

.gauge p {
  position: absolute;
  bottom: 16px;
  margin: 0;
  color: var(--muted);
}

.rating-lines,
.level-card ul,
.risk-card ul {
  display: grid;
  gap: 10px;
}

.rating-lines span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #4f5d77;
}

.rating-lines i {
  color: var(--gold);
  font-style: normal;
}

.level-card ul,
.risk-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.level-card li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed #edf1f8;
}

.level-card li:last-child {
  border-bottom: 0;
}

.risk-card ul {
  color: #556276;
}

.risk-card p {
  margin: 12px 0 0;
  color: #4f5d77;
}

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

.academy-card {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, #101d35 0%, #0f1b31 100%);
  color: #fff;
  min-height: 188px;
  position: relative;
}

.academy-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.academy-card div {
  position: relative;
  z-index: 1;
  padding: 18px;
  display: grid;
  align-content: end;
  min-height: 188px;
}

.academy-card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.academy-card p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.78);
}

.academy-card a {
  display: inline-flex;
  align-self: start;
  width: fit-content;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: rgba(45, 108, 246, 0.95);
  color: #fff;
  align-items: center;
  font-weight: 700;
}

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

.article-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid #edf1f8;
  border-radius: 12px;
  background: #fff;
}

.article-thumb {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.article-body h3 {
  margin: 0 0 8px;
  font-size: 17px;
  line-height: 1.35;
}

.article-meta {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
  color: #75839c;
  font-size: 13px;
}

.breadcrumb .current {
  color: #4d5b74;
}

.breadcrumb .sep {
  color: #c1c8d7;
}

.rooms-layout,
.detail-layout,
.tag-layout,
.topic-layout {
  display: grid;
  gap: 16px;
}

.rooms-layout {
  grid-template-columns: 300px 1fr;
}

.detail-layout {
  grid-template-columns: 1.7fr 0.82fr;
}

.tag-layout {
  grid-template-columns: 1fr 332px;
}

.topic-layout {
  grid-template-columns: 220px minmax(0, 1fr) 330px;
}

.sidebar,
.topic-sidebar,
.tag-sidebar,
.detail-sidebar,
.topic-sidebar-right {
  display: grid;
  gap: 16px;
}

.sidebar-panel h2,
.mini-section-title {
  margin: 0 0 14px;
  font-size: 18px;
  color: #101a2c;
}

.side-list,
.quick-list,
.topic-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.side-list li,
.topic-nav li {
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.side-list li.is-active,
.topic-nav li.is-active,
.topic-nav li.is-sub {
  background: linear-gradient(180deg, #f1f6ff 0%, #eaf2ff 100%);
  border-color: #dce9ff;
  color: var(--blue);
}

.topic-nav li.group {
  background: transparent;
  border: 0;
  min-height: 36px;
  padding: 0 8px;
  color: var(--blue);
}

.topic-nav li.is-sub {
  padding-left: 24px;
}

.side-list em {
  font-style: normal;
  color: #8593a8;
}

.quick-list li {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4d5b74;
}

.rooms-main,
.tag-main,
.topic-main,
.detail-main {
  display: grid;
  gap: 16px;
}

.page-title-row h1 {
  font-size: 28px;
}

.page-title-row p {
  margin: 8px 0 0;
  color: var(--muted);
}

.action-mini {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-mini a {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #dce4f1;
  color: #4a5671;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.tabs,
.detail-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #f7f9fd;
  color: #66758f;
  border: 1px solid transparent;
}

.tab.is-active {
  background: linear-gradient(180deg, #3b7aff 0%, #295df1 100%);
  color: #fff;
  box-shadow: 0 10px 20px rgba(45, 108, 246, 0.22);
}

.search-mini {
  display: flex;
  align-items: center;
  min-width: 280px;
  padding: 0 10px 0 16px;
  border-radius: 12px;
  border: 1px solid #dce4f1;
  background: #fff;
}

.search-mini input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  min-height: 42px;
}

.search-mini button {
  width: 42px;
  height: 42px;
  color: #53627b;
}

.filter-btn {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dce4f1;
  color: #4a5671;
}

.filter-btn.is-selected,
.select-pill.is-selected {
  border-color: rgba(45, 108, 246, 0.45);
  background: #f0f5ff;
  color: var(--blue);
}

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

.room-card {
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  border: 1px solid #e7edf7;
  box-shadow: var(--shadow-soft);
}

.room-cover {
  position: relative;
}

.room-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 14, 31, 0.04) 10%, rgba(5, 14, 31, 0.62) 100%);
  pointer-events: none;
}

.room-cover img {
  width: 100%;
  height: 198px;
  object-fit: cover;
}

.status {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  background: linear-gradient(180deg, #ff5b5b 0%, #f04452 100%);
}

.status.is-soon {
  background: linear-gradient(180deg, #4576ff 0%, #2d6cf6 100%);
}

.cover-title {
  position: absolute;
  left: 16px;
  bottom: 48px;
  max-width: calc(100% - 32px);
  color: #fff;
  z-index: 1;
  font-size: 24px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.viewer-count {
  position: absolute;
  left: 12px;
  bottom: 12px;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  background: rgba(7, 18, 36, 0.7);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  z-index: 1;
}

.room-body {
  padding: 14px;
  display: grid;
  gap: 10px;
}

.room-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.room-title-row h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.teacher-row {
  display: flex;
  gap: 8px;
  align-items: center;
  color: #556276;
  flex-wrap: wrap;
}

.avatar {
  flex: 0 0 auto;
  overflow: hidden;
}

.avatar-mini {
  width: 26px;
  height: 26px;
  border-radius: 50%;
}

.avatar-mini img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.muted {
  color: #91a0b7;
}

.room-short {
  margin: 0;
  color: var(--muted);
}

.room-btn {
  min-height: 40px;
  border-radius: 10px;
  border: 1px solid #d1dcf0;
  background: #fff;
  color: var(--blue);
  font-weight: 700;
}

.room-btn:hover,
.primary-btn:hover,
.ghost-btn:hover,
.red-btn:hover,
.filter-btn:hover,
.select-pill:hover,
.page-num:hover,
.page-btn:hover,
.action-mini a:hover,
.room-card:hover,
.article-card:hover {
  transform: translateY(-1px);
}

.room-btn.is-outline {
  background: #fff;
  color: #4772ff;
}

.mode-topic .room-cover img {
  height: 148px;
}

.mode-topic .cover-title {
  bottom: 36px;
  font-size: 20px;
}

.mode-topic .viewer-count {
  bottom: 8px;
}

.mode-topic .room-body {
  padding: 12px;
}

.mode-topic .room-title-row h3 {
  font-size: 16px;
}

.mode-topic .room-short,
.mode-topic .room-tags,
.mode-topic .room-btn {
  display: none;
}

.panel .ghost-btn,
.content-page .ghost-btn,
.analyst-actions .ghost-btn {
  color: var(--blue);
  background: #fff;
  border: 1px solid rgba(45, 108, 246, 0.26);
}

.hero-section .ghost-btn,
.panel-dark .ghost-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}

.page-footline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-num,
.page-btn {
  min-width: 36px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid #dce4f1;
  background: #fff;
  color: #556276;
}

.page-num.is-active {
  background: linear-gradient(180deg, #3b7aff 0%, #295df1 100%);
  color: #fff;
  border-color: transparent;
}

.page-btn.disabled {
  opacity: 0.4;
  pointer-events: none;
}

.detail-layout .panel {
  padding: 16px;
}

.chart-card {
  border-radius: 14px;
  overflow: hidden;
  background: #08111e;
  color: #fff;
  margin-top: 16px;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px 0;
  color: rgba(255, 255, 255, 0.82);
}

.chart-head strong {
  font-size: 34px;
  color: #ff4e57;
}

.chart-head em {
  font-size: 14px;
  font-style: normal;
  color: rgba(255, 255, 255, 0.7);
}

.chart-card img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.chart-bottom {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 16px 14px;
  color: rgba(255, 255, 255, 0.7);
}

.chart-ticks {
  display: flex;
  gap: 18px;
}

.detail-tabs {
  margin-top: 16px;
}

.detail-tabs .tab {
  background: #f7f9fd;
}

.detail-tabs .tab.is-active {
  background: linear-gradient(180deg, #3b7aff 0%, #295df1 100%);
  color: #fff;
}

.strategy-grid-2,
.history-grid,
.topic-top-grid {
  display: grid;
  gap: 12px;
}

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

.strategy-card {
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #edf1f8;
}

.strategy-label {
  display: inline-flex;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 8px;
  background: rgba(242, 72, 82, 0.12);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.strategy-card h3 {
  margin: 10px 0 8px;
  font-size: 16px;
}

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

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

.strategy-grid span,
.data-grid span,
.hero-stats em,
.side-metrics em {
  color: #8090a8;
  font-style: normal;
}

.strategy-grid strong {
  display: block;
  margin-top: 4px;
}

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

.data-grid article {
  padding: 14px;
  border-radius: 12px;
  background: #f9fbff;
  border: 1px solid #edf1f8;
}

.data-grid strong {
  display: block;
  margin-top: 8px;
  font-size: 18px;
}

.data-grid strong small {
  font-size: 12px;
  color: var(--red);
}

.data-grid .is-down {
  color: var(--red);
}

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

.quote-row {
  display: grid;
  grid-template-columns: 1fr auto 96px;
  gap: 12px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f8;
}

.quote-row:last-child {
  border-bottom: 0;
}

.quote-row strong {
  display: block;
  font-size: 14px;
}

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

.quote-num {
  text-align: right;
  color: var(--green);
  font-weight: 700;
}

.quote-row.is-down .quote-num {
  color: var(--red);
}

.quote-spark svg {
  width: 96px;
  height: 28px;
}

.analyst-panel,
.chat-panel,
.related-panel,
.side-quote {
  position: relative;
}

.analyst-hero {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.analyst-hero img {
  width: 90px;
  height: 110px;
  object-fit: cover;
  border-radius: 12px;
}

.analyst-hero h3 {
  margin: 0 0 4px;
  font-size: 18px;
}

.analyst-hero p,
.analyst-hero span {
  margin: 0;
  color: var(--muted);
}

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

.analyst-kpi span {
  display: grid;
  gap: 4px;
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
}

.analyst-kpi strong {
  font-size: 16px;
}

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

.chat-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.chat-list article {
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
}

.chat-list article.host {
  background: rgba(242, 72, 82, 0.08);
  border-color: rgba(242, 72, 82, 0.18);
}

.chat-list strong {
  margin-right: 10px;
}

.chat-list span {
  color: var(--muted);
  font-size: 12px;
}

.chat-list p {
  margin: 6px 0 0;
}

.chat-input {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.chat-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid #dce4f1;
  border-radius: 12px;
  padding: 0 14px;
  min-height: 42px;
}

.chat-input button {
  min-height: 42px;
  padding: 0 16px;
  border-radius: 12px;
  background: linear-gradient(180deg, #3b7aff 0%, #295df1 100%);
  color: #fff;
  font-weight: 700;
}

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

.article-card.compact {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 10px;
}

.article-card.compact .article-thumb {
  height: 84px;
}

.article-card.compact .article-body h3 {
  font-size: 15px;
  margin-bottom: 6px;
}

.tag-layout .panel,
.topic-layout .panel {
  padding: 16px;
}

.tag-cloud,
.tag-cloud.compact {
  display: grid;
  gap: 10px;
}

.tag-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
}

.tag-item span {
  color: #4b5d7b;
}

.tag-item em {
  color: #8a97ad;
  font-style: normal;
}

.time-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.time-list li a {
  color: var(--blue);
  font-weight: 700;
}

.time-list.compact li {
  grid-template-columns: 52px 1fr auto;
}

.analyst-list,
.analyst-grid-small {
  display: grid;
  gap: 10px;
}

.analyst-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 12px;
  background: #f8fbff;
  border: 1px solid #edf1f8;
}

.analyst-card img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.analyst-card h4,
.analyst-card p {
  margin: 0;
}

.analyst-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: #677590;
  font-size: 12px;
}

.filter-selects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.select-pill {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #dce4f1;
  background: #fff;
  color: #4f5d77;
}

.tag-grid {
  margin-top: 12px;
}

.topic-layout .topic-main {
  gap: 16px;
}

.topic-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  align-items: center;
  min-height: 240px;
  overflow: hidden;
  background: linear-gradient(135deg, #081225 0%, #101c33 54%, #132742 100%);
  color: #fff;
}

.topic-hero h1 {
  margin: 4px 0 12px;
  font-size: 40px;
  color: #fff;
}

.topic-hero p {
  margin: 0;
  color: rgba(237, 243, 255, 0.76);
}

.topic-hero img {
  width: 100%;
  height: 100%;
  max-height: 300px;
  object-fit: cover;
  border-radius: 0 0 0 0;
}

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

.hero-stats span {
  padding: 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 4px;
}

.hero-stats strong {
  font-size: 20px;
}

.topic-tabs-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.topic-top-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

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

.topic-row {
  display: grid;
  grid-template-columns: 152px 1fr;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #edf1f8;
}

.topic-row:last-child {
  border-bottom: 0;
}

.topic-row img {
  width: 152px;
  height: 92px;
  object-fit: cover;
  border-radius: 10px;
}

.topic-row h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

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

.article-tags {
  gap: 8px;
}

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

.faq-grid article {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #edf1f8;
  background: #f8fbff;
}

.faq-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
}

.side-bigquote {
  display: grid;
  gap: 4px;
  margin-top: 6px;
}

.side-bigquote strong {
  font-size: 34px;
  color: var(--red);
}

.side-bigquote span {
  color: #5a6780;
}

.side-bigquote em {
  font-style: normal;
  color: var(--red);
  font-weight: 700;
}

.side-bigchart svg {
  width: 100%;
  height: 92px;
  margin-top: 8px;
}

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

.side-metrics span {
  padding-top: 6px;
  display: grid;
  gap: 4px;
}

.content-page {
  min-height: 300px;
}

.rich-content {
  color: #4f5d77;
}

.rich-content p {
  margin-top: 0;
}

.spark {
  display: block;
}

.i {
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

/* Homepage first-screen replica */
body.page-home {
  background: #f4f6fb;
}

body.page-home .site-header {
  background: rgba(3, 13, 28, 0.96);
  box-shadow: none;
}

body.page-home .header-inner {
  width: min(100%, 1516px);
  min-height: 92px;
  padding: 0 28px;
}

body.page-home .brand-mark {
  width: 54px;
  height: 54px;
  box-shadow: 0 0 0 3px rgba(33, 123, 255, 0.28), 0 0 18px rgba(42, 130, 255, 0.34);
}

body.page-home .brand-text strong {
  font-size: 24px;
  letter-spacing: 0;
}

body.page-home .brand-text small {
  margin-top: 5px;
  font-size: 13px;
  color: rgba(238, 243, 255, 0.72);
}

body.page-home .header-search {
  width: 286px;
  min-height: 50px;
  margin-left: auto;
  padding: 6px 10px 6px 20px;
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.08);
}

body.page-home .header-search input {
  font-size: 14px;
  font-weight: 600;
}

body.page-home .header-user {
  gap: 22px;
}

body.page-home .header-link {
  font-size: 15px;
  color: rgba(244, 247, 255, 0.88);
  font-weight: 700;
}

body.page-home .header-user .open-btn {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 124px;
  min-width: 124px;
  height: 64px;
  min-height: 64px;
  padding: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #347fff 0%, #2065f2 100%);
  box-shadow: 0 12px 24px rgba(35, 103, 242, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

body.page-home .site-nav {
  width: 100%;
  padding: 0 max(28px, calc((100vw - 1516px) / 2 + 28px)) 14px;
  background: rgba(7, 24, 49, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

body.page-home .site-nav ul {
  width: 100%;
  min-height: 62px;
  margin: 0;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
}

body.page-home .nav-link {
  position: relative;
  flex: 0 0 auto;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 10px;
  background: transparent;
  color: rgba(244, 247, 255, 0.9);
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

body.page-home .nav-link:hover,
body.page-home .nav-link.is-active {
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}

body.page-home .nav-link.is-active::after {
  content: none;
}

body.page-home .hero-section {
  min-height: 500px;
  padding: 0;
  background: #06152c;
}

body.page-home .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  filter: none;
}

body.page-home .hero-section::after {
  background:
    radial-gradient(circle at 50% 35%, rgba(12, 44, 93, 0.1), rgba(2, 10, 24, 0.16) 62%, rgba(1, 7, 18, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 10, 24, 0.02) 0%, rgba(2, 10, 24, 0.18) 100%);
}

body.page-home .hero-grid {
  width: min(100%, 1516px);
  min-height: 500px;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: center;
  padding: 48px 28px 72px;
}

body.page-home .hero-copy {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

body.page-home .hero-copy h1 {
  margin: 0;
  color: #fff;
  font-size: 58px;
  line-height: 1.12;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

body.page-home .hero-copy h2 {
  margin: 20px 0 0;
  color: #fff;
  font-size: 43px;
  line-height: 1.2;
  font-weight: 900;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
}

body.page-home .hero-pills {
  justify-content: center;
  gap: 22px;
  margin-top: 38px;
}

body.page-home .hero-pills span {
  min-height: 48px;
  padding: 0 20px 0 15px;
  border-radius: 12px;
  background: rgba(5, 20, 45, 0.42);
  border: 1px solid rgba(53, 169, 255, 0.24);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  color: rgba(247, 250, 255, 0.94);
  font-size: 17px;
  font-weight: 800;
}

body.page-home .hero-pills svg {
  width: 27px;
  height: 27px;
  padding: 5px;
  border-radius: 50%;
  color: #19c4ff;
  background: rgba(14, 190, 255, 0.12);
  box-shadow: inset 0 0 0 2px rgba(19, 196, 255, 0.32);
}

body.page-home .hero-copy p {
  margin: 38px auto 0;
  max-width: 830px;
  color: rgba(238, 246, 255, 0.86);
  font-size: 18px;
  font-weight: 700;
}

body.page-home .hero-actions {
  justify-content: center;
  margin-top: 28px;
}

body.page-home .hero-actions .primary-btn {
  min-height: 66px;
  padding: 0 33px;
  border-radius: 11px;
  background: linear-gradient(180deg, #3278ff 0%, #2265f2 100%);
  box-shadow: 0 20px 38px rgba(34, 101, 242, 0.36);
  font-size: 22px;
}

body.page-home .hero-play-bubble {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: #2d6cf6;
}

body.page-home .hero-play-bubble svg {
  width: 15px;
  height: 15px;
  stroke-width: 2.6;
}

body.page-home .hero-panels {
  position: absolute;
  top: 54px;
  right: 78px;
  width: 310px;
  z-index: 2;
  gap: 22px;
}

body.page-home .floating-market {
  min-height: 104px;
  padding: 16px 16px 14px 18px;
  border-radius: 10px;
  background: rgba(8, 23, 48, 0.68);
  border: 1px solid rgba(147, 173, 216, 0.28);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.02);
  display: grid;
  grid-template-columns: max-content max-content 112px;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
}

body.page-home .floating-market h3 {
  grid-column: 1 / 3;
  margin: 0 0 2px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  font-weight: 900;
}

body.page-home .floating-market strong {
  grid-column: 1;
  grid-row: 2;
  color: #19ba63;
  font-size: 24px;
  line-height: 1.05;
}

body.page-home .floating-market span {
  grid-column: 2;
  grid-row: 2;
  align-self: end;
  margin: 0 0 2px;
  font-size: 12px;
  font-weight: 900;
}

body.page-home .floating-market .up {
  color: #ff5262;
}

body.page-home .floating-market .down {
  color: #ff5262;
}

body.page-home .floating-market:nth-child(2) span {
  color: #43d384;
}

body.page-home .floating-market svg {
  grid-column: 3;
  grid-row: 1 / 3;
  width: 112px;
  height: 64px;
  margin: 0;
  align-self: end;
  border-radius: 6px;
  background: rgba(38, 141, 255, 0.08);
}

body.page-home .floating-market:nth-child(2) svg {
  background: rgba(35, 209, 125, 0.09);
}

body.page-home .floating-market:nth-child(3) strong,
body.page-home .floating-market:nth-child(3) span {
  color: #ff5262;
}

body.page-home .floating-market:nth-child(3) svg {
  background: rgba(255, 82, 98, 0.09);
}

body.page-home .market-strip {
  width: min(100%, 1516px);
  margin-top: -25px;
  padding: 0 28px;
}

body.page-home .market-strip-inner {
  gap: 0;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border-color: rgba(222, 227, 236, 0.95);
  box-shadow: 0 20px 42px rgba(6, 18, 42, 0.18);
}

body.page-home .market-tile {
  min-height: 194px;
  padding: 26px 10px 24px;
  border-radius: 0;
  border-width: 0 1px 0 0;
  box-shadow: inset 8px 0 18px rgba(16, 30, 56, 0.035);
}

body.page-home .market-tile:last-child {
  border-right: 0;
}

@media (max-width: 1280px) {
  .market-strip-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .quote-grid,
  .academy-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

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

  .topic-layout {
    grid-template-columns: 260px 1fr;
  }

  .topic-sidebar-right {
    grid-column: 1 / -1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1500px) {
  body.page-home .site-nav {
    padding-left: 28px;
    padding-right: 28px;
  }

  body.page-home .site-nav ul {
    gap: 12px;
  }

  body.page-home .nav-link {
    padding: 0 12px;
  }
}

@media (max-width: 1320px) {
  body.page-home .site-nav {
    padding-left: 20px;
    padding-right: 20px;
  }

  body.page-home .site-nav ul {
    gap: 8px;
  }

  body.page-home .nav-link {
    padding: 0 8px;
  }
}

@media (max-width: 1200px) {
  body.page-home .site-nav {
    padding-left: 18px;
    padding-right: 18px;
  }

  body.page-home .site-nav ul {
    gap: 4px;
  }

  body.page-home .nav-link {
    font-size: 12px;
    min-height: 34px;
    padding: 0 4px;
  }

  body.page-home .header-user .open-btn {
    width: 112px;
    min-width: 112px;
    height: 54px;
    min-height: 54px;
    padding: 0;
    font-size: 15px;
  }

  .header-inner,
  .site-nav,
  .footer-inner,
  .footer-bottom,
  .container,
  .market-strip {
    padding-left: 20px;
    padding-right: 20px;
  }

  .rooms-layout,
  .detail-layout,
  .tag-layout,
  .topic-layout,
  .split-2,
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .detail-sidebar,
  .tag-sidebar,
  .topic-sidebar-right {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .rooms-main,
  .detail-main,
  .tag-main,
  .topic-main {
    order: 2;
  }

  .sidebar,
  .topic-sidebar {
    order: 1;
  }

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

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

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

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

@media (max-width: 900px) {
  .header-search,
  .header-user {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .site-nav {
    display: none;
  }

  .site-header.is-nav-open .site-nav {
    display: block;
  }

  .market-strip-inner,
  .quote-grid,
  .academy-grid,
  .news-grid,
  .room-grid,
  .strategy-grid-2,
  .faq-grid,
  .topic-top-grid,
  .ai-grid,
  .detail-sidebar,
  .tag-sidebar,
  .topic-sidebar-right,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-grid {
    min-height: 0;
    padding-top: 44px;
  }

  .hero-section {
    padding-bottom: 16px;
  }

  .market-strip {
    margin-top: 0;
  }

  .strategy-feature,
  .hot-strategy,
  .topic-row,
  .analyst-hero {
    grid-template-columns: 1fr;
  }

  .strategy-feature img,
  .hot-strategy img,
  .topic-row img {
    width: 100%;
    height: 180px;
  }

  .chart-card img {
    height: 300px;
  }

  .rooms-layout,
  .detail-layout,
  .tag-layout,
  .topic-layout {
    grid-template-columns: 1fr;
  }

  .page-title-row,
  .section-head,
  .filter-row,
  .page-footline {
    flex-direction: column;
    align-items: stretch;
  }

  .search-mini {
    width: 100%;
  }

  .float-toolbar {
    display: none;
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand-text strong {
    font-size: 17px;
  }

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

  .hero-pills {
    gap: 8px;
  }

  .hero-pills span,
  .chip,
  .tab,
  .select-pill {
    min-height: 34px;
  }

  .panel,
  .site-footer {
    border-radius: 0;
  }

  .container,
  .header-inner,
  .site-nav,
  .footer-inner,
  .footer-bottom,
  .market-strip {
    padding-left: 16px;
    padding-right: 16px;
  }

  .market-strip-inner {
    padding: 10px;
  }

  .market-tile {
    min-height: 150px;
  }

  .chart-head strong {
    font-size: 28px;
  }

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

  .time-list li,
  .strategy-schedule li {
    grid-template-columns: 58px 1fr;
  }

  .time-list li a,
  .time-list li em,
  .strategy-schedule li strong {
    grid-column: 1 / -1;
  }

  .calendar-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .calendar-table th,
  .calendar-table td {
    padding: 10px 8px;
  }
}

@media (max-width: 900px) {
  .rooms-main,
  .detail-main,
  .tag-main,
  .topic-main {
    order: 1;
  }

  .sidebar,
  .topic-sidebar,
  .detail-sidebar,
  .tag-sidebar,
  .topic-sidebar-right {
    order: 2;
  }
}
