.drive-header {
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: #000;
}

.header-left-drive {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 200px;
    font-size: 18px;
    opacity: 0.8;
}

.search-bar-wrap {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-bar {
    width: 100%;
    max-width: 720px;
    background: rgba(255,255,255,0.05);
    height: 48px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    transition: 0.2s;
}

.search-bar:focus-within {
    background: rgba(255,255,255,0.08);
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.search-bar input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 15px;
}

.search-bar i { opacity: 0.4; }

.header-right-drive {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 20px;
}

.header-right-drive i { font-size: 18px; opacity: 0.5; cursor: pointer; }
.header-right-drive i:hover { opacity: 1; }

.avatar {
    width: 32px;
    height: 32px;
    background: #5c6bc0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.drive-body {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.drive-sidebar {
    width: 240px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.new-btn {
    width: 100px;
    height: 48px;
    background: rgba(255,255,255,0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 10px 0 20px 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.drive-nav-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.drive-nav-item:hover { background: rgba(255,255,255,0.03); }
.drive-nav-item.active { background: rgba(138, 180, 248, 0.1); color: #8ab4f8; }
.drive-nav-item i { font-size: 16px; }

.drive-content {
    flex: 1;
    background: #000;
    margin: 10px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

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

.content-header h2 { font-weight: 400; font-size: 18px; }

.content-actions i { margin-left: 20px; opacity: 0.5; cursor: pointer; }

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

.game-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: 15px;
    cursor: pointer;
    transition: 0.2s;
}

.game-card:hover {
    background: rgba(255,255,255,0.08);
}

.card-icon {
    height: 100px;
    background: rgba(0,0,0,0.3);
    border-radius: 8px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon i { font-size: 40px; opacity: 0.3; }
.card-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }

.card-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-info i { font-size: 14px; color: #8ab4f8; }
.card-info span { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Game Viewport */
#gameContainer {
    position: fixed;
    top: 0;
    left: 80px;
    right: 0;
    bottom: 0;
    background: #000;
    z-index: 200;
    display: none;
    flex-direction: column;
}

#gameHeader {
    height: 60px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.gh-left { display: flex; align-items: center; gap: 15px; }
.gh-left span { font-size: 14px; font-weight: 600; }

.back-btn, .gh-action {
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    opacity: 0.6;
}

.back-btn:hover, .gh-action:hover { opacity: 1; }

.gh-right { display: flex; gap: 20px; }

#gameContent { flex: 1; }
#gameContent iframe { width: 100%; height: 100%; border: none; }
