@import url('/assets/css/theme-forgejo-dark.css');

/* Mirror Vault: retain Forgejo's syntax and diff colors, restyle the chrome. */
:root {
  --steel-900: #080c17; --steel-850: #0c1120; --steel-800: #101626;
  --steel-750: #151e32; --steel-700: #1b2840; --steel-650: #24324c;
  --steel-600: #30415e; --steel-550: #3d5172; --steel-500: #526687;
  --steel-450: #667d9b; --steel-400: #7c91ad; --steel-350: #8fa4bf;
  --steel-300: #a1b3ca; --steel-250: #b2c0d5; --steel-200: #c1cde0;
  --steel-150: #d0dbee; --steel-100: #e0e9f7;
  --color-primary: #67e8dd; --color-primary-contrast: #082025;
  --color-primary-dark-1: #86eee4; --color-primary-dark-2: #9bf3ec;
  --color-primary-dark-3: #aff8f1; --color-primary-dark-4: #c4faf6;
  --color-primary-dark-5: #d5fcf9; --color-primary-dark-6: #e3fefb;
  --color-primary-dark-7: #f0fffd;
  --color-primary-light-1: #42d4ca; --color-primary-light-2: #22b8b1;
  --color-primary-light-3: #188d8c; --color-primary-light-4: #126d70;
  --color-primary-light-5: #12555d; --color-primary-light-6: #123e4b;
  --color-primary-light-7: #102f3c;
  --color-primary-alpha-10: #67e8dd19; --color-primary-alpha-20: #67e8dd33;
  --color-primary-alpha-30: #67e8dd4b; --color-primary-alpha-40: #67e8dd66;
  --color-primary-alpha-50: #67e8dd80; --color-primary-alpha-60: #67e8dd99;
  --color-primary-alpha-70: #67e8ddb3; --color-primary-alpha-80: #67e8ddcc;
  --color-primary-alpha-90: #67e8dde1;
  --color-nav-bg: #0a1020; --color-nav-hover-bg: #202e49;
  --color-input-background: #111b2d; --color-input-border: #344867;
  --color-accent: #67e8dd; --color-small-accent: #8c7de1;
  --color-body: #101626; --color-code-bg: #111a2a;
  --color-text: #dce6f5; --color-text-light-2: #adc0d8;
  --color-shadow: #00000040;
}
body { background-image: radial-gradient(ellipse at 90% 0, #7562ca13, transparent 45%); }
#navbar { border-top: 3px solid #67e8dd; box-shadow: 0 1px 0 #859add22, 0 6px 26px #0003; }
#navbar .item img { filter: drop-shadow(0 0 8px #67e8dd28); }
.vault-nav { font-size: 11px !important; font-weight: 750 !important; letter-spacing: .14em; color: #b8a8f4 !important; }
.repository .header-wrapper { background: linear-gradient(110deg, #101b30, #171b35); }
.ui.primary.button { box-shadow: 0 3px 14px #42d4ca18; }
.ui.segment, .ui.attached.table { border-color: #30415e; }
a:focus-visible, button:focus-visible { outline: 2px solid #b6a3f5; outline-offset: 3px; }

.vault-home { max-width: 1120px; margin: 0 auto; padding: 72px 28px 64px; }
.vault-hero { display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: 48px; padding: 40px 0 60px; }
.vault-eyebrow { color: #8fddda; font-size: 12px; font-weight: 650; letter-spacing: .22em; text-transform: uppercase; }
.vault-hero h1 { font-size: clamp(40px, 6vw, 68px); line-height: 1.1; letter-spacing: -.045em; margin: 20px 0; color: #eef5ff; }
.vault-hero h1 span { color: #81e9df; }
.vault-lead { color: #b1bfd4; font-size: 18px; line-height: 1.75; max-width: 610px; }
.vault-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.vault-art { width: 220px; height: 220px; filter: drop-shadow(0 0 44px #6955ca35); }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #34425c; gap: 36px; padding-top: 32px; }
.vault-grid h2 { font-size: 16px; color: #dce7f5; }
.vault-grid p { color: #a7b6cb; line-height: 1.75; }
.vault-number { color: #a89ae5; font-family: monospace; font-size: 12px; letter-spacing: .08em; }
.upstream-status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 5px 0 9px; font-size: 12px; line-height: 1.5; }
.upstream-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid #36786f; border-radius: 5px; background: #153c3b; color: #a4f0df; font-weight: 650; white-space: nowrap; }
.upstream-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.upstream-badge[data-state='unavailable'] { color: #ffc3bd; border-color: #944e5b; background: #422637; }
.upstream-badge[data-state='pending'], .upstream-badge[data-state='error'] { color: #f9d99e; border-color: #826849; background: #3b3026; }
.upstream-checked { color: #a7b6cb; font-weight: 400; }
.upstream-reason { color: #b5c4d8; }
@media (max-width: 700px) {
  .vault-home { padding: 30px 22px; }
  .vault-hero { grid-template-columns: 1fr; gap: 18px; padding: 20px 0 40px; }
  .vault-art { grid-row: 1; width: 90px; height: 90px; }
  .vault-grid { grid-template-columns: 1fr; gap: 20px; }
}
