@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.5/400.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.5/500.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/geist-sans@5.2.5/600.css");
/* Selfish Git day/night overrides. Pink is theme-pink.css. */
html.theme-gitea-light, html[data-theme="gitea-light"]{--color-primary: #ea580c;--color-primary-contrast: #ffffff;--color-primary-dark-1: #c2410c;--color-primary-dark-2: #9a3412;--color-primary-dark-3: #7c2d12;--color-primary-dark-4: #6b240e;--color-primary-dark-5: #5a1d0c;--color-primary-dark-6: #3f1408;--color-primary-dark-7: #2a0d05;--color-primary-light-1: #f97316;--color-primary-light-2: #fb923c;--color-primary-light-3: #fdba74;--color-primary-light-4: #fed7aa;--color-primary-light-5: #ffedd5;--color-primary-light-6: #fff7ed;--color-primary-light-7: #fffbf5;--color-secondary: #e2e8f0;--color-secondary-dark-1: #cbd5e1;--color-secondary-button: #c2410c;--color-secondary-hover: #9a3412;--color-body: #f8fafc;--color-box-header: #ffffff;--color-box-body: #ffffff;--color-text-dark: #0f172a;--color-text: #0f172a;--color-text-light: #334155;--color-text-light-1: #334155;--color-text-light-2: #475569;--color-text-light-3: #64748b;--color-nav-bg: #ffffff;--color-nav-text: #0f172a;--color-nav-hover-bg: #f1f5f9;--color-card: #ffffff;--color-menu: #ffffff;--color-button: #ffffff;--color-input-text: #0f172a;--color-input-background: #ffffff;--color-input-border: #e2e8f0;--color-input-border-hover: #cbd5e1;--color-code-bg: #f8fafc;--color-secondary-nav-bg: #f8fafc;--color-footer: #ffffff;--color-hover: #f1f5f9;--color-active: #ffedd5;--color-light-border: #e2e8f0;--is-dark-theme: false;--color-primary-alpha-10: #ea580c1a;--color-primary-alpha-20: #ea580c33;--color-primary-alpha-30: #ea580c4c;--color-primary-alpha-40: #ea580c66;--color-primary-alpha-50: #ea580c80;--color-primary-alpha-60: #ea580c99;--color-primary-alpha-70: #ea580cb2;--color-primary-alpha-80: #ea580ccc;--color-primary-alpha-90: #ea580ce6;}
html.theme-gitea-dark, html[data-theme="gitea-dark"]{--color-primary: #ff5500;--color-primary-contrast: #1a0a00;--color-primary-hover: #ff6a1f;--color-primary-active: #ff8800;--color-primary-dark-1: #ff7a33;--color-primary-dark-2: #ff8800;--color-primary-dark-3: #ffaa44;--color-primary-dark-4: #ffc285;--color-primary-dark-5: #ffd0a3;--color-primary-dark-6: #ffd7b3;--color-primary-dark-7: #ffe8d4;--color-primary-light-1: #ff6a1f;--color-primary-light-2: #993300;--color-primary-light-3: #732800;--color-primary-light-4: #4d1c00;--color-primary-light-5: #3a1500;--color-primary-light-6: #2a1208;--color-primary-light-7: #1c0e08;--color-secondary: #2a313b;--color-secondary-dark-1: #3a4250;--color-secondary-button: #1c2026;--color-body: #10141a;--color-box-header: #1c2026;--color-box-body: #161b22;--color-text-dark: #f4f6fb;--color-text: #dfe2eb;--color-text-light: #c5cad3;--color-text-light-1: #b5bac7;--color-text-light-2: #b5bac7;--color-text-light-3: #8b919e;--color-nav-bg: #0a0e14;--color-nav-text: #dfe2eb;--color-nav-hover-bg: #1c2026;--color-card: #161b22;--color-menu: #1c2026;--color-button: #1c2026;--color-input-text: #dfe2eb;--color-input-background: #0a0e14;--color-input-border: rgba(255,255,255,0.08);--color-input-border-hover: rgba(255,255,255,0.18);--color-code-bg: #0a0e14;--color-secondary-nav-bg: #161b22;--color-secondary-bg: #161b22;--color-footer: #0a0e14;--color-hover: rgba(255,255,255,0.06);--color-active: rgba(255,85,0,0.18);--color-light: rgba(255,255,255,0.04);--color-light-border: rgba(255,255,255,0.08);--is-dark-theme: true;--color-primary-alpha-10: #ff55001a;--color-primary-alpha-20: #ff550033;--color-primary-alpha-30: #ff55004c;--color-primary-alpha-40: #ff550066;--color-primary-alpha-50: #ff550080;--color-primary-alpha-60: #ff550099;--color-primary-alpha-70: #ff5500b2;--color-primary-alpha-80: #ff5500cc;--color-primary-alpha-90: #ff5500e6;--color-secondary-alpha-60: #161b22;}
@media (prefers-color-scheme: light) {
html.theme-gitea-auto, html[data-theme="gitea-auto"]{--color-primary: #ea580c;--color-primary-contrast: #ffffff;--color-primary-dark-1: #c2410c;--color-primary-dark-2: #9a3412;--color-primary-dark-3: #7c2d12;--color-primary-dark-4: #6b240e;--color-primary-dark-5: #5a1d0c;--color-primary-dark-6: #3f1408;--color-primary-dark-7: #2a0d05;--color-primary-light-1: #f97316;--color-primary-light-2: #fb923c;--color-primary-light-3: #fdba74;--color-primary-light-4: #fed7aa;--color-primary-light-5: #ffedd5;--color-primary-light-6: #fff7ed;--color-primary-light-7: #fffbf5;--color-secondary: #e2e8f0;--color-secondary-dark-1: #cbd5e1;--color-secondary-button: #c2410c;--color-secondary-hover: #9a3412;--color-body: #f8fafc;--color-box-header: #ffffff;--color-box-body: #ffffff;--color-text-dark: #0f172a;--color-text: #0f172a;--color-text-light: #334155;--color-text-light-1: #334155;--color-text-light-2: #475569;--color-text-light-3: #64748b;--color-nav-bg: #ffffff;--color-nav-text: #0f172a;--color-nav-hover-bg: #f1f5f9;--color-card: #ffffff;--color-menu: #ffffff;--color-button: #ffffff;--color-input-text: #0f172a;--color-input-background: #ffffff;--color-input-border: #e2e8f0;--color-input-border-hover: #cbd5e1;--color-code-bg: #f8fafc;--color-secondary-nav-bg: #f8fafc;--color-footer: #ffffff;--color-hover: #f1f5f9;--color-active: #ffedd5;--color-light-border: #e2e8f0;--is-dark-theme: false;--color-primary-alpha-10: #ea580c1a;--color-primary-alpha-20: #ea580c33;--color-primary-alpha-30: #ea580c4c;--color-primary-alpha-40: #ea580c66;--color-primary-alpha-50: #ea580c80;--color-primary-alpha-60: #ea580c99;--color-primary-alpha-70: #ea580cb2;--color-primary-alpha-80: #ea580ccc;--color-primary-alpha-90: #ea580ce6;}
}
@media (prefers-color-scheme: dark) {
html.theme-gitea-auto, html[data-theme="gitea-auto"]{--color-primary: #ff5500;--color-primary-contrast: #1a0a00;--color-primary-hover: #ff6a1f;--color-primary-active: #ff8800;--color-primary-dark-1: #ff7a33;--color-primary-dark-2: #ff8800;--color-primary-dark-3: #ffaa44;--color-primary-dark-4: #ffc285;--color-primary-dark-5: #ffd0a3;--color-primary-dark-6: #ffd7b3;--color-primary-dark-7: #ffe8d4;--color-primary-light-1: #ff6a1f;--color-primary-light-2: #993300;--color-primary-light-3: #732800;--color-primary-light-4: #4d1c00;--color-primary-light-5: #3a1500;--color-primary-light-6: #2a1208;--color-primary-light-7: #1c0e08;--color-secondary: #2a313b;--color-secondary-dark-1: #3a4250;--color-secondary-button: #1c2026;--color-body: #10141a;--color-box-header: #1c2026;--color-box-body: #161b22;--color-text-dark: #f4f6fb;--color-text: #dfe2eb;--color-text-light: #c5cad3;--color-text-light-1: #b5bac7;--color-text-light-2: #b5bac7;--color-text-light-3: #8b919e;--color-nav-bg: #0a0e14;--color-nav-text: #dfe2eb;--color-nav-hover-bg: #1c2026;--color-card: #161b22;--color-menu: #1c2026;--color-button: #1c2026;--color-input-text: #dfe2eb;--color-input-background: #0a0e14;--color-input-border: rgba(255,255,255,0.08);--color-input-border-hover: rgba(255,255,255,0.18);--color-code-bg: #0a0e14;--color-secondary-nav-bg: #161b22;--color-secondary-bg: #161b22;--color-footer: #0a0e14;--color-hover: rgba(255,255,255,0.06);--color-active: rgba(255,85,0,0.18);--color-light: rgba(255,255,255,0.04);--color-light-border: rgba(255,255,255,0.08);--is-dark-theme: true;--color-primary-alpha-10: #ff55001a;--color-primary-alpha-20: #ff550033;--color-primary-alpha-30: #ff55004c;--color-primary-alpha-40: #ff550066;--color-primary-alpha-50: #ff550080;--color-primary-alpha-60: #ff550099;--color-primary-alpha-70: #ff5500b2;--color-primary-alpha-80: #ff5500cc;--color-primary-alpha-90: #ff5500e6;--color-secondary-alpha-60: #161b22;}
}

html {
  --fonts-proportional: "Geist Sans", system-ui, sans-serif;
  --fonts-monospace: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
h1, h2, h3, h4, h5, h6, .ui.header {
  font-family: "Space Grotesk", system-ui, sans-serif;
}
code, kbd, samp, pre, .sha, .sha.label, .commit-id, .branch-name, #git-graph-container li .node-relation {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
html.theme-gitea-light #navbar,
html[data-theme="gitea-light"] #navbar,
html.theme-gitea-light .ui.segment,
html[data-theme="gitea-light"] .ui.segment,
html.theme-gitea-light .ui.attached.segment,
html[data-theme="gitea-light"] .ui.attached.segment,
html.theme-gitea-light .ui.attached.header,
html[data-theme="gitea-light"] .ui.attached.header,
html.theme-gitea-light .ui.form input:not([type=checkbox]):not([type=radio]),
html[data-theme="gitea-light"] .ui.form input:not([type=checkbox]):not([type=radio]),
html.theme-gitea-light .ui.form textarea,
html[data-theme="gitea-light"] .ui.form textarea,
html.theme-gitea-light .ui.selection.dropdown,
html[data-theme="gitea-light"] .ui.selection.dropdown {
  border-color: #e2e8f0;
}
html.theme-gitea-light .ui.primary.button,
html[data-theme="gitea-light"] .ui.primary.button { background: #ea580c; color: #ffffff; }
html.theme-gitea-light .ui.primary.button:hover,
html[data-theme="gitea-light"] .ui.primary.button:hover { background: #c2410c; color: #ffffff; }
html.theme-gitea-dark #navbar,
html[data-theme="gitea-dark"] #navbar,
html.theme-gitea-dark .ui.segment,
html[data-theme="gitea-dark"] .ui.segment,
html.theme-gitea-dark .ui.attached.segment,
html[data-theme="gitea-dark"] .ui.attached.segment,
html.theme-gitea-dark .ui.attached.header,
html[data-theme="gitea-dark"] .ui.attached.header,
html.theme-gitea-dark .ui.table,
html[data-theme="gitea-dark"] .ui.table,
html.theme-gitea-dark .ui.form input:not([type=checkbox]):not([type=radio]),
html[data-theme="gitea-dark"] .ui.form input:not([type=checkbox]):not([type=radio]),
html.theme-gitea-dark .ui.form textarea,
html[data-theme="gitea-dark"] .ui.form textarea,
html.theme-gitea-dark .ui.selection.dropdown,
html[data-theme="gitea-dark"] .ui.selection.dropdown {
  border-color: rgba(255,255,255,0.08);
}
html.theme-gitea-dark .ui.primary.button,
html[data-theme="gitea-dark"] .ui.primary.button { background: #ff5500; color: #1a0a00; }
html.theme-gitea-dark .ui.primary.button:hover,
html[data-theme="gitea-dark"] .ui.primary.button:hover { background: #ff6a1f; color: #1a0a00; }
html.theme-gitea-dark .ui.primary.button:active,
html[data-theme="gitea-dark"] .ui.primary.button:active { background: #ff8800; color: #1a0a00; }
@media (prefers-color-scheme: light) {
  html.theme-gitea-auto #navbar,
  html[data-theme="gitea-auto"] #navbar,
  html.theme-gitea-auto .ui.segment,
  html[data-theme="gitea-auto"] .ui.segment,
  html.theme-gitea-auto .ui.attached.segment,
  html[data-theme="gitea-auto"] .ui.attached.segment,
  html.theme-gitea-auto .ui.form input:not([type=checkbox]):not([type=radio]),
  html[data-theme="gitea-auto"] .ui.form input:not([type=checkbox]):not([type=radio]),
  html.theme-gitea-auto .ui.form textarea,
  html[data-theme="gitea-auto"] .ui.form textarea,
  html.theme-gitea-auto .ui.selection.dropdown,
  html[data-theme="gitea-auto"] .ui.selection.dropdown { border-color: #e2e8f0; }
  html.theme-gitea-auto .ui.primary.button,
  html[data-theme="gitea-auto"] .ui.primary.button { background: #ea580c; color: #ffffff; }
  html.theme-gitea-auto .ui.primary.button:hover,
  html[data-theme="gitea-auto"] .ui.primary.button:hover { background: #c2410c; color: #ffffff; }
}
@media (prefers-color-scheme: dark) {
  html.theme-gitea-auto #navbar,
  html[data-theme="gitea-auto"] #navbar,
  html.theme-gitea-auto .ui.segment,
  html[data-theme="gitea-auto"] .ui.segment,
  html.theme-gitea-auto .ui.attached.segment,
  html[data-theme="gitea-auto"] .ui.attached.segment,
  html.theme-gitea-auto .ui.table,
  html[data-theme="gitea-auto"] .ui.table,
  html.theme-gitea-auto .ui.form input:not([type=checkbox]):not([type=radio]),
  html[data-theme="gitea-auto"] .ui.form input:not([type=checkbox]):not([type=radio]),
  html.theme-gitea-auto .ui.form textarea,
  html[data-theme="gitea-auto"] .ui.form textarea,
  html.theme-gitea-auto .ui.selection.dropdown,
  html[data-theme="gitea-auto"] .ui.selection.dropdown { border-color: rgba(255,255,255,0.08); }
  html.theme-gitea-auto .ui.primary.button,
  html[data-theme="gitea-auto"] .ui.primary.button { background: #ff5500; color: #1a0a00; }
  html.theme-gitea-auto .ui.primary.button:hover,
  html[data-theme="gitea-auto"] .ui.primary.button:hover { background: #ff6a1f; color: #1a0a00; }
}
.selfish-access-note { margin-top: 1rem; }
.selfish-access-note p { margin: 0.35rem 0; line-height: 1.45; }

/* First screen and chrome, still the three existing palettes. */
html.theme-gitea-light,
html[data-theme="gitea-light"],
html.theme-gitea-light body,
html[data-theme="gitea-light"] body { background: #f8fafc; color: #0f172a; }
html.theme-gitea-dark,
html[data-theme="gitea-dark"],
html.theme-gitea-dark body,
html[data-theme="gitea-dark"] body { background: #10141a; color: #dfe2eb; }
html.theme-pink,
html[data-theme="pink"],
html.theme-pink body,
html[data-theme="pink"] body { background: #fdf2f8; color: #1e293b; }
@media (prefers-color-scheme: light) {
  html.theme-gitea-auto,
  html[data-theme="gitea-auto"],
  html.theme-gitea-auto body,
  html[data-theme="gitea-auto"] body { background: #f8fafc; color: #0f172a; }
}
@media (prefers-color-scheme: dark) {
  html.theme-gitea-auto,
  html[data-theme="gitea-auto"],
  html.theme-gitea-auto body,
  html[data-theme="gitea-auto"] body { background: #10141a; color: #dfe2eb; }
}
html[data-theme="gitea-light"] #navbar,
html.theme-gitea-light #navbar { background: #ffffff; border-bottom-color: #e2e8f0; }
html[data-theme="gitea-dark"] #navbar,
html.theme-gitea-dark #navbar { background: #0a0e14; border-bottom-color: rgba(255,255,255,0.08); }
html[data-theme="pink"] #navbar,
html.theme-pink #navbar { background: #fff1f5; border-bottom-color: #fbcfe8; }
@media (prefers-color-scheme: light) {
  html[data-theme="gitea-auto"] #navbar,
  html.theme-gitea-auto #navbar { background: #ffffff; border-bottom-color: #e2e8f0; }
}
@media (prefers-color-scheme: dark) {
  html[data-theme="gitea-auto"] #navbar,
  html.theme-gitea-auto #navbar { background: #0a0e14; border-bottom-color: rgba(255,255,255,0.08); }
}
a.ui.primary.button,
html[data-theme="gitea-light"] a.ui.primary.button,
html.theme-gitea-light a.ui.primary.button { background: #ea580c; color: #ffffff; }
html[data-theme="gitea-dark"] a.ui.primary.button,
html.theme-gitea-dark a.ui.primary.button,
html[data-theme="gitea-dark"] .ui.primary.button,
html.theme-gitea-dark .ui.primary.button { background: #ff5500; color: #1a0a00; }
html[data-theme="pink"] a.ui.primary.button,
html.theme-pink a.ui.primary.button,
html[data-theme="pink"] .ui.primary.button,
html.theme-pink .ui.primary.button { background: #db2777; color: #ffffff; }
@media (prefers-color-scheme: light) {
  html[data-theme="gitea-auto"] a.ui.primary.button,
  html.theme-gitea-auto a.ui.primary.button { background: #ea580c; color: #ffffff; }
}
@media (prefers-color-scheme: dark) {
  html[data-theme="gitea-auto"] a.ui.primary.button,
  html.theme-gitea-auto a.ui.primary.button { background: #ff5500; color: #1a0a00; }
}
.page-content a:not(.ui.button):not(.item):not(.label) { color: var(--color-primary); }
.repository.list > .item,
.ui.repository.list > .item { background: var(--color-box-body); border-color: var(--color-light-border); }
.selfish-home { min-height: calc(100vh - 140px); display: flex; align-items: center; justify-content: center; }
.selfish-home-wrap { text-align: center; padding: 3rem 1.25rem 4rem; }
.selfish-home .logo { width: 112px; height: 112px; max-width: 112px; border-radius: 50%; }
.selfish-home h1 { font-family: "Space Grotesk", system-ui, sans-serif; font-size: 2.6rem; margin: 0.85rem 0 0.2rem; letter-spacing: -0.03em; }
.selfish-tag { color: var(--color-text-light-2); font-size: 1.15rem; margin: 0 0 1.3rem; }
.selfish-home-actions { display: flex; gap: 0.65rem; justify-content: center; flex-wrap: wrap; }
.selfish-home-actions .ui.button { margin: 0; }
