/* Project hub — matches crash console tokens (app.css) */ .hub-page { min-height: 100vh; display: flex; flex-direction: column; position: relative; isolation: isolate; } /* Logo background is injected on demand into #hub-logo-stage (see index.html). */ .hub-shell { flex: 1; min-height: calc(100vh - 40px); position: relative; z-index: 1; } .hub-main { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: calc(100vh - 40px); padding: 32px 28px 48px; box-sizing: border-box; } .hub-header { text-align: center; margin-bottom: 36px; } .hub-brand { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 8px; } .hub-logo-mark { width: 56px; height: 42px; color: var(--accent); } .hub-title { margin: 0 0 8px; font-size: 2.45rem; font-weight: 800; line-height: 1.02; letter-spacing: -0.015em; } .hub-thunder { width: clamp(220px, 34vw, 340px); height: auto; margin-top: -2px; filter: drop-shadow(0 0 8px rgba(170, 220, 255, 0.35)); } .hub-subtitle { margin: 0 0 16px; } .hub-theme { justify-content: center; } .hub-cards { display: grid; grid-template-columns: repeat(3, minmax(200px, 1fr)); gap: 24px; width: 100%; max-width: 1080px; margin: 0; } .hub-card { display: flex; flex-direction: row; align-items: center; gap: 14px; padding: 22px 24px; color: var(--text); text-decoration: none; cursor: pointer; } .hub-card:hover, .hub-card:focus-visible { color: var(--text); text-decoration: none; outline: none; } .hub-cards .hub-card { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; } .hub-cards .hub-card:hover, .hub-cards .hub-card:focus-visible { transform: translateY(-10px); box-shadow: 0 20px 48px rgba(0, 0, 0, 0.44); border-color: var(--accent); } [data-theme="light"] .hub-cards .hub-card:hover, [data-theme="light"] .hub-cards .hub-card:focus-visible { box-shadow: 0 20px 44px rgba(26, 35, 50, 0.28); } .hub-card-icon { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; color: var(--accent); } .hub-card-icon .nav-icon { position: relative; } .hub-card-label { font-size: 14px; font-weight: 500; line-height: 1.25; text-align: left; } .nav-icon--git { width: 18px; height: 18px; } .nav-icon--git::before { content: ""; position: absolute; left: 2px; top: 2px; width: 7px; height: 7px; border: 2px solid currentColor; border-radius: 50%; box-sizing: border-box; } .nav-icon--git::after { content: ""; position: absolute; left: 8px; top: 5px; width: 10px; height: 10px; border: 2px solid currentColor; border-left: none; border-bottom: none; border-radius: 0 6px 0 0; box-sizing: border-box; } .hub-page .bottom-bar { position: relative; z-index: 1; } .hub-compass-hit { position: fixed; left: calc(50% + 252px); top: calc(50% + 226px); width: 110px; height: 110px; z-index: 2; border-radius: 50%; border: 2px solid rgba(219, 229, 241, 0.45); background: radial-gradient(circle at 35% 35%, rgba(231, 236, 243, 0.35), rgba(10, 14, 20, 0.22) 68%, rgba(10, 14, 20, 0.1) 100%); box-shadow: -6px -8px 8px rgba(160, 215, 255, 0.12), 8px 10px 14px rgba(9, 13, 19, 0.24); cursor: pointer; transform: translate(-50%, -50%) scale(1); transition: transform 0.22s ease, border-width 0.22s ease, box-shadow 0.22s ease; } .hub-compass-hit::before, .hub-compass-hit::after { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); border-radius: 1px; background: rgba(231, 236, 243, 0.82); transition: width 0.22s ease, height 0.22s ease; } .hub-compass-hit::before { width: 3px; height: 46px; } .hub-compass-hit::after { width: 46px; height: 3px; } .hub-compass-hit:hover, .hub-compass-hit:focus-visible { transform: translate(-50%, -50%) scale(1.25); border-width: 2.3px; box-shadow: -8px -10px 10px rgba(180, 228, 255, 0.22), 14px 16px 22px rgba(7, 10, 16, 0.34), 22px 26px 34px rgba(6, 8, 14, 0.42); outline: none; } .hub-compass-hit:hover::before, .hub-compass-hit:hover::after, .hub-compass-hit:focus-visible::before, .hub-compass-hit:focus-visible::after { width: 52px; height: 3.45px; } .hub-compass-hit:hover::before, .hub-compass-hit:focus-visible::before { width: 3.45px; height: 52px; } .hub-docs-modal { position: fixed; inset: 0; z-index: 20; } .hub-docs-backdrop { position: absolute; inset: 0; background: rgba(4, 8, 14, 0.66); } .hub-docs-panel { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(980px, calc(100vw - 40px)); max-height: calc(100vh - 56px); display: flex; flex-direction: column; } .hub-docs-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px 10px; border-bottom: 1px solid var(--border); } .hub-docs-header h2 { margin: 0; font-size: 1.15rem; font-weight: 700; } .hub-docs-close { border: 1px solid var(--border); background: var(--bg2); color: var(--text); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; } .hub-docs-body { overflow: auto; padding: 16px; font-size: 14px; line-height: 1.5; } .hub-docs-body h3 { margin: 16px 0 8px; font-size: 1.03rem; } .hub-docs-body h4 { margin: 12px 0 6px; font-size: 0.96rem; } .hub-docs-body table { width: 100%; border-collapse: collapse; margin: 10px 0 14px; } .hub-docs-body th, .hub-docs-body td { border: 1px solid var(--border); padding: 8px; text-align: left; vertical-align: top; } .hub-docs-body a[data-doc-link] { color: var(--accent); text-decoration: underline; cursor: pointer; } @media (max-width: 860px) { .hub-cards { grid-template-columns: 1fr; max-width: 420px; } } @media (prefers-reduced-motion: reduce) { .hub-cards .hub-card { transition: border-color 0.15s ease, box-shadow 0.15s ease; } .hub-cards .hub-card:hover, .hub-cards .hub-card:focus-visible { transform: none; } }