/* Project identity and navigation stay outside the enhanced panels. */
.silex-detail-page [data-project-hub] { display: block; }
.silex-detail-page [data-project-hub][hidden],
.silex-detail-page .project-hub-panel[hidden] { display: none !important; }
.silex-detail-page .project-hub-header { border:var(--silex-panel-rule); border-radius:var(--silex-radius); background:var(--silex-surface); background-image:var(--silex-light-cyan)!important; box-shadow:none; overflow:hidden; }
.silex-detail-page .project-hub-header .token-profile-banner { min-height: 0; height: 0; border: 0; background: none; overflow: visible; }
.silex-detail-page .project-hub-header .token-profile-banner::after { display: none; }
.silex-detail-page .project-hub-header .token-profile-banner.has-project-banner { height: 144px; min-height: 144px; aspect-ratio: auto; background-image: var(--token-banner-image); background-size: cover; background-position: center; }
.silex-detail-page .project-hub-header .token-avatar { top:20px; bottom:auto; left:20px; width:64px; height:64px; border-radius:var(--silex-radius-sm); box-shadow:none; }
.silex-detail-page .project-hub-header .has-project-banner .token-avatar { top: calc(100% - 32px); }
.silex-detail-page .project-hub-header .token-profile-body { position: relative; padding: 20px 20px 20px 104px; }
.silex-detail-page .project-hub-header .token-title-row,
.silex-detail-page .project-hub-header .token-symbol-row { padding: 0; }
.silex-detail-page .project-hub-header .token-page-title { max-width:none; font-size:var(--silex-title-size)!important; text-transform:none; line-height:1.15!important; }
.silex-detail-page .project-hub-header .token-symbol-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 38px; margin: 6px 0 0; }
.silex-detail-page .project-hub-header .project-verified-badge { width: 32px; min-height: 44px; }
.silex-detail-page .project-hub-header .project-verified-badge img { width: 28px; height: 28px; }
.silex-detail-page .project-hub-header .project-links { display: inline-flex; flex-wrap: wrap; margin: 8px 16px 0 0; vertical-align: middle; }
.silex-detail-page .project-hub-header .token-actions { display: inline-flex; flex-wrap: wrap; margin: 8px 0 0; vertical-align: middle; gap: 8px; }
.silex-detail-page .project-hub-header .token-actions .silex-button { flex: 0 1 auto; }
.silex-detail-page .project-hub-header .token-description { margin: 10px 0 0; max-width: 80ch; }
.silex-detail-page .project-hub-header .token-description-text { font-size: .88rem; margin: 0; line-height: 1.5; }
.silex-detail-page .project-hub-header .token-description-text.is-collapsed { -webkit-line-clamp: 2; line-clamp: 2; }
.silex-detail-page .project-hub-header .token-description-toggle[hidden] { display: none !important; }
.project-hub-nav { display:flex; flex-wrap:wrap; gap:4px; margin:12px 0 24px; border:0; border-bottom:1px solid var(--silex-divider); background:transparent; }
.project-hub-nav a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:10px 16px; color:var(--silex-text-soft); font-size:14px; font-weight:500; text-decoration:none; border-bottom:2px solid transparent; }
.project-hub-nav a:hover { color: var(--silex-text); background: var(--silex-raised); }
.project-hub-nav a[aria-selected="true"], .project-hub-nav a[aria-current="page"] { color: var(--silex-accent); border-bottom-color: var(--silex-accent); background: transparent; }
.project-hub-nav a:focus-visible, .project-hub-panel:focus-visible, .hub-update-tools select:focus-visible { outline: 2px solid var(--silex-accent); outline-offset: -3px; }
.project-hub-panel { min-width: 0; scroll-margin-top: 80px; }
.project-hub-panel :is(section, h2, [id]) { scroll-margin-top: 88px; }
.project-hub-panel > .silex-section { margin-top: 0; margin-bottom: 24px; }
.hub-latest { padding-bottom: 22px; border-bottom: var(--silex-rule); margin-bottom: 28px; }
#project-overview-updates-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-latest .publication-card { margin: 0; }
.hub-latest .publication-card-with-image { grid-template-columns: minmax(0, 1fr); }
.hub-latest .publication-card-cover { grid-row: 1; width: 100%; }
.hub-latest .publication-card-title { font-size: 1.05rem; }
.hub-latest .publication-card-preview { font-size: .85rem; }
.hub-latest .publication-card-meta { flex-wrap: wrap; }
.hub-overview-grid { display:grid; grid-template-columns:minmax(0,2fr) minmax(260px,1fr); gap:16px; }
.hub-overview-grid > * { min-width: 0; }
.hub-introduction { padding-bottom: 24px; }
.hub-introduction p { max-width: 75ch; font-size: .95rem; overflow-wrap: anywhere; white-space: pre-line; }
.hub-overview-context .token-profile-section-heading { margin-top: 28px; }
.hub-trust-summary dl { margin: 0 0 12px; }
.hub-trust-summary dl > div { padding: 12px 0; border-bottom: var(--silex-rule); }
.hub-trust-summary dt { color: var(--silex-text-soft); font-size: .8rem; margin-bottom: 4px; }
.hub-trust-summary dd { margin: 0; font-size: .9rem; line-height: 1.55; }
.hub-overview-context .token-fact { padding: 10px 12px; }
.hub-overview-context .token-facts { grid-template-columns: 1fr; }
.silex-detail-page .hub-overview-context .token-contract-fact dd { flex-wrap: wrap; min-width: 0; }
.hub-overview-context #coin-contract { overflow-wrap: anywhere; white-space: normal; }
.hub-update-tools { display: flex; gap: 12px; align-items: center; margin: 20px 0; }
.hub-update-tools[hidden] { display: none; }
.hub-update-tools label { font-size: .9rem; }
.hub-update-tools select { min-height: 44px; max-width: 100%; padding: 8px 12px; color: var(--silex-text); background: var(--silex-surface); border: var(--silex-rule); border-radius: var(--silex-radius-sm); font: inherit; }
.project-hub-panel .project-community { max-width: 800px; margin: 0 0 28px; }
.project-hub-panel .project-community-heading h2 { margin: 0; }
.project-hub-panel .community-points-card { margin-top: 16px; }
.project-hub-panel .project-reaction-actions { justify-content: flex-start; }
.project-hub-panel .community-reaction-heading { margin-top: 28px; }
.project-hub-panel .project-public-context { margin-top: 0; }
.hub-team-access-note { margin: 16px 0 24px; max-width: 75ch; }
.silex-detail-page .hub-overview-main .chart-card-header { align-items: flex-start; }
.silex-detail-page .hub-overview-main .chart-market-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.silex-detail-page .hub-overview-main .chart-market-stat { min-width: 0; }
.hub-market-context { margin-bottom: 28px; }
.silex-detail-page .hub-market-stats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.silex-detail-page .hub-overview-main .chart-market-stat strong { min-height: 0; font-size: 1rem; }
.silex-detail-page .project-hub-panel .watch-card-header { flex-wrap: wrap; }
.silex-detail-page .project-hub-panel .market-question-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 900px) {
  .hub-overview-grid { grid-template-columns: minmax(0, 1fr); }
  .silex-detail-page .hub-market-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-overview-context { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; align-items: start; }
  .hub-overview-context .token-profile-section-heading { margin-top: 0; }
  .hub-overview-context .token-facts { grid-column: 2; }
  .hub-trust-summary { grid-row: 1 / 3; }
}
@media (max-width: 600px) {
  .silex-detail-page .project-hub-header .token-profile-body { padding: 16px 12px 16px 80px; }
  .silex-detail-page .project-hub-header .token-avatar { left: 12px; top: 16px; width: 52px; height: 52px; }
  .silex-detail-page .project-hub-header .has-project-banner .token-avatar { top: calc(100% - 26px); }
  .silex-detail-page .project-hub-header .token-profile-banner.has-project-banner { height: 104px; min-height: 104px; }
  .silex-detail-page .project-hub-header .token-page-title { font-size: var(--silex-title-size) !important; }
  .silex-detail-page .project-hub-header .token-actions,
  .silex-detail-page .project-hub-header .project-links,
  .silex-detail-page .project-hub-header .token-description { margin-left: -68px; }
  .silex-detail-page .project-hub-header .token-actions { display: flex; width: calc(100% + 68px); gap: 4px; }
  .silex-detail-page .project-hub-header .token-actions .silex-button { padding: 8px; font-size: .72rem; min-height: 44px; }
  .silex-detail-page .project-hub-header .project-links { display: flex; margin-top: 12px; margin-right: 0; }
  .project-hub-nav { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: 20px; }
  .project-hub-nav a { grid-column: span 2; min-height: 44px; padding: 8px 4px; font-size: .82rem; }
  .project-hub-nav a:nth-child(n+4) { grid-column: span 3; }
  #project-overview-updates-list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .project-updates-heading { align-items: flex-start; gap: 12px; }
  .project-updates-heading h2 { font-size: 1.1rem; }
  .project-updates-heading .silex-button { font-size: .8rem; padding-inline: 10px; }
  .hub-overview-context { display: block; }
  .hub-overview-context .token-profile-section-heading { margin-top: 28px; }
  .silex-detail-page .hub-overview-main .chart-market-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .silex-detail-page .hub-overview-main .chart-card-header { flex-direction: column; }
  .silex-detail-page .hub-overview-main .market-observation-meta { max-width: none; text-align: left; min-height: 0; }
  .silex-detail-page .project-hub-panel .market-question-grid { grid-template-columns: 1fr; }
  .hub-update-tools { flex-direction: column; align-items: flex-start; gap: 6px; }
  .hub-update-tools select { width: 100%; }
}
@media print {
  .silex-detail-page .project-hub-panel[hidden] { display: block !important; }
  .project-hub-nav { display: none; }
}
/* Token landing remains market-first; publications are a compact supplement. */
.hub-overview-markets { margin:24px 0 32px; }
.silex-detail-page .hub-overview-context .token-profile-section-heading { margin-top:0; padding-top:0; border-top:0; }
.hub-overview-secondary { display:grid; grid-template-columns:2fr 1fr; gap:28px; margin-top:28px; }
#overview .hub-latest { margin-top:24px; padding-top:20px; border-top:var(--silex-rule); }
#overview .hub-latest .publication-card { grid-template-columns:minmax(0,1fr) 100px; gap:12px; }
#overview .hub-latest .publication-card-cover { grid-row:auto; width:100px; align-self:start; }
#overview .hub-latest .publication-card-cover img { height:64px; object-fit:cover; }
#overview .hub-latest .publication-card-preview { display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.hub-overview-context { display:block; padding:20px; background:var(--silex-surface); border:var(--silex-panel-rule); border-radius:var(--silex-radius); }
@media(max-width:600px){.silex-detail-page .hub-overview-main .chart-market-stat strong {font-size:.85rem;}.silex-detail-page .hub-overview-context .token-facts {margin-top:12px;}}
@media(max-width:600px){.hub-overview-secondary { grid-template-columns:1fr; }.hub-overview-grid { gap:20px; }.hub-overview-markets .silex-section-heading { flex-wrap:wrap; gap:8px; }.hub-overview-markets .silex-section-heading a { min-height:44px; display:flex; align-items:center; }#overview .hub-latest .publication-card { grid-template-columns:minmax(0,1fr) 100px; }}
