/* 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-clock-widget { position: fixed; left: calc(50% + 290px); top: calc(50% - 300px); width: min(420px, 42vw); min-width: 330px; z-index: 3; border: 1px solid rgba(255, 255, 255, 0.72); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.48); border-radius: 18px; overflow: hidden; background: linear-gradient(180deg, rgba(18, 24, 34, 0.92), rgba(13, 18, 28, 0.9)); backdrop-filter: blur(1.5px); transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease; cursor: move; user-select: none; touch-action: none; padding: 30px; box-sizing: border-box; } .hub-clock-widget:hover { transform: scale(1.035); box-shadow: 0 16px 42px rgba(0, 0, 0, 0.62), 0 0 26px rgba(155, 205, 255, 0.22); filter: saturate(1.04); } .cw-row { width: 100%; display: grid; border-top: 1px solid rgba(255, 255, 255, 0.32); } .cw-row:first-child { border-top: 0; } .cw-row-main { grid-template-columns: 1fr; } .cw-row-mid { grid-template-columns: repeat(4, 1fr); } .cw-row-world { grid-template-columns: repeat(3, 1fr); } .cw-cell { border-left: 1px solid rgba(255, 255, 255, 0.32); min-height: 42px; padding: 6px; } .cw-cell:first-child { border-left: 0; } .cw-main-cell { min-height: 168px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; padding: 0; background: linear-gradient(180deg, rgba(30, 40, 28, 0.85), rgba(20, 28, 20, 0.85)); } .cw-line-time { width: 100%; display: flex; justify-content: center; } .cw-line-time .cw-time-main { font-weight: 800; } .cw-time-main { display: inline-flex; align-items: flex-end; justify-content: center; gap: 2px; line-height: 1; font-weight: 700; width: 100%; max-width: 100%; } .ot-lcd-line { display: inline-flex; align-items: flex-end; gap: 4px; } .ot-lcd-bold .ot-glyph-wrap--bold { transform: scale(1.12, 1.2); } #cw-hm-lcd .ot-glyph { height: 68px; width: auto; } .ot-lcd-sec { margin-left: 8px; } .ot-lcd-sec .ot-glyph-wrap:first-child { margin-right: 8px; } .ot-lcd-sec .ot-glyph { height: 32px; width: auto; } .ot-lcd-tz .ot-glyph { height: 30px; width: auto; } .ot-lcd-tz { margin-left: 14px; } .ot-glyph-wrap { display: inline-block; line-height: 0; transform-origin: bottom center; } .ot-glyph-wrap--bold { transform: scale(1.08, 1.14); } .ot-glyph { fill: #d8f6b8; filter: drop-shadow(0 0 5px rgba(190, 240, 150, 0.38)); } .ot-glyph .ot-grid rect { fill: rgba(20, 30, 24, 0.85); filter: drop-shadow(0 0 1.4px rgba(135, 205, 255, 0.5)); } .ot-glyph .ot-active { fill: #d8f6b8; } .ot-colon-blink { animation: cwBlink 1.25s linear infinite; } .cw-line-region { color: #b8c2d4; font-size: 10px; letter-spacing: 0.16em; font-weight: 300; text-transform: uppercase; width: 100%; text-align: center; } .cw-line-date { color: #c5d0e2; font-size: 10px; letter-spacing: 0.12em; font-weight: 400; text-transform: uppercase; width: 100%; text-align: center; } .cw-row-mid { display: none; } .cw-world-cell { min-height: 178px; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 25px 6px; background: rgba(20, 28, 40, 0.62); } .cw-world-label { color: #a6b0c2; font-size: 9.5px; letter-spacing: 0.12em; margin-top: 0; margin-bottom: 8px; } .cw-dial { width: 95px; height: 95px; border-radius: 50%; position: relative; border: 2px solid rgba(239, 243, 252, 0.8); background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0) 36%), #edf2fb; box-shadow: inset -5px -5px 10px rgba(0, 0, 0, 0.14), inset 6px 7px 9px rgba(255, 255, 255, 0.42); } .cw-roman { position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -7.5px; transform: rotate(calc(var(--i) * 30deg)) translateY(-34px) rotate(calc(var(--i) * -30deg)); font-family: "Times New Roman", serif; font-size: 9px; font-weight: 700; color: #223147; text-align: center; } .cw-roman-major { font-size: 11.5px; opacity: 1; } .cw-roman-minor { font-size: 3.2px; opacity: 0.25; } .cw-resize-handle { position: absolute; width: 32px; height: 32px; z-index: 6; display: grid; color: rgba(220, 236, 255, 0.9); filter: drop-shadow(0 0 4px rgba(150, 200, 255, 0.35)); pointer-events: auto; background: transparent; } .cw-resize-handle svg { width: 16px; height: 16px; fill: currentColor; pointer-events: none; } .cw-resize-sw { left: 0; bottom: 0; cursor: nesw-resize; place-items: end start; } .cw-resize-nw { left: 0; top: 0; cursor: nwse-resize; place-items: start start; transform: scaleY(-1); } .cw-resize-ne { right: 0; top: 0; cursor: nesw-resize; place-items: start end; transform: scale(-1, -1); } .cw-resize-se { right: 0; bottom: 0; cursor: nwse-resize; place-items: end end; transform: scale(-1, 1); } .cw-hand { position: absolute; left: 50%; top: 50%; transform-origin: 50% 100%; transform: translate(-50%, -100%) rotate(0deg); border-radius: 99px; } .cw-hour { width: 4px; height: 26%; background: #1f2f46; } .cw-minute { width: 3px; height: 35%; background: #2e4767; } .cw-second { width: 1.5px; height: 39%; background: #b63b3b; } .cw-pin { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin-left: -3.5px; margin-top: -3.5px; border-radius: 50%; background: #101928; border: 1px solid #f3f6ff; } @keyframes cwBlink { 0%, 20% { opacity: 0; } 20.01%, 60% { opacity: 1; } 60.01%, 100% { opacity: 0; } } .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: 90vw; height: 90vh; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; } .hub-docs-layout { display: grid; grid-template-columns: minmax(220px, 28%) 1fr; gap: 0; flex: 1; min-height: 0; border-top: 1px solid var(--border); } .hub-docs-toc { margin: 0; border-radius: 0; border: 0; border-right: 1px solid var(--border); overflow: auto; padding: 10px; } .hub-docs-toc-title { margin: 0 0 8px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; } .hub-docs-toc-group + .hub-docs-toc-group { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--border); } .hub-docs-toc-head, .hub-docs-toc-leaf { display: block; width: 100%; text-align: left; border: 0; background: transparent; color: var(--text); cursor: pointer; padding: 8px 10px; border-radius: 8px; font: inherit; } .hub-docs-toc-head { font-weight: 700; letter-spacing: 0.04em; } .hub-docs-toc-leaf { margin-left: 8px; font-weight: 600; font-size: 13px; } .hub-docs-toc-head:hover, .hub-docs-toc-leaf:hover, .hub-docs-toc-head:focus-visible, .hub-docs-toc-leaf:focus-visible { background: var(--row-hover); outline: none; } .hub-docs-panels { overflow: auto; padding: 10px 12px 14px; min-height: 0; } .hub-docs-section .detail-tree-body { font-size: 14px; line-height: 1.5; } .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-clock-widget { left: auto; right: 10px; top: 10px; width: min(94vw, 420px); min-width: 0; } .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; } }