:root {
    --bg-canvas: #0d1117;
    --border-default: #30363d;
    --border-hover: #444c56;
    --text-primary: #e6edf3;
    --text-secondary: #9198a1;
    --accent-blue: #2f81f7;
    --link-hover: #4493f8;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-canvas);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    padding: 40px 20px;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

.header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-secondary);
    font-size: 14px;
    width: 100%;
}

.header-meta svg {
    flex-shrink: 0;
}

.header-meta a {
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
}

.header-meta a:hover {
    color: var(--accent-blue);
    text-decoration: underline;
}

.main-content {
    width: 100%;
}

.repo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px;
    width: 100%;
}

.repo-card {
    background-color: var(--bg-canvas);
    border: 1px solid var(--border-default);
    border-radius: 6px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease;
}

.repo-card:hover {
    border-color: var(--border-hover);
}

.repo-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.repo-icon {
    fill: var(--text-secondary);
    flex-shrink: 0;
}

.repo-title {
    color: var(--accent-blue);
    font-weight: 600;
    font-size: 14px;
}

.repo-card:hover .repo-title {
    color: var(--link-hover);
    text-decoration: underline;
}

.repo-badge {
    border: 1px solid var(--border-default);
    border-radius: 2em;
    color: var(--text-secondary);
    display: inline-block;
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    padding: 0 7px;
}

.repo-desc {
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 16px;
    word-break: break-word;
}

.repo-footer {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-secondary);
}

.lang-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
}

@media (max-width: 992px) {
    .repo-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .repo-grid {
        grid-template-columns: 1fr !important;
    }
}