.top-bar {
  z-index: 30;
}

.main-wrap {
  position: relative;
  z-index: 10;
}

.card {
  backdrop-filter: blur(12px);
  background: rgba(10, 10, 10, 0.08);
  border: 1px solid rgba(232, 93, 38, 0.25);
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(232, 93, 38, 0.06);
  max-width: 980px;
  padding: 1.2rem;
  width: 100%;
}

.card h1 {
  color: var(--fg);
  margin-bottom: 0.9rem;
}

.subtle {
  color: var(--mu);
}

.main-wrap {
  align-items: flex-start;
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 1.4rem 1.6rem 2rem;
}

.menu-row {
  align-items: center;
  display: flex;
  gap: 0.6rem;
}

.menu {
  align-self: center;
  position: relative;
}

.menu-btn,
.avatar-btn {
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(21, 21, 21, 0.85);
  border: 1px solid rgba(232, 93, 38, 0.35);
  color: var(--fg);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 0.86rem;
  height: 34px;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0 0.7rem;
  vertical-align: middle;
}

.avatar-btn {
  background: rgba(232, 93, 38, 0.15);
  border-radius: 0;
  height: 34px;
  min-width: 34px;
  padding: 0;
}

.menu-btn {
  border-radius: 0;
}

.menu-avatar {
  border-radius: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.menu-avatar-fallback {
  align-items: center;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.menu-pop {
  background: #0a0a0a;
  border: 1px solid rgba(232, 93, 38, 0.4);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  display: none;
  min-width: 230px;
  padding: 0.65rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  z-index: 100;
}

.menu-pop.open {
  display: block;
}

.menu-pop a {
  color: var(--fg);
  display: block;
  padding: 0.45rem 0.5rem;
  text-decoration: none;
}

.menu-pop a:hover {
  background: rgba(232, 93, 38, 0.15);
  border-radius: 5px;
}

.narrow {
  max-width: 430px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.compact {
  gap: 0.45rem;
}

.form label {
  color: var(--mu);
  display: flex;
  flex-direction: column;
  font-size: 0.86rem;
  gap: 0.2rem;
}

.form input {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--fg);
  font-family: inherit;
  padding: 0.5rem;
}

.form select {
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  color: var(--fg);
  font-family: inherit;
  padding: 0.5rem;
}

.error {
  color: var(--a);
  margin-bottom: 0.5rem;
}

.grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.stream-col {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  max-height: calc(100vh - 120px);
  overflow: auto;
  padding: 0.8rem;
  position: sticky;
  top: 62px;
  width: 320px;
}

.stream-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.stream-item {
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  padding: 0.4rem 0.5rem;
}

.stream-item strong {
  font-size: 0.82rem;
}

.stream-item p {
  font-size: 0.72rem;
  margin: 0.15rem 0 0;
}

.repo-link-wrap {
  color: inherit;
  display: block;
  text-decoration: none;
}

.repo-actions {
  margin-top: 0.6rem;
}

.tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.9rem;
}

.tab {
  align-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(232, 93, 38, 0.3);
  border-radius: 999px;
  color: var(--a);
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  text-decoration: none;
}

.tab svg {
  flex-shrink: 0;
  opacity: 0.7;
}

.inline-form {
  margin: 0;
}

.small {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
}

.repo-link-wrap .repo:hover {
  border-color: rgba(232, 93, 38, 0.35);
  box-shadow: 0 0 20px rgba(232, 93, 38, 0.15);
}

.repo {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 0.6rem;
}

.repo h3 {
  margin-bottom: 0.2rem;
}

.repo .subtle {
  font-size: 0.75rem;
  margin: 0.1rem 0;
}

.user-groups,
.group-repos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0.3rem 0;
  min-height: 1.5rem;
}

.repo .form.compact:last-of-type,
.repo .form.compact:nth-last-child(2) {
  margin-top: auto;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mono {
  color: #c5c5c5;
  font-size: 0.84rem;
  margin-top: 0.55rem;
  word-break: break-all;
}

.tree {
  list-style: none;
  margin-top: 0.8rem;
  padding-left: 0;
}

.tree li {
  margin-bottom: 0.35rem;
}

.tree a {
  color: var(--a);
  text-decoration: none;
}

.tree a:hover {
  color: var(--a);
}

.file-meta {
  color: var(--mu);
  font-size: 0.78rem;
  margin-left: 0.5rem;
}

.readme {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.readme h3,
.readme h4,
.readme h5 {
  color: var(--fg);
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}

.readme p {
  margin-bottom: 0.5rem;
  max-width: none;
}

.readme ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
}

.readme li {
  margin-bottom: 0.2rem;
}

.readme code {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  font-size: 0.85em;
  padding: 0.15em 0.35em;
}

.readme-code {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #e8e8e8;
  font-size: 0.84rem;
  margin: 0.6rem 0;
  overflow: auto;
  padding: 0.8rem;
  white-space: pre;
}

.url-copy-row {
  align-items: center;
  display: flex;
  gap: 0.4rem;
}

.url-copy-row code {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  flex: 1;
  font-size: 0.78rem;
  overflow: hidden;
  padding: 0.3rem 0.5rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.repo-init {
  margin-top: 1rem;
}

.repo-init-step {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
}

.repo-init-step h3 {
  color: var(--fg);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.repo-init-code {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  color: #e8e8e8;
  font-size: 0.82rem;
  line-height: 1.7;
  overflow: auto;
  padding: 0.8rem;
  white-space: pre;
}

a,
a:visited {
  color: var(--a);
}

.b,
.b:visited {
  color: #121212;
}

.b {
  border: none;
  font-size: 0.84rem;
  padding: 0.5rem 0.95rem;
}

.alt-btn,
.alt-btn:visited {
  color: var(--fg);
}

.alt-btn {
  border: 1px solid rgba(232, 93, 38, 0.5);
}

.repo-urls code,
.file-view {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.repo-urls code {
  display: inline-block;
  margin-top: 0.2rem;
  padding: 0.2rem 0.4rem;
}

.file-view {
  color: #e8e8e8;
  margin-top: 0.7rem;
  max-height: 60vh;
  overflow: auto;
  padding: 0.8rem;
  white-space: pre-wrap;
}

.file-view-header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.file-view-header h2 {
  margin-bottom: 0;
}

.file-view-header .b.small {
  align-self: flex-start;
  margin-top: 0.3rem;
}

.hl-kw {
  color: #e85d26;
  font-weight: 600;
}

.hl-str {
  color: #a8d85a;
}

.hl-cmt {
  color: rgba(240, 240, 240, 0.35);
  font-style: italic;
}

.hl-num {
  color: #6fb3d2;
}

.hl-type {
  color: #d4a85c;
  font-weight: 500;
}

.hl-op {
  color: #c678dd;
}

.admin-links {
  margin-bottom: 0.9rem;
}

.alt-btn {
  background: transparent;
  color: var(--fg);
}

.check {
  align-items: center;
  flex-direction: row !important;
  gap: 0.5rem !important;
}

.settings-section {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  margin-top: 1rem;
  padding: 1rem;
}

.settings-section h3 {
  margin-top: 0;
  margin-bottom: 0.7rem;
}

.settings-section h4 {
  margin-top: 0.8rem;
  margin-bottom: 0.4rem;
}

.settings-sub {
  color: var(--fg);
  font-size: 0.95rem;
}

.danger-zone {
  border-color: rgba(168, 56, 26, 0.3);
}

.danger-zone h3 {
  color: var(--a);
}

.danger-zone .form {
  margin-top: 0.6rem;
  padding-top: 0.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.danger-zone .form:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.page-head {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  justify-content: space-between;
  margin-bottom: 0.9rem;
}

.page-head h1 {
  margin-bottom: 0;
}

.repo-branch {
  color: var(--mu);
  font-size: 0.75rem;
  font-weight: 400;
  margin-left: 0.6rem;
  opacity: 0.6;
}

.page-actions {
  display: flex;
  gap: 0.5rem;
}

.branch-pop {
  min-width: 160px;
  padding: 0.4rem 0;
}

.branch-pop a {
  color: var(--fg);
  display: block;
  padding: 0.4rem 0.65rem;
  text-decoration: none;
}

.branch-pop a:hover {
  background: rgba(232, 93, 38, 0.15);
}

.file-table {
  border-collapse: collapse;
  margin-top: 0.8rem;
  table-layout: fixed;
  width: 100%;
}

.file-table thead th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mu);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.5rem 0.6rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.file-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.file-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.file-table td {
  font-size: 0.85rem;
  padding: 0.45rem 0.6rem;
  vertical-align: middle;
}

.file-icon-col {
  width: 32px;
  text-align: center;
}

.file-icon {
  text-align: center;
  color: var(--mu);
}

.file-icon svg {
  display: inline-block;
  vertical-align: middle;
}

.file-name a {
  color: var(--a);
  text-decoration: none;
}

.file-name a:hover {
  text-decoration: underline;
}

.file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-msg {
  color: var(--mu);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-hash {
  color: var(--mu);
  font-family: "SF Mono", "Fira Code", "Fira Mono", "Roboto Mono", "Menlo", "Monaco", monospace;
  font-size: 0.78rem;
}

.file-hash a {
  color: var(--mu);
  text-decoration: none;
}

.file-hash a:hover {
  color: var(--a);
  text-decoration: underline;
}

.file-author {
  color: var(--mu);
  font-size: 0.8rem;
}

.file-date {
  color: var(--mu);
  font-size: 0.8rem;
  white-space: nowrap;
}

.breadcrumb-row td {
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.6rem;
}

.breadcrumb-row a {
  color: var(--a);
  text-decoration: none;
}

.breadcrumb-row a:hover {
  text-decoration: underline;
}

.protected-branches {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
}

.protected-branches li {
  align-items: center;
  backdrop-filter: blur(6px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.3rem;
  padding: 0.4rem 0.6rem;
}

.branch-name {
  font-family: monospace;
  font-size: 0.85rem;
}

.user-perm-table {
  border-collapse: collapse;
  margin: 0.5rem 0;
  width: 100%;
}

.user-perm-table thead th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mu);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.user-perm-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.user-perm-table td {
  font-size: 0.85rem;
  padding: 0.4rem 0.6rem;
  vertical-align: middle;
}

.danger {
  background: #a8381a;
  color: #fff;
}

.danger:hover {
  box-shadow: 0 8px 30px rgba(168, 56, 26, 0.4);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

button,
input {
  outline: none;
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(232, 93, 38, 0.8);
  outline-offset: 1px;
}

.profile-avatar {
  border: 1px solid rgba(232, 93, 38, 0.35);
  border-radius: 0;
  height: 72px;
  margin-bottom: 0.8rem;
  object-fit: cover;
  width: 72px;
}

.profile-avatar.fallback {
  align-items: center;
  background: rgba(232, 93, 38, 0.2);
  color: var(--fg);
  display: inline-flex;
  font-size: 1.4rem;
  font-weight: 700;
  justify-content: center;
}

@media (max-width: 700px) {
  .stream-col {
    position: static;
    width: 100%;
  }

  .main-wrap {
    flex-direction: column;
    padding: 1rem;
  }

  .menu-pop {
    right: -0.25rem;
  }
}

.repo-logo {
  border-radius: 4px;
  height: 24px;
  margin-right: 0.5rem;
  object-fit: contain;
  vertical-align: middle;
  width: 24px;
}

.repo-logo-preview {
  border-radius: 4px;
  height: 48px;
  margin-bottom: 0.5rem;
  object-fit: contain;
  width: 48px;
}

.file-avatar {
  padding: 0.2rem 0.4rem !important;
  text-align: center;
  width: 36px;
}

.file-avatar img {
  border-radius: 4px;
  height: 22px;
  object-fit: cover;
  width: 22px;
}

.avatar-fallback {
  align-items: center;
  background: rgba(232, 93, 38, 0.15);
  border-radius: 4px;
  color: var(--fg);
  display: inline-flex;
  font-size: 0.65rem;
  font-weight: 700;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.file-author a {
  color: var(--mu);
  text-decoration: none;
}

.file-author a:hover {
  color: var(--a);
  text-decoration: underline;
}

.server-stats {
  margin-top: 1.2rem;
}

.server-stats h3 {
  color: var(--fg);
  font-size: 1rem;
  margin-bottom: 0.8rem;
}

.stats-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}

.stat-card {
  backdrop-filter: blur(8px);
  background: rgba(0, 0, 0, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 0.7rem;
  text-align: center;
}

.stat-card-wide {
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.stat-card-wide .stat-label {
  margin-top: 0;
}

.stat-value-url {
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
}

.stat-value {
  color: var(--a);
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-label {
  color: var(--mu);
  font-size: 0.72rem;
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.event-branch {
  background: rgba(232, 93, 38, 0.15);
  border-radius: 3px;
  color: var(--a);
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.1rem 0.35rem;
}

.event-msg {
  color: var(--mu);
  font-size: 0.75rem;
  margin: 0.2rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stream-commit-msg {
  color: var(--mu);
  font-size: 0.72rem;
  margin: 0.15rem 0 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-groups,
.group-repos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin: 0.4rem 0;
}

.group-tag {
  align-items: center;
  background: rgba(232, 93, 38, 0.12);
  border: 1px solid rgba(232, 93, 38, 0.25);
  border-radius: 4px;
  color: var(--a);
  display: inline-flex;
  font-size: 0.75rem;
  gap: 0.2rem;
  padding: 0.15rem 0.4rem;
}

.remove-group-btn {
  align-items: center;
  background: none;
  border: none;
  color: var(--a);
  cursor: pointer;
  display: inline-flex;
  font-size: 0.85rem;
  justify-content: center;
  line-height: 1;
  opacity: 0.6;
  padding: 0;
}

.remove-group-btn:hover {
  opacity: 1;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 0.8rem;
}

.history-item {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.history-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.history-graph {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.2rem;
}

.history-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--a);
  border: 2px solid rgba(232, 93, 38, 0.5);
  flex-shrink: 0;
}

.history-line {
  width: 2px;
  flex: 1;
  background: rgba(232, 93, 38, 0.2);
  min-height: 1.5rem;
}

.history-item:last-child .history-line {
  display: none;
}

.history-details {
  flex: 1;
  min-width: 0;
}

.history-hash {
  color: var(--a);
  font-family: monospace;
  font-size: 0.78rem;
  text-decoration: none;
}

.history-hash:hover {
  text-decoration: underline;
}

.history-subject {
  color: var(--fg);
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.history-meta {
  color: var(--mu);
  font-size: 0.72rem;
  margin: 0.2rem 0 0;
}

.history-meta a {
  color: var(--mu);
  text-decoration: none;
}

.history-meta a:hover {
  color: var(--a);
}

.commit-view {
  margin-top: 0.8rem;
}

.commit-header {
  margin-bottom: 1rem;
}

.commit-header h2 {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.commit-full-hash {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  color: var(--mu);
  display: inline-block;
  font-family: monospace;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
}

.commit-meta {
  color: var(--mu);
  font-size: 0.8rem;
  margin: 0.5rem 0 0.2rem;
}

.commit-meta a {
  color: var(--mu);
  text-decoration: none;
}

.commit-meta a:hover {
  color: var(--a);
}

.commit-stats {
  color: var(--mu);
  font-size: 0.75rem;
  margin: 0.3rem 0;
}

.commit-body {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: var(--mu);
  font-size: 0.82rem;
  margin: 0.5rem 0 1rem;
  padding: 0.6rem;
  white-space: pre-wrap;
}

.commit-diff {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  color: #e8e8e8;
  font-size: 0.78rem;
  line-height: 1.5;
  max-height: 70vh;
  overflow: auto;
  padding: 0.8rem;
  white-space: pre;
}

.log-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.82rem;
}

.log-table thead th {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--mu);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.4rem 0.5rem;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.log-table td {
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
}

.log-ts {
  color: var(--mu);
  font-family: monospace;
  font-size: 0.75rem;
  white-space: nowrap;
  width: 1%;
}

.log-level {
  font-weight: 600;
  font-size: 0.75rem;
  width: 1%;
  white-space: nowrap;
  text-transform: uppercase;
}

.log-source {
  color: var(--mu);
  font-size: 0.78rem;
  width: 1%;
  white-space: nowrap;
}

.log-msg {
  color: var(--fg);
  word-break: break-word;
}

.log-error td {
  color: var(--a);
}

.log-warn td {
  color: #e8a826;
}

.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.log-filters label {
  flex: 1;
  min-width: 140px;
}

@keyframes repo-flash {
  0% { border-color: rgba(232, 93, 38, 0.8); box-shadow: 0 0 30px rgba(232, 93, 38, 0.4); background: rgba(232, 93, 38, 0.12); }
  100% { border-color: rgba(255, 255, 255, 0.07); box-shadow: none; background: rgba(0, 0, 0, 0.07); }
}

.recent-grid {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  margin-bottom: 1.2rem;
}

.main-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  max-width: 980px;
  min-width: 0;
  gap: 1rem;
}

.repo-new {
  animation: repo-flash 2s ease-out forwards;
}

.commit-link {
  color: var(--a);
  font-family: monospace;
  font-size: 0.8rem;
  text-decoration: none;
  margin-left: 0.3rem;
}

.commit-link:hover {
  text-decoration: underline;
}

.recent-grid {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.recent-repo {
  padding: 0.5rem;
}

.profile-activity {
  max-height: 400px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
