
    /* Reset & CSS Variables */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    
    :root {
      --bg-dark: #06080c;
      --bg-card: rgba(11, 17, 28, 0.85);
      --bg-input: rgba(4, 6, 10, 0.8);
      --border-color: rgba(255, 255, 255, 0.08);
      --border-focus: #3b82f6;
      --text-main: #f3f4f6;
      --text-muted: #9ca3af;
      
      --color-long: #10b981;
      --color-long-glow: rgba(16, 185, 129, 0.15);
      --color-short: #ef4444;
      --color-short-glow: rgba(239, 68, 68, 0.15);
      
      --accent-blue: #3b82f6;
      --accent-purple: #8b5cf6;
      
      --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    body {
      background-color: var(--bg-dark);
      background-image: 
        radial-gradient(circle at 0% 10%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 100% 90%, rgba(16, 185, 129, 0.06) 0%, transparent 40%);
      background-attachment: fixed;
      font-family: 'Inter', 'Noto Sans SC', sans-serif;
      color: var(--text-main);
      line-height: 1.5;
      padding: 2rem 1.5rem;
      min-height: 100vh;
    }

    .container {
      max-width: 1600px;
      margin: 0 auto;
    }

    /* Header */
    header {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 2rem;
      position: relative;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 1.5rem;
    }
    
    @media (min-width: 768px) {
      header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    .logo-area h1 {
      font-family: 'Outfit', 'Noto Sans SC', sans-serif;
      font-size: 2.2rem;
      font-weight: 900;
      background: linear-gradient(135deg, #60a5fa, #34d399);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      letter-spacing: -0.02em;
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .logo-area h1 span.badge {
      font-size: 0.75rem;
      font-family: 'Inter', sans-serif;
      font-weight: 600;
      background: rgba(59, 130, 246, 0.15);
      color: #60a5fa;
      padding: 0.25rem 0.6rem;
      border-radius: 9999px;
      border: 1px solid rgba(59, 130, 246, 0.3);
      -webkit-text-fill-color: initial;
    }

    .logo-area p {
      color: var(--text-muted);
      font-size: 0.95rem;
      margin-top: 0.35rem;
    }

    .header-right {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 0.5rem;
    }

    .current-time {
      font-size: 0.85rem;
      color: var(--text-muted);
      background: rgba(255, 255, 255, 0.03);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      border: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* Main Grid Layout */
    .dashboard-layout {
      display: grid;
      grid-template-columns: 1fr;
      gap: 2rem;
    }

    @media (min-width: 1200px) {
      .dashboard-layout {
        grid-template-columns: 3.1fr 1.1fr;
      }
    }

    /* Left Column: Cards Area */
    .main-content-flow {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    /* Stats Panel */
    .stats-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.25rem;
    }

    .stat-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.25rem 1.5rem;
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: hidden;
      transition: var(--transition);
    }

    .stat-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 4px;
      height: 100%;
      background: var(--accent-blue);
    }
    
    .stat-card.long-stat::before { background: var(--color-long); }
    .stat-card.short-stat::before { background: var(--color-short); }
    .stat-card.active-stat::before { background: var(--accent-purple); }

    .stat-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 10px 20px -5px rgba(0,0,0,0.4);
      border-color: rgba(255, 255, 255, 0.15);
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.8rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
    }

    .stat-value {
      font-size: 2.1rem;
      font-weight: 800;
      font-family: 'Outfit', sans-serif;
      margin-top: 0.5rem;
      display: flex;
      align-items: baseline;
      gap: 0.4rem;
    }

    .stat-value span.sub {
      font-size: 0.9rem;
      font-weight: 500;
      color: var(--text-muted);
      font-family: 'Noto Sans SC', sans-serif;
    }

    /* Filters & Search Control Bar */
    .controls-bar {
      background: rgba(13, 19, 32, 0.5);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    @media (min-width: 992px) {
      .controls-bar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
      }
    }

    .filter-tabs {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }

    .tab-btn {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 500;
      font-size: 0.85rem;
      transition: var(--transition);
    }

    .tab-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-main);
    }

    .tab-btn.active {
      background: var(--accent-blue);
      color: white;
      border-color: var(--accent-blue);
      box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    .right-controls {
      display: flex;
      gap: 0.75rem;
      width: 100%;
      flex-wrap: wrap;
    }

    @media (min-width: 992px) {
      .right-controls {
        width: auto;
        flex-wrap: nowrap;
      }
    }

    .search-wrapper {
      position: relative;
      flex-grow: 1;
      min-width: 240px;
    }

    .search-input {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 0.5rem 1rem 0.5rem 2.25rem;
      color: var(--text-main);
      font-size: 0.85rem;
      transition: var(--transition);
    }

    .search-input:focus {
      outline: none;
      border-color: var(--border-focus);
      box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
    }

    .search-icon {
      position: absolute;
      left: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
    }

    .direction-filter {
      display: flex;
      background: var(--bg-input);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 2px;
    }

    .dir-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      padding: 0.375rem 0.75rem;
      border-radius: 6px;
      cursor: pointer;
      font-size: 0.8rem;
      font-weight: 500;
      transition: var(--transition);
    }

    .dir-btn.active {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-main);
    }

    /* Grid of Cards (Focused on explicit Signals) */
    .ideas-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 1.5rem;
    }

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

    /* Premium Pagination Styling */
    .pagination-container {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 0.5rem;
      margin-top: 3rem;
      padding: 1.5rem 0;
      flex-wrap: wrap;
    }

    .page-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 2.3rem;
      height: 2.3rem;
      padding: 0 0.75rem;
      border-radius: 8px;
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      color: var(--text-muted);
      font-size: 0.85rem;
      font-weight: 500;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
    }

    .page-btn:hover {
      background: var(--bg-hover);
      color: var(--text-main);
      border-color: rgba(255, 255, 255, 0.2);
      transform: translateY(-1px);
    }

    .page-btn.active {
      background: var(--color-long);
      color: #ffffff;
      border-color: var(--color-long);
      font-weight: 700;
      box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
    }

    .page-btn:disabled {
      opacity: 0.3;
      cursor: not-allowed;
      pointer-events: none;
      transform: none;
    }

    .idea-card {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      transition: var(--transition);
      cursor: pointer;
    }

    .idea-card:hover {
      transform: translateY(-4px);
      border-color: rgba(255, 255, 255, 0.18);
      box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    }

    /* Card Chart Preview (Slightly shorter to focus on signals) */
    .card-preview {
      height: 120px;
      background-size: cover;
      background-position: center;
      background-color: rgba(0, 0, 0, 0.4);
      position: relative;
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .preview-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, rgba(7, 9, 14, 0.2) 0%, rgba(7, 9, 14, 0.9) 100%);
    }

    .asset-badge {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(4px);
      -webkit-backdrop-filter: blur(4px);
      border: 1px solid rgba(255,255,255,0.1);
      padding: 0.25rem 0.75rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .direction-badge {
      position: absolute;
      top: 1rem;
      right: 1rem;
      padding: 0.25rem 0.6rem;
      border-radius: 6px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.05em;
    }

    .direction-badge.long {
      background: rgba(16, 185, 129, 0.2);
      color: #34d399;
      border: 1px solid rgba(16, 185, 129, 0.3);
      box-shadow: 0 0 10px var(--color-long-glow);
    }

    .direction-badge.short {
      background: rgba(239, 68, 68, 0.2);
      color: #f87171;
      border: 1px solid rgba(239, 68, 68, 0.3);
      box-shadow: 0 0 10px var(--color-short-glow);
    }

    /* Card Details */
    .card-body {
      padding: 1.25rem;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .card-title {
      font-size: 1.15rem;
      font-weight: 800;
      color: var(--text-main);
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 1;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    /* New Core logic section */
    .card-core-logic {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.5;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      min-height: 3em;
    }

    /* Technical Parameters Section inside card (Redesigned as explicit trading ticket) */
    .card-params {
      background: rgba(255, 255, 255, 0.015);
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 12px;
      padding: 0.85rem;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
      position: relative;
    }

    .ticket-row {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.85rem;
    }

    .ticket-row .label {
      color: var(--text-muted);
      font-weight: 500;
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .ticket-row .val {
      font-weight: 800;
      font-family: 'Outfit', monospace;
      color: var(--text-main);
    }

    .ticket-row.entry .val { color: #60a5fa; }
    .ticket-row.sl .val { color: #f87171; }
    .ticket-row.tp .val { color: #34d399; }

    .ticket-divider {
      height: 1px;
      background: rgba(255, 255, 255, 0.05);
      margin: 0.1rem 0;
    }

    .card-rr-badge {
      font-size: 0.75rem;
      font-weight: 700;
      padding: 0.15rem 0.5rem;
      border-radius: 4px;
      background: rgba(251, 191, 36, 0.1);
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.2);
      align-self: flex-start;
    }

    /* Card Footer */
    .card-footer {
      border-top: 1px solid var(--border-color);
      padding: 0.75rem 1.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.75rem;
      color: var(--text-muted);
    }

    .author-info {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .author-avatar {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      border: 1px solid rgba(255,255,255,0.15);
    }

    .author-name {
      font-weight: 500;
      color: var(--text-main);
    }

    .card-stats {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .card-stat-item {
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    /* Right Column: Tools Area */
    .sidebar-tools {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .sidebar-widget {
      background: var(--bg-card);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid var(--border-color);
      border-radius: 20px;
      padding: 1.5rem;
      transition: var(--transition);
    }

    .sidebar-widget:hover {
      box-shadow: 0 12px 24px -10px rgba(0,0,0,0.5);
      border-color: rgba(255, 255, 255, 0.12);
    }

    .widget-title {
      font-size: 1.1rem;
      font-weight: 700;
      margin-bottom: 1.25rem;
      border-bottom: 1px solid var(--border-color);
      padding-bottom: 0.75rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .widget-title span.left-group {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    /* Market Sentiment Widget */
    .sentiment-bars {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .sentiment-bar-group {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
    }

    .sentiment-label-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .sentiment-track {
      height: 8px;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 9999px;
      overflow: hidden;
      display: flex;
    }

    .sentiment-fill-long {
      background: var(--color-long);
      box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    }

    .sentiment-fill-short {
      background: var(--color-short);
      box-shadow: 0 0 8px rgba(239, 68, 68, 0.5);
    }

    /* Smart Calculator Layout */
    .calc-modes {
      display: grid;
      grid-template-columns: 1fr 1fr;
      background: var(--bg-input);
      padding: 2px;
      border-radius: 8px;
      margin-bottom: 1rem;
      border: 1px solid var(--border-color);
    }

    .calc-mode-btn {
      background: transparent;
      border: none;
      color: var(--text-muted);
      padding: 0.4rem;
      font-size: 0.75rem;
      font-weight: 600;
      border-radius: 6px;
      cursor: pointer;
      transition: var(--transition);
    }

    .calc-mode-btn.active {
      background: rgba(255, 255, 255, 0.08);
      color: var(--text-main);
    }

    .calc-row {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 1rem;
    }

    .calc-row-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.8rem;
      color: var(--text-muted);
      font-weight: 500;
    }

    .calc-row-header span.val-display {
      font-weight: 700;
      color: var(--accent-blue);
    }

    .calc-input-group {
      display: flex;
      position: relative;
      width: 100%;
    }

    .calc-input {
      width: 100%;
      background: var(--bg-input);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      padding: 0.5rem 2.25rem 0.5rem 0.75rem;
      color: var(--text-main);
      font-size: 0.9rem;
      font-weight: 700;
      font-family: 'Outfit', monospace;
      transition: var(--transition);
    }

    .calc-input:focus {
      outline: none;
      border-color: var(--border-focus);
      box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.15);
    }

    .calc-suffix {
      position: absolute;
      right: 0.75rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 0.75rem;
      color: var(--text-muted);
      font-weight: 700;
    }

    .calc-slider {
      width: 100%;
      accent-color: var(--accent-blue);
      margin-top: 0.25rem;
      cursor: pointer;
    }

    .calc-warning-banner {
      background: rgba(239, 68, 68, 0.1);
      border: 1px solid rgba(239, 68, 68, 0.25);
      border-radius: 8px;
      padding: 0.75rem;
      color: #f87171;
      font-size: 0.75rem;
      margin-top: 1rem;
      display: none; /* Shown dynamically */
      align-items: flex-start;
      gap: 0.5rem;
      line-height: 1.4;
    }

    .calc-results {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 1rem;
      margin-top: 1.25rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      font-size: 0.8rem;
    }

    .calc-res-header {
      font-weight: 700;
      color: var(--text-main);
      border-bottom: 1px dashed var(--border-color);
      padding-bottom: 0.5rem;
      margin-bottom: 0.25rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .calc-direction-tag {
      font-size: 0.7rem;
      padding: 0.1rem 0.4rem;
      border-radius: 4px;
      font-weight: 700;
    }

    .calc-direction-tag.long {
      background: rgba(16, 185, 129, 0.15);
      color: #34d399;
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .calc-direction-tag.short {
      background: rgba(239, 68, 68, 0.15);
      color: #f87171;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    .calc-res-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .calc-res-item .val {
      font-weight: 700;
      color: var(--text-main);
      font-family: 'Outfit', monospace;
    }

    .calc-res-item.risk-value .val { color: #f87171; }
    .calc-res-item.reward-value .val { color: #34d399; }
    .calc-res-item.margin-value .val { color: #60a5fa; }

    /* RRR bar chart visualization */
    .rrr-bar-container {
      display: flex;
      height: 6px;
      border-radius: 9999px;
      overflow: hidden;
      background: rgba(255, 255, 255, 0.05);
      margin: 0.25rem 0;
    }

    .rrr-bar-risk {
      background: var(--color-short);
    }
    .rrr-bar-reward {
      background: var(--color-long);
    }

    .formula-explanation {
      font-size: 0.7rem;
      color: var(--text-muted);
      line-height: 1.4;
      background: rgba(255,255,255,0.01);
      border: 1px solid rgba(255,255,255,0.03);
      padding: 0.5rem;
      border-radius: 6px;
      margin-top: 0.5rem;
    }

    /* Modal Styling */
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      display: flex;
      justify-content: center;
      align-items: center;
      padding: 1.5rem;
      opacity: 0;
      pointer-events: none;
      transition: var(--transition);
      z-index: 1000;
    }

    .modal-overlay.open {
      opacity: 1;
      pointer-events: auto;
    }

    .modal-content {
      background: #0a0d14;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 20px;
      max-width: 800px;
      width: 100%;
      max-height: 90vh;
      overflow-y: auto;
      transform: scale(0.95);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .modal-overlay.open .modal-content {
      transform: scale(1);
    }

    .close-btn {
      position: absolute;
      top: 1rem;
      right: 1rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.08);
      color: var(--text-main);
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      cursor: pointer;
      transition: var(--transition);
      z-index: 10;
    }

    .close-btn:hover {
      background: rgba(255, 255, 255, 0.15);
    }

    .modal-img {
      height: 280px;
      background-size: cover;
      background-position: center;
      position: relative;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .modal-img-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to bottom, transparent 30%, #0a0d14 100%);
    }

    .modal-header-info {
      position: absolute;
      bottom: 1rem;
      left: 1.5rem;
      right: 1.5rem;
    }

    .modal-body {
      padding: 1.5rem 2rem 2.5rem;
    }

    .modal-meta-row {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }

    .modal-title {
      font-size: 1.65rem;
      font-weight: 800;
      margin-bottom: 1.25rem;
      line-height: 1.35;
    }

    .modal-params-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1.5rem;
    }

    .modal-param-item {
      display: flex;
      flex-direction: column;
    }

    .modal-param-item .label {
      color: var(--text-muted);
      font-size: 0.7rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
      text-transform: uppercase;
    }

    .modal-param-item .val {
      font-size: 1rem;
      font-weight: 800;
    }

    .modal-param-item.entry .val { color: #60a5fa; }
    .modal-param-item.sl .val { color: #f87171; }
    .modal-param-item.tp .val { color: #34d399; }

    /* Chinese details box */
    .detailed-section {
      background: rgba(59, 130, 246, 0.03);
      border: 1px solid rgba(59, 130, 246, 0.12);
      border-radius: 12px;
      padding: 1.25rem;
      margin-bottom: 1.5rem;
    }

    .detailed-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #60a5fa;
      margin-bottom: 0.75rem;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }

    .analysis-text-block {
      font-size: 0.9rem;
      line-height: 1.6;
      color: var(--text-main);
      margin-bottom: 0.75rem;
    }

    .calc-import-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      background: rgba(59, 130, 246, 0.15);
      color: #60a5fa;
      border: 1px solid rgba(59, 130, 246, 0.25);
      padding: 0.5rem 1rem;
      border-radius: 8px;
      font-size: 0.8rem;
      font-weight: 700;
      cursor: pointer;
      transition: var(--transition);
      margin-bottom: 1.25rem;
      width: 100%;
      justify-content: center;
    }

    .calc-import-btn:hover {
      background: rgba(59, 130, 246, 0.25);
      color: white;
      box-shadow: 0 4px 10px rgba(59,130,246,0.2);
    }

    .original-section {
      border: 1px solid var(--border-color);
      background: rgba(0,0,0,0.15);
      border-radius: 12px;
      padding: 1.25rem;
    }

    .original-title {
      font-size: 0.85rem;
      color: var(--text-muted);
      font-weight: 600;
      margin-bottom: 0.75rem;
      text-transform: uppercase;
    }

    .original-text {
      font-size: 0.85rem;
      line-height: 1.5;
      color: var(--text-muted);
      white-space: pre-line;
    }

    .tag-container {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-top: 1.5rem;
    }

    .tag {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-muted);
      font-size: 0.75rem;
      padding: 0.25rem 0.5rem;
      border-radius: 4px;
      border: 1px solid rgba(255,255,255,0.04);
    }

    /* Animation effects */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .animated-card {
      animation: fadeIn 0.4s ease forwards;
    }

    /* Symbol Icons Emulation */
    .icon-container {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 10px;
      font-weight: 700;
      color: white;
    }

    .icon-gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
    .icon-btc { background: linear-gradient(135deg, #f97316, #ea580c); }
    .icon-gbp { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
    .icon-eur { background: linear-gradient(135deg, #10b981, #047857); }
    
    /* Empty state */
    .empty-state {
      grid-column: 1 / -1;
      text-align: center;
      padding: 4rem 2rem;
      color: var(--text-muted);
      background: var(--bg-card);
      border-radius: 16px;
      border: 1px dashed var(--border-color);
    }
  
    
    /* Optimized Segmented Top Navigation Bar */
    .top-nav-bar {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 6px;
      margin: 1rem 0 1.25rem 0;
      padding: 8px;
      background: rgba(8, 12, 22, 0.88);
      border: 1px solid rgba(255, 255, 255, 0.07);
      border-radius: 18px;
      backdrop-filter: blur(24px);
      -webkit-backdrop-filter: blur(24px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255,255,255,0.04);
      position: sticky;
      top: 0.6rem;
      z-index: 100;
    }
    .top-nav-btn {
      flex: 1 1 auto;
      min-width: 140px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      background: transparent;
      border: 1px solid transparent;
      color: var(--text-muted, #94a3b8);
      padding: 0.6rem 1rem;
      border-radius: 12px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      font-family: 'Outfit', 'Noto Sans SC', sans-serif;
      transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
      white-space: nowrap;
      text-decoration: none;
    }
    .top-nav-btn:hover {
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
      border-color: rgba(255, 255, 255, 0.12);
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    }
    .top-nav-btn:active {
      transform: translateY(0px);
    }
    .top-nav-btn.active {
      background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
      color: #ffffff;
      border-color: rgba(96, 165, 250, 0.5);
      box-shadow: 0 4px 24px rgba(59, 130, 246, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
      transform: translateY(-2px);
    }
    .top-nav-btn.active::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 20%;
      width: 60%;
      height: 2px;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
      border-radius: 4px;
    }
    .top-nav-badge {
      font-size: 0.68rem;
      padding: 1px 6px;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.12);
      color: inherit;
      font-weight: 500;
    }
    .top-nav-btn.active .top-nav-badge {
      background: rgba(255, 255, 255, 0.25);
      color: #ffffff;
    }

    .page-section { display: none; }
    .page-section.active { display: block; }


    /* Global Bottom Footer Banner */
    .global-footer-banner {
      background: var(--bg-card);
      border-top: 1px solid var(--border-color);
      padding: 1.5rem;
      margin-top: 3rem;
      text-align: center;
    }
    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }
    .footer-brand {
      display: flex;
      align-items: center;
      gap: 0.6rem;
      font-weight: 700;
      font-size: 1.1rem;
      color: #fff;
    }
    .footer-links {
      display: flex;
      align-items: center;
      gap: 1.5rem;
      flex-wrap: wrap;
    }
    .footer-link-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      padding: 0.5rem 1rem;
      border-radius: 10px;
      font-size: 0.9rem;
      color: var(--text-main);
      text-decoration: none;
      transition: all 0.2s;
      cursor: pointer;
    }
    .footer-link-item:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: var(--accent-blue);
      color: var(--accent-blue);
    }


    /* Sidebar Right Fixed Panel */
    .sidebar-right-panel {
      position: fixed;
      top: 80px;
      right: 20px;
      width: 340px;
      max-height: calc(100vh - 100px);
      background: rgba(11, 17, 28, 0.92);
      backdrop-filter: blur(16px);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.2rem;
      box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
      z-index: 99;
      display: flex;
      flex-direction: column;
      transition: transform 0.3s ease;
    }
    
    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 0.8rem;
      padding-bottom: 0.6rem;
      border-bottom: 1px solid var(--border-color);
    }
    .sidebar-title {
      font-size: 0.95rem;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 0.4rem;
    }
    .sidebar-live-dot {
      width: 8px;
      height: 8px;
      background: #ef4444;
      border-radius: 50%;
      box-shadow: 0 0 8px #ef4444;
      animation: pulse 1.5s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.4; transform: scale(1.2); }
      100% { opacity: 1; transform: scale(1); }
    }
    .sidebar-news-list {
      flex: 1;
      overflow-y: auto;
      display: flex;
      flex-direction: column;
      gap: 0.8rem;
      padding-right: 4px;
    }
    .live-news-card {
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid var(--border-color);
      border-left: 3px solid var(--accent-blue);
      padding: 0.75rem;
      border-radius: 8px;
    }
    .live-news-time {
      font-size: 0.75rem;
      color: var(--accent-blue);
      font-weight: 700;
      margin-bottom: 0.2rem;
    }
    .live-news-source {
      color: var(--text-muted);
      font-weight: 500;
      margin-left: 0.3rem;
    }
    .live-news-title {
      font-size: 0.85rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.2rem;
    }
    .live-news-body {
      font-size: 0.8rem;
      color: var(--text-muted);
      line-height: 1.4;
    }
    
    @media (max-width: 1400px) {
      .sidebar-right-panel {
        position: static;
        width: 100%;
        max-height: 400px;
        margin-top: 1.5rem;
      }
    }


    /* Page shell: all dashboard content stays in the left column; live news is
       a true sibling in the right column. */
    .app-layout-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) 360px;
      gap: 1.5rem;
      align-items: start;
      max-width: 1600px;
      margin: 0 auto;
    }
    .left-main-area,
    .main-content-flow {
      min-width: 0;
      width: 100%;
    }
    .right-sidebar-area {
      position: sticky;
      top: 20px;
      width: auto;
      min-width: 0;
      align-self: start;
    }
    @media (max-width: 1100px) {
      .app-layout-grid {
        grid-template-columns: minmax(0, 1fr);
      }
      .right-sidebar-area {
        position: static;
        width: 100%;
      }
    }


    /* ── Sidebar: 黄金快讯告警 ─────────────────────────────── */
    .sidebar-inner {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.25rem;
      box-shadow: 0 8px 24px rgba(0,0,0,.35);
    }
    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      flex-wrap: wrap;
      gap: .35rem .75rem;
      margin-bottom: 1rem;
      padding-bottom: .75rem;
      border-bottom: 1px solid var(--border-color);
    }
    .sidebar-title {
      font-size: .92rem;
      font-weight: 700;
      color: #fff;
      display: flex;
      align-items: center;
      gap: .5rem;
      flex: 1 1 auto;
      white-space: nowrap;
    }
    .live-dot {
      display: inline-block;
      width: 8px; height: 8px;
      background: #ef4444;
      border-radius: 50%;
      box-shadow: 0 0 8px #ef4444;
      animation: pulse-dot 1.5s ease-in-out infinite;
    }
    @keyframes pulse-dot {
      0%, 100% { opacity: 1; transform: scale(1); }
      50%       { opacity: .5; transform: scale(.75); }
    }
    .sidebar-update-time {
      font-size: .68rem;
      color: var(--text-muted);
      margin-left: auto;
      white-space: nowrap;
    }
    .sidebar-news-list {
      display: flex;
      flex-direction: column;
      gap: .85rem;
      max-height: calc(100vh - 150px);
      overflow-y: auto;
      padding-right: 4px;
    }
    .sidebar-news-list::-webkit-scrollbar { width: 4px; }
    .sidebar-news-list::-webkit-scrollbar-track { background: transparent; }
    .sidebar-news-list::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 2px; }
    .news-source-filters {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      margin: -.25rem 0 .85rem;
    }
    .news-source-btn {
      border: 1px solid var(--border-color);
      background: rgba(255,255,255,.025);
      color: var(--text-muted);
      border-radius: 999px;
      padding: .3rem .55rem;
      font: inherit;
      font-size: .68rem;
      cursor: pointer;
      transition: var(--transition);
    }
    .news-source-btn:hover,
    .news-source-btn.active {
      color: #fff;
      border-color: var(--accent-blue);
      background: rgba(59,130,246,.18);
    }
    .market-strip {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1rem 1.15rem;
    }
    .market-strip-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
      margin-bottom: .75rem;
    }
    .market-strip-title { color: #fff; font-size: .92rem; font-weight: 750; }
    .market-strip-time { color: var(--text-muted); font-size: .7rem; }
    .market-quote-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: .65rem;
    }
    .market-quote-card {
      background: rgba(255,255,255,.025);
      border: 1px solid rgba(255,255,255,.07);
      border-radius: 11px;
      padding: .7rem .8rem;
    }
    .quote-code { color: var(--text-muted); font-size: .67rem; }
    .quote-name { color: #fff; font-size: .8rem; font-weight: 700; margin: .12rem 0 .35rem; }
    .quote-price { color: #fff; font-size: 1.15rem; font-weight: 800; font-variant-numeric: tabular-nums; }
    .quote-change { font-size: .72rem; margin-top: .15rem; }
    .quote-change.up { color: #34d399; }
    .quote-change.down { color: #f87171; }
    .jin10-kline-section {
      border: 1px solid rgba(56,189,248,.16);
      background: rgba(14,165,233,.035);
      border-radius: 12px;
      padding: 1rem;
      margin-bottom: 1.5rem;
    }
    .jin10-kline-head { display:flex; justify-content:space-between; gap:1rem; margin-bottom:.65rem; }
    .jin10-kline-head strong { color:#7dd3fc; font-size:.86rem; }
    .jin10-kline-meta { color:var(--text-muted); font-size:.7rem; }
    .jin10-kline-svg { width:100%; height:190px; display:block; }
    .jin10-kline-stats { display:flex; flex-wrap:wrap; gap:.45rem 1rem; color:var(--text-muted); font-size:.72rem; margin-top:.4rem; }
    .jin10-news-shell {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 1.3rem;
      margin-bottom: 2rem;
    }
    .jin10-search-row { display:flex; gap:.65rem; flex-wrap:wrap; margin-bottom:.8rem; }
    .jin10-search-input {
      flex:1 1 260px;
      min-width:0;
      background:rgba(255,255,255,.035);
      border:1px solid var(--border-color);
      color:#fff;
      border-radius:9px;
      padding:.7rem .85rem;
      font:inherit;
    }
    .jin10-action-btn {
      border:1px solid rgba(59,130,246,.45);
      background:rgba(59,130,246,.15);
      color:#bfdbfe;
      border-radius:9px;
      padding:.65rem .95rem;
      cursor:pointer;
      font:inherit;
      font-size:.82rem;
    }
    .jin10-news-status { color:var(--text-muted); font-size:.75rem; margin-bottom:.75rem; }
    .jin10-news-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
    .jin10-news-card {
      text-align:left;
      border:1px solid var(--border-color);
      background:rgba(255,255,255,.02);
      border-radius:11px;
      padding:.9rem;
      cursor:pointer;
      color:inherit;
      transition:var(--transition);
    }
    .jin10-news-card:hover { border-color:var(--accent-blue); transform:translateY(-1px); }
    .jin10-news-card h3 { color:#fff; font-size:.9rem; line-height:1.45; margin-bottom:.35rem; }
    .jin10-news-card p { color:var(--text-muted); font-size:.78rem; line-height:1.5; }
    .jin10-news-card time { display:block; color:#38bdf8; font-size:.7rem; margin-top:.5rem; }
    .jin10-result-title { color:#fff; font-size:.95rem; margin:1rem 0 .6rem; }
    .jin10-flash-result { border-left:3px solid #f59e0b; padding:.65rem .8rem; background:rgba(245,158,11,.04); margin-bottom:.55rem; border-radius:0 8px 8px 0; }
    .jin10-flash-result time { color:#fbbf24; font-size:.7rem; }
    .jin10-flash-result p { color:#cbd5e1; font-size:.8rem; line-height:1.5; margin-top:.2rem; }
    .article-detail-content { white-space:pre-wrap; color:#cbd5e1; line-height:1.75; font-size:.9rem; }
    .article-detail-intro { color:#7dd3fc; line-height:1.65; margin-bottom:1rem; }
    @media (max-width: 760px) {
      .market-quote-grid, .jin10-news-list { grid-template-columns:repeat(2,minmax(0,1fr)); }
    }

    /* ── Mobile reading layout ──────────────────────────────── */
    .mobile-news-jump { display: none; }
    @media (max-width: 760px) {
      html { scroll-padding-top: .75rem; }
      body {
        padding: 0;
        overflow-x: hidden;
        background-attachment: scroll;
        font-size: 15px;
      }
      body > .container {
        width: 100%;
        padding: .75rem .65rem 5.5rem !important;
      }
      .app-layout-grid { gap: 1rem; }
      .main-content-flow { gap: .9rem; }

      header {
        gap: .65rem;
        margin-bottom: .9rem;
        padding: .35rem .15rem 1rem;
      }
      .logo-area h1 {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .45rem;
        font-size: clamp(1.45rem, 7.2vw, 1.85rem);
        line-height: 1.18;
      }
      .logo-area h1 span.badge { margin-top: .12rem; font-size: .62rem; }
      .logo-area p { font-size: .76rem; line-height: 1.55; }
      .header-right { align-items: stretch; width: 100%; }
      .current-time {
        justify-content: center;
        width: 100%;
        padding: .5rem .65rem;
        font-size: .67rem;
        text-align: center;
      }

      .market-strip { padding: .8rem; border-radius: 13px; }
      .market-strip-head { align-items: flex-start; gap: .35rem; margin-bottom: .65rem; }
      .market-strip-title { font-size: .82rem; }
      .market-strip-time { max-width: 52%; text-align: right; font-size: .61rem; }
      .market-quote-grid { gap: .48rem; }
      .market-quote-card { min-width: 0; padding: .62rem; border-radius: 9px; }
      .quote-code { font-size: .58rem; }
      .quote-name { margin-bottom: .2rem; font-size: .72rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
      .quote-price { font-size: 1rem; }
      .quote-change { font-size: .61rem; white-space: nowrap; }

      .stats-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
      .stat-card { min-width: 0; padding: .82rem .72rem .8rem .9rem; border-radius: 12px; }
      .stat-label { font-size: .61rem; letter-spacing: .02em; line-height: 1.35; }
      .stat-value { min-width: 0; margin-top: .35rem; gap: .2rem; font-size: 1.32rem; line-height: 1.2; overflow-wrap: anywhere; }
      .stat-value span.sub { font-size: .66rem; }

      .top-nav-bar {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(152px, 76vw);
        gap: .55rem;
        margin: .35rem 0 .8rem;
        padding: 0 0 .65rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
      }
      .top-nav-bar::-webkit-scrollbar,
      .filter-tabs::-webkit-scrollbar,
      #cal-day-tabs::-webkit-scrollbar { display: none; }
      .top-nav-btn {
        min-height: 47px;
        padding: .62rem .72rem;
        border-radius: 10px;
        font-size: .76rem;
        line-height: 1.35;
        text-align: center;
        justify-content: center;
        scroll-snap-align: start;
      }

      .controls-bar { gap: .75rem; padding: .72rem; border-radius: 12px; }
      .filter-tabs {
        flex-wrap: nowrap;
        width: 100%;
        padding-bottom: .1rem;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
      }
      .filter-tabs .tab-btn { flex: 0 0 auto; min-height: 40px; padding: .5rem .75rem; white-space: nowrap; }
      .right-controls { display: grid; grid-template-columns: 1fr; gap: .55rem; }
      .search-wrapper { min-width: 0; width: 100%; }
      .search-input { min-height: 43px; font-size: .78rem; }
      .direction-filter { width: 100%; }
      .dir-btn { flex: 1 1 0; min-height: 39px; padding: .4rem .25rem; font-size: .7rem; }
      #timeFilter, #timeRangeSelect { width: 100%; }
      #timeRangeSelect { min-height: 42px !important; padding: .4rem .65rem !important; }

      .ideas-grid { gap: .85rem; }
      .idea-card { border-radius: 13px; }
      .idea-card:hover { transform: none; }
      .card-preview { height: 112px; }
      .asset-badge { top: .65rem; left: .65rem; }
      .direction-badge { top: .65rem; right: .65rem; }
      .card-body { gap: .62rem; padding: .9rem; }
      .card-title { font-size: 1rem; -webkit-line-clamp: 2; }
      .card-core-logic { font-size: .78rem; -webkit-line-clamp: 3; }
      .card-params { padding: .72rem; gap: .48rem; }
      .ticket-row { gap: .5rem; font-size: .77rem; }
      .ticket-row .label { flex: 0 0 auto; }
      .ticket-row .val { text-align: right; overflow-wrap: anywhere; }
      .card-footer { padding: .68rem .9rem; }
      .author-name { display: inline-block; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
      .pagination-container { gap: .35rem; margin-top: 1.2rem; padding: .7rem 0; }
      .page-btn { min-width: 2.15rem; height: 2.15rem; padding: 0 .55rem; font-size: .74rem; }

      #section-calendar > div { padding: .75rem !important; border-radius: 12px !important; }
      #section-calendar > div > div:first-child { align-items: stretch !important; margin-bottom: .75rem !important; }
      #cal-day-tabs { width: 100%; padding-bottom: .15rem; scrollbar-width: none; }
      #cal-day-tabs .tab-btn { flex: 0 0 auto; white-space: nowrap; }
      #section-calendar table,
      #section-calendar tbody,
      #section-calendar tr,
      #section-calendar td { display: block; width: 100%; }
      #section-calendar thead { display: none; }
      #section-calendar tr {
        margin-bottom: .7rem;
        padding: .25rem .7rem;
        border: 1px solid var(--border-color) !important;
        border-radius: 10px;
        background: rgba(255,255,255,.018);
      }
      #section-calendar td {
        display: grid;
        grid-template-columns: 5.8rem minmax(0, 1fr);
        gap: .55rem;
        align-items: start;
        padding: .48rem 0 !important;
        border-bottom: 1px dashed rgba(255,255,255,.06);
        font-size: .75rem !important;
        overflow-wrap: anywhere;
      }
      #section-calendar td:last-child { border-bottom: 0; }
      #section-calendar td::before { color: var(--text-muted); font-size: .66rem; font-weight: 650; }
      #section-calendar td:nth-child(1)::before { content: "时间"; }
      #section-calendar td:nth-child(2)::before { content: "国家/地区"; }
      #section-calendar td:nth-child(3)::before { content: "重要度"; }
      #section-calendar td:nth-child(4)::before { content: "指标/事件"; }
      #section-calendar td:nth-child(5)::before { content: "前值"; }
      #section-calendar td:nth-child(6)::before { content: "预测值"; }
      #section-calendar td:nth-child(7)::before { content: "公布值"; }
      #section-calendar td[colspan] { display: block; text-align: center !important; }
      #section-calendar td[colspan]::before { display: none; }

      .jin10-news-shell { padding: .78rem; border-radius: 12px; }
      .jin10-search-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
      .jin10-search-input { grid-column: 1 / -1; min-height: 44px; font-size: .78rem; }
      .jin10-action-btn { min-height: 42px; padding: .55rem .6rem; font-size: .72rem; }
      .jin10-news-list { grid-template-columns: minmax(0,1fr); gap: .6rem; }
      .jin10-news-card { padding: .78rem; }
      .jin10-news-card h3 { font-size: .84rem; }
      .jin10-news-card p { font-size: .74rem; }

      #section-compass > div { border-radius: 12px !important; padding: .9rem !important; }
      #section-compass h2 { font-size: 1.04rem !important; line-height: 1.4; }
      #section-compass h3 { font-size: .92rem !important; line-height: 1.4; }
      #section-compass [style*="minmax(320px"] { grid-template-columns: minmax(0,1fr) !important; gap: .8rem !important; }
      #section-compass [style*="minmax(280px"] { grid-template-columns: minmax(0,1fr) !important; gap: .8rem !important; }

      .right-sidebar-area { scroll-margin-top: .75rem; }
      .sidebar-inner { padding: .85rem; border-radius: 13px; }
      .sidebar-title { min-width: 0; white-space: normal; font-size: .82rem; line-height: 1.35; }
      .sidebar-header { gap: .45rem; margin-bottom: .65rem; padding-bottom: .6rem; }
      .sidebar-update-time { margin-left: 0; }
      .news-source-filters {
        flex-wrap: nowrap;
        margin: 0 0 .7rem;
        padding-bottom: .1rem;
        overflow-x: auto;
        scrollbar-width: none;
      }
      .news-source-btn { flex: 0 0 auto; min-height: 34px; padding: .35rem .62rem; }
      .sidebar-news-list { max-height: 72dvh; gap: .62rem; }
      .live-news-card { padding: .68rem; }
      .live-news-title { font-size: .8rem; }
      .live-news-body { font-size: .76rem; line-height: 1.55; }

      .modal-overlay { align-items: stretch; padding: 0; }
      .modal-content {
        max-width: none;
        max-height: 100dvh;
        min-height: 100dvh;
        border: 0;
        border-radius: 0;
      }
      .close-btn { position: fixed; top: max(.65rem, env(safe-area-inset-top)); right: .65rem; width: 38px; height: 38px; background: rgba(6,8,12,.82); }
      .modal-img { flex: 0 0 145px; height: 145px; }
      .modal-header-info { left: .9rem; right: .9rem; bottom: .65rem; }
      .modal-body { padding: 1rem .85rem calc(1.5rem + env(safe-area-inset-bottom)); }
      .modal-meta-row { flex-wrap: wrap; gap: .45rem .7rem; margin-bottom: .7rem; font-size: .73rem; }
      .modal-title { margin-bottom: .9rem; font-size: 1.2rem; }
      .modal-params-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: .65rem; padding: .75rem; }
      .modal-param-item:last-child { grid-column: 1 / -1; }
      .modal-param-item .val { font-size: .88rem; overflow-wrap: anywhere; }
      .jin10-kline-section, .detailed-section, .original-section { padding: .8rem; margin-bottom: .9rem; }
      .jin10-kline-svg { height: 165px; }
      .analysis-text-block, .original-text, .article-detail-content { font-size: .82rem; line-height: 1.68; }

      footer { padding: 1.25rem .7rem !important; margin-top: 2rem !important; }
      footer > div { align-items: flex-start !important; gap: .9rem !important; }
      footer > div > div:last-child { width: 100%; gap: .55rem !important; }
      footer a, footer [onclick] { width: 100%; justify-content: flex-start; padding: .62rem .75rem !important; }

      .mobile-news-jump {
        position: fixed;
        right: .75rem;
        bottom: max(.75rem, env(safe-area-inset-bottom));
        z-index: 90;
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        min-height: 44px;
        padding: 0 .85rem;
        color: #fff;
        background: rgba(37,99,235,.94);
        border: 1px solid rgba(147,197,253,.5);
        border-radius: 999px;
        box-shadow: 0 10px 26px rgba(0,0,0,.38);
        text-decoration: none;
        font-size: .74rem;
        font-weight: 750;
        backdrop-filter: blur(12px);
      }
    }
    /* ── Dashboard grid layout ──────────────────────────────── */
    @keyframes spin {
    to { transform: rotate(360deg); }
  }
  /* Page section transitions */
  .page-section {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  .page-section.active {
    opacity: 1;
    transform: translateY(0);
    display: block;
  }
    /* =========================================
       CLEAN PRO LAYOUT & STRICT DISPLAY
    ========================================= */
    body { padding: 0 !important; background: #06080d !important; }
    .container { padding: 0 !important; max-width: 100% !important; }

    /* Strict Page Section Switch */
    .page-section { display: none !important; }
    .page-section.active { display: block !important; animation: secIn 0.18s ease both !important; }
    @keyframes secIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

    /* Compact Sticky Header */
    header {
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      padding: 0.6rem 1.4rem !important;
      margin: 0 !important;
      border-bottom: 1px solid rgba(255,255,255,0.06) !important;
      background: rgba(6,8,13,0.97) !important;
      backdrop-filter: blur(24px) !important;
      position: sticky !important;
      top: 36px !important;
      z-index: 200 !important;
      flex-direction: row !important;
    }
    .logo-area h1 { font-size: 1.05rem !important; font-weight: 700 !important; }
    .logo-area p { display: none !important; }
    .header-right { flex-direction: row !important; align-items: center !important; gap: 0.75rem !important; }
    .current-time { font-size: 0.78rem !important; color: #475569 !important; background: transparent !important; border: none !important; }

    /* Stats Bar (Single Row) */
    .stats-container {
      display: flex !important;
      align-items: center !important;
      gap: 0 !important;
      background: rgba(10,14,24,0.7) !important;
      border: 1px solid rgba(255,255,255,0.06) !important;
      border-radius: 10px !important;
      padding: 0 !important;
      overflow: hidden !important;
      backdrop-filter: blur(12px) !important;
    }
    .stat-card {
      flex: 1 !important;
      padding: 0.55rem 1rem !important;
      background: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      border-right: 1px solid rgba(255,255,255,0.05) !important;
      display: flex !important;
      flex-direction: row !important;
      align-items: center !important;
      gap: 8px !important;
      transform: none !important;
      box-shadow: none !important;
    }
    .stat-card:last-child { border-right: none !important; }
    .stat-card::before { display: none !important; }
    .stat-label { font-size: 0.7rem !important; color: #475569 !important; white-space: nowrap !important; }
    .stat-value { font-size: 0.95rem !important; font-weight: 700 !important; margin-top: 0 !important; white-space: nowrap !important; }

    /* Top Nav Bar */
    .top-nav-bar {
      margin: 0 !important;
      padding: 4px !important;
      background: rgba(10,14,24,0.7) !important;
      border: 1px solid rgba(255,255,255,0.06) !important;
      border-radius: 11px !important;
      backdrop-filter: blur(16px) !important;
    }

    /* Market Ticker Bar */
    #price-ticker-bar {
      background: rgba(4, 6, 12, 0.98);
      border-bottom: 1px solid rgba(255,255,255,0.05);
      height: 36px;
      overflow: hidden;
      position: sticky;
      top: 0;
      z-index: 300;
      display: flex;
      align-items: center;
    }
    .market-strip { display: none !important; }

  
    /* =========================================
       PERFECT TICKER & TOP NAV LAYOUT FIX
    ========================================= */
    body {
      padding: 0 !important;
      padding-top: 36px !important;
      background: #06080d !important;
    }

    #price-ticker-bar {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 36px !important;
      background: rgba(4, 6, 12, 0.98) !important;
      border-bottom: 1px solid rgba(255,255,255,0.06) !important;
      z-index: 9999 !important;
      display: flex !important;
      align-items: center !important;
      box-sizing: border-box !important;
    }

    .ticker-label {
      flex-shrink: 0 !important;
      font-size: 0.68rem !important;
      font-weight: 800 !important;
      letter-spacing: 0.08em !important;
      color: #3b82f6 !important;
      padding: 0 14px !important;
      background: rgba(59,130,246,0.12) !important;
      border-right: 1px solid rgba(59,130,246,0.25) !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
      white-space: nowrap !important;
    }

    .ticker-track-wrap {
      flex: 1 !important;
      overflow: hidden !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
    }

    .ticker-track {
      display: flex !important;
      align-items: center !important;
      animation: tickerScroll 35s linear infinite !important;
      white-space: nowrap !important;
    }

    .ticker-item {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 0 22px !important;
      border-right: 1px solid rgba(255,255,255,0.04) !important;
      height: 36px !important;
      white-space: nowrap !important;
    }

    .ticker-symbol { font-size: 0.75rem !important; font-weight: 700 !important; color: #94a3b8 !important; }
    .ticker-price  { font-size: 0.82rem !important; font-weight: 700 !important; color: #ffffff !important; font-family: monospace !important; }
    .ticker-change { font-size: 0.72rem !important; font-weight: 600 !important; padding: 1px 6px !important; border-radius: 4px !important; }

    .top-nav-bar {
      display: flex !important;
      flex-wrap: wrap !important;
      align-items: center !important;
      gap: 6px !important;
      margin: 0 0 1rem 0 !important;
      padding: 5px !important;
      background: rgba(10,14,24,0.85) !important;
      border: 1px solid rgba(255,255,255,0.06) !important;
      border-radius: 12px !important;
      backdrop-filter: blur(16px) !important;
    }

    .top-nav-btn {
      flex: 1 1 auto !important;
      min-width: 110px !important;
      padding: 0.5rem 0.85rem !important;
      font-size: 0.82rem !important;
      font-weight: 600 !important;
      border-radius: 8px !important;
    }

  
    /* =========================================
       MODERN COMPACT THEME OVERRIDES
    ========================================= */
    header {
      margin-bottom: 1rem !important;
      padding-bottom: 0.8rem !important;
      border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    }

    .logo-area h1 {
      font-size: 1.45rem !important;
      background: linear-gradient(135deg, #60a5fa 0%, #818cf8 50%, #34d399 100%) !important;
      -webkit-background-clip: text !important;
      -webkit-text-fill-color: transparent !important;
    }

    .logo-area p {
      font-size: 0.82rem !important;
      color: #64748b !important;
    }

    .stats-container {
      display: grid !important;
      grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
      gap: 0.75rem !important;
    }

    .stat-card {
      padding: 0.85rem 1.1rem !important;
      border-radius: 12px !important;
      background: rgba(15, 22, 36, 0.75) !important;
      border: 1px solid rgba(255, 255, 255, 0.06) !important;
      backdrop-filter: blur(14px) !important;
    }

    .stat-label {
      font-size: 0.7rem !important;
      color: #64748b !important;
      letter-spacing: 0.05em !important;
    }

    .stat-value {
      font-size: 1.5rem !important;
      font-weight: 800 !important;
      margin-top: 0.2rem !important;
    }

  
    /* =========================================
       PRICE TICKER MASK & LAYER FIX
    ========================================= */
    #price-ticker-bar {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      height: 36px !important;
      background: #04060c !important;
      border-bottom: 1px solid rgba(255,255,255,0.08) !important;
      z-index: 99999 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    .ticker-label {
      flex-shrink: 0 !important;
      position: relative !important;
      z-index: 20 !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 16px !important;
      background: #04060c !important;
      border-right: 1px solid rgba(59,130,246,0.3) !important;
      font-size: 0.7rem !important;
      font-weight: 800 !important;
      color: #3b82f6 !important;
      letter-spacing: 0.08em !important;
      white-space: nowrap !important;
    }

    .ticker-track-wrap {
      flex: 1 !important;
      min-width: 0 !important;
      height: 36px !important;
      overflow: hidden !important;
      position: relative !important;
      z-index: 10 !important;
      display: flex !important;
      align-items: center !important;
    }

    .ticker-track {
      display: flex !important;
      align-items: center !important;
      animation: tickerScroll 35s linear infinite !important;
      white-space: nowrap !important;
      will-change: transform !important;
    }

    .ticker-item {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 0 24px !important;
      border-right: 1px solid rgba(255,255,255,0.05) !important;
      height: 36px !important;
      white-space: nowrap !important;
    }

    .ticker-symbol { font-size: 0.74rem !important; font-weight: 700 !important; color: #94a3b8 !important; }
    .ticker-price  { font-size: 0.82rem !important; font-weight: 700 !important; color: #ffffff !important; font-family: monospace !important; }
    .ticker-change { font-size: 0.72rem !important; font-weight: 600 !important; padding: 1px 6px !important; border-radius: 4px !important; }

    .ticker-time {
      flex-shrink: 0 !important;
      position: relative !important;
      z-index: 20 !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 16px !important;
      background: #04060c !important;
      border-left: 1px solid rgba(255,255,255,0.08) !important;
      font-size: 0.75rem !important;
      font-family: monospace !important;
      color: #64748b !important;
      white-space: nowrap !important;
    }

  
    /* =========================================
       ROBUST INFINITE SMOOTH SCROLL TICKER
    ========================================= */
    #price-ticker-bar {
      position: fixed !important;
      top: 0 !important;
      left: 0 !important;
      width: 100vw !important;
      height: 36px !important;
      background: #04060c !important;
      border-bottom: 1px solid rgba(255,255,255,0.08) !important;
      z-index: 99999 !important;
      display: flex !important;
      align-items: center !important;
      justify-content: space-between !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
    }

    .ticker-label {
      flex-shrink: 0 !important;
      position: relative !important;
      z-index: 30 !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 16px !important;
      background: #04060c !important;
      border-right: 1px solid rgba(59,130,246,0.3) !important;
      font-size: 0.7rem !important;
      font-weight: 800 !important;
      color: #3b82f6 !important;
      letter-spacing: 0.08em !important;
      white-space: nowrap !important;
      box-shadow: 4px 0 12px rgba(0,0,0,0.5) !important;
    }

    .ticker-track-wrap {
      flex: 1 !important;
      min-width: 0 !important;
      height: 36px !important;
      overflow: hidden !important;
      position: relative !important;
      z-index: 10 !important;
      display: flex !important;
      align-items: center !important;
    }

    .ticker-track {
      display: inline-flex !important;
      align-items: center !important;
      white-space: nowrap !important;
      animation: tickerContinuousScroll 30s linear infinite !important;
      will-change: transform !important;
    }

    #price-ticker-bar:hover .ticker-track {
      animation-play-state: paused !important;
    }

    @keyframes tickerContinuousScroll {
      0% {
        transform: translate3d(0, 0, 0);
      }
      100% {
        transform: translate3d(-50%, 0, 0);
      }
    }

    .ticker-item {
      display: inline-flex !important;
      align-items: center !important;
      gap: 8px !important;
      padding: 0 24px !important;
      border-right: 1px solid rgba(255,255,255,0.06) !important;
      height: 36px !important;
      white-space: nowrap !important;
      flex-shrink: 0 !important;
    }

    .ticker-symbol { font-size: 0.75rem !important; font-weight: 700 !important; color: #94a3b8 !important; }
    .ticker-price  { font-size: 0.84rem !important; font-weight: 700 !important; color: #ffffff !important; font-family: 'Outfit', monospace !important; }
    .ticker-change { font-size: 0.72rem !important; font-weight: 700 !important; font-family: monospace !important; padding: 1px 6px !important; border-radius: 4px !important; }

    .ticker-change.up   { color: #34d399 !important; background: rgba(16,185,129,0.15) !important; }
    .ticker-change.down { color: #f87171 !important; background: rgba(239,68,68,0.15) !important; }

    .ticker-time {
      flex-shrink: 0 !important;
      position: relative !important;
      z-index: 30 !important;
      height: 36px !important;
      display: flex !important;
      align-items: center !important;
      padding: 0 16px !important;
      background: #04060c !important;
      border-left: 1px solid rgba(255,255,255,0.08) !important;
      font-size: 0.75rem !important;
      font-family: monospace !important;
      color: #64748b !important;
      white-space: nowrap !important;
      box-shadow: -4px 0 12px rgba(0,0,0,0.5) !important;
    }

  
/* PV Stat Badge Styling */
.pv-stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 20px;
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  color: #e2e8f0;
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
.pv-stat-badge:hover {
  background: rgba(16, 185, 129, 0.16);
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
}
.pv-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: pvPulse 2s infinite;
  display: inline-block;
}
@keyframes pvPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}
.pv-title {
  color: #94a3b8;
  font-weight: 500;
  font-size: 0.8rem;
}
.pv-num {
  font-weight: 700;
  color: #34d399;
  font-family: 'Outfit', 'Inter', sans-serif;
  letter-spacing: 0.3px;
  font-size: 0.88rem;
}
.pv-today {
  font-size: 0.75rem;
  color: #64748b;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  padding-left: 0.45rem;
  margin-left: 0.15rem;
}
