#game-library .berlin-library-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 680px;
    margin: 18px auto 24px;
    padding-inline: 8px;
}
#game-library .berlin-library-tabs > button {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; min-width: 0; padding: 10px 12px;
    border: 1px solid #ffffff30; border-radius: 8px;
    background: #ffffff08; color: #cfd6df; font: inherit; font-size: 15px; font-weight: 800;
    line-height: 1.5; white-space: normal; cursor: pointer; letter-spacing: 0;
}
#game-library .berlin-library-tabs > button[aria-selected="true"] { color: #ffe059; border-color: #e4bf42; background: #e4bf4214; }
#game-library .berlin-library-tabs > button:hover { background: #ffffff12; }
#game-library .berlin-library-tabs > button:focus-visible { outline: 2px solid #5ac7ed; outline-offset: 3px; }
#game-library .berlin-library-tab-panel[hidden] { display: none !important; }
#game-library .berlin-library-tab-panel:not([hidden]) { display: block !important; }
#game-library #game-library-bundles {
    grid-column: 1 / -1; width: 100% !important; min-width: 0 !important; max-width: none !important;
    padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important;
    background: none !important; box-shadow: none !important; transform: none !important;
}
#game-library .berlin-bundles-empty { text-align: center; color: #cfd6df; padding: 16px; }
#game-library #game-library-bundles > .berlin-library-extras-divider {
    display: block; width: calc(100% - 16px); height: 0; min-height: 0;
    margin: 20px auto 0; padding: 0; border: 0; border-top: 1px solid #8e6abf66;
    background: none; box-shadow: none;
}
#game-library .berlin-game-subscriptions-divider { display: none !important; }
#game-library #game-subscriptions-section {
    margin: 0 !important; padding: 0 !important; border: 0 !important;
    background: none !important; box-shadow: none !important; min-height: 0 !important;
}
#game-library .berlin-library-tab-panel:not([hidden]) > #game-rentals-section,
#game-library .berlin-library-tab-panel:not([hidden]) > #game-subscriptions-section { display: block !important; }
#game-library #game-rentals-section {
    box-sizing: border-box !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important;
    margin: 0 auto !important; border-radius: 20px !important; overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.58)), url("https://i.postimg.cc/brJZR9Hr/your-coop-image.webp") !important;
    background-size: cover !important; background-position: center !important; background-attachment: scroll !important;
}
#berlin-steam-hub .berlin-steam-tab-games { --steam-tab-bg: url("./images/offlinewallpaper.png"); }
#game-library #gameSubscriptionsContainer {
    grid-template-columns: repeat(auto-fill, minmax(0, min(280px, 100%))) !important;
}
#game-library #gameSubscriptionsContainer > .subscription-item,
#game-library #gameSubscriptionsContainer > .product-item {
    max-width: 280px !important;
    transform: none !important;
}
@media (max-width: 600px) {
    #game-library .berlin-library-tabs { gap: 5px; margin-block: 12px 18px; padding-inline: 4px; }
    #game-library .berlin-library-tabs > button { font-size: 12px; gap: 5px; padding: 8px 5px; min-height: 54px; }
    #game-library .berlin-library-tabs > button > i { font-size: 12px; flex-shrink: 0; }
}
@media (max-width: 768px) {
    #game-library #game-rentals-section { border-radius: 15px !important; }
}
