* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.header {
    background: white;
    padding: 20px 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.title-group {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.project-name {
    font-size: 2em;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: -0.5px;
}

.version {
    color: #5f6368;
    font-size: 1em;
    font-weight: 500;
}

.description {
    color: #5f6368;
    font-size: 1.1em;
    font-weight: 500;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0 15px;
    padding: 0 5px;
}

.section-title {
    font-size: 1.4em;
    font-weight: 600;
    color: #202124;
}

.status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #34a853;
    font-weight: 500;
    font-size: 1em;
}

.status::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #34a853;
    border-radius: 50%;
}

.sources-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 5px;
}

.source-block {
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.source-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.source-name {
    font-size: 1.3em;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f3f4;
}

.link-group {
    margin: 12px 0;
}

.link-title {
    color: #5f6368;
    font-weight: 500;
    font-size: 1em;
    margin-bottom: 6px;
}

.link-url {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.link-url:hover {
    background: #f1f3f4;
}

.link-url a {
    color: #1a73e8;
    text-decoration: none;
    display: block;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-size: 0.95em;
    word-break: break-all;
    flex: 1;
}

.copy-btn {
    width: 20px;
    height: 20px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.copy-btn:hover {
    opacity: 1;
}

.copy-btn svg {
    width: 100%;
    height: 100%;
}

.copy-tooltip {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    display: none;
    z-index: 1000;
}

.copy-tooltip.show {
    display: block;
    animation: fadeInOut 2s ease;
}

@keyframes fadeInOut {
    0% { opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .container {
        padding: 15px;
    }
    
    .sources-grid {
        grid-template-columns: 1fr;
    }
    
    .project-name {
        font-size: 1.8em;
    }
    
    .source-name {
        font-size: 1.2em;
    }
    
    .link-title {
        font-size: 0.95em;
    }
    
    .link-url {
        padding: 8px 10px;
    }
    
    .link-url a {
        font-size: 0.9em;
    }
}

.token-notice {
    margin: 20px auto;
    padding: 15px 20px;
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-align: center;
    max-width: 600px;
}

.token-notice p {
    margin: 10px 0;
    color: #495057;
}

.token-notice code {
    background-color: #e9ecef;
    padding: 3px 6px;
    border-radius: 4px;
    font-family: monospace;
    color: #d63384;
}

.status {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    background-color: #e9ecef;
}

.status:empty {
    display: none;
} 