#app[v-cloak] { display: none !important; }

.truncate-tooltip {
    display: none;
}
.truncate-tooltip.show {
    display: block;
}
.truncate-repo {
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}
.truncate-repo.is-truncated .full-name { display: none; }
.truncate-repo.is-truncated .short-name { display: inline; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.truncate-repo::after {
    content: attr(data-full-text);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 100%;
    margin-top: 8px;
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    font-size: 12px;
    border-radius: 4px;
    white-space: nowrap;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    pointer-events: none;
}
.truncate-repo:hover::after {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.5s;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #1e293b !important;
    transition: background-color 5000s ease-in-out 0s;
}

.dark input:-webkit-autofill,
.dark input:-webkit-autofill:hover,
.dark input:-webkit-autofill:focus,
.dark input:-webkit-autofill:active {
    -webkit-text-fill-color: #e2e8f0 !important;
}

::-webkit-validation-bubble {
    background-color: #fef3c7;
    border: 1px solid #f59e0b;
    color: #78350f;
}

.dark ::-webkit-validation-bubble {
    background-color: #1f2937;
    border: 1px solid #374151;
    color: #e5e7eb;
}

input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    border: 2px solid #cbd5e1;
    background-color: white;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}

input[type="radio"]:checked {
    border-color: #f59e0b;
    background-color: white;
}

input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
    background-color: #f59e0b;
}

input[type="radio"]:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3);
}

.dark input[type="radio"] {
    border-color: #475569;
    background-color: #1e293b;
}

.dark input[type="radio"]:checked {
    border-color: #f59e0b;
    background-color: #1e293b;
}

.dark input[type="radio"]:focus {
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.4);
}

.pill-radio {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.repo-card {
    transition: all 0.2s ease;
}
.repo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.dark .repo-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.drag-handle {
    cursor: grab;
}
.drag-handle:active {
    cursor: grabbing;
}

.sortable-ghost {
    opacity: 0.4;
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
    background-color: #e0e7ff;
    color: #3730a3;
    transition: all 0.15s;
}
.dark .tag-badge {
    background-color: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
}
.tag-badge:hover {
    background-color: #c7d2fe;
}
.dark .tag-badge:hover {
    background-color: rgba(99, 102, 241, 0.3);
}

.skeleton {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}
.dark .skeleton {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.version-content-wrapper {
    position: relative;
    transition: opacity 0.2s ease;
}

.modal-overlay {
    animation: fadeIn 0.2s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.md-content h1 { font-size: 1.5em; font-weight: 700; margin: 0.8em 0 0.4em; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.3em; }
.md-content h2 { font-size: 1.3em; font-weight: 700; margin: 0.8em 0 0.4em; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.3em; }
.md-content h3 { font-size: 1.15em; font-weight: 600; margin: 0.6em 0 0.3em; }
.md-content h4 { font-size: 1em; font-weight: 600; margin: 0.5em 0 0.3em; }
.md-content p { margin: 0.5em 0; line-height: 1.6; }
.md-content ul, .md-content ol { padding-left: 1.5em; margin: 0.5em 0; }
.md-content li { margin: 0.25em 0; }
.md-content code { background: #f1f5f9; padding: 0.15em 0.4em; border-radius: 3px; font-size: 0.9em; }
.dark .md-content code { background: #1e293b; }
.md-content pre { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 6px; padding: 1em; overflow-x: auto; margin: 0.5em 0; }
.dark .md-content pre { background: #0f172a; border-color: #334155; }
.md-content pre code { background: transparent; padding: 0; font-size: 0.85em; }
.md-content blockquote { border-left: 3px solid #6366f1; padding-left: 1em; margin: 0.5em 0; color: #64748b; }
.dark .md-content blockquote { color: #94a3b8; }
.md-content a { color: #6366f1; text-decoration: underline; }
.md-content a:hover { color: #4f46e5; }
.md-content img { max-width: 100%; border-radius: 6px; margin: 0.5em 0; }
.md-content table { border-collapse: collapse; width: 100%; margin: 0.5em 0; }
.md-content th, .md-content td { border: 1px solid #e2e8f0; padding: 0.5em 0.75em; text-align: left; }
.dark .md-content th, .dark .md-content td { border-color: #334155; }
.md-content th { background: #f8fafc; font-weight: 600; }
.dark .md-content th { background: #1e293b; }
.md-content hr { border: none; border-top: 1px solid #e2e8f0; margin: 1em 0; }
.dark .md-content hr { border-color: #334155; }
.md-content input[type="checkbox"].md-task-checkbox {
    margin-right: 0.5em;
    accent-color: #6366f1;
}
.md-table-wrap { overflow-x: auto; margin: 0.5em 0; }

.collapsible-header {
    cursor: pointer;
    user-select: none;
}
.collapsible-header:hover {
    background-color: rgba(99, 102, 241, 0.05);
}
.dark .collapsible-header:hover {
    background-color: rgba(99, 102, 241, 0.1);
}

.masonry-container {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.masonry-column {
    flex: 1;
    min-width: 0;
}
.masonry-item {
    margin-bottom: 1.5rem;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
}
.masonry-1 .masonry-column { max-width: 100%; }
.masonry-2 .masonry-column { max-width: 100%; }
.masonry-3 .masonry-column { max-width: 100%; }
@media (min-width: 768px) {
    .masonry-2 .masonry-column { max-width: 50%; }
    .masonry-3 .masonry-column { max-width: 50%; }
}
@media (min-width: 1024px) {
    .masonry-3 .masonry-column { max-width: 33.333%; }
}

.markdown-body { word-wrap: break-word; overflow-wrap: anywhere; overflow-x: hidden; max-width: 100%; width: 100%; }
.markdown-body div { max-width: 100%; overflow-x: hidden; }
.markdown-body h1 { font-size: 1.5em !important; font-weight: 700 !important; margin: 0.6em 0 0.4em !important; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.3em; }
.markdown-body h2 { font-size: 1.3em !important; font-weight: 600 !important; margin: 0.6em 0 0.4em !important; border-bottom: 1px solid #e2e8f0; padding-bottom: 0.3em; }
.markdown-body h3 { font-size: 1.15em !important; font-weight: 600 !important; margin: 0.5em 0 0.3em !important; }
.markdown-body h4 { font-size: 1em !important; font-weight: 600 !important; margin: 0.5em 0 0.3em !important; }
.markdown-body h5 { font-size: 0.9em !important; font-weight: 600 !important; margin: 0.4em 0 0.2em !important; }
.markdown-body h6 { font-size: 0.9em !important; font-weight: 600 !important; margin: 0.4em 0 0.2em !important; color: #64748b; }
.markdown-body p { margin: 0.4em 0 !important; overflow-wrap: anywhere; }
.markdown-body strong { font-weight: 700 !important; }
.markdown-body em { font-style: italic !important; }
.markdown-body del, .markdown-body s { text-decoration: line-through !important; color: #94a3b8; }
.markdown-body ul, .markdown-body ol { list-style: none !important; padding: 0 !important; margin: 0.4em 0 !important; }
.markdown-body ul { list-style-type: disc !important; padding-left: 1.8em !important; }
.markdown-body ul ul { list-style-type: circle !important; }
.markdown-body ul ul ul { list-style-type: square !important; }
.markdown-body ol { list-style-type: decimal !important; padding-left: 1.8em !important; }
.markdown-body ol ol { list-style-type: lower-alpha !important; }
.markdown-body ol ol ol { list-style-type: lower-roman !important; }
.markdown-body li { margin: 0.2em 0; display: list-item !important; overflow-wrap: anywhere; }
.markdown-body li > ul, .markdown-body li > ol { margin: 0.1em 0 !important; }
.markdown-body .md-task-checkbox { margin-right: 0.4em; vertical-align: middle; accent-color: #6366f1; transform: scale(0.9); pointer-events: none; }
.markdown-body li:has(.md-task-checkbox) { list-style: none !important; margin-left: -1.2em; }
.markdown-body dl { margin: 0.5em 0 !important; }
.markdown-body dt { font-weight: 600; margin-top: 0.4em; }
.markdown-body dd { margin-left: 1.5em !important; margin-top: 0.15em; color: #64748b; }
.markdown-body code { background: rgba(135,131,120,0.15); border-radius: 3px; padding: 0.15em 0.4em; font-size: 0.88em; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; word-break: break-word; }
.markdown-body pre { background: #1e293b; color: #e2e8f0; border-radius: 6px; padding: 0.75em 1em; overflow-x: auto; margin: 0.5em 0 !important; line-height: 1.5; max-width: 100%; }
.markdown-body pre code { background: transparent; padding: 0; font-size: 0.85em; color: inherit; border-radius: 0; word-break: normal; white-space: pre; }
.markdown-body blockquote { border-left: 3px solid #6366f1; padding-left: 0.75em; margin: 0.5em 0 !important; color: #64748b; overflow-wrap: anywhere; }
.markdown-body blockquote blockquote { border-left-color: #a5b4fc; margin: 0.3em 0 !important; }
.markdown-body blockquote blockquote blockquote { border-left-color: #c7d2fe; }
.markdown-body a { color: #6366f1 !important; text-decoration: underline !important; text-decoration-color: rgba(99,102,241,0.3); text-underline-offset: 2px; overflow-wrap: anywhere; }
.markdown-body a:hover { color: #4f46e5 !important; text-decoration-color: currentColor !important; }
.markdown-body .md-table-wrap { display: block; overflow-x: auto; margin: 0.5em 0; width: 100%; max-width: 100%; }
.markdown-body table { border-collapse: collapse; margin: 0; width: 100%; display: block; overflow-x: auto; max-width: 100%; }
.markdown-body th, .markdown-body td { border: 1px solid #e2e8f0; border-style: solid !important; border-width: 1px !important; padding: 0.4em 0.7em; }
.markdown-body th { background: #f1f5f9; font-weight: 600; }
.markdown-body tr:nth-child(even) { background: rgba(241,245,249,0.5); }
.markdown-body hr { border: none; border-top: 1px solid #e2e8f0; margin: 0.8em 0 !important; height: auto !important; }
.markdown-body img { max-width: 100%; border-radius: 4px; margin: 0.3em 0; display: inline !important; vertical-align: middle; }
.markdown-body img:not([height]) { height: auto; max-height: 600px; }
.markdown-body img[height] { max-height: 600px !important; }
.markdown-body p:has(> a:only-child > img:only-child),
.markdown-body p:has(> img:only-child) { display: inline; margin: 0 !important; }
.markdown-body div[align="center"] { text-align: center !important; }
.markdown-body div[align="center"] img { display: inline !important; }
.markdown-body p:has(> a > img) + p:has(> a > img),
.markdown-body p:has(> img) + p:has(> img) { display: inline; margin: 0 !important; }
.markdown-body p:has(> a > img):not(:has(> :not(a):not(br))) { display: flex !important; flex-wrap: wrap; gap: 4px; justify-content: center; align-items: flex-start; margin: 0.3em 0 !important; }
.markdown-body p:has(> a > img):not(:has(> :not(a):not(br))) br { display: none; }
.markdown-body p:has(> a > img):not(:has(> :not(a):not(br))) a { display: inline-flex; align-items: flex-start; }
.markdown-body p[align="center"]:has(> img),
.markdown-body p[align="center"]:has(> a > img) { display: block !important; text-align: center !important; margin: 0.3em 0 !important; }
.markdown-body p[align="center"] a { display: inline-block !important; }
.markdown-body p[align="center"] br { display: none; }
.markdown-body figure { margin: 0.5em 0 !important; text-align: center; }
.markdown-body figcaption { font-size: 0.85em; color: #94a3b8; margin-top: 0.3em; }
.markdown-body kbd { display: inline-block; padding: 0.1em 0.45em; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 0.85em; color: #334155; background: #f1f5f9; border: 1px solid #cbd5e1; border-bottom-width: 2px; border-radius: 4px; box-shadow: 0 1px 0 #94a3b8; vertical-align: baseline; }
.markdown-body mark { background: rgba(250, 204, 21, 0.35); color: inherit; padding: 0.1em 0.25em; border-radius: 2px; }
.markdown-body abbr[title] { text-decoration: underline dotted !important; cursor: help; }
.markdown-body sup { font-size: 0.75em; vertical-align: super; line-height: 0; position: static !important; }
.markdown-body sub { font-size: 0.75em; vertical-align: sub; line-height: 0; position: static !important; }
.markdown-body details { margin: 0.5em 0; border: 1px solid #e2e8f0; border-radius: 6px; overflow: hidden; }
.markdown-body summary { padding: 0.5em 0.75em; cursor: pointer; font-weight: 500; background: #f8fafc; user-select: none; list-style: none !important; display: flex !important; align-items: center; gap: 0.4em; }
.markdown-body summary::-webkit-details-marker { display: none; }
.markdown-body summary::before { content: '▸'; display: inline-block; transition: transform 0.15s ease; font-size: 0.8em; }
.markdown-body details[open] > summary::before { transform: rotate(90deg); }
.markdown-body details[open] > summary { border-bottom: 1px solid #e2e8f0; }
.markdown-body details > :not(summary) { padding: 0.5em 0.75em; }
.markdown-body ruby rt { font-size: 0.7em; color: #94a3b8; }
.markdown-body iframe { max-width: 100%; border-radius: 6px; border: none; margin: 0.4em 0; display: inline !important; }
.markdown-body video { max-width: 100%; border-radius: 6px; margin: 0.4em 0; }
.markdown-body audio { max-width: 100%; margin: 0.4em 0; display: inline !important; }
.markdown-body .footnotes { font-size: 0.85em; color: #64748b; border-top: 1px solid #e2e8f0; margin-top: 1em; padding-top: 0.5em; }
.markdown-body .footnotes ol { padding-left: 1.5em !important; list-style-type: decimal !important; }
.markdown-body sup > a { color: #6366f1 !important; text-decoration: none !important; font-weight: 600; }
.dark .markdown-body h1, .dark .markdown-body h2 { border-bottom-color: #334155; }
.dark .markdown-body h6 { color: #94a3b8; }
.dark .markdown-body del, .dark .markdown-body s { color: #64748b; }
.dark .markdown-body th { background: #1e293b; }
.dark .markdown-body th, .dark .markdown-body td { border-color: #334155; }
.dark .markdown-body tr:nth-child(even) { background: rgba(30,41,59,0.5); }
.dark .markdown-body hr { border-top-color: #334155; }
.dark .markdown-body blockquote { color: #94a3b8; border-left-color: #818cf8; }
.dark .markdown-body blockquote blockquote { border-left-color: #6366f1; }
.dark .markdown-body blockquote blockquote blockquote { border-left-color: #4f46e5; }
.dark .markdown-body a { color: #818cf8 !important; text-decoration-color: rgba(129,140,248,0.3); }
.dark .markdown-body a:hover { color: #a5b4fc !important; text-decoration-color: currentColor !important; }
.dark .markdown-body dd { color: #94a3b8; }
.dark .markdown-body kbd { color: #e2e8f0; background: #334155; border-color: #475569; box-shadow: 0 1px 0 #1e293b; }
.dark .markdown-body mark { background: rgba(250, 204, 21, 0.25); }
.dark .markdown-body details { border-color: #334155; }
.dark .markdown-body summary { background: #1e293b; color: #e2e8f0; }
.dark .markdown-body details[open] > summary { border-bottom-color: #334155; }
.dark .markdown-body figcaption { color: #64748b; }
.dark .markdown-body .footnotes { border-top-color: #334155; color: #94a3b8; }
.dark .markdown-body sup > a { color: #818cf8 !important; }
.dark .markdown-body figure img { border: 1px solid #334155; }
.markdown-body .hljs-comment, .markdown-body .hljs-quote { color: #6b7280; font-style: italic; }
.markdown-body .hljs-keyword, .markdown-body .hljs-selector-tag, .markdown-body .hljs-type { color: #c084fc; }
.markdown-body .hljs-string, .markdown-body .hljs-addition, .markdown-body .hljs-template-tag, .markdown-body .hljs-template-variable { color: #34d399; }
.markdown-body .hljs-number, .markdown-body .hljs-literal, .markdown-body .hljs-built_in { color: #f59e0b; }
.markdown-body .hljs-title, .markdown-body .hljs-section, .markdown-body .hljs-name { color: #60a5fa; }
.markdown-body .hljs-variable, .markdown-body .hljs-attr { color: #f472b6; }
.markdown-body .hljs-deletion, .markdown-body .hljs-meta { color: #f87171; }
.markdown-body .hljs-symbol, .markdown-body .hljs-bullet { color: #38bdf8; }
.markdown-body .hljs-params { color: #e2e8f0; }
.markdown-body .hljs-emphasis { font-style: italic; }
.markdown-body .hljs-strong { font-weight: 700; }
.fullscreen-overlay{position:fixed;inset:0;z-index:60;display:flex;flex-direction:column;background:rgba(248,250,252,0.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
.dark .fullscreen-overlay{background:rgba(15,23,42,0.95)}
.fullscreen-header{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;border-bottom:1px solid #e2e8f0;flex-shrink:0}
.dark .fullscreen-header{border-bottom-color:#334155}
.fullscreen-header-left{display:flex;align-items:center;gap:8px;min-width:0;flex:1;overflow:hidden}
.fullscreen-header-icon{color:#6366f1;flex-shrink:0}
.dark .fullscreen-header-icon{color:#818cf8}
.fullscreen-header-title{font-size:14px;font-weight:600;color:#1e293b;flex-shrink:0}
.dark .fullscreen-header-title{color:#e2e8f0}
.fullscreen-header-repo{font-size:12px;color:#64748b;margin-left:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dark .fullscreen-header-repo{color:#94a3b8}
.fullscreen-close-btn{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:8px;border:none;background:transparent;color:#64748b;cursor:pointer;transition:all 0.15s ease;flex-shrink:0;margin-left:8px}
.fullscreen-close-btn:hover{background:#f1f5f9;color:#ef4444}
.dark .fullscreen-close-btn:hover{background:#1e293b;color:#f87171}
.fullscreen-content{flex:1;overflow-y:auto;padding:24px 32px}
.fullscreen-content.markdown-body{font-size:14px;color:#334155;line-height:1.7;max-width:calc(100vw - 64px);margin:0 auto}
.dark .fullscreen-content.markdown-body{color:#cbd5e1}
.fullscreen-assets-list{max-width:calc(100vw - 64px);margin:0 auto}
.fullscreen-asset-item{display:flex;align-items:center;justify-content:space-between;padding:10px 14px;border-radius:8px;border:1px solid #e2e8f0;margin-bottom:8px;transition:all 0.15s ease;text-decoration:none;color:inherit}
.fullscreen-asset-item:hover{border-color:#6366f1;background:#f8fafc}
.dark .fullscreen-asset-item{border-color:#334155;color:#cbd5e1}
.dark .fullscreen-asset-item:hover{border-color:#818cf8;background:#1e293b}
@media(max-width:640px){
    .fullscreen-header{padding:10px 12px}
    .fullscreen-header-title{font-size:13px}
    .fullscreen-header-repo{font-size:11px}
    .fullscreen-content{padding:12px}
    .fullscreen-content.markdown-body{font-size:13px}
    .fullscreen-asset-item{padding:8px 10px;flex-wrap:wrap;gap:4px}
}
@media(min-width:641px) and (max-width:1024px){
    .fullscreen-content{padding:20px 24px}
}
@media(min-width:641px) and (max-width:1280px){
    .fullscreen-content.markdown-body{max-width:calc(100vw - 48px)}
    .fullscreen-assets-list{max-width:calc(100vw - 48px)}
}
@media(min-width:1281px){
    .fullscreen-content.markdown-body{max-width:1400px}
    .fullscreen-assets-list{max-width:1400px}
}
.fullscreen-btn{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;border-radius:4px;border:none;background:transparent;color:#94a3b8;cursor:pointer;transition:all 0.15s ease;flex-shrink:0;margin-right:4px}
.fullscreen-btn:hover{background:#e0e7ff;color:#6366f1}
.dark .fullscreen-btn:hover{background:rgba(99,102,241,0.15);color:#818cf8}

.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 20px;
}
.custom-scrollbar:hover::-webkit-scrollbar-thumb {
    background-color: #94a3b8;
}

.search-fade-enter-active, .search-fade-leave-active { transition: opacity 0.2s ease; }
.search-fade-enter-from, .search-fade-leave-to { opacity: 0; }

mark.search-highlight {
    background: linear-gradient(120deg, rgba(255, 234, 100, 0.85), rgba(253, 218, 47, 0.7));
    color: #78350f;
    border-radius: 3px;
    padding: 1px 0;
    box-shadow: 0 1px 4px rgba(217, 171, 18, 0.25);
    border-bottom: 2px solid rgba(217, 171, 18, 0.5);
}
.dark mark.search-highlight {
    background: linear-gradient(120deg, rgba(251, 191, 36, 0.5), rgba(245, 158, 11, 0.38));
    color: #fef3c7;
    box-shadow: 0 1px 4px rgba(251, 191, 36, 0.15);
    border-bottom: 2px solid rgba(251, 191, 36, 0.35);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
.animate-fade-in-up {
    animation: fadeInUp 0.3s ease-out forwards;
}
.animate-modal-pop {
    animation: modalPop 0.2s ease-out forwards;
}
.check-progress-enter-active { transition: all .3s ease-out; }
.check-progress-leave-active { transition: all .3s ease-in; }
.check-progress-enter-from, .check-progress-leave-to { opacity: 0; transform: translateY(-8px); }
.animate-pop-in {
    animation: popIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fade-enter-active, .fade-leave-active {
    transition: opacity 0.3s;
}
.fade-enter-from, .fade-leave-to {
    opacity: 0;
}

.toast-enter-active, .toast-leave-active {
    transition: all 0.3s ease;
}
.toast-enter-from {
    opacity: 0;
    transform: translateX(30px);
}
.toast-leave-to {
    opacity: 0;
    transform: translateX(30px);
}

.repo-table-container {
    -webkit-overflow-scrolling: touch;
}

.repo-table-container table {
    border-collapse: separate;
    border-spacing: 0;
}

.repo-table-container thead th {
    position: sticky;
    top: 0;
    z-index: 1;
}

.repo-table-container tbody tr:last-child td {
    border-bottom: none;
}

.sortable-ghost-row {
    opacity: 0.3;
    background: #fef3c7;
    user-select: none;
}

.dark .sortable-ghost-row {
    opacity: 0.2;
    background: #422006;
    user-select: none;
}

.sortable-fallback {
    opacity: 0.95;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background: #fffbeb;
    user-select: none;
}

.dark .sortable-fallback {
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    background: #1e293b;
}

.table-detail-row td {
    border-left: 4px solid #818cf8;
    border-bottom: none;
}

.dark .table-detail-row td {
    border-left: 4px solid #6366f1;
}

.table-detail-content {
    animation: detailRowIn 0.25s ease-out;
}

@keyframes detailRowIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.repo-error-icon {
    font-size: 0.8em;
    animation: pulse-warning 2s ease-in-out infinite;
}
@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@media (max-width: 767px) {
    .table-detail-row td {
        padding: 0.5rem 0.75rem;
        border-left-width: 3px;
    }

    .table-detail-content {
        font-size: 11px;
    }

    .table-detail-content .text-xs {
        font-size: 10px;
    }
}

.repo-list-loading{position:absolute;inset:0;z-index:20;display:flex;align-items:center;justify-content:center;background:rgba(248,250,252,0.6);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);border-radius:8px;transition:opacity .2s ease}
.dark .repo-list-loading{background:rgba(15,23,42,0.6)}
.repo-list-spinner{width:32px;height:32px;border:3px solid #e2e8f0;border-top-color:#6366f1;border-radius:50%;animation:repoListSpin .7s linear infinite}
.dark .repo-list-spinner{border-color:#334155;border-top-color:#818cf8}
@keyframes repoListSpin{to{transform:rotate(360deg)}}
