gitea-theme-meta-info{--theme-display-name: "小C代码库";--theme-color-scheme: "light"}:root{--is-dark-theme: false;--color-primary: #4183c4;--color-primary-contrast: #ffffff;--color-primary-dark-1: #3876b3;--color-primary-dark-2: #31699f;--color-primary-dark-3: #2b5c8b;--color-primary-dark-4: #254f77;--color-primary-dark-5: #193450;--color-primary-dark-6: #0c1a28;--color-primary-dark-7: #04080c;--color-primary-light-1: #548fca;--color-primary-light-2: #679cd0;--color-primary-light-3: #7aa8d6;--color-primary-light-4: #8db5dc;--color-primary-light-5: #b3cde7;--color-primary-light-6: #d9e6f3;--color-primary-light-7: #f4f8fb;--color-primary-alpha-10: #4183c419;--color-primary-alpha-20: #4183c433;--color-primary-alpha-30: #4183c44b;--color-primary-alpha-40: #4183c466;--color-primary-alpha-50: #4183c480;--color-primary-alpha-60: #4183c499;--color-primary-alpha-70: #4183c4b3;--color-primary-alpha-80: #4183c4cc;--color-primary-alpha-90: #4183c4e1;--color-primary-hover: var(--color-primary-dark-1);--color-primary-active: var(--color-primary-dark-2);--color-secondary: #d0d7de;--color-secondary-dark-1: #c7ced5;--color-secondary-dark-2: #b9c0c7;--color-secondary-dark-3: #99a0a7;--color-secondary-dark-4: #899097;--color-secondary-dark-5: #7a8188;--color-secondary-dark-6: #6a7178;--color-secondary-dark-7: #5b6269;--color-secondary-dark-8: #4b5259;--color-secondary-dark-9: #3c434a;--color-secondary-dark-10: #2c333a;--color-secondary-dark-11: #1d242b;--color-secondary-dark-12: #0d141b;--color-secondary-dark-13: #00040b;--color-secondary-light-1: #dee5ec;--color-secondary-light-2: #e4ebf2;--color-secondary-light-3: #ebf2f9;--color-secondary-light-4: #f1f8ff;--color-secondary-alpha-10: #d0d7de19;--color-secondary-alpha-20: #d0d7de33;--color-secondary-alpha-30: #d0d7de4b;--color-secondary-alpha-40: #d0d7de66;--color-secondary-alpha-50: #d0d7de80;--color-secondary-alpha-60: #d0d7de99;--color-secondary-alpha-70: #d0d7deb3;--color-secondary-alpha-80: #d0d7decc;--color-secondary-alpha-90: #d0d7dee1;--color-secondary-button: var(--color-secondary-dark-4);--color-secondary-hover: var(--color-secondary-dark-5);--color-secondary-active: var(--color-secondary-dark-6);--color-console-fg: #0d1117;--color-console-fg-subtle: #40474d;--color-console-bg: #ffffff;--color-console-hover-bg: #f1f3f5;--color-console-active-bg: #d0d7de;--color-console-link: #5c656d;--color-red: #db2828;--color-orange: #f2711c;--color-yellow: #fbbd08;--color-olive: #b5cc18;--color-green: #21ba45;--color-teal: #00b5ad;--color-blue: #2185d0;--color-violet: #6435c9;--color-purple: #a333c8;--color-pink: #e03997;--color-brown: #a5673f;--color-black: #1d2328;--color-red-light: #e45e5e;--color-orange-light: #f59555;--color-yellow-light: #fcce46;--color-olive-light: #d3e942;--color-green-light: #46de6a;--color-teal-light: #08fff4;--color-blue-light: #51a5e3;--color-violet-light: #8b67d7;--color-purple-light: #bb64d8;--color-pink-light: #e86bb1;--color-brown-light: #c58b66;--color-black-light: #4b5b68;--color-red-dark-1: #c82121;--color-orange-dark-1: #e6630d;--color-yellow-dark-1: #e5ac04;--color-olive-dark-1: #a3b816;--color-green-dark-1: #1ea73e;--color-teal-dark-1: #00a39c;--color-blue-dark-1: #1e78bb;--color-violet-dark-1: #5a30b5;--color-purple-dark-1: #932eb4;--color-pink-dark-1: #db228a;--color-brown-dark-1: #955d39;--color-black-dark-1: #2c3339;--color-red-dark-2: #b11e1e;--color-orange-dark-2: #cc580c;--color-yellow-dark-2: #cc9903;--color-olive-dark-2: #91a313;--color-green-dark-2: #1a9537;--color-teal-dark-2: #00918a;--color-blue-dark-2: #1a6aa6;--color-violet-dark-2: #502aa1;--color-purple-dark-2: #8229a0;--color-pink-dark-2: #c21e7b;--color-brown-dark-2: #845232;--color-black-dark-2: #131619;--color-ansi-black: #1e2327;--color-ansi-red: #cc4848;--color-ansi-green: #87ab63;--color-ansi-yellow: #cc9903;--color-ansi-blue: #3a8ac6;--color-ansi-magenta: #d22e8b;--color-ansi-cyan: #00918a;--color-ansi-white: var(--color-console-fg-subtle);--color-ansi-bright-black: #46494d;--color-ansi-bright-red: #d15a5a;--color-ansi-bright-green: #93b373;--color-ansi-bright-yellow: #eaaf03;--color-ansi-bright-blue: #4e96cc;--color-ansi-bright-magenta: #d74397;--color-ansi-bright-cyan: #00b6ad;--color-ansi-bright-white: var(--color-console-fg);--color-series-16-0: #7db233;--color-series-16-1: #499a37;--color-series-16-2: #ce4751;--color-series-16-3: #8f9121;--color-series-16-4: #ac32a6;--color-series-16-5: #7445e9;--color-series-16-6: #c67d28;--color-series-16-7: #4db392;--color-series-16-8: #aa4d30;--color-series-16-9: #2a6f84;--color-series-16-10: #c45327;--color-series-16-11: #3d965c;--color-series-16-12: #792a93;--color-series-16-13: #439d73;--color-series-16-14: #103aad;--color-series-16-15: #982e85;--color-grey: #697077;--color-grey-light: #7c838a;--color-gold: #a1882b;--color-white: #ffffff;--color-diff-added-fg: #177231;--color-diff-added-linenum-bg: #d1f8d9;--color-diff-added-row-bg: #e6ffed;--color-diff-added-row-border: #e6ffed;--color-diff-added-word-bg: #acf2bd;--color-diff-moved-row-bg: #f1f8d1;--color-diff-moved-row-border: #d0e27f;--color-diff-removed-fg: #c61f2b;--color-diff-removed-linenum-bg: #ffcecb;--color-diff-removed-row-bg: #ffeef0;--color-diff-removed-row-border: #f1c0c0;--color-diff-removed-word-bg: #fdb8c0;--color-diff-inactive: #f0f2f4;--color-error-border: #ff818266;--color-error-bg: #ffebe9;--color-error-bg-active: #ffcecb;--color-error-bg-hover: #ffdcd7;--color-error-text: #d1242f;--color-success-border: #4ac26b66;--color-success-bg: #dafbe1;--color-success-text: #1a7f37;--color-warning-border: #d4a72c66;--color-warning-bg: #fff8c5;--color-warning-text: #9a6700;--color-info-border: #54aeff66;--color-info-bg: #ddf4ff;--color-info-text: #0969da;--color-priority-border: #b9a1ff66;--color-priority-bg: #f3e7ff;--color-priority-text: #8250df;--color-red-badge: #db2828;--color-red-badge-bg: #db28281a;--color-red-badge-hover-bg: #db28284d;--color-green-badge: #21ba45;--color-green-badge-bg: #21ba451a;--color-green-badge-hover-bg: #21ba454d;--color-yellow-badge: #fbbd08;--color-yellow-badge-bg: #fbbd081a;--color-yellow-badge-hover-bg: #fbbd084d;--color-orange-badge: #f2711c;--color-orange-badge-bg: #f2711c1a;--color-orange-badge-hover-bg: #f2711c4d;--color-git: #f05133;--color-logo: #609926;--color-body: #ffffff;--color-box-header: #f1f3f5;--color-box-body: #ffffff;--color-box-body-highlight: #ecf5fd;--color-text-dark: #01050a;--color-text: #181c21;--color-text-light: #30363b;--color-text-light-1: #40474d;--color-text-light-2: #5b6167;--color-text-light-3: #747c84;--color-footer: var(--color-nav-bg);--color-timeline: #d0d7de;--color-input-text: var(--color-text-dark);--color-input-background: #fff;--color-input-toggle-background: #d0d7de;--color-input-border: var(--color-secondary-dark-1);--color-light: #00001706;--color-light-border: #0000171d;--color-hover: #00001708;--color-hover-opaque: #f1f3f5;--color-active: #00001714;--color-menu: #f8f9fb;--color-card: #f8f9fb;--color-markup-table-row: #0030600a;--color-markup-code-block: #00306010;--color-markup-code-inline: #00306012;--color-button: #f8f9fb;--color-code-bg: #fafdff;--color-shadow: #00001726;--color-shadow-opaque: #c7ced5;--color-secondary-bg: #f2f5f8;--color-expand-button: #cfe8fa;--color-placeholder-text: var(--color-text-light-3);--color-editor-line-highlight: var(--color-secondary-alpha-30);--color-editor-selection: var(--color-primary-alpha-30);--color-project-column-bg: var(--color-secondary-light-4);--color-caret: var(--color-text-dark);--color-reaction-bg: #0000170a;--color-reaction-hover-bg: var(--color-primary-light-5);--color-reaction-active-bg: var(--color-primary-light-6);--color-tooltip-text: #fbfdff;--color-tooltip-bg: #25292e;--color-nav-bg: #f6f7fa;--color-nav-hover-bg: var(--color-secondary-light-1);--color-nav-text: var(--color-text);--color-secondary-nav-bg: #f9fafb;--color-label-text: var(--color-text);--color-label-bg: #949da64b;--color-label-hover-bg: #949da6a0;--color-label-active-bg: #949da6ff;--color-accent: var(--color-primary-light-1);--color-small-accent: var(--color-primary-light-6);--color-highlight-fg: #eed200;--color-highlight-bg: #f5efc5;--color-overlay-backdrop: #080808c0;--color-danger: var(--color-red);--color-transparency-grid-light: #fafafa;--color-transparency-grid-dark: #e2e2e2;--color-workflow-edge-hover: #b1b7bd;--color-syntax-keyword: #a73a00;--color-syntax-bool: #076872;--color-syntax-control: #7d5700;--color-syntax-name: #785900;--color-syntax-type: #ae2368;--color-syntax-number: #105ead;--color-syntax-operator: #a73a00;--color-syntax-regexp: #773dc5;--color-syntax-string: #456800;--color-syntax-comment: #506070;--color-syntax-invalid: #c00000;--color-syntax-link: var(--color-primary);--color-syntax-tag: #a73a00;--color-syntax-attribute: #6f41c5;--color-syntax-property: #2060a0;--color-syntax-variable: #944a00;--color-syntax-string-special: #7d5700;--color-syntax-escape: #785900;--color-syntax-entity: #6f41c5;--color-syntax-preproc: #2d6a4b;--color-syntax-preproc-file: #105ead;--color-syntax-decorator: #2d6a4b;--color-syntax-namespace: #555555;--color-syntax-name-pseudo: #6f41c5;--color-syntax-comment-special: #773dc5;--color-syntax-text: inherit;--color-syntax-text-alt: #47525b;--color-syntax-punctuation: inherit;--color-syntax-whitespace: #bbbbbb;--color-syntax-diff-fg: #000000;--color-syntax-deleted-bg: #ffdddd;--color-syntax-inserted-bg: #ddffdd;--color-syntax-emph: #8b5000;--color-syntax-strong: inherit;--color-syntax-heading: #7d5700;--color-syntax-subheading: #456800;--color-syntax-output: #506070;--color-syntax-prompt: #944a00;--color-syntax-traceback: #c00000;--color-syntax-matching-bracket-bg: #00b5ad38;--color-syntax-nonmatching-bracket-bg: #db282838;accent-color:var(--color-accent);color-scheme:light}

/* ===== 小C代码库 — brand layer (2026-10-27) ===== */
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hanken Grotesk"; font-weight: 100 900; font-display: swap;
  src: url("../fonts/hanken-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* Workspace stays light. Preserve Gitea's syntax, diff, status, and label palettes. */
:root {
  --fonts-proportional: "Hanken Grotesk", -apple-system, "PingFang SC", "Noto Sans SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  --border-radius: 8px;
  --border-radius-medium: 12px;
  --color-primary: #141414;
  --color-primary-contrast: #ffffff;
  --color-primary-dark-1: #303033;
  --color-primary-dark-2: #090909;
  --color-primary-dark-3: #414144;
  --color-primary-dark-4: #505054;
  --color-primary-dark-5: #626266;
  --color-primary-dark-6: #757579;
  --color-primary-dark-7: #88888c;
  --color-primary-light-1: #303033;
  --color-primary-light-2: #444448;
  --color-primary-light-3: #606064;
  --color-primary-light-4: #8b8b8e;
  --color-primary-light-5: #b9b9b6;
  --color-primary-light-6: #deded9;
  --color-primary-light-7: #f3eef7;
  --color-primary-alpha-10: #78558f19;
  --color-primary-alpha-20: #78558f33;
  --color-primary-alpha-30: #78558f4d;
  --color-primary-alpha-40: #78558f66;
  --color-primary-alpha-50: #78558f80;
  --color-primary-alpha-60: #78558f99;
  --color-primary-alpha-70: #78558fb3;
  --color-primary-alpha-80: #78558fcc;
  --color-primary-alpha-90: #78558fe6;
  --color-primary-hover: #303033;
  --color-primary-active: #090909;
  --color-accent: #78558f;
  --color-small-accent: #f3eef7;
  --color-body: #f5f5f3;
  --color-box-body: #ffffff;
  --color-box-body-highlight: #f3eef7;
  --color-box-header: #f8f8f6;
  --color-text-dark: #141414;
  --color-text: #141414;
  --color-text-light: #595957;
  --color-text-light-1: #595957;
  --color-text-light-2: #70706b;
  --color-text-light-3: #70706b;
  --color-secondary: #deded9;
  --color-secondary-bg: #f5f5f3;
  --color-light-border: #e5e5e0;
  --color-input-border: #d6d6d1;
  --color-nav-bg: #ffffff;
  --color-nav-hover-bg: #f3eef7;
  --color-nav-text: #141414;
  --color-secondary-nav-bg: #fafaf8;
  --color-footer: #ffffff;
  --color-menu: #ffffff;
  --color-card: #ffffff;
  --color-button: #ffffff;
  --color-hover: #14141406;
  --color-hover-opaque: #f5f5f3;
  --color-active: #78558f14;
  --color-shadow: #14141412;
  --color-code-bg: #ffffff;
  --color-editor-selection: #78558f33;
  --color-editor-line-highlight: #14141408;
}
body { font-family: var(--fonts-proportional); }
#navbar { min-height: 64px; background: #fff; border-bottom: 1px solid #deded9; padding-inline: 28px; }
#navbar-logo { gap: 10px; }
#navbar-logo img { width: 32px; height: 32px; object-fit: contain; }
.cb-navbar-name { font-weight: 800; font-size: 16px; letter-spacing: -.04em; white-space: nowrap; color: #141414; }
#navbar .item { border-radius: 8px; }
#navbar .item.active { background: #f3eef7; color: #78558f; }
#navbar .navbar-right > a[href$="/user/login"] { border: 1px solid #deded9; border-radius: 999px; padding-inline: 20px; }
#navbar .navbar-right > a[href$="/user/login"]:hover { border-color: #78558f; }

/* Small, deliberate accents in the working UI. Never recolor source lines. */
.markup a, .flex-item-title a:hover, .issue-title a:hover, .ui.breadcrumb a.section:hover,
.page-content a.muted:hover, .page-content .ui.list a.text { color: #78558f; }
.markup a:hover { text-decoration: underline; text-underline-offset: 3px; }
.ui.button { border-radius: 8px; transition: background-color .18s ease, border-color .18s ease; }
.ui.primary.button, .ui.primary.buttons .button { font-weight: 650; }
.ui.primary.button:not(.icon) { border-radius: 999px; }
.ui.buttons .button { border-radius: 0; }
.ui.buttons .button:first-child { border-radius: 8px 0 0 8px; }
.ui.buttons .button:last-child { border-radius: 0 8px 8px 0; }
.ui.vertical.buttons .button:first-child { border-radius: 8px 8px 0 0; }
.ui.vertical.buttons .button:last-child { border-radius: 0 0 8px 8px; }
.ui.form input:focus, .ui.form textarea:focus, .ui.input input:focus,
.ui.selection.dropdown:focus, .ui.selection.active.dropdown { border-color: #78558f !important; box-shadow: 0 0 0 3px #78558f26; }
:where(a, button, input, select, textarea, [tabindex]):focus-visible { outline: 2px solid #78558f; outline-offset: 4px; }
.ui.menu .active.item, .ui.vertical.menu .active.item { color: #78558f; }
.ui.tabular.menu .active.item { border-top-color: #78558f; }
.ui.secondary.pointing.menu .active.item { border-color: #78558f; }
.ui.dropdown .menu, .ui.menu .dropdown.item .menu { border-radius: 12px; border-color: #deded9; box-shadow: 0 12px 36px #14141414; }
.ui.dropdown .menu > .selected.item, .ui.dropdown .menu > .active.item { background: #f3eef7; color: #68477e; }
.ui.dropdown .menu > .item:hover { background: #f5f5f3; }
.ui.pagination.menu { border-radius: 10px; box-shadow: none; }
.ui.pagination.menu .active.item { background: #f3eef7; color: #68477e; font-weight: 700; }
.ui.label:not(.image):not(.circular) { border-radius: 6px; }
.ui.segment:not(.attached), .ui.card { box-shadow: 0 2px 6px #14141404; }
.repository .repo-header { padding-block: 20px; }
.repository .file-header { background: #f8f8f6; }
.repository .repo-file-box { border-radius: 12px; }
.repository .repo-file-box .ui.table { border-radius: 12px; }
.repository #repo-files-table tbody tr:hover { background: #f8f8f6; }
.repository .issue.list > .item:hover, .flex-list > .flex-item:hover { background-color: #14141403; }
.user.settings .ui.form, .repository.settings .ui.form { line-height: 1.6; }
.ui.form .field > label { font-weight: 600; }
.ui.form input:not([type="checkbox"]):not([type="radio"]), .ui.form textarea, .ui.form select { border-radius: 8px; }
.page-footer { border-top: 1px solid #deded9; background: #fff; gap: 16px; }
.cb-footer-brand { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.cb-footer-brand strong { font-weight: 750; color: #141414; }
.cb-footer-brand small { color: #70706b; font-size: 11px; }

/* Public surfaces: isolated dark stage, with pure CSS light fields and a drifting grid. */
.cb-stage {
  position: relative; isolation: isolate; color: #f7f7fa; background: #0b0b0c;
  min-height: calc(100svh - 120px); overflow: hidden;
  --cb-muted: #aaa9b7;
}
.cb-stage::before {
  content: ""; position: absolute; inset: -48px 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(#ffffff06 1px, transparent 1px), linear-gradient(90deg, #ffffff06 1px, transparent 1px);
  background-size: 64px 64px; mask-image: linear-gradient(180deg, #0009, #0003 80%, transparent);
  animation: cb-grid-drift 24s linear infinite;
}
.cb-stage__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.cb-stage__glow::before, .cb-stage__glow::after {
  content: ""; position: absolute; width: 850px; height: 850px; border-radius: 50%;
  background: radial-gradient(ellipse, #8018be30 0%, #ea197719 28%, #ff7d0010 45%, transparent 68%);
  top: -280px; right: -200px; animation: cb-glow-drift 18s ease-in-out infinite alternate;
}
.cb-stage__glow::after { background: radial-gradient(ellipse, #003cff29, #00c9ff0c 35%, transparent 66%); top: 120px; right: -90px; animation-delay: -8s; }
.cb-stage a:focus-visible { outline-color: #d8b5ff; }
.cb-home { display: flex; align-items: center; padding: 0; }
.cb-home__inner { width: min(1280px, calc(100% - 112px)); margin-inline: auto; }
.cb-home__hero { min-height: 700px; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding-block: 80px; }
.cb-home__copy { position: relative; z-index: 2; }
.cb-eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 550; letter-spacing: .12em; color: #bcb6ca; }
.cb-eyebrow__divider { color: #5f596c; margin-inline: 2px; }
.cb-status-dot { width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #c99aff; box-shadow: 0 0 14px #c17eff99; }
.cb-home h1 { color: #fafafa; font-size: clamp(62px, 6.4vw, 94px); font-weight: 850; letter-spacing: -.065em; line-height: 1.15; margin: 30px 0 22px; white-space: nowrap; }
.cb-title-dot { color: #c59af4; }
.cb-home h2 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 650; line-height: 1.5; letter-spacing: -.045em; margin: 0 0 22px; color: #f3f0f8; }
.cb-home h2 span, .cb-signin__intro h1 span { color: #c6b0e6; background: linear-gradient(95deg, #d5b8ff 5%, #f5a1ca 60%, #ffbd89); background-clip: text; -webkit-text-fill-color: transparent; }
.cb-home__description { font-size: 15px; line-height: 1.9; color: var(--cb-muted); margin: 0 0 32px; }
.cb-home__actions { display: flex; align-items: center; gap: 22px; }
.cb-home__cta { display: inline-flex; align-items: center; justify-content: center; gap: 36px; min-height: 54px; padding: 0 28px; border-radius: 999px; color: #141414 !important; background: #fff; font-size: 16px; font-weight: 750; box-shadow: 0 0 30px #c5a3ff12; transition: transform .2s ease, box-shadow .2s ease; }
.cb-home__cta:hover { transform: translateY(-2px); box-shadow: 0 0 0 4px #c5a3ff26, 0 8px 36px #c5a3ff22; }
.cb-home__note { color: #a5a0af; font-size: 11px; line-height: 1.8; }
.cb-home__visual { position: relative; height: 510px; min-width: 0; display: grid; place-items: center; }
.cb-home__mark { width: 103%; max-width: 550px; height: auto; filter: drop-shadow(0 0 48px #8f3dff33); transform: rotate(-8deg); animation: cb-mark-float 9s ease-in-out infinite alternate; }
.cb-orbit { position: absolute; border: 1px solid #c8b8e01a; border-radius: 50%; aspect-ratio: 1; width: 95%; }
.cb-orbit--outer { width: 112%; border-style: dashed; transform: rotate(-25deg) scaleY(.85); }
.cb-orbit--inner::before { content: ""; position: absolute; left: 15%; top: 14%; width: 5px; height: 5px; border-radius: 50%; background: #c5a6ff; box-shadow: 0 0 20px #b17dff; }
.cb-visual__coordinate { position: absolute; right: 0; top: -8px; font: 9px ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .16em; color: #9991aa; }
.cb-codecard { position: absolute; right: -12px; bottom: -4px; width: 340px; background: #15131eef; border: 1px solid #bfa2e62b; border-radius: 14px; padding: 16px 18px 20px; box-shadow: 0 24px 64px #0008; transform: rotate(-3deg); }
.cb-codecard__bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff12; padding-bottom: 12px; margin-bottom: 14px; color: #b9afc9; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; }
.cb-codecard__dots { color: #8e729b; letter-spacing: 3px; font-size: 8px; }
.cb-codecard__line { display: flex; gap: 16px; font: 11px/1.95 ui-monospace, SFMono-Regular, Consolas, monospace; color: #ddd5e9; white-space: nowrap; }
.cb-codecard__line > span { color: #81728e; }
.cb-codecard__line code { background: transparent; padding: 0; font: inherit; }
.cb-codecard__line b, .cb-codecard__line i { color: #ce9eff; font-weight: 400; font-style: normal; }
.cb-codecard__line em { color: #76d5db; font-style: normal; }
.cb-codecard__cursor { display: inline-block; vertical-align: middle; width: 5px; height: 12px; background: #c59af4; margin-left: 4px; animation: cb-cursor 1.5s steps(2, end) infinite; }
.cb-home__principles { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #ffffff14; padding-block: 26px; gap: 32px; }
.cb-home__principles > div { display: flex; align-items: center; gap: 16px; }
.cb-home__principles > div + div { padding-left: 36px; border-left: 1px solid #ffffff14; }
.cb-home__principles .svg { color: #b49bc9; flex-shrink: 0; }
.cb-home__principles strong { display: block; font-size: 14px; font-weight: 550; color: #e8e4ee; }
.cb-home__principles small { display: block; font-size: 11px; color: #a5a0af; margin-top: 6px; }
.cb-home__meta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 24px; font-size: 11px; color: #a5a0af; }
.cb-meta-separator { padding-inline: 10px; color: #67616e; }
.cb-home__meta a { color: #c2bbce; }
.cb-home__meta a:hover, .cb-signin__credit a:hover { color: #fff; }

/* Reuse signin_inner verbatim; style only inside our wrapper so signup/link flows keep their defaults. */
.cb-signin { display: flex; flex-direction: column; justify-content: center; padding: 64px 48px 24px; }
.cb-signin__layout { display: grid; grid-template-columns: 1fr 460px; gap: 100px; align-items: center; width: min(1080px, 100%); margin: auto; padding-block: 24px 60px; }
.cb-signin__intro { min-width: 0; }
.cb-auth-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; margin-bottom: 64px; }
.cb-auth-brand:hover { color: #fff; }
.cb-auth-brand span { font-size: 21px; font-weight: 750; letter-spacing: -.03em; }
.cb-auth-brand small { display: block; color: #b6acbf; font-size: 9px; font-weight: 500; letter-spacing: .2em; margin-top: 4px; }
.cb-signin__intro h1 { font-size: clamp(38px, 4.4vw, 60px); line-height: 1.35; font-weight: 750; letter-spacing: -.05em; color: #fff; margin: 22px 0; }
.cb-signin__intro p { font-size: 15px; line-height: 1.9; color: var(--cb-muted); }
.cb-signin__private { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #b9acc9; margin-top: 40px; }
.cb-signin__panel { min-width: 0; color: #141414; background: #ffffff; border: 1px solid #ffffffb3; border-radius: 24px; padding: 34px; box-shadow: 0 0 0 7px #ffffff04, 0 30px 100px #0005; }
.cb-signin__heading { margin-bottom: 26px; }
.cb-signin__index { color: #78558f; font-size: 9px; letter-spacing: .16em; font-weight: 650; }
.cb-signin__heading h2 { color: #141414; font-size: 28px; font-weight: 750; letter-spacing: -.045em; line-height: 1.35; margin: 12px 0 8px; }
.cb-signin__heading p { color: #70706b; font-size: 13px; margin: 0; }
.cb-signin .ui.container.fluid { width: 100%; margin: 0 !important; padding: 0; }
.cb-signin .ui.top.attached.header { color: #595957; background: transparent; border: 0; box-shadow: none; border-radius: 0; font-size: 12px; font-weight: 550; text-align: left; margin: 0 0 14px; padding: 0; }
.cb-signin__panel > .ui.container > .ui.attached.segment { width: 100%; max-width: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.cb-signin .ui.form .field { margin-bottom: 20px; }
.cb-signin .ui.form .field > label, .cb-signin .ui.form .field label { color: #343437; font-size: 13px; }
.cb-signin .ui.form input:not([type="checkbox"]):not([type="radio"]) { min-height: 46px; background: #fafaf9; font-size: 15px; }
.cb-signin .ui.form input:focus { background: #fff; }
.cb-signin .ui.form a { color: #78558f; font-size: 12px; }
.cb-signin .ui.checkbox label { color: #595957; }
.cb-signin .ui.form .primary.button { min-height: 48px; background: #141414; color: #fff; font-size: 14px; border-radius: 999px; }
.cb-signin .ui.form .primary.button:hover { background: #38253f; }
.cb-signin .ui.form .field:last-child { margin-bottom: 0; }
.cb-signin__panel > .ui.container + .ui.container { border-top: 1px solid #e8e8e4; padding-top: 18px; margin-top: 20px !important; }
.cb-signin .ui.segment.header { gap: 14px; font-size: 13px; line-height: 1.7; }
.cb-signin .signin-passkey { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 44px; width: 100%; padding: 10px 16px; border: 1px solid #dcd6e3; border-radius: 999px; background: #f6f2fa; color: #68477e; font-size: 13px; font-weight: 650; cursor: pointer; }
.cb-signin .signin-passkey::before { content: ""; width: 16px; height: 16px; flex-shrink: 0; background: currentColor; mask: url("../img/cbuilding-passkey.svg") center / contain no-repeat; }
.cb-signin .signin-passkey:hover { background: #eee5f5; border-color: #bca4cb; }
.cb-signin .signin-passkey:focus-visible { outline-color: #78558f; }
.cb-signin__panel a:focus-visible { outline-color: #78558f; }
.cb-signin__help { color: #70706b; font-size: 11px; line-height: 1.8; text-align: center; margin: 22px 0 0; }
.cb-signin__credit { text-align: center; color: #a5a0af; font-size: 11px; line-height: 1.8; padding-top: 24px; }
.cb-signin__credit span { padding-inline: 12px; color: #756e80; }
.cb-signin__credit a { color: #c2bbce; }
/* Keep alerts, external auth buttons, and WebAuthn errors fully visible within the white panel. */
.cb-signin .ui.message { font-size: 13px; overflow-wrap: anywhere; }
.cb-signin .ui.message .header { color: inherit; }
.cb-signin .divider { color: #70706b; }
.cb-signin .oauth2 { flex-wrap: wrap; }
body:has(.cb-stage) .page-footer { background: #0b0b0c; border-color: #ffffff14; }
body:has(.cb-stage) .page-footer .cb-footer-brand strong { color: #e8e4ee; }
body:has(.cb-stage) .page-footer .cb-footer-brand small,
body:has(.cb-stage) .page-footer .right-links > a,
body:has(.cb-stage) .page-footer .right-links > .ui.dropdown { color: #aaa4b4; }

@keyframes cb-grid-drift { to { transform: translateY(64px); } }
@keyframes cb-glow-drift { to { transform: translate(-40px, 60px) scale(1.08); } }
@keyframes cb-mark-float { to { transform: translateY(-12px) rotate(-3deg); } }
@keyframes cb-cursor { 50% { opacity: 0; } }

@media (min-width: 1600px) {
  .cb-home__hero { min-height: 780px; }
  .cb-home__inner { width: min(1400px, calc(100% - 160px)); }
  .cb-home h1 { font-size: 104px; }
  .cb-home__visual { height: 570px; }
}
@media (max-width: 1100px) {
  .cb-home__inner { width: calc(100% - 72px); }
  .cb-home__hero { min-height: 650px; gap: 8px; }
  .cb-home h1 { font-size: 64px; }
  .cb-home__visual { height: 400px; }
  .cb-codecard { width: 290px; right: 0; padding: 14px; }
  .cb-codecard__line { font-size: 10px; gap: 10px; }
  .cb-home__principles { gap: 20px; }
  .cb-home__principles > div + div { padding-left: 20px; }
  .cb-signin__layout { gap: 48px; grid-template-columns: 1fr 420px; }
  .cb-signin__panel { padding: 28px; }
}
@media (max-width: 767px) {
  #navbar { padding-inline: 16px; min-height: 60px; }
  #navbar-logo { min-height: 58px; }
  .cb-navbar-name { display: inline; font-size: 15px; }
  .cb-stage { min-height: calc(100svh - 120px); }
  .cb-home__inner { width: calc(100% - 40px); }
  .cb-home__hero { display: flex; flex-direction: column; align-items: stretch; min-height: 0; padding-block: 48px 32px; gap: 26px; }
  .cb-eyebrow { font-size: 9px; letter-spacing: .08em; gap: 8px; }
  .cb-home h1 { font-size: clamp(44px, 11.6vw, 78px); margin: 24px 0 20px; }
  .cb-home h2 { font-size: clamp(25px, 6.3vw, 34px); line-height: 1.5; margin-bottom: 16px; }
  .cb-home__description { font-size: 13px; margin-bottom: 24px; }
  .cb-home__cta { min-height: 50px; padding-inline: 25px; gap: 34px; }
  .cb-home__actions { gap: 18px; }
  .cb-home__visual { width: min(420px, 100%); height: 330px; align-self: center; }
  .cb-home__mark { width: 94%; max-height: 360px; object-fit: contain; }
  .cb-orbit--outer { width: 100%; }
  .cb-orbit--inner { width: 84%; }
  .cb-visual__coordinate { top: 8px; font-size: 8px; }
  .cb-codecard { bottom: 0; right: 0; width: 270px; padding: 12px 14px 14px; }
  .cb-codecard__bar { margin-bottom: 8px; padding-bottom: 8px; }
  .cb-home__principles { grid-template-columns: 1fr; gap: 24px; padding-block: 28px; }
  .cb-home__principles > div + div { padding-left: 0; border-left: 0; }
  .cb-home__principles strong { font-size: 13px; }
  .cb-home__meta { align-items: flex-start; font-size: 10px; line-height: 1.9; gap: 16px; }
  .cb-meta-separator { display: block; height: 0; overflow: hidden; }
  .cb-home__meta a { white-space: nowrap; }
  .cb-signin { padding: 32px 20px 24px; }
  .cb-signin__layout { display: flex; flex-direction: column; gap: 28px; align-items: stretch; padding-block: 0 20px; width: min(460px, 100%); }
  .cb-auth-brand { margin-bottom: 24px; gap: 10px; }
  .cb-auth-brand img { width: 36px; height: 36px; }
  .cb-auth-brand span { font-size: 18px; }
  .cb-signin__intro .cb-eyebrow { display: none; }
  .cb-signin__intro h1 { font-size: 30px; margin: 0; line-height: 1.45; }
  .cb-signin__intro h1 br { display: none; }
  .cb-signin__intro p, .cb-signin__private { display: none; }
  .cb-signin__panel { border-radius: 20px; padding: 26px 22px; }
  .cb-signin__heading h2 { font-size: 25px; }
  .cb-signin__heading { margin-bottom: 22px; }
  .cb-signin__help { text-align: left; font-size: 10px; }
  .cb-signin__credit { font-size: 10px; padding-top: 12px; }
  .page-footer { padding: 16px 20px; }
  .cb-footer-brand { gap: 6px; }
  .cb-footer-brand small { font-size: 10px; }
}
@media (max-width: 359px) {
  .cb-home__inner { width: calc(100% - 32px); }
  .cb-eyebrow { font-size: 8px; gap: 6px; }
  .cb-home__visual { height: 290px; }
  .cb-signin { padding-inline: 16px; }
  .cb-signin__panel { padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .cb-stage::before, .cb-stage__glow::before, .cb-stage__glow::after, .cb-home__mark, .cb-codecard__cursor { animation: none; }
  .cb-stage *, .cb-stage *::before, .cb-stage *::after { scroll-behavior: auto; transition: none; }
  .cb-home__cta:hover { transform: none; }
}
@media (forced-colors: active) {
  .cb-home h2 span, .cb-signin__intro h1 span { -webkit-text-fill-color: currentColor; background: none; }
  .cb-home__cta, .cb-signin__panel, .cb-codecard, .cb-signin .signin-passkey { border: 1px solid ButtonText; }
}
