* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: #ffffff;
    color: #000000;
    line-height: 1.5;
    padding-top: 120px;
    width: 100%;
    overflow-x: hidden;
}

.header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.nav-buttons {
    display: flex;
    gap: 10px;
}

.circle-button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #000;
    font-size: 14px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.circle-button:hover {
    background-color: #f5f5f5;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 300px;
    justify-content: flex-end;
}

.search-box {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 20px;
    width: 100%;
    font-size: 14px;
    outline: none;
}

.search-box:focus {
    border-color: #888;
}

.search-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #333;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: #f5f5f5;
}

.header-b {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    padding: 8px 15px;
    border: 1px solid #333;
    background-color: #fff;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #000;
}

.share-btn:hover {
    background-color: #f5f5f5;
}

.plugin-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.plugin-item {
    display: grid;
    grid-template-columns: 50px 1fr auto;
    grid-template-rows: auto auto;
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 15px;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.serial-number {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    border-right: 1px solid #e0e0e0;
    min-width: 40px;
}

.plugin-name {
    grid-column: 2;
    grid-row: 1;
    font-weight: bold;
    font-size: 16px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e0e0e0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.plugin-url-container {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-width: 0;
}

.plugin-url-wrapper {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    font-size: 14px;
    color: #666;
    background-color: #f9f9f9;
    border-radius: 4px;
    padding: 6px 8px;
    position: relative;
    cursor: default;
    min-width: 0;
}

.plugin-url-wrapper:hover::after {
    content: attr(data-full-url);
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    white-space: normal;
    max-width: 90vw;
    z-index: 10;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.copy-btn {
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s ease;
    min-width: 60px;
}

.copy-btn:hover {
    background-color: #f5f5f5;
}

.access-btn {
    grid-column: 3;
    grid-row: 1 / span 2;
    background: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    text-decoration: none;
    color: #000;
    transition: all 0.2s ease;
    min-width: 60px;
    margin-left: 8px;
    height: fit-content;
    align-self: center;
}

.access-btn:hover {
    background-color: #f5f5f5;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    display: none;
}

.no-results h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.no-results p {
    font-size: 14px;
}

@media (max-width: 768px) {
    body {
        padding-top: 140px;
    }
    
    .header-a {
        padding: 8px 12px;
    }
    
    .header-b {
        padding: 8px 12px;
    }
    
    .search-container {
        max-width: 220px;
    }
    
    .plugin-item {
        grid-template-columns: 40px 1fr auto;
        padding: 10px 12px;
        gap: 8px;
    }
    
    .serial-number {
        font-size: 14px;
        min-width: 35px;
    }
    
    .plugin-name {
        font-size: 15px;
    }
    
    .plugin-url-wrapper {
        font-size: 13px;
    }
    
    .copy-btn, .access-btn {
        padding: 5px 8px;
        font-size: 11px;
        min-width: 50px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 140px;
    }
    
    .header-a {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-buttons {
        order: 1;
    }
    
    .search-container {
        order: 2;
        max-width: 100%;
        margin-top: 5px;
    }
    
    .plugin-item {
        grid-template-columns: 35px 1fr auto;
        padding: 8px 10px;
        gap: 6px;
    }
    
    .access-btn span {
        display: none;
    }
    
    .access-btn {
        min-width: 36px;
        padding: 4px;
    }
    
    .copy-btn span {
        display: none;
    }
    
    .copy-btn {
        min-width: 36px;
        padding: 4px;
    }
    
    .serial-number {
        font-size: 13px;
        min-width: 30px;
    }
    
    .plugin-name {
        font-size: 14px;
    }
    
    .plugin-url-wrapper {
        font-size: 12px;
    }
    
    .share-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .search-box {
        font-size: 13px;
    }
    
    .circle-button {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }
    
    .search-btn {
        width: 36px;
        height: 36px;
    }
}