@import "tailwindcss"; @import "tw-animate-css"; @import "./publisher-profile.css"; @theme { /* Colors — core palette */ --color-bg: var(--bg); --color-bg-soft: var(--bg-soft); --color-surface: var(--surface); --color-surface-muted: var(--surface-muted); --color-nav-bg: var(--nav-bg); --color-ink: var(--ink); --color-ink-soft: var(--ink-soft); --color-accent: var(--accent); --color-accent-fg: var(--accent-fg); --color-accent-deep: var(--accent-deep); --color-seafoam: var(--seafoam); --color-gold: var(--gold); --color-line: var(--line); --color-border-ui: var(--border-ui); --color-border-ui-hover: var(--border-ui-hover); --color-border-ui-active: var(--border-ui-active); /* Colors — status */ --color-status-success-bg: var(--status-success-bg); --color-status-success-fg: var(--status-success-fg); --color-status-warning-bg: var(--status-warning-bg); --color-status-warning-fg: var(--status-warning-fg); --color-status-error-bg: var(--status-error-bg); --color-status-error-fg: var(--status-error-fg); /* Colors — form controls */ --color-input-border: var(--input-border); --color-input-bg: var(--input-bg); --color-input-placeholder: var(--input-placeholder); --color-input-focus-border: var(--input-focus-border); --color-input-focus-ring: var(--input-focus-ring); --color-label-fg: var(--label-fg); /* Colors — interactive states */ --color-hover-bg: var(--hover-bg); --color-active-bg: var(--active-bg); /* Colors — overlay */ --color-overlay-bg: var(--overlay-bg); /* Spacing scale */ --spacing-space-1: var(--space-1); --spacing-space-2: var(--space-2); --spacing-space-3: var(--space-3); --spacing-space-4: var(--space-4); --spacing-space-5: var(--space-5); --spacing-space-6: var(--space-6); --spacing-space-7: var(--space-7); --spacing-space-8: var(--space-8); /* Typography scale */ --font-size-fs-xs: var(--fs-xs); --font-size-fs-sm: var(--fs-sm); --font-size-fs-base: var(--fs-base); --font-size-fs-md: var(--fs-md); --font-size-fs-lg: var(--fs-lg); --font-size-fs-xl: var(--fs-xl); --font-size-fs-2xl: var(--fs-2xl); --font-size-fs-3xl: var(--fs-3xl); /* Radii */ --radius-lg: var(--r-lg); --radius-md: var(--r-md); --radius-sm: var(--r-sm); --radius-pill: var(--r-pill); /* Fonts */ --font-display: var(--font-display); --font-body: var(--font-body); --font-mono: var(--font-mono); /* Layout widths */ --width-page-max: var(--page-max); --width-page-narrow: var(--page-narrow); --width-page-min: var(--page-min); /* Shadows */ --shadow-default: var(--shadow); --shadow-dialog: var(--shadow-dialog); --shadow-hover: var(--shadow-hover); } @variant dark (&:where([data-theme-resolved="dark"], [data-theme-resolved="dark"] *)); :root { color-scheme: dark; /* Legacy application aliases backed by the canonical design system. */ --bg: var(--oc-bg-page); --bg-soft: var(--oc-bg-surface); --bg-glow-1: #101012; --bg-glow-2: #141416; --surface: var(--oc-bg-elevated); --surface-muted: var(--oc-bg-surface); --nav-bg: var(--oc-bg-page); --ink: var(--oc-text-primary); --ink-soft: var(--oc-text-secondary); --accent: var(--oc-accent-primary); --accent-fg: var(--oc-text-on-accent); --accent-deep: var(--oc-accent-primary-hover); --accent-subtle: var(--oc-surface-accent-soft); --seafoam: var(--oc-accent-secondary); --diff-added: var(--oc-diff-added); --diff-added-strong: var(--oc-diff-added-strong); --diff-removed: var(--oc-diff-removed); --diff-removed-strong: var(--oc-diff-removed-strong); --diff-diagonal: #a1a1a118; --diff-border: rgba(255, 255, 255, 0.1); --diff-line-number: #6b6b6b; --diff-scrollbar-rgb: 161, 161, 161; --gold: #fbbf24; --line: var(--oc-border-subtle); --border-ui: var(--oc-border-subtle); --border-ui-hover: color-mix(in srgb, var(--oc-text-primary) 20%, transparent); --border-ui-active: var(--oc-border-accent); --shadow: var(--oc-shadow-md); /* Status colors — subtle, polished */ --status-success-bg: var(--oc-status-success-bg); --status-success-fg: var(--oc-status-success-fg); --status-warning-bg: var(--oc-status-warning-bg); --status-warning-fg: var(--oc-status-warning-fg); --status-error-bg: var(--oc-status-error-bg); --status-error-fg: var(--oc-status-error-fg); --official-bg: var(--oc-status-info-bg); --official-fg: var(--oc-status-info-fg); --official-border: color-mix(in srgb, var(--oc-status-info-fg) 30%, var(--oc-border-subtle)); /* Form controls — crisp, modern */ --input-border: var(--oc-input-border); --input-bg: var(--oc-input-bg); --input-placeholder: var(--oc-input-placeholder); --input-focus-border: var(--oc-input-focus-border); --input-focus-ring: var(--oc-input-focus-ring); --label-fg: var(--oc-text-secondary); /* Interactive states */ --hover-bg: var(--oc-surface-interactive); --active-bg: var(--oc-surface-accent-soft); /* Overlay */ --overlay-bg: var(--oc-surface-overlay); /* Shadows — refined depth */ --shadow-dialog: var(--oc-shadow-lg); --shadow-hover: var(--oc-shadow-md); --shadow-card: var(--oc-shadow-sm); /* Layout widths */ --page-max: 1536px; --page-narrow: 900px; --page-min: 320px; --site-header-height: calc(52px + 24px); /* Spacing scale */ --space-1: var(--oc-space-1); --space-2: var(--oc-space-2); --space-3: var(--oc-space-3); --space-4: var(--oc-space-4); --space-5: var(--oc-space-5); --space-6: var(--oc-space-6); --space-7: var(--oc-space-7); --space-8: var(--oc-space-8); /* Typography scale — refined */ --fs-xs: var(--oc-font-size-xs); --fs-sm: var(--oc-font-size-sm); --fs-base: var(--oc-font-size-base); --fs-md: var(--oc-font-size-md); --fs-lg: var(--oc-font-size-lg); --fs-xl: var(--oc-font-size-xl); --fs-2xl: var(--oc-font-size-2xl); --fs-3xl: var(--oc-font-size-3xl); /* Unified radius — one consistent size everywhere */ --r-lg: var(--oc-radius-surface); --r-md: var(--oc-radius-surface); --r-sm: var(--oc-radius-control); --r-xs: var(--oc-radius-inset); --r-pill: var(--oc-radius-control); /* Modern typography — clean and readable */ --font-display: var(--oc-font-display); --font-body: var(--oc-font-body); --font-mono: var(--oc-font-mono); /* Metric trend sparklines */ --metric-trend-line: var(--oc-status-info-fg); --metric-trend-area: color-mix(in srgb, var(--oc-status-info-fg) 18%, transparent); --metric-trend-marker: var(--oc-chart-line); } /* Light theme — OpenClaw black, white, red */ [data-theme-family="claw"][data-theme-resolved="light"] { color-scheme: light; --bg: var(--oc-bg-page); --bg-soft: var(--oc-bg-surface); --surface: var(--oc-bg-elevated); --surface-muted: var(--oc-bg-surface); --nav-bg: var(--oc-bg-page); --ink: var(--oc-text-primary); --ink-soft: var(--oc-text-secondary); --accent: var(--oc-accent-primary); --accent-fg: var(--oc-text-on-accent); --accent-deep: var(--oc-accent-primary-hover); --accent-subtle: var(--oc-surface-accent-soft); --line: var(--oc-border-subtle); --border-ui: var(--oc-border-subtle); --border-ui-hover: color-mix(in srgb, var(--oc-text-primary) 20%, transparent); --border-ui-active: var(--oc-border-accent); /* Status colors — light */ --status-success-bg: var(--oc-status-success-bg); --status-success-fg: var(--oc-status-success-fg); --status-warning-bg: var(--oc-status-warning-bg); --status-warning-fg: var(--oc-status-warning-fg); --status-error-bg: var(--oc-status-error-bg); --status-error-fg: var(--oc-status-error-fg); --official-bg: var(--oc-status-info-bg); --official-fg: var(--oc-status-info-fg); --official-border: color-mix(in srgb, var(--oc-status-info-fg) 26%, var(--oc-border-subtle)); /* Form controls — light */ --input-border: var(--oc-input-border); --input-bg: var(--oc-input-bg); --input-placeholder: var(--oc-input-placeholder); --input-focus-border: var(--oc-input-focus-border); --input-focus-ring: var(--oc-input-focus-ring); --label-fg: var(--oc-text-secondary); /* Interactive states — light */ --hover-bg: var(--oc-surface-interactive); --active-bg: var(--oc-surface-accent-soft); /* Overlay — light */ --overlay-bg: var(--oc-surface-overlay); /* Shadows — light */ --shadow: var(--oc-shadow-md); --shadow-dialog: var(--oc-shadow-lg); --shadow-hover: var(--oc-shadow-md); --shadow-card: var(--oc-shadow-sm); /* Diff viewer — muted, readable in light mode */ --diff-added: #16a34a; --diff-added-strong: #15803d; --diff-removed: #e57373; --diff-removed-strong: #dc2626; --diff-diagonal: #5252520a; --diff-border: rgba(0, 0, 0, 0.08); --diff-line-number: #9ca3af; --diff-scrollbar-rgb: 115, 115, 115; } @media (prefers-color-scheme: light) { [data-theme-family="claw"][data-theme-mode="system"] { color-scheme: light; --bg: var(--oc-bg-page); --bg-soft: var(--oc-bg-surface); --surface: var(--oc-bg-elevated); --surface-muted: var(--oc-bg-surface); --nav-bg: var(--oc-bg-page); --ink: var(--oc-text-primary); --ink-soft: var(--oc-text-secondary); --accent: var(--oc-accent-primary); --accent-fg: var(--oc-text-on-accent); --accent-deep: var(--oc-accent-primary-hover); --accent-subtle: var(--oc-surface-accent-soft); --line: var(--oc-border-subtle); --border-ui: var(--oc-border-subtle); --border-ui-hover: color-mix(in srgb, var(--oc-text-primary) 20%, transparent); --border-ui-active: var(--oc-border-accent); /* Status colors — light */ --status-success-bg: var(--oc-status-success-bg); --status-success-fg: var(--oc-status-success-fg); --status-warning-bg: var(--oc-status-warning-bg); --status-warning-fg: var(--oc-status-warning-fg); --status-error-bg: var(--oc-status-error-bg); --status-error-fg: var(--oc-status-error-fg); --official-bg: var(--oc-status-info-bg); --official-fg: var(--oc-status-info-fg); --official-border: color-mix(in srgb, var(--oc-status-info-fg) 26%, var(--oc-border-subtle)); /* Form controls — light */ --input-border: var(--oc-input-border); --input-bg: var(--oc-input-bg); --input-placeholder: var(--oc-input-placeholder); --input-focus-border: var(--oc-input-focus-border); --input-focus-ring: var(--oc-input-focus-ring); --label-fg: var(--oc-text-secondary); /* Interactive states — light */ --hover-bg: var(--oc-surface-interactive); --active-bg: var(--oc-surface-accent-soft); /* Overlay — light */ --overlay-bg: var(--oc-surface-overlay); /* Shadows — light */ --shadow: var(--oc-shadow-md); --shadow-dialog: var(--oc-shadow-lg); --shadow-hover: var(--oc-shadow-md); --shadow-card: var(--oc-shadow-sm); /* Diff viewer — muted, readable in light mode */ --diff-added: #16a34a; --diff-added-strong: #15803d; --diff-removed: #e57373; --diff-removed-strong: #dc2626; --diff-diagonal: #5252520a; --diff-border: rgba(0, 0, 0, 0.08); --diff-line-number: #9ca3af; --diff-scrollbar-rgb: 115, 115, 115; } } pre, code, .code-block { font-size: 14px; } * { box-sizing: border-box; } body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); min-height: 100vh; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; font-size: var(--fs-base); letter-spacing: -0.01em; } html { scrollbar-gutter: stable; } [data-sonner-toast][data-styled="true"] .clawhub-toast-close { top: 50% !important; right: 14px !important; left: auto !important; width: 24px !important; height: 24px !important; border: 0 !important; border-radius: var(--oc-radius-control) !important; background: transparent !important; color: var(--oc-text-muted) !important; transform: translateY(-50%) !important; } [data-sonner-toast][data-styled="true"] .clawhub-toast-close:hover { background: var(--oc-surface-interactive) !important; color: var(--oc-text-primary) !important; } [data-sonner-toast][data-styled="true"] .clawhub-toast-close:focus-visible { background: var(--oc-surface-interactive) !important; box-shadow: 0 0 0 2px var(--oc-focus-ring) !important; color: var(--oc-text-primary) !important; } /* * Radix UI (react-remove-scroll) locks body scroll when a dropdown/dialog/popover * opens and, to prevent the scrollbar from disappearing visibly, injects a * dynamic stylesheet that sets `padding-right: px !important` * on `body[data-scroll-locked]`. We already reserve a stable scrollbar gutter * globally via `scrollbar-gutter: stable` on , so Radix's compensation is * double-work and ends up shifting the whole page ~15px to the left for the * duration the overlay is open — producing a visible horizontal "jump". * * We neutralize the compensation, but Radix's rule *also* uses `!important` * and is injected into at runtime (i.e. after our stylesheet), so a * plain `body[data-scroll-locked]` selector would tie on specificity and lose * on source order. We therefore prefix `html` to raise specificity (0,1,2 vs * Radix's 0,1,1), guaranteeing we win regardless of inject order. */ html body[data-scroll-locked] { padding-right: 0 !important; margin-right: 0 !important; } a { color: inherit; text-decoration: none; } a:hover { color: inherit; text-decoration: underline; text-underline-offset: 2px; } a.card:hover, a.skill-card:hover, a.skill-list-item:hover, a.home-quick-link:hover, a.home-category-card:hover, a.home-v2-c-card:hover, a.home-v2-cat-item:hover, a.home-v2-trend-card:hover, a.dashboard-import-banner-action:hover { text-decoration: none; } .settings-sidebar-link:hover { text-decoration: none; } .settings-org-logo .marketplace-icon { width: 100%; height: 100%; border-radius: inherit; } /* Global focus indicator for keyboard navigation */ :focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; } .catalog-topic-input:focus-visible { outline: none; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; } code { font-family: var(--font-mono); } .app-shell { position: relative; min-width: var(--page-min); min-height: 100vh; display: flex; flex-direction: column; } .app-shell:has( .skill-detail-page, .plugin-detail-page, .security-audit-page, .publisher-profile-route, .dashboard-route )::before { position: absolute; top: 0; right: 0; left: 0; z-index: 0; pointer-events: none; content: ""; height: 620px; background: radial-gradient( ellipse 58% 34% at 48% 0%, color-mix(in srgb, #8f1d24 18%, transparent) 0%, transparent 62% ), radial-gradient( ellipse 44% 26% at 28% 8%, color-mix(in srgb, #d34848 8%, transparent) 0%, transparent 68% ); } .app-shell:has(.dashboard-route)::before { height: 520px; background: radial-gradient( ellipse 52% 30% at 52% 0%, color-mix(in srgb, #6478ff 7%, transparent) 0%, transparent 64% ), radial-gradient( ellipse 42% 24% at 30% 6%, color-mix(in srgb, var(--ink) 5%, transparent) 0%, transparent 68% ); } .app-shell:has(.dashboard-route--welcome)::before { height: 640px; background: radial-gradient( ellipse 52% 40% at 46% 2%, color-mix(in srgb, #6472c9 8%, transparent) 0%, transparent 72% ), radial-gradient( ellipse 40% 32% at 68% 12%, color-mix(in srgb, #53618f 5%, transparent) 0%, transparent 74% ), radial-gradient( ellipse 36% 28% at 26% 18%, color-mix(in srgb, #7180b5 4%, transparent) 0%, transparent 76% ); filter: blur(26px); opacity: 0.86; transform: translate3d(-1%, -1%, 0) scale(1.1); transform-origin: 50% 12%; animation: dashboard-welcome-wash-drift 36s linear infinite; will-change: transform; } .app-shell:has(.dashboard-route--welcome) { overflow-x: clip; } @keyframes dashboard-welcome-wash-drift { 0% { transform: translate3d(-1%, -1%, 0) scale(1.1); } 25% { transform: translate3d(1%, -0.5%, 0) scale(1.12); } 50% { transform: translate3d(1%, 1%, 0) scale(1.1); } 75% { transform: translate3d(-1%, 0.5%, 0) scale(1.12); } 100% { transform: translate3d(-1%, -1%, 0) scale(1.1); } } @media (prefers-reduced-motion: reduce) { .app-shell:has(.dashboard-route--welcome)::before { animation: none; } } [data-theme-resolved="light"] .app-shell:has( .skill-detail-page, .plugin-detail-page, .security-audit-page, .publisher-profile-route, .dashboard-route )::before { display: none; } .app-shell:has( .skill-detail-page, .plugin-detail-page, .security-audit-page, .publisher-profile-route, .dashboard-route ) .navbar.navbar-calm { background: transparent; } .app-shell:has( .skill-detail-page, .plugin-detail-page, .security-audit-page, .publisher-profile-route, .dashboard-route ) .navbar.navbar-calm.navbar-calm-scrolled { background: color-mix(in srgb, var(--nav-bg) 78%, transparent); } .app-shell main { position: relative; flex: 1; padding-bottom: clamp(72px, 9vw, 128px); } .site-footer { padding: var(--space-3) var(--space-5); margin-top: auto; background: var(--surface); border-top: 1px solid var(--line); } .site-footer-inner { width: 100%; padding: 0 var(--space-5); } .site-footer-divider { height: 1px; background: var(--line); margin: var(--space-5) 0; } .site-footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; } .site-footer-copy { font-size: var(--fs-sm); color: var(--ink-soft); text-align: center; flex: 1; } .site-footer-copy a { color: var(--accent); text-decoration: none; font-weight: 500; transition: opacity 0.15s ease; } .site-footer-copy a:hover { opacity: 0.8; } .section-cta { display: flex; justify-content: flex-end; margin-top: 18px; } .navbar { position: sticky; top: 0; z-index: 10; background: var(--nav-bg); border-bottom: 1px solid var(--line); } .app-shell:has( .skill-detail-page, .plugin-detail-page, .security-audit-page, .publisher-profile-route, .dashboard-route ) .navbar { border-bottom: 0; } .navbar-inner { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 var(--space-5); display: flex; flex-direction: column; gap: 0; box-sizing: border-box; } .navbar-top { display: grid; grid-template-columns: max-content max-content minmax(220px, 1fr) auto; align-items: center; column-gap: 16px; row-gap: 10px; padding: 12px 0; min-height: 62px; } .navbar-search { width: 100%; max-width: none; display: flex; align-items: center; gap: 12px; background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px solid var(--line); border-radius: var(--r-btn); padding: 0 18px; height: 32px; transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease; } .navbar-search-wrap { position: relative; min-width: 0; } .navbar-search:focus-within { border-color: var(--input-focus-border); background: var(--surface); box-shadow: 0 0 0 2px var(--input-focus-ring); } .navbar-search-icon { color: var(--ink-soft); opacity: 0.6; flex-shrink: 0; width: 20px; height: 20px; transition: color 0.15s ease, opacity 0.15s ease; } .navbar-search:focus-within .navbar-search-icon { color: var(--accent); opacity: 1; } .navbar-search-input { all: unset; flex: 1; font-size: 0.95rem; color: var(--ink); min-width: 0; } .navbar-search-input::-webkit-search-cancel-button, .navbar-search-input::-webkit-search-decoration { display: none; -webkit-appearance: none; } .navbar-search-input::placeholder { color: var(--ink-soft); font-size: 0.86rem; opacity: 0.7; } .navbar-search-typeahead { position: absolute; z-index: 50; top: calc(100% + 8px); left: 0; right: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); box-shadow: var(--oc-shadow-lg); } .navbar-search-typeahead-section + .navbar-search-typeahead-section { border-top: 1px solid var(--line); } .navbar-search-typeahead-heading { padding: 8px 12px; background: var(--surface-muted); color: var(--ink); font-size: var(--fs-sm); font-weight: 700; } .navbar-search-typeahead-row { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 8px 12px; border-top: 1px solid var(--line); color: var(--ink); cursor: pointer; } .navbar-search-typeahead-row:hover, .navbar-search-typeahead-row.is-active { background: var(--surface-muted); } .navbar-search-typeahead-row.is-footer { color: var(--ink-soft); } .navbar-search-typeahead-icon { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: var(--oc-radius-inset); background: var(--oc-surface-accent-soft); color: var(--accent); font-size: var(--fs-xs); font-weight: 700; flex: 0 0 auto; } .navbar-search-typeahead-copy { display: flex; flex-direction: column; min-width: 0; flex: 1; } .navbar-search-typeahead-title, .navbar-search-typeahead-meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .navbar-search-typeahead-title { font-size: var(--fs-sm); font-weight: 600; } .navbar-search-typeahead-meta { color: var(--ink-soft); font-size: var(--fs-xs); } .navbar-search-typeahead-meta:has(.navbar-search-typeahead-publisher) { display: inline-flex; align-items: center; gap: 5px; min-width: 0; } .navbar-search-typeahead-publisher, .navbar-search-typeahead-package { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .navbar-search-typeahead-separator { flex: 0 0 auto; } .navbar-search-typeahead-meta .official-badge { width: 15px; height: 15px; border: 0; background: transparent; } .navbar-search-typeahead-meta .official-badge svg { width: 13px; height: 13px; } .navbar-search-typeahead-status { padding: 12px; color: var(--ink-soft); font-size: var(--fs-sm); } .navbar-search-home { justify-content: space-between; cursor: pointer; color: var(--ink-soft); font: inherit; } .navbar-search-home-copy { flex: 1; min-width: 0; text-align: left; color: inherit; } .navbar-search-home-kbd { font-size: 0.75rem; font-weight: 600; color: inherit; opacity: 0.8; } .navbar-search-mobile-trigger { display: none; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); cursor: pointer; color: var(--ink-soft); transition: border-color 0.15s ease; } .navbar-search-mobile-trigger:hover { border-color: var(--border-ui-hover); color: var(--ink); } .navbar-search-mobile { display: none; align-items: center; gap: 8px; background: var(--surface-muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 14px; height: 36px; margin-bottom: 8px; } .navbar-search-mobile-wrap { display: none; position: relative; } .navbar-search-mobile-overlay { display: none; } .navbar-search-mobile-clear { appearance: none; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: auto; height: 100%; padding: 0; border: 0; background: transparent; color: color-mix(in srgb, var(--ink) 74%, var(--ink-soft)); font: inherit; font-size: 0.8125rem; font-weight: 650; cursor: pointer; } .navbar-search-mobile-clear:hover { color: color-mix(in srgb, var(--ink) 88%, var(--ink-soft)); } .navbar-tabs { display: flex; align-items: center; justify-content: flex-start; gap: 4px; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; border-top: 1px solid var(--line); padding: 6px 0; } .navbar-tabs::-webkit-scrollbar { display: none; } .navbar-top-links { display: inline-flex; align-items: center; justify-content: flex-start; gap: 4px; min-width: 0; white-space: nowrap; } .navbar-top-links .navbar-tab { min-height: 32px; padding: 7px 10px; } .navbar-tabs-primary, .navbar-tabs-secondary { display: inline-flex; align-items: center; gap: 2px; } .navbar-tabs-secondary { margin-left: 8px; padding-left: 12px; border-left: 1px solid var(--line); } .navbar-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink-soft); border-radius: var(--r-sm); white-space: nowrap; transition: all 0.15s ease; text-decoration: none; } .navbar-tab:hover { color: var(--ink); background: var(--surface-muted); text-decoration: none; } .navbar-tab:hover svg { opacity: 0.9; } .navbar-tab.active, .navbar-tab[data-status="active"] { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--accent) 16%, transparent); text-decoration: none; } .navbar-tab.active svg, .navbar-tab[data-status="active"] svg { opacity: 1; color: var(--accent); } .navbar-tab-secondary { font-size: var(--fs-xs); opacity: 0.7; } .navbar-tab-secondary:hover { opacity: 1; } .navbar-tab-secondary.active, .navbar-tab-secondary[data-status="active"] { opacity: 1; } .brand { font-family: var(--font-display); font-size: var(--fs-md); font-weight: 700; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; line-height: 1; } .brand-name { display: inline-flex; min-width: 6.5ch; } .brand-mark { width: 32px; height: 32px; border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 1px 2px rgba(0, 0, 0, 0.1), 0 2px 6px rgba(0, 0, 0, 0.05); transition: box-shadow 0.2s ease; } .brand-mark img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-sm); transform: translateZ(0); } .nav-links { display: flex; gap: 2px; font-size: 0.9rem; color: var(--ink-soft); align-items: center; } .nav-links a { padding: 7px 12px; border-radius: var(--r-sm); transition: color 0.15s ease, background 0.15s ease; white-space: nowrap; } .nav-links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); } .nav-links a.active, .nav-links a[data-status="active"] { color: var(--ink); font-weight: 600; background: color-mix(in srgb, var(--ink) 7%, transparent); } .nav-mobile { display: none; } .mobile-nav-sheet { width: min(86vw, 320px); } .mobile-nav-section { display: grid; gap: 8px; } .mobile-nav-section + .mobile-nav-section { padding-top: 12px; border-top: 1px solid var(--line); } .mobile-nav-appearance-section { justify-items: start; } .mobile-nav-appearance-section .navbar-theme-switcher { --navbar-theme-seg: 34px; justify-content: flex-start; gap: var(--navbar-theme-gap); width: var(--navbar-theme-expanded-w); } .mobile-nav-appearance-section .navbar-theme-switcher-btn:not(.is-active) { max-width: var(--navbar-theme-seg); opacity: 1; pointer-events: auto; } .mobile-nav-appearance-section .navbar-theme-switcher:not(:hover):not(:focus-within) .navbar-theme-switcher-btn:not(.is-active) { max-width: var(--navbar-theme-seg); opacity: 1; pointer-events: auto; } .mobile-nav-section-title { font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-soft); } .mobile-nav-brand { display: inline-flex; align-items: center; gap: 10px; } .mobile-nav-brand-mark { width: 28px; height: 28px; border-radius: var(--r-sm); display: grid; place-items: center; overflow: hidden; background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent), 0 1px 2px rgba(0, 0, 0, 0.08); flex-shrink: 0; } .mobile-nav-brand-mark-image { width: 32px; height: 32px; object-fit: cover; border-radius: 0; transform: translateZ(0); flex: 0 0 auto; } .mobile-nav-brand-name { display: inline-flex; min-width: 0; } .mobile-nav-link { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; background: transparent; border: 1px solid transparent; text-align: left; cursor: pointer; } .mobile-nav-link:hover { background: var(--hover-bg); border-color: var(--line); text-decoration: none; } .mobile-nav-link-external { margin-left: auto; color: var(--oc-text-muted); } .nav-mobile-trigger { position: relative; width: 38px; height: 38px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: transform 0.2s ease, box-shadow 0.2s ease; } .nav-mobile-trigger::after { content: ""; position: absolute; inset: -3px; border-radius: var(--r-pill); } .nav-mobile-trigger:hover { transform: translateY(-1px); box-shadow: 0 10px 18px rgba(255, 255, 255, 0.18); } .nav-mobile-trigger:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.35); outline-offset: 3px; } .nav-actions { display: flex; gap: 14px; align-items: center; justify-self: end; min-width: 0; } .github-sign-in-button { height: 32px !important; min-height: 32px !important; padding: 0 12px !important; gap: 8px !important; border-color: var(--border-ui) !important; background: transparent !important; color: var(--ink) !important; font-size: 0.86rem !important; font-weight: 650 !important; line-height: 1 !important; box-shadow: none !important; } .github-sign-in-button:hover:not(:disabled) { border-color: color-mix(in srgb, var(--ink) 24%, var(--border-ui)) !important; background: var(--surface-muted) !important; color: var(--ink) !important; } .github-sign-in-button .github-sign-in-logo { width: 18px; height: 18px; } .auth-loading-placeholder { display: inline-flex; width: 150px; border: 1px solid var(--border-ui) !important; border-radius: var(--r-btn); background: var(--surface-muted) !important; pointer-events: none; opacity: 0.45; } .sign-in-full-copy { display: inline-block; white-space: nowrap; } .sign-in-compact-copy { display: none; } .user-trigger { display: inline-flex; align-items: center; gap: 8px; height: 32px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px 0 4px; border-radius: var(--r-btn); cursor: pointer; min-width: 0; overflow: hidden; transition: border-color 0.15s ease, box-shadow 0.15s ease; } .user-trigger:hover { border-color: color-mix(in srgb, var(--ink) 20%, var(--line)); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06); } .user-trigger img, .user-menu-fallback { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, 0.2); color: var(--accent-deep); font-weight: 700; font-size: 0.95rem; } .user-trigger-handle { font-family: var(--font-body); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0; } .user-menu-chevron { color: var(--ink-soft); flex-shrink: 0; width: 16px; height: 16px; } .user-dropdown-content { overflow: hidden; border-radius: var(--r-md) !important; background-clip: padding-box; } /* Remove global link underline and focus outline from user dropdown items */ .user-dropdown-content a, .user-dropdown-content a:hover { text-decoration: none; } .user-dropdown-content [data-slot="dropdown-menu-item"]:focus-visible { outline: none; } [data-theme-resolved="light"] .user-dropdown-content [data-slot="dropdown-menu-item"]:not(.user-dropdown-theme-button):where( :hover, :focus, [data-highlighted] ) { background: var(--hover-bg); } .user-dropdown-theme-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; } .user-dropdown-theme-button { min-width: 0; justify-content: center; padding-inline: 0; } .user-dropdown-theme-button[data-status="active"] { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--ink); } .navbar-theme-switcher { --navbar-theme-ease: cubic-bezier(0.4, 0, 0.2, 1); --navbar-theme-pad: 3px; --navbar-theme-gap: 2px; --navbar-theme-outer-r: var(--oc-radius-control); --navbar-theme-inner-r: var(--oc-radius-inset); --navbar-theme-seg: 26px; --navbar-theme-collapsed-w: calc(var(--navbar-theme-seg) + var(--navbar-theme-pad) * 2); --navbar-theme-expanded-w: calc( var(--navbar-theme-seg) * 3 + var(--navbar-theme-gap) * 2 + var(--navbar-theme-pad) * 2 ); box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; gap: 0; width: var(--navbar-theme-collapsed-w); height: var(--navbar-theme-collapsed-w); padding: var(--navbar-theme-pad); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent); border-radius: var(--navbar-theme-outer-r); background: color-mix(in srgb, var(--surface) 95%, transparent); overflow: hidden; transition: width 0.22s var(--navbar-theme-ease), gap 0.22s var(--navbar-theme-ease), border-color 0.18s ease, background 0.18s ease; } .navbar-theme-switcher-skeleton { display: inline-flex; flex: 0 0 auto; width: 32px; height: 32px; border: 1px solid color-mix(in srgb, var(--ink) 8%, transparent); border-radius: var(--oc-radius-control); background: linear-gradient( 90deg, color-mix(in srgb, var(--surface-muted) 78%, transparent), color-mix(in srgb, var(--line) 64%, transparent), color-mix(in srgb, var(--surface-muted) 78%, transparent) ); background-size: 220% 100%; animation: skeleton-shimmer 1.15s ease-in-out infinite; pointer-events: none; } .navbar-theme-switcher-btn { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: var(--navbar-theme-seg); min-width: 0; max-width: var(--navbar-theme-seg); height: var(--navbar-theme-seg); padding: 0; border: none; border-radius: var(--navbar-theme-inner-r); background: transparent; color: var(--ink-soft); cursor: pointer; overflow: hidden; transition: max-width 0.22s var(--navbar-theme-ease), opacity 0.18s var(--navbar-theme-ease), color 0.15s ease, background 0.15s ease; } .navbar-theme-switcher-btn svg { flex-shrink: 0; } .navbar-theme-switcher-btn.is-active { color: var(--ink); background: color-mix(in srgb, var(--ink) 10%, transparent); opacity: 1; } .navbar-theme-switcher:hover, .navbar-theme-switcher:focus-within { justify-content: flex-start; gap: var(--navbar-theme-gap); width: var(--navbar-theme-expanded-w); border-color: color-mix(in srgb, var(--ink) 16%, transparent); background: var(--surface-muted); } .navbar-theme-switcher-btn:hover, .navbar-theme-switcher-btn:focus-visible { color: var(--ink); background: color-mix(in srgb, var(--ink) 8%, transparent); } .navbar-theme-switcher-btn.is-active:hover, .navbar-theme-switcher-btn.is-active:focus-visible { background: color-mix(in srgb, var(--ink) 14%, transparent); } .navbar-theme-switcher-btn:focus-visible { outline: 2px solid var(--input-focus-border); outline-offset: 1px; } @media (hover: hover) { .navbar-theme-switcher:not(:hover):not(:focus-within) .navbar-theme-switcher-btn:not(.is-active) { max-width: 0; opacity: 0; pointer-events: none; } .navbar-theme-switcher:hover .navbar-theme-switcher-btn:not(.is-active), .navbar-theme-switcher:focus-within .navbar-theme-switcher-btn:not(.is-active) { max-width: var(--navbar-theme-seg); opacity: 1; } } @media (hover: none) { .navbar-theme-switcher { justify-content: flex-start; gap: var(--navbar-theme-gap); width: var(--navbar-theme-expanded-w); } .navbar-theme-switcher-btn:not(.is-active) { max-width: var(--navbar-theme-seg); opacity: 1; pointer-events: auto; } } @media (prefers-reduced-motion: reduce) { .navbar-theme-switcher, .navbar-theme-switcher-btn { transition-duration: 0.01ms; } .navbar-theme-switcher-skeleton { animation: none; } } /* @deprecated — use