/* Steam-inspired member area. Loaded after page styles to keep all client screens consistent. */
:root,
html[data-theme="light"],
html[data-bs-theme="light"] {
    --steam-client-bg: #e9eef3;
    --steam-client-surface: #ffffff;
    --steam-client-surface-2: #f3f6f9;
    --steam-client-surface-3: #e6edf4;
    --steam-client-text: #182433;
    --steam-client-muted: #647487;
    --steam-client-border: #d2dbe5;
    --steam-client-accent: #2473b5;
    --steam-client-accent-2: #1a5b91;
    --steam-client-shadow: 0 12px 32px rgba(24, 36, 51, .09);
}

/* Public Steam platform and account access */
body.fp-public-home-body,
body.fp-auth-body {
    margin: 0;
    background: #111318 !important;
    color: #f5f7fa;
    font-family: "Inter", "Segoe UI", sans-serif !important;
}

body.fp-public-home-body .fp-top-banners,
body.fp-public-home-body .fp-topnav-ry,
body.fp-public-home-body .fp-nav-shell,
body.fp-auth-body .fp-top-banners,
body.fp-auth-body .fp-topnav-ry,
body.fp-auth-body .fp-nav-shell {
    display: none !important;
}

body.fp-auth-body .fpn-footer,
body.fp-public-home-body .fpn-footer {
    display: none !important;
}

.fps-home,
.fpauth-page,
.fps-home button,
.fps-home input,
.fpauth-page button,
.fpauth-page input {
    font-family: "Inter", "Segoe UI", sans-serif !important;
}

.fps-home *,
.fpauth-page * {
    box-sizing: border-box;
}

.fps-home {
    min-height: 100vh;
    padding: 18px clamp(16px, 2.6vw, 46px) 30px;
    background: #111318;
}

.fps-home-shell {
    width: min(1740px, 100%);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #292c33;
    border-radius: 16px;
    background: #14161b;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .28);
}

.fps-home-nav {
    min-height: 76px;
    display: grid;
    grid-template-columns: 300px 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 0 30px;
    border-bottom: 1px solid #292c33;
    background: #101216;
}

.fps-home-brand,
.fpauth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
}

.fps-home-brand > span,
.fpauth-brand > span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    color: #111318;
    font-size: 25px;
}

.fps-home-brand strong,
.fpauth-brand strong {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .04em;
}

.fps-home-brand em,
.fpauth-brand em {
    display: block;
    margin-top: 2px;
    color: #8d929d;
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: .18em;
}

.fps-home-brand.has-image {
    min-width: 0;
    max-width: 250px;
}

.fps-home-brand-logo {
    display: block;
    width: auto;
    max-width: 260px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.fps-home-footer .fps-home-brand-logo {
    max-width: 190px;
    height: 44px;
}

.fps-home-navlinks {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.fps-home-navlinks a {
    color: #a7abb4 !important;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none !important;
}

.fps-home-navlinks a:hover {
    color: #fff !important;
}

.fps-home-account,
.fps-hero-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fps-nav-ghost,
.fps-nav-primary,
.fps-action-primary,
.fps-action-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.fps-nav-ghost,
.fps-action-secondary {
    border: 1px solid #383c45;
    background: #1d1f24;
    color: #e6e8ec !important;
}

.fps-nav-primary,
.fps-action-primary {
    border: 1px solid #2196f3;
    background: #2196f3;
    color: #fff !important;
}

.fps-nav-ghost:hover,
.fps-action-secondary:hover {
    border-color: #626875;
    background: #24272e;
}

.fps-nav-primary:hover,
.fps-action-primary:hover {
    background: #168be5;
    transform: translateY(-1px);
}

.fps-home-hero {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr);
    gap: clamp(34px, 5vw, 80px);
    align-items: center;
    min-height: 610px;
    padding: clamp(48px, 6vw, 90px) clamp(30px, 5vw, 88px);
}

.fps-section-chip,
.fpauth-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #343840;
    border-radius: 999px;
    background: #1d1f24;
    color: #b9bdc6;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
}

.fps-section-chip i,
.fpauth-kicker i {
    color: #2196f3;
    font-size: 15px;
}

.fps-home-hero-copy h1 {
    margin: 22px 0 18px;
    color: #f8f9fb;
    font-size: clamp(48px, 5.2vw, 78px);
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: .98;
}

.fps-home-hero-copy h1 span {
    color: #2196f3;
}

.fps-home-hero-copy > p {
    max-width: 620px;
    margin: 0;
    color: #a1a6b0;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.72;
}

.fps-hero-actions {
    margin-top: 28px;
}

.fps-action-primary,
.fps-action-secondary {
    min-height: 48px;
    padding: 0 20px;
    font-size: 14px;
}

.fps-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 24px;
}

.fps-hero-facts span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #8d929d;
    font-size: 12px;
    font-weight: 400;
}

.fps-hero-facts i {
    color: #00c853;
}

.fps-featured {
    position: relative;
    min-height: 440px;
    overflow: hidden;
    border: 1px solid rgba(125,188,235,.22);
    border-radius: 18px;
    background: #090c11;
    box-shadow: 0 28px 70px rgba(0,0,0,.38), inset 0 0 0 1px rgba(255,255,255,.025);
}

.fps-featured-track,
.fps-featured-slide {
    position: absolute;
    inset: 0;
}

.fps-featured-slide {
    z-index: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: scale(1.025);
    transition: opacity .75s ease, transform 1.15s cubic-bezier(.16,1,.3,1);
}

.fps-featured-slide.is-active {
    z-index: 1;
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.fps-featured-backdrop,
.fps-featured-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fps-featured-backdrop {
    filter: saturate(.88) brightness(.72);
    transform: scale(1.03);
}

.fps-featured-video {
    z-index: 1;
    background: #090c11;
    filter: saturate(.92) contrast(1.03) brightness(.78);
}

.fps-featured-shade {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(90deg,rgba(7,10,15,.97) 0%,rgba(7,10,15,.84) 38%,rgba(7,10,15,.28) 72%,rgba(7,10,15,.18) 100%), linear-gradient(0deg,rgba(7,10,15,.88) 0%,transparent 38%);
}

.fps-featured-copy {
    position: absolute;
    z-index: 3;
    left: clamp(24px,4vw,54px);
    bottom: clamp(46px,11%,64px);
    width: min(58%,470px);
}

.fps-featured-copy small,
.fps-activate-copy small,
.fpauth-panel-head small {
    color: #2196f3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
}

.fps-featured-copy small {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 9px;
    border: 1px solid rgba(94,180,240,.22);
    border-radius: 999px;
    background: rgba(10,14,20,.5);
    color: #73c3f6;
    backdrop-filter: blur(8px);
}

.fps-featured-copy small i {
    font-size: 14px;
}

.fps-featured-copy h2 {
    margin: 12px 0 11px;
    color: #fff;
    font-size: clamp(31px,3.2vw,49px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.02;
    text-shadow: 0 8px 28px rgba(0,0,0,.5);
}

.fps-featured-copy p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #c2c8d1;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.fps-featured-copy a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    margin-top: 18px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 9px;
    background: rgba(255,255,255,.1);
    color: #fff !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    backdrop-filter: blur(8px);
    transition: background .18s ease,border-color .18s ease,transform .18s ease;
}

.fps-featured-copy a:hover {
    border-color: rgba(115,195,246,.55);
    background: rgba(33,150,243,.22);
    transform: translateY(-1px);
}

.fps-featured-sequence {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 27px;
    color: rgba(255,255,255,.64);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .13em;
}

.fps-featured-progress {
    position: absolute;
    z-index: 6;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    border-radius: 999px;
    pointer-events: none;
}

.fps-featured-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#2196f3,#8dd8ff);
    transform: scaleX(0);
    transform-origin: left;
}

.fps-featured.is-running .fps-featured-progress span {
    animation: fpsFeaturedProgress var(--fps-featured-interval,9s) linear forwards;
}

@keyframes fpsFeaturedProgress {
    to { transform: scaleX(1); }
}

.fps-featured-count {
    position: absolute;
    z-index: 3;
    right: 14px;
    top: 14px;
    padding: 10px 13px;
    border: 1px solid #3d414b;
    border-radius: 9px;
    background: rgba(17, 19, 24, .9);
}

.fps-featured-count strong,
.fps-featured-count span {
    display: block;
}

.fps-featured-count strong {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
}

.fps-featured-count span {
    color: #9196a0;
    font-size: 10px;
}

.fps-featured-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    gap: 10px;
    color: #8d929d;
    text-align: center;
}

.fps-featured-empty i {
    font-size: 48px;
}

.fps-reviews {
    padding: 58px clamp(30px, 5vw, 88px) 6px;
}

.fps-reviews-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
    gap: 20px;
    align-items: stretch;
}

.fps-review-list {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 10px;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    scrollbar-color: #343942 transparent;
}

.fps-review-card,
.fps-review-compose,
.fps-review-empty {
    border: 1px solid #2d3139;
    border-radius: 14px;
    background: #191b20;
}

.fps-review-card { width: min(300px, 78vw); min-width: min(300px, 78vw); min-height: 142px; padding: 15px; scroll-snap-align: start; }
.fps-review-card header { display: flex; align-items: center; gap: 11px; }
.fps-review-card header > span { display: grid; width: 42px; height: 42px; min-width: 42px; place-items: center; border: 1px solid rgba(33,150,243,.3); border-radius: 12px; background: rgba(33,150,243,.11); color: #83c9f7; font-size: 17px; font-weight: 700; }
.fps-review-card header div { min-width: 0; }
.fps-review-card header strong { display: block; overflow: hidden; color: #eef1f4; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.fps-review-card header small { display: flex; gap: 2px; margin-top: 4px; color: #ffc83d; font-size: 12px; }
.fps-review-card p { display: -webkit-box; margin: 11px 0 0; overflow: hidden; color: #a7adb7; font-size: 12px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.fps-review-empty { display: grid; width: 100%; min-height: 150px; place-content: center; gap: 7px; padding: 24px; color: #8e949e; text-align: center; }
.fps-review-empty i { color: #55b5f2; font-size: 38px; }
.fps-review-empty strong { color: #e7eaee; }

.fps-review-compose { position: relative; overflow: hidden; padding: 25px; background: radial-gradient(circle at 100% 0,rgba(33,150,243,.14),transparent 35%),#17191d; }
.fps-review-compose-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(33,150,243,.24); border-radius: 13px; background: rgba(33,150,243,.1); color: #65bdf3; font-size: 24px; }
.fps-review-compose > small { display: block; margin-top: 18px; color: #55b5f2; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.fps-review-compose h3 { margin: 7px 0 8px; color: #f1f3f5; font-size: 24px; font-weight: 600; }
.fps-review-compose > p { margin: 0 0 18px; color: #9298a2; font-size: 12px; line-height: 1.6; }
.fps-review-form { display: grid; gap: 10px; }
.fps-review-form fieldset { margin: 0; padding: 0; border: 0; }
.fps-review-form legend,.fps-review-form > label { margin-bottom: 7px; color: #bdc2ca; font-size: 10px; font-weight: 600; }
.fps-rating-input { display: inline-flex; flex-direction: row-reverse; gap: 3px; }
.fps-rating-input input { position: absolute; opacity: 0; pointer-events: none; }
.fps-rating-input label { margin: 0; color: #40454e; cursor: pointer; font-size: 23px; transition: color .15s ease,transform .15s ease; }
.fps-rating-input label:hover,.fps-rating-input label:hover ~ label,.fps-rating-input input:checked ~ label { color: #ffc83d; }
.fps-rating-input label:hover { transform: translateY(-1px); }
.fps-review-form textarea { width: 100%; resize: vertical; border: 1px solid #343842; border-radius: 10px; outline: 0; background: #111318; color: #f1f3f5; padding: 12px; font: inherit; font-size: 12px; line-height: 1.6; transition: border-color .18s ease,box-shadow .18s ease; }
.fps-review-form textarea:focus { border-color: rgba(33,150,243,.55); box-shadow: 0 0 0 3px rgba(33,150,243,.1); }
.fps-review-form > div:last-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fps-review-form > div:last-child > span { color: #747b86; font-size: 9px; line-height: 1.45; }
.fps-review-form button,.fps-review-login { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 7px; border: 1px solid #2196f3; border-radius: 9px; background: #2196f3; color: #fff !important; font-size: 11px; font-weight: 600; text-decoration: none !important; }
.fps-review-form button { padding: 0 14px; }
.fps-review-login { justify-content: flex-start; padding: 0 14px; }
.fps-review-login span { display: flex; flex: 1; flex-direction: column; }
.fps-review-login small { color: rgba(255,255,255,.65); font-size: 8px; letter-spacing: .08em; }

.fpd-client-review-compose {
    padding: 17px;
    border-radius: 11px;
    background: radial-gradient(circle at 100% 0,rgba(33,150,243,.12),transparent 38%),var(--fpd-raisin,#1d1f24);
    box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

.fpd-client-review-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.fpd-client-review-heading .fps-review-compose-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    font-size: 19px;
}

.fpd-client-review-heading small {
    display: block;
    color: #55b5f2;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .11em;
}

.fpd-client-review-compose .fpd-client-review-heading h3 {
    margin: 3px 0 0;
    font-size: 14px;
    line-height: 1.25;
}

.fpd-client-review-compose > p {
    margin: 12px 0 13px;
    font-size: 10px;
    line-height: 1.5;
}

.fpd-client-review-compose .fps-review-form {
    gap: 8px;
}

.fpd-client-review-compose .fps-review-form textarea {
    min-height: 76px;
    resize: none;
}

body.fp-client-app-body #fpdSiteReviewComment {
    border-color: #343842 !important;
    background: #111318 !important;
    background-image: none !important;
    color: #f1f3f5 !important;
    -webkit-text-fill-color: #f1f3f5 !important;
    caret-color: #f1f3f5;
}

body.fp-client-app-body #fpdSiteReviewComment:focus {
    border-color: rgba(33,150,243,.55) !important;
    background: #111318 !important;
    box-shadow: 0 0 0 3px rgba(33,150,243,.1) !important;
}

body.fp-client-app-body #fpdSiteReviewComment::placeholder {
    color: #68707b !important;
    -webkit-text-fill-color: #68707b !important;
}

.fpd-client-review-compose .fps-review-form > div:last-child > span {
    max-width: 125px;
}

.fpd-client-review-compose .fps-review-form button {
    min-height: 36px;
    padding: 0 11px;
}

@media (max-width: 960px) {
    .fps-reviews-layout { grid-template-columns: 1fr; }
    .fps-review-compose { order: -1; }
}

@media (max-width: 640px) {
    .fps-reviews { padding: 42px 18px 0; }
    .fps-review-form > div:last-child { align-items: stretch; flex-direction: column; }
}

.fps-itemsatis {
    margin: 0 clamp(30px, 5vw, 88px) 18px;
}

.fps-itemsatis-link {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 112px;
    padding: 20px 24px;
    overflow: hidden;
    border: 1px solid rgba(44, 211, 148, .34);
    border-radius: 12px;
    background:
        radial-gradient(circle at 7% 0%, rgba(43, 219, 152, .2), transparent 35%),
        linear-gradient(115deg, #13231e 0%, #172720 58%, #101d19 100%);
    color: #f5fffb !important;
    text-decoration: none !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, .2);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.fps-itemsatis-link::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -90px;
    right: 7%;
    width: 230px;
    height: 230px;
    border: 42px solid rgba(73, 230, 171, .055);
    border-radius: 50%;
}

.fps-itemsatis-link:hover,
.fps-itemsatis-link:focus-visible {
    border-color: rgba(70, 229, 169, .68);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 22px 52px rgba(0, 0, 0, .3), 0 0 0 3px rgba(48, 213, 151, .07);
}

.fps-itemsatis-link:focus-visible {
    outline: 3px solid rgba(68, 223, 165, .34);
    outline-offset: 3px;
}

.fps-itemsatis-icon {
    display: grid;
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 12px;
    background: linear-gradient(145deg, #62eab7, #27c98f);
    color: #092219;
    font-size: 29px;
    box-shadow: 0 12px 28px rgba(31, 205, 141, .2);
}

.fps-itemsatis-copy {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 4px;
}

.fps-itemsatis-copy small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #71e4b8;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
}

.fps-itemsatis-copy strong {
    color: #fff;
    font-size: clamp(20px, 2vw, 27px);
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.fps-itemsatis-copy > span {
    color: #a8bcb4;
    font-size: 14px;
    line-height: 1.5;
}

.fps-itemsatis-action {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 19px;
    border-radius: 9px;
    background: #42d9a1;
    color: #0a241b;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 24px rgba(39, 201, 143, .18);
}

.fps-itemsatis-action i {
    font-size: 17px;
    transition: transform .2s ease;
}

.fps-itemsatis-link:hover .fps-itemsatis-action i,
.fps-itemsatis-link:focus-visible .fps-itemsatis-action i {
    transform: translate(2px, -2px);
}

.fps-activate {
    position: relative;
    display: grid;
    grid-template-columns: minmax(330px, .8fr) minmax(420px, 1.2fr);
    gap: 35px;
    align-items: center;
    margin: 0 clamp(30px, 5vw, 88px);
    padding: 25px 28px;
    border: 1px solid #343840;
    border-radius: 12px;
    background: #1d1f24;
}

.fps-activate-copy {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fps-activate-copy > span {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #252830;
    color: #2196f3;
    font-size: 22px;
}

.fps-activate-copy h2 {
    margin: 3px 0;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.fps-activate-copy p,
.fps-section-heading p,
.fps-library-head p {
    margin: 0;
    color: #8f949e;
    font-size: 13px;
    font-weight: 400;
}

.fps-activate-form {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 5px 6px 5px 16px;
    border: 1px solid #3b3f48;
    border-radius: 10px;
    background: #14161b;
}

.fps-activate-form > i {
    color: #787e89;
    font-size: 18px;
}

.fps-activate-form input {
    min-width: 0;
    border: 0;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.fps-activate-form input:focus,
.fps-activate-form input:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.fps-activate-form input:-webkit-autofill,
.fps-activate-form input:-webkit-autofill:hover,
.fps-activate-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px #14161b inset !important;
    transition: background-color 9999s ease-out 0s;
}

.fps-activate-form:focus-within {
    border-color: #4b505b;
    background: #14161b;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .08);
}

.fps-activate-form button,
.fps-library-more button {
    min-height: 42px;
    padding: 0 17px;
    border: 0;
    border-radius: 8px;
    background: #2196f3;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.fps-active-note {
    grid-column: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    margin: -23px 0 0;
    color: #9499a3;
    font-size: 11px;
}

.fps-active-note i {
    color: #2196f3;
}

.fps-how,
.fps-library,
.fps-faq {
    padding: 92px clamp(30px, 5vw, 88px) 0;
}

.fps-section-heading {
    max-width: 720px;
    margin-bottom: 32px;
}

.fps-section-heading h2,
.fps-library-head h2 {
    margin: 13px 0 8px;
    color: #f5f7fa;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 500;
    letter-spacing: -.025em;
}

.fps-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.fps-how-grid article {
    position: relative;
    min-height: 210px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #30333b;
    border-radius: 11px;
    background: #1a1c21;
}

.fps-how-grid article > i {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border-radius: 9px;
    background: #24272e;
    color: #2196f3;
    font-size: 20px;
}

.fps-how-grid article b {
    position: absolute;
    right: 18px;
    top: 13px;
    color: #333740;
    font-size: 40px;
    font-weight: 500;
}

.fps-how-grid h3 {
    margin: 19px 0 8px;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.fps-how-grid p {
    margin: 0;
    color: #9297a1;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.fps-library-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 28px;
}

.fps-library-search {
    flex: 0 0 min(330px, 100%);
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #363a43;
    border-radius: 9px;
    background: #1d1f24;
    color: #7f858f;
}

.fps-library-search input {
    width: 100%;
    border: 0;
    outline: 0;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
    -webkit-appearance: none;
    appearance: none;
    font-size: 13px;
    font-weight: 400;
}

.fps-library-search input:focus,
.fps-library-search input:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

.fps-library-search input::-webkit-search-decoration,
.fps-library-search input::-webkit-search-cancel-button,
.fps-library-search input::-webkit-search-results-button,
.fps-library-search input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

.fps-library-search:focus-within {
    border-color: #4b505b;
    background: #1d1f24;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .08);
}

.fps-game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 22px 14px;
}

.fps-game-card {
    min-width: 0;
    color: #fff !important;
    text-decoration: none !important;
}

.fps-game-poster {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    border: 1px solid #30333a;
    border-radius: 9px;
    background: #1d1f24;
    transition: transform .2s ease, border-color .2s ease;
}

.fps-game-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fps-game-card:hover .fps-game-poster {
    transform: translateY(-4px);
    border-color: #626875;
}

.fps-game-poster em {
    position: absolute;
    left: 8px;
    top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 7px;
    border-radius: 6px;
    background: rgba(16, 18, 22, .88);
    color: #e5e7eb;
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
}

.fps-game-meta {
    display: block;
    padding-top: 10px;
}

.fps-game-meta strong,
.fps-game-meta small {
    display: block;
}

.fps-game-meta strong {
    overflow: hidden;
    color: #eceef2;
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fps-game-meta small {
    margin-top: 4px;
    color: #7f858f;
    font-size: 10px;
    font-weight: 400;
}

.fps-game-meta small i {
    color: #00c853;
}

.fps-empty {
    grid-column: 1 / -1;
    padding: 34px;
    border: 1px dashed #3b3f48;
    border-radius: 10px;
    color: #8c919b;
    text-align: center;
}

.fps-library-more {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.fps-library-more button {
    border: 1px solid #3d414b;
    background: #1d1f24;
}

.fps-faq {
    padding-bottom: 92px;
}

.fps-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.fps-faq details {
    border: 1px solid #30333b;
    border-radius: 10px;
    background: #1a1c21;
}

.fps-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 19px 21px;
    color: #eceef2;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.fps-faq summary::-webkit-details-marker {
    display: none;
}

.fps-faq details[open] summary i {
    transform: rotate(45deg);
}

.fps-faq p {
    margin: 0;
    padding: 0 21px 20px;
    color: #969ba5;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
}

.fps-home-footer {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 30px;
    min-height: 110px;
    margin-top: 92px;
    padding: 24px clamp(30px, 5vw, 88px);
    border-top: 1px solid #292c33;
    background: #101216;
}

.fps-home-footer p {
    margin: 0;
    color: #747a85;
    font-size: 11px;
}

.fps-home-footer nav {
    display: flex;
    gap: 20px;
}

.fps-home-footer nav a {
    color: #9297a1 !important;
    font-size: 11px;
    font-weight: 400;
    text-decoration: none !important;
}

.fps-home-footer nav a:hover {
    color: #fff !important;
}

/* Account access */
.fpauth-page {
    min-height: 100vh;
    padding: 18px clamp(16px, 2.6vw, 46px);
    background: #111318;
}

.fpauth-shell {
    position: relative;
    width: min(1460px, 100%);
    min-height: calc(100vh - 36px);
    margin: 0 auto;
    overflow: hidden;
    border: 1px solid #292c33;
    border-radius: 16px;
    background: #14161b;
}

.fpauth-back {
    position: absolute;
    z-index: 10;
    left: 28px;
    top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #9ca1ab !important;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none !important;
}

.fpauth-back:hover {
    color: #fff !important;
}

.fpauth-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(480px, .95fr);
    min-height: calc(100vh - 38px);
}

.fpauth-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
    padding: 90px clamp(42px, 5.5vw, 88px) 55px;
    border-right: 1px solid #292c33;
    background: #101216;
}

.fpauth-brand {
    position: absolute;
    left: clamp(42px, 5.5vw, 88px);
    top: 70px;
}

.fpauth-showcase-copy {
    position: relative;
    z-index: 2;
    max-width: 610px;
    margin-top: 50px;
}

.fpauth-showcase-copy h1 {
    margin: 19px 0 15px;
    color: #f7f8fa;
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 500;
    letter-spacing: -.04em;
    line-height: 1.02;
}

.fpauth-showcase-copy p {
    max-width: 560px;
    margin: 0;
    color: #9ca1ab;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.68;
}

.fpauth-cover-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: end;
    height: 245px;
    margin-top: 40px;
    padding-left: 6px;
}

.fpauth-cover {
    position: relative;
    width: 150px;
    margin: 0 0 0 -25px;
    overflow: hidden;
    border: 1px solid #3a3e47;
    border-radius: 9px;
    background: #1d1f24;
    box-shadow: 0 18px 35px rgba(0, 0, 0, .38);
}

.fpauth-cover:first-child {
    margin-left: 0;
}

.fpauth-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
}

.fpauth-cover figcaption {
    position: absolute;
    inset: auto 0 0;
    overflow: hidden;
    padding: 22px 8px 8px;
    background: linear-gradient(transparent, rgba(10, 11, 14, .94));
    color: #fff;
    font-size: 9px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpauth-cover-1 { z-index: 4; transform: translateY(-10px) rotate(-3deg); }
.fpauth-cover-2 { z-index: 3; transform: rotate(2deg); }
.fpauth-cover-3 { z-index: 2; transform: translateY(-7px) rotate(4deg); }
.fpauth-cover-4 { z-index: 1; transform: rotate(6deg); }

.fpauth-cover-placeholder {
    display: grid;
    place-content: center;
    width: 100%;
    height: 210px;
    border: 1px dashed #3a3e47;
    border-radius: 10px;
    color: #818792;
    text-align: center;
}

.fpauth-cover-placeholder i {
    font-size: 42px;
}

.fpauth-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 20px;
}

.fpauth-benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #999ea8;
    font-size: 11px;
}

.fpauth-benefits i {
    color: #2196f3;
    font-size: 16px;
}

.fpauth-benefits b {
    font-weight: 500;
}

.fpauth-panel {
    align-self: center;
    width: min(500px, calc(100% - 52px));
    max-height: calc(100vh - 72px);
    margin: 36px auto;
    overflow-y: auto;
    scrollbar-color: #343840 transparent;
    scrollbar-width: thin;
}

.fpauth-panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
}

.fpauth-panel-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid #363a43;
    border-radius: 10px;
    background: #1d1f24;
    color: #2196f3;
    font-size: 20px;
}

.fpauth-panel-head h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 23px;
    font-weight: 500;
}

.fpauth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 4px;
    border: 1px solid #30333b;
    border-radius: 10px;
    background: #101216;
}

.fpauth-tabs button {
    min-height: 42px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #878d97;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.fpauth-tabs button.is-active {
    background: #252830;
    color: #fff;
}

.fpauth-content {
    padding-top: 24px;
}

.fpauth-pane-copy {
    margin-bottom: 20px;
}

.fpauth-pane-copy h3 {
    margin: 0 0 5px;
    color: #fff;
    font-size: 20px;
    font-weight: 500;
}

.fpauth-pane-copy p {
    margin: 0;
    color: #8f949e;
    font-size: 12px;
    font-weight: 400;
}

.fpauth-google {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    border: 1px solid #393d46;
    border-radius: 9px;
    background: #1d1f24;
    color: #e9ebef !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
}

.fpauth-google span {
    display: grid;
    place-items: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #fff;
    color: #4285f4;
    font-weight: 600;
}

.fpauth-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 17px 0;
    color: #696f79;
    font-size: 10px;
}

.fpauth-divider::before,
.fpauth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #2d3037;
}

.fpauth-form > label,
.fpauth-form-grid label,
.fpauth-label-row label {
    display: block;
    margin: 13px 0 6px;
    color: #b8bcc5;
    font-size: 11px;
    font-weight: 500;
}

.fpauth-form label small {
    color: #737985;
    font-weight: 400;
}

.fpauth-label-row {
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.fpauth-label-row a {
    margin-bottom: 6px;
    color: #2196f3 !important;
    font-size: 10px;
    text-decoration: none !important;
}

.fpauth-field {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 9px;
    min-height: 47px;
    padding: 0 13px;
    border: 1px solid #363a43;
    border-radius: 9px;
    background: #101216;
    color: #777d87;
}

.fpauth-field:focus-within {
    border-color: #2196f3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, .1);
}

.fpauth-field input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent !important;
    background-color: transparent !important;
    color: #fff !important;
    caret-color: #fff;
    box-shadow: none !important;
    -webkit-appearance: none;
    appearance: none;
    font-size: 13px;
    font-weight: 400;
}

.fpauth-field input:focus,
.fpauth-field input:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

body.fp-auth-body .fpauth-field input:-webkit-autofill,
body.fp-auth-body .fpauth-field input:-webkit-autofill:hover,
body.fp-auth-body .fpauth-field input:-webkit-autofill:focus,
body.fp-auth-body .fpauth-field input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #101216 inset !important;
    box-shadow: 0 0 0 1000px #101216 inset !important;
    transition: background-color 9999s ease-out 0s;
}

body.fp-auth-body .fpauth-field input:autofill {
    color: #fff !important;
    caret-color: #fff !important;
    box-shadow: 0 0 0 1000px #101216 inset !important;
}

.fpauth-field input::placeholder {
    color: #5f6570;
}

.fpauth-field > button {
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #737985;
    cursor: pointer;
}

.fpauth-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}

.fpauth-check {
    display: flex !important;
    align-items: center;
    gap: 9px;
    margin-top: 15px !important;
    cursor: pointer;
}

.fpauth-check input {
    position: absolute;
    opacity: 0;
}

.fpauth-check > span {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 1px solid #3b3f48;
    border-radius: 4px;
    background: #101216;
    color: transparent;
    font-size: 13px;
}

.fpauth-check input:checked + span {
    border-color: #2196f3;
    background: #2196f3;
    color: #fff;
}

.fpauth-check em {
    color: #8f949e;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
}

.fpauth-check em button,
.fpauth-switch button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #2196f3;
    font-size: inherit;
    cursor: pointer;
}

.fpauth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 48px;
    margin-top: 18px;
    border: 0;
    border-radius: 9px;
    background: #2196f3;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.fpauth-submit:hover {
    background: #168be5;
}

.fpauth-switch {
    margin: 17px 0 0;
    color: #828893;
    font-size: 11px;
    text-align: center;
}

.fpauth-security {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    padding: 12px 14px;
    border: 1px solid #2d3037;
    border-radius: 9px;
    background: #181a1f;
    color: #00c853;
}

.fpauth-security span,
.fpauth-security strong,
.fpauth-security small {
    display: block;
}

.fpauth-security strong {
    color: #b6bac3;
    font-size: 10px;
    font-weight: 500;
}

.fpauth-security small {
    margin-top: 2px;
    color: #707681;
    font-size: 9px;
}

.fpauth-modal {
    border: 1px solid #393d46 !important;
    border-radius: 12px !important;
    background: #1d1f24 !important;
    color: #c8cbd2 !important;
}

.fpauth-modal .modal-header {
    border-color: #353841;
}

.fpauth-modal .modal-title {
    color: #fff;
    font-weight: 500;
}

.fpauth-modal .btn-close {
    filter: invert(1);
}

@media (max-width: 1250px) {
    .fps-home-nav { grid-template-columns: 250px 1fr auto; }
    .fps-home-navlinks { display: none; }
    .fps-home-hero { grid-template-columns: minmax(0, .9fr) minmax(440px, 1.1fr); }
    .fps-game-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .fpauth-layout { grid-template-columns: minmax(0, .9fr) minmax(460px, 1.1fr); }
    .fpauth-cover { width: 130px; }
}

@media (max-width: 991px) {
    .fps-home-hero { grid-template-columns: 1fr; min-height: auto; }
    .fps-featured { min-height: 410px; }
    .fps-activate { grid-template-columns: 1fr; }
    .fps-active-note { grid-column: 1; margin: -20px 0 0; }
    .fps-game-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .fpauth-layout { grid-template-columns: 1fr; }
    .fpauth-showcase { min-height: 610px; border-right: 0; border-bottom: 1px solid #292c33; }
    .fpauth-panel { width: min(560px, calc(100% - 44px)); max-height: none; margin: 55px auto; overflow: visible; }
}

@media (max-width: 767px) {
    .fps-home { padding: 0; }
    .fps-home-shell { border: 0; border-radius: 0; box-shadow: none; }
    .fps-home-nav { grid-template-columns: 1fr auto; min-height: 66px; padding: 0 16px; }
    .fps-home-brand > span { width: 37px; height: 37px; font-size: 22px; }
    .fps-home-brand strong { font-size: 14px; }
    .fps-home-brand-logo { max-width: 165px; height: 40px; }
    .fps-home-footer .fps-home-brand-logo { max-width: 155px; height: 38px; }
    .fps-home-account .fps-nav-ghost { display: none; }
    .fps-nav-primary { min-height: 38px; padding: 0 12px; }
    .fps-home-hero { gap: 36px; padding: 48px 18px; }
    .fps-home-hero-copy h1 { font-size: 48px; }
    .fps-home-hero-copy > p { font-size: 15px; }
    .fps-featured { min-height: 360px; }
    .fps-featured-copy { left: 22px; bottom: 48px; width: 68%; }
    .fps-featured-copy h2 { font-size: 29px; }
    .fps-featured-copy p { -webkit-line-clamp: 3; }
    .fps-itemsatis { margin: 0 18px 14px; }
    .fps-itemsatis-link { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 12px; padding: 18px; }
    .fps-itemsatis-icon { width: 50px; height: 50px; font-size: 24px; }
    .fps-itemsatis-copy strong { font-size: 20px; }
    .fps-itemsatis-copy > span { font-size: 13px; }
    .fps-itemsatis-action { grid-column: 1 / -1; width: 100%; margin-top: 3px; }
    .fps-activate { grid-template-columns: 1fr; margin: 0 18px; padding: 20px; }
    .fps-activate-form { grid-template-columns: auto 1fr; }
    .fps-activate-form button { grid-column: 1 / -1; width: 100%; }
    .fps-active-note { margin: -20px 0 0; }
    .fps-how, .fps-library, .fps-faq { padding: 70px 18px 0; }
    .fps-how-grid { grid-template-columns: 1fr; }
    .fps-library-head { align-items: stretch; flex-direction: column; }
    .fps-library-search { flex-basis: auto; }
    .fps-game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
    .fps-faq { padding-bottom: 70px; }
    .fps-faq-grid { grid-template-columns: 1fr; }
    .fps-home-footer { grid-template-columns: 1fr; gap: 15px; margin-top: 70px; padding: 25px 18px; }
    .fps-home-footer nav { gap: 15px; }
    .fpauth-page { padding: 0; }
    .fpauth-shell { min-height: 100vh; border: 0; border-radius: 0; }
    .fpauth-back { left: 17px; top: 18px; }
    .fpauth-showcase { display: none; }
    .fpauth-panel { width: calc(100% - 32px); margin: 80px auto 35px; }
}

@media (max-width: 480px) {
    .fps-home-brand em { display: none; }
    .fps-home-brand strong { font-size: 12px; }
    .fps-nav-primary { font-size: 11px; }
    .fps-home-hero-copy h1 { font-size: 42px; }
    .fps-hero-actions { align-items: stretch; flex-direction: column; }
    .fps-hero-facts { gap: 10px; flex-direction: column; }
    .fps-featured { min-height: 390px; }
    .fps-featured-copy { right: 18px; left: 18px; bottom: 42px; width: auto; }
    .fps-featured-copy h2 { font-size: 27px; }
    .fps-featured-copy p { font-size: 11px; -webkit-line-clamp: 2; }
    .fps-featured-copy a { min-height: 36px; margin-top: 12px; font-size: 11px; }
    .fps-featured-sequence { display: none; }
    .fps-featured-count { display: none; }
    .fps-game-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fpauth-form-grid { grid-template-columns: 1fr; gap: 0; }
}

/* Rich Steam discovery experience */
.gss-page {
    --gss-deep: #0c1621;
    --gss-panel: #14212d;
    --gss-panel-2: #1a2a38;
    --gss-line: rgba(153, 190, 215, .16);
    --gss-blue: #66a7d8;
    --gss-blue-bright: #82c8fa;
    --gss-green: #8bc53f;
    --gss-copy: #e8f1f7;
    --gss-muted: #91a9ba;
    padding: 0 0 26px;
    color: var(--steam-client-text);
}

html[data-theme="light"] .gss-page,
html[data-bs-theme="light"] .gss-page {
    --gss-deep: #132536;
    --gss-panel: #ffffff;
    --gss-panel-2: #edf3f7;
    --gss-line: rgba(35, 76, 105, .16);
    --gss-copy: #15283a;
    --gss-muted: #647b8d;
}

.gsl-library-hero h1 {
    font-size: clamp(42px, 6vw, 66px);
}

.gsl-access-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 43px;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 8px;
    font-size: 10px;
    font-weight: 900;
}

.gsl-access-pill.is-active {
    background: rgba(139,197,63,.1);
    color: #b8e77a;
}

.gsl-access-pill.is-locked {
    background: rgba(216,95,104,.1);
    color: #ffc1c6;
}

.gsl-membership-quick {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    border: 1px solid var(--steam-client-border);
    border-radius: 8px;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 850;
}

.gsl-membership-quick span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gsl-membership-quick i,
.gsl-membership-quick b {
    color: var(--steam-client-accent);
}

.gss-delivery-badge.is-locked {
    background: rgba(20,31,42,.86);
}

.gsl-rich-card.is-locked {
    filter: saturate(.62);
}

.gsl-added-line {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 5px 0 9px;
    color: var(--steam-client-muted);
    font-size: 9px;
    font-weight: 750;
}

.gsl-gift-code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 9px;
    min-height: 59px;
    margin: 9px 0;
    padding: 9px 10px;
    border: 1px solid var(--steam-client-border);
    border-radius: 8px;
    background: var(--steam-client-surface-2);
}

.gsl-gift-code.has-code {
    border-color: rgba(36,115,181,.26);
    background: linear-gradient(135deg, rgba(36,115,181,.09), var(--steam-client-surface-2));
}

.gsl-gift-code span,
.gsl-gift-code strong {
    display: block;
}

.gsl-gift-code span {
    color: var(--steam-client-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gsl-gift-code strong {
    margin-top: 3px;
    color: var(--steam-client-text);
    font: 900 11px ui-monospace, SFMono-Regular, Menlo, monospace;
    word-break: break-all;
}

.gsl-gift-code.is-pending strong,
.gsl-gift-code.is-locked strong {
    color: var(--steam-client-muted);
    font-family: inherit;
}

.gsl-gift-code > button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border: 1px solid rgba(36,115,181,.18);
    border-radius: 7px;
    background: rgba(36,115,181,.09);
    color: var(--steam-client-accent);
    cursor: pointer;
}

.gsl-gift-code > button.is-copied {
    background: var(--steam-client-accent);
    color: #fff;
}

.gsl-code-loader {
    color: #d9953f;
    animation: gslSpin 1.1s linear infinite;
}

.gsl-disabled-action {
    border-color: var(--steam-client-border);
    background: var(--steam-client-surface-2);
    color: var(--steam-client-muted);
    cursor: not-allowed;
}

.gsl-rich-grid.is-compact .gsl-gift-code {
    min-height: 49px;
}

.gss-store-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, .85fr);
    min-height: 340px;
    overflow: hidden;
    border: 1px solid rgba(130, 200, 250, .18);
    border-radius: 18px;
    background:
        radial-gradient(circle at 74% 18%, rgba(71, 141, 188, .26), transparent 31%),
        radial-gradient(circle at 15% 110%, rgba(42, 103, 146, .28), transparent 38%),
        linear-gradient(118deg, #0b1622 0%, #132b3e 53%, #173e57 100%);
    box-shadow: 0 24px 60px rgba(5, 15, 24, .28);
    color: #fff;
}

.gss-store-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, #000, transparent 78%);
}

.gss-store-hero-copy {
    position: relative;
    z-index: 3;
    align-self: center;
    padding: 38px 16px 38px 38px;
}

.gss-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(130, 200, 250, .22);
    border-radius: 7px;
    background: rgba(73, 145, 193, .12);
    color: #a8d8f7;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .13em;
}

.gss-eyebrow i {
    font-size: 17px;
}

.gss-store-hero h1 {
    max-width: 680px;
    margin: 15px 0 9px;
    color: #fff;
    font-size: clamp(37px, 5vw, 58px);
    font-weight: 1000;
    letter-spacing: -.055em;
    line-height: .98;
}

.gss-store-hero-copy > p {
    max-width: 640px;
    margin: 0;
    color: #b9cbd8;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.65;
}

.gss-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 21px;
}

.gss-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 43px;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 950;
    text-decoration: none !important;
    cursor: pointer;
    transition: filter .18s ease, border-color .18s ease, background .18s ease, transform .18s ease;
}

.gss-action:hover {
    transform: translateY(-1px);
}

.gss-action-primary {
    background: linear-gradient(135deg, #66a7d8, #2878ad);
    color: #fff !important;
    box-shadow: 0 9px 22px rgba(27, 102, 151, .23);
}

.gss-action-primary:hover {
    filter: brightness(1.08);
}

.gss-action-ghost {
    border-color: rgba(174, 216, 243, .2);
    background: rgba(255, 255, 255, .055);
    color: #d8e8f2 !important;
}

.gss-action-ghost:hover {
    border-color: rgba(174, 216, 243, .38);
    background: rgba(255, 255, 255, .09);
}

.gss-hero-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 17px;
}

.gss-hero-facts span {
    display: inline-flex;
    gap: 4px;
    padding: 6px 9px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .18);
    color: #94adbd;
    font-size: 10px;
    font-weight: 800;
}

.gss-hero-facts strong {
    color: #dceaf3;
}

.gss-cover-showcase {
    position: relative;
    z-index: 2;
    min-height: 340px;
    perspective: 1000px;
}

.gss-cover-showcase::after {
    content: "";
    position: absolute;
    left: 5%;
    right: 5%;
    bottom: 20px;
    height: 70px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    filter: blur(24px);
}

.gss-showcase-cover {
    position: absolute;
    z-index: 2;
    width: 215px;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin: 0;
    border: 1px solid rgba(184, 222, 247, .22);
    border-radius: 11px;
    background: #0a1118;
    box-shadow: 0 24px 50px rgba(0, 0, 0, .46);
}

.gss-showcase-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gss-showcase-cover-1 {
    top: 61px;
    right: 74px;
    z-index: 4;
    width: 260px;
    transform: rotateY(-7deg) rotateZ(1.5deg);
}

.gss-showcase-cover-2 {
    top: 30px;
    right: 8px;
    z-index: 3;
    transform: rotateY(-13deg) rotateZ(6deg);
    opacity: .85;
}

.gss-showcase-cover-3 {
    top: 187px;
    right: 18px;
    transform: rotateY(-9deg) rotateZ(-5deg);
    opacity: .78;
}

.gss-showcase-empty {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: rgba(162, 205, 234, .6);
    font-size: 120px;
}

.gss-membership-bar {
    display: grid;
    grid-template-columns: minmax(300px, .85fr) minmax(400px, 1.15fr);
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    padding: 14px 16px;
    border: 1px solid var(--steam-client-border);
    border-radius: 13px;
    background: var(--steam-client-surface);
    box-shadow: var(--steam-client-shadow);
}

.gss-membership-state {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gss-membership-state > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 11px;
    font-size: 22px;
}

.gss-membership-state.is-active > span {
    background: rgba(139, 197, 63, .13);
    color: #82b83e;
}

.gss-membership-state.is-locked > span {
    background: rgba(102, 167, 216, .13);
    color: var(--steam-client-accent);
}

.gss-membership-state small,
.gss-membership-state strong,
.gss-membership-state p {
    display: block;
}

.gss-membership-state small {
    color: var(--steam-client-accent);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gss-membership-state strong {
    margin-top: 2px;
    color: var(--steam-client-text);
    font-size: 16px;
    font-weight: 950;
}

.gss-membership-state p {
    margin: 2px 0 0;
    color: var(--steam-client-muted);
    font-size: 11px;
    font-weight: 750;
}

.gss-activation-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.gss-code-input {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    height: 43px;
    padding: 0 11px;
    border: 1px solid var(--steam-client-border);
    border-radius: 8px;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-accent);
}

.gss-code-input:focus-within {
    border-color: var(--steam-client-accent);
    box-shadow: 0 0 0 3px rgba(36, 115, 181, .1);
}

.gss-code-input input,
.gss-code-input input:focus {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--steam-client-text) !important;
    font: 850 12px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
}

.gss-genre-deck {
    margin-top: 22px;
}

.gss-deck-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 11px;
}

.gss-deck-heading span,
.gss-results-toolbar > div:first-child > span {
    color: var(--steam-client-accent);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.gss-deck-heading h2,
.gss-results-toolbar h2 {
    margin: 3px 0 0;
    color: var(--steam-client-text);
    font-size: 23px;
    font-weight: 1000;
    letter-spacing: -.025em;
}

.gss-deck-heading p {
    margin: 0;
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 800;
}

.gss-genre-rail {
    display: grid;
    grid-template-columns: repeat(7, minmax(145px, 1fr));
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.gss-genre-tile {
    position: relative;
    display: grid;
    grid-template-columns: 35px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    min-height: 67px;
    padding: 10px;
    border: 1px solid var(--steam-client-border);
    border-radius: 11px;
    background: var(--steam-client-surface);
    color: var(--steam-client-text);
    text-align: left;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(16, 35, 49, .05);
}

.gss-genre-tile > i {
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    border-radius: 8px;
    background: var(--steam-client-surface-3);
    color: var(--steam-client-accent);
    font-size: 17px;
}

.gss-genre-tile span,
.gss-genre-tile strong,
.gss-genre-tile small {
    display: block;
}

.gss-genre-tile strong {
    overflow: hidden;
    color: var(--steam-client-text);
    font-size: 11px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gss-genre-tile small {
    margin-top: 2px;
    color: var(--steam-client-muted);
    font-size: 9px;
    font-weight: 800;
}

.gss-genre-tile > b {
    color: var(--steam-client-muted);
    font-size: 14px;
}

.gss-genre-tile:hover,
.gss-genre-tile.is-active {
    border-color: var(--steam-client-accent);
    background: var(--steam-client-surface-2);
}

.gss-genre-tile.is-active {
    box-shadow: inset 0 -3px 0 var(--steam-client-accent);
}

.gss-discovery {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
    margin-top: 18px;
}

.gss-filter-console {
    position: sticky;
    top: 14px;
    overflow: hidden;
    border: 1px solid var(--gss-line);
    border-radius: 14px;
    background: var(--gss-panel);
    box-shadow: 0 18px 44px rgba(7, 19, 29, .18);
}

.gss-filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border-bottom: 1px solid var(--gss-line);
    background: linear-gradient(135deg, #102333, #18364a);
    color: #fff;
}

.gss-filter-title > div {
    display: flex;
    align-items: center;
    gap: 9px;
}

.gss-filter-title > div > i {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(102, 167, 216, .16);
    color: #82c8fa;
    font-size: 18px;
}

.gss-filter-title span,
.gss-filter-title small,
.gss-filter-title strong {
    display: block;
}

.gss-filter-title small {
    color: #8fb1c6;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.gss-filter-title strong {
    margin-top: 1px;
    font-size: 15px;
    font-weight: 950;
}

.gss-filter-title > button {
    display: grid;
    place-items: center;
    width: 33px;
    height: 33px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.05);
    color: #a8c5d7;
    cursor: pointer;
}

.gss-filter-title > button:hover {
    background: rgba(255,255,255,.1);
    color: #fff;
}

.gss-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 41px;
    margin: 13px 13px 0;
    padding: 0 9px 0 11px;
    border: 1px solid var(--gss-line);
    border-radius: 8px;
    background: var(--gss-panel-2);
    color: var(--gss-muted);
}

.gss-search-box:focus-within {
    border-color: var(--gss-blue);
}

.gss-search-box input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--gss-copy) !important;
    font-size: 11px;
    font-weight: 800;
}

.gss-search-box > button {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gss-muted);
    cursor: pointer;
}

.gss-filter-block {
    margin: 13px;
    padding-top: 13px;
    border-top: 1px solid var(--gss-line);
}

.gss-filter-label,
.gss-filter-label-row {
    color: var(--gss-muted);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.gss-filter-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gss-filter-label-row small {
    color: var(--gss-blue);
    font-size: 9px;
    letter-spacing: 0;
    text-transform: none;
}

.gss-stock-switch {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    margin-top: 8px;
}

.gss-stock-switch button {
    min-width: 0;
    min-height: 47px;
    padding: 6px 3px;
    border: 1px solid var(--gss-line);
    border-radius: 7px;
    background: transparent;
    color: var(--gss-muted);
    cursor: pointer;
}

.gss-stock-switch button span,
.gss-stock-switch button b {
    display: block;
}

.gss-stock-switch button span {
    overflow: hidden;
    font-size: 9px;
    font-weight: 850;
    text-overflow: ellipsis;
}

.gss-stock-switch button b {
    margin-top: 2px;
    color: var(--gss-copy);
    font-size: 11px;
}

.gss-stock-switch button:hover,
.gss-stock-switch button.is-active {
    border-color: var(--gss-blue);
    background: rgba(102, 167, 216, .1);
    color: var(--gss-blue-bright);
}

.gss-genre-checklist {
    max-height: 320px;
    overflow-y: auto;
    margin: 8px -3px 0 0;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--gss-line) transparent;
}

.gss-genre-check {
    display: grid;
    grid-template-columns: 17px 17px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    margin: 2px 0;
    padding: 6px 7px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: var(--gss-muted);
    cursor: pointer;
}

.gss-genre-check:hover,
.gss-genre-check:has(input:checked) {
    border-color: var(--gss-line);
    background: var(--gss-panel-2);
    color: var(--gss-copy);
}

.gss-genre-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gss-checkmark {
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid var(--gss-line);
    border-radius: 4px;
    color: transparent;
    font-size: 11px;
}

.gss-genre-check input:checked + .gss-checkmark {
    border-color: var(--gss-blue);
    background: var(--gss-blue);
    color: #fff;
}

.gss-genre-check > i {
    color: var(--gss-blue);
    font-size: 15px;
}

.gss-genre-check strong {
    overflow: hidden;
    font-size: 10px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gss-genre-check b {
    display: grid;
    place-items: center;
    min-width: 22px;
    height: 20px;
    padding: 0 5px;
    border-radius: 6px;
    background: rgba(102,167,216,.1);
    color: var(--gss-blue);
    font-size: 9px;
}

.gss-sort-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 39px;
    margin-top: 8px;
    padding: 0 9px;
    border: 1px solid var(--gss-line);
    border-radius: 7px;
    background: var(--gss-panel-2);
    color: var(--gss-blue);
}

.gss-sort-wrap select {
    width: 100%;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--gss-copy) !important;
    font-size: 10px;
    font-weight: 800;
}

.gss-sort-wrap option {
    background: var(--gss-panel);
    color: var(--gss-copy);
}

.gss-results {
    min-width: 0;
}

.gss-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 76px;
    padding: 12px 14px;
    border: 1px solid var(--steam-client-border);
    border-radius: 13px;
    background: var(--steam-client-surface);
}

.gss-results-toolbar h2 {
    font-size: 21px;
}

.gss-results-toolbar p {
    margin: 4px 0 0;
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 800;
}

.gss-results-toolbar p strong {
    color: var(--steam-client-text);
}

.gss-view-switch {
    display: flex;
    gap: 4px;
    padding: 3px;
    border: 1px solid var(--steam-client-border);
    border-radius: 8px;
    background: var(--steam-client-surface-2);
}

.gss-view-switch button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 32px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--steam-client-muted);
    cursor: pointer;
}

.gss-view-switch button:hover,
.gss-view-switch button.is-active {
    background: var(--steam-client-surface);
    color: var(--steam-client-accent);
    box-shadow: 0 3px 10px rgba(16,35,49,.08);
}

.gss-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 9px 0;
}

.gss-active-filters[hidden] {
    display: none !important;
}

.gss-active-filters button {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 29px;
    padding: 5px 8px;
    border: 1px solid rgba(36,115,181,.2);
    border-radius: 7px;
    background: rgba(36,115,181,.08);
    color: var(--steam-client-accent);
    font-size: 9px;
    font-weight: 850;
    cursor: pointer;
}

.gss-active-filters button b {
    margin-left: 2px;
    font-size: 13px;
}

.gss-game-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 11px;
}

.gss-game-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--steam-client-border);
    border-radius: 13px;
    background: var(--steam-client-surface);
    box-shadow: 0 12px 28px rgba(12, 31, 45, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gss-game-card[hidden] {
    display: none !important;
}

.gss-game-card:hover {
    z-index: 2;
    border-color: rgba(36, 115, 181, .42);
    box-shadow: 0 18px 38px rgba(19, 70, 105, .16);
    transform: translateY(-3px);
}

.gss-game-cover {
    position: relative;
    height: 168px;
    overflow: hidden;
    background: #0b151e;
}

.gss-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.gss-game-card:hover .gss-game-cover img {
    transform: scale(1.035);
}

.gss-game-cover-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(4,10,15,.02) 38%, rgba(5,13,19,.82) 100%);
}

.gss-delivery-badge {
    position: absolute;
    left: 10px;
    bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    color: #fff;
    font-size: 9px;
    font-weight: 950;
    backdrop-filter: blur(8px);
}

.gss-delivery-badge.is-instant {
    background: rgba(52, 126, 55, .82);
}

.gss-delivery-badge.is-waiting {
    background: rgba(159, 93, 26, .85);
}

.gss-card-index {
    position: absolute;
    top: 9px;
    right: 9px;
    display: grid;
    place-items: center;
    min-width: 28px;
    height: 25px;
    padding: 0 6px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 6px;
    background: rgba(8,17,25,.68);
    color: rgba(255,255,255,.72);
    font: 800 9px ui-monospace, monospace;
}

.gss-game-body {
    padding: 13px;
}

.gss-game-genres {
    display: flex;
    gap: 4px;
    overflow: hidden;
    min-height: 24px;
    margin: -1px 0 8px;
}

.gss-game-genres button {
    flex: 0 0 auto;
    max-width: 105px;
    overflow: hidden;
    padding: 4px 7px;
    border: 1px solid rgba(36,115,181,.15);
    border-radius: 5px;
    background: rgba(36,115,181,.07);
    color: var(--steam-client-accent);
    font-size: 9px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.gss-game-genres button:hover,
.gss-game-genres button.is-active {
    border-color: var(--steam-client-accent);
    background: rgba(36,115,181,.14);
}

.gss-game-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.gss-game-title small {
    display: block;
    color: var(--steam-client-muted);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gss-game-title h3 {
    min-height: 43px;
    margin: 3px 0 0;
    color: var(--steam-client-text);
    font-size: 16px;
    font-weight: 1000;
    line-height: 1.25;
}

.gss-game-title > i {
    color: var(--steam-client-accent);
    font-size: 21px;
}

.gss-select-button {
    width: 100%;
    justify-content: flex-start;
}

.gss-select-button > b {
    margin-left: auto;
}

.gss-game-grid.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gss-game-grid.is-compact .gss-game-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
}

.gss-game-grid.is-compact .gss-game-cover {
    height: 100%;
    min-height: 205px;
}

.gss-game-grid.is-compact .gss-game-title h3 {
    min-height: 0;
}

.gss-filter-empty,
.gss-empty {
    display: grid;
    place-items: center;
    min-height: 320px;
    margin-top: 11px;
    padding: 30px;
    border: 1px dashed var(--steam-client-border);
    border-radius: 13px;
    background: var(--steam-client-surface);
    color: var(--steam-client-muted);
    text-align: center;
}

.gss-filter-empty[hidden] {
    display: none !important;
}

.gss-filter-empty > i,
.gss-empty > i {
    color: var(--steam-client-accent);
    font-size: 43px;
}

.gss-filter-empty strong,
.gss-empty h3 {
    margin: 9px 0 0;
    color: var(--steam-client-text);
    font-size: 17px;
    font-weight: 950;
}

.gss-filter-empty span,
.gss-empty p {
    margin: 5px 0 0;
    font-size: 11px;
    font-weight: 700;
}

.gss-filter-empty button {
    margin-top: 12px;
    padding: 8px 11px;
    border: 1px solid rgba(36,115,181,.22);
    border-radius: 7px;
    background: rgba(36,115,181,.1);
    color: var(--steam-client-accent);
    font-size: 10px;
    font-weight: 900;
    cursor: pointer;
}

.gss-locked-state {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    padding: 22px;
    border: 1px solid rgba(102,167,216,.2);
    border-radius: 13px;
    background: linear-gradient(120deg, var(--steam-client-surface), rgba(36,115,181,.08));
}

.gss-locked-state > span {
    display: grid;
    place-items: center;
    width: 55px;
    height: 55px;
    flex: 0 0 55px;
    border-radius: 12px;
    background: rgba(36,115,181,.12);
    color: var(--steam-client-accent);
    font-size: 25px;
}

.gss-locked-state small,
.gss-locked-state strong {
    display: block;
}

.gss-locked-state small {
    color: var(--steam-client-accent);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.gss-locked-state strong {
    margin-top: 3px;
    color: var(--steam-client-text);
    font-size: 17px;
    font-weight: 950;
}

.gss-locked-state p {
    margin: 4px 0 0;
    color: var(--steam-client-muted);
    font-size: 12px;
    font-weight: 700;
}

@media (max-width: 1250px) {
    .gss-store-hero {
        grid-template-columns: minmax(0, 1fr) 360px;
    }

    .gss-showcase-cover-1 {
        right: 45px;
        width: 235px;
    }

    .gss-showcase-cover-2,
    .gss-showcase-cover-3 {
        right: 2px;
    }

    .gss-game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gss-game-grid.is-compact {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .gss-store-hero {
        grid-template-columns: minmax(0, 1fr) 300px;
        min-height: 315px;
    }

    .gss-store-hero-copy {
        padding: 30px 10px 30px 28px;
    }

    .gss-cover-showcase {
        min-height: 315px;
    }

    .gss-showcase-cover-1 {
        top: 80px;
        right: 22px;
        width: 225px;
    }

    .gss-showcase-cover-2 {
        width: 175px;
    }

    .gss-showcase-cover-3 {
        display: none;
    }

    .gss-membership-bar {
        grid-template-columns: 1fr;
    }

    .gss-discovery {
        grid-template-columns: 1fr;
    }

    .gss-filter-console {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: minmax(210px, .8fr) minmax(220px, 1fr) minmax(240px, 1.1fr);
        gap: 10px;
        padding: 11px;
    }

    .gss-filter-title {
        grid-column: 1/-1;
        margin: -11px -11px 0;
        border-radius: 13px 13px 0 0;
    }

    .gss-search-box,
    .gss-filter-block {
        margin: 0;
    }

    .gss-filter-block {
        padding: 0;
        border: 0;
    }

    .gss-genre-filter-block {
        grid-column: 1/-1;
    }

    .gss-genre-checklist {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        max-height: 180px;
        gap: 3px;
    }
}

@media (max-width: 767.98px) {
    .gss-store-hero {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .gss-store-hero-copy {
        padding: 27px 22px;
    }

    .gss-store-hero h1 {
        font-size: 38px;
    }

    .gss-cover-showcase {
        display: none;
    }

    .gss-membership-bar,
    .gss-activation-form {
        grid-template-columns: 1fr;
    }

    .gss-genre-rail {
        grid-template-columns: repeat(7, 150px);
    }

    .gss-filter-console {
        display: block;
        padding: 12px;
    }

    .gss-filter-title {
        margin: -12px -12px 12px;
    }

    .gss-search-box,
    .gss-filter-block {
        margin: 11px 0 0;
    }

    .gss-filter-block {
        padding-top: 11px;
        border-top: 1px solid var(--gss-line);
    }

    .gss-genre-checklist {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-height: 250px;
    }

    .gss-game-grid,
    .gss-game-grid.is-compact {
        grid-template-columns: 1fr;
    }

    .gss-game-grid.is-compact .gss-game-card {
        display: block;
    }

    .gss-game-grid.is-compact .gss-game-cover {
        min-height: 0;
        height: 168px;
    }
}

@media (max-width: 480px) {
    .gss-store-hero h1 {
        font-size: 33px;
    }

    .gss-hero-actions .gss-action {
        width: 100%;
    }

    .gss-hero-facts {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .gss-hero-facts span {
        justify-content: center;
        text-align: center;
    }

    .gss-deck-heading,
    .gss-results-toolbar {
        align-items: flex-start;
    }

    .gss-deck-heading p {
        display: none;
    }

    .gss-results-toolbar h2 {
        font-size: 18px;
    }

    .gss-genre-checklist {
        grid-template-columns: 1fr;
    }
}

/* Shared full-screen client pages */
.fpd-subpage-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
}

.fpd-subpage-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 11px;
}

.fpd-subpage-heading > i {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    place-items: center;
    border: 1px solid rgba(33,150,243,.14);
    border-radius: 10px;
    background: rgba(33,150,243,.09);
    color: var(--fpd-blue);
    font-size: 19px;
}

.fpd-subpage-heading span,
.fpd-subpage-heading small,
.fpd-subpage-heading strong {
    display: block;
    min-width: 0;
}

.fpd-subpage-heading small {
    color: #59616b;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.fpd-subpage-heading strong {
    overflow: hidden;
    margin-top: 3px;
    color: #f5f7f9;
    font-size: 13px;
    font-weight: 950;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.fp-client-app-body .fp-client-main-col,
body.fp-client-app-body .fp-ticket-page,
body.fp-client-app-body .fp-chat-ticket-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    flex: 0 0 100%;
    padding: 22px 27px 42px !important;
    margin: 0 !important;
}

body.fp-client-app-body .gss-page {
    --steam-client-bg: #111318;
    --steam-client-surface: #1d1f24;
    --steam-client-surface-2: #24262c;
    --steam-client-surface-3: #2b2e35;
    --steam-client-text: #f3f5f7;
    --steam-client-muted: #858a94;
    --steam-client-border: rgba(255,255,255,.075);
    --steam-client-accent: #2196f3;
    --steam-client-accent-2: #1976b9;
    --steam-client-shadow: 0 18px 45px rgba(0,0,0,.2);
    --gss-deep: #111318;
    --gss-panel: #1d1f24;
    --gss-panel-2: #25272d;
    --gss-line: rgba(255,255,255,.075);
    --gss-blue: #2196f3;
    --gss-blue-bright: #75c5fa;
    --gss-green: #00c853;
    --gss-copy: #f3f5f7;
    --gss-muted: #858a94;
    padding: 0 0 20px;
    color: #f3f5f7;
}

body.fp-client-app-body .gss-store-hero {
    min-height: 310px;
    border-color: rgba(33,150,243,.14);
    border-radius: 13px;
    background:
        radial-gradient(circle at 82% 9%, rgba(33,150,243,.18), transparent 32%),
        linear-gradient(120deg,#141b22 0%,#182833 53%,#173e57 100%);
    box-shadow: 0 22px 50px rgba(0,0,0,.21);
}

body.fp-client-app-body .gss-store-hero h1,
body.fp-client-app-body .gss-deck-heading h2,
body.fp-client-app-body .gss-results-toolbar h2,
body.fp-client-app-body .gss-game-title h3,
body.fp-client-app-body .gss-membership-state strong {
    color: #f7f9fb;
}

body.fp-client-app-body .gss-store-hero-copy > p,
body.fp-client-app-body .gss-deck-heading p,
body.fp-client-app-body .gss-results-toolbar p,
body.fp-client-app-body .gsl-added-line {
    color: #8b919b;
}

body.fp-client-app-body .gss-membership-bar,
body.fp-client-app-body .gss-genre-tile,
body.fp-client-app-body .gss-results-toolbar,
body.fp-client-app-body .gss-game-card,
body.fp-client-app-body .gsl-membership-quick,
body.fp-client-app-body .gsl-gift-code,
body.fp-client-app-body .gss-locked-state,
body.fp-client-app-body .gss-empty,
body.fp-client-app-body .gss-filter-empty {
    border-color: rgba(255,255,255,.075);
    background: #1d1f24;
    color: #f3f5f7;
    box-shadow: 0 16px 38px rgba(0,0,0,.15);
}

body.fp-client-app-body .gss-membership-bar {
    border-radius: 11px;
}

body.fp-client-app-body .gss-genre-tile {
    border-radius: 9px;
}

body.fp-client-app-body .gss-genre-tile:hover,
body.fp-client-app-body .gss-genre-tile.is-active {
    border-color: rgba(33,150,243,.35);
    background: rgba(33,150,243,.09);
}

body.fp-client-app-body .gss-genre-tile > i,
body.fp-client-app-body .gss-view-switch,
body.fp-client-app-body .gss-sort-wrap,
body.fp-client-app-body .gss-stock-switch button,
body.fp-client-app-body .gss-search-box,
body.fp-client-app-body .gss-code-input {
    border-color: rgba(255,255,255,.075);
    background: #25272d;
}

body.fp-client-app-body .gss-filter-console {
    top: 103px;
    border-color: rgba(255,255,255,.075);
    border-radius: 11px;
    background: #1d1f24;
    box-shadow: 0 18px 42px rgba(0,0,0,.2);
}

body.fp-client-app-body .gss-filter-title {
    border-bottom-color: rgba(255,255,255,.075);
    background: linear-gradient(135deg,#171d24,#1d2932);
}

body.fp-client-app-body .gss-filter-block {
    border-top-color: rgba(255,255,255,.065);
}

body.fp-client-app-body .gss-search-box input,
body.fp-client-app-body .gss-sort-wrap select,
body.fp-client-app-body .gss-code-input input,
body.fp-client-app-body .gss-code-input input:focus {
    color: #edf0f3 !important;
}

body.fp-client-app-body .gss-search-box input::placeholder,
body.fp-client-app-body .gss-code-input input::placeholder {
    color: #666d77 !important;
}

body.fp-client-app-body .gss-genre-check:hover,
body.fp-client-app-body .gss-genre-check:has(input:checked) {
    background: rgba(33,150,243,.08);
}

body.fp-client-app-body .gss-game-grid {
    grid-template-columns: repeat(3, minmax(0,1fr));
}

body.fp-client-app-body .gss-game-card {
    overflow: hidden;
    border-radius: 10px;
}

body.fp-client-app-body .gss-game-card:hover {
    border-color: rgba(33,150,243,.25);
    box-shadow: 0 20px 42px rgba(0,0,0,.25);
}

body.fp-client-app-body .gss-game-body {
    background: #1d1f24;
}

body.fp-client-app-body .gss-game-genres button,
body.fp-client-app-body .gss-active-filters button {
    border-color: rgba(33,150,243,.14);
    background: rgba(33,150,243,.1);
    color: #67b9ef;
}

body.fp-client-app-body .gsl-gift-code {
    border-color: rgba(255,255,255,.07);
    background: #25272d;
}

body.fp-client-app-body .gsl-gift-code strong {
    color: #eff2f5;
}

body.fp-client-app-body .gss-action-primary {
    background: linear-gradient(135deg,#2196f3,#1976b9);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(33,150,243,.18);
}

body.fp-client-app-body .gss-action-ghost,
body.fp-client-app-body .gsl-disabled-action {
    border-color: rgba(255,255,255,.08);
    background: #292b31;
    color: #aeb3bc !important;
}

body.fp-client-app-body .gss-showcase-cover {
    border-color: rgba(255,255,255,.12);
}

/* Support list and conversation */
body.fp-client-app-body .fp-ticket-page,
body.fp-client-app-body .fp-chat-ticket-wrap {
    color: #f3f5f7;
}

body.fp-client-app-body .fp-ticket-panel,
body.fp-client-app-body .fp-chat-ticket {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.075) !important;
    border-radius: 12px;
    background: #1d1f24 !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.2) !important;
}

body.fp-client-app-body .fp-ticket-panel-head,
body.fp-client-app-body .fp-chat-head {
    border-bottom-color: rgba(255,255,255,.075) !important;
    background:
        radial-gradient(circle at 100% 0,rgba(33,150,243,.15),transparent 35%),
        #20242a !important;
}

body.fp-client-app-body .fp-ticket-panel-icon,
body.fp-client-app-body .fp-chat-avatar {
    border-radius: 11px;
    background: linear-gradient(135deg,#2196f3,#1976b9) !important;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(33,150,243,.2);
}

body.fp-client-app-body .fp-ticket-panel-title h1,
body.fp-client-app-body .fp-chat-title h1,
body.fp-client-app-body .fp-ticket-card-text h3 {
    color: #f5f7fa !important;
}

body.fp-client-app-body .fp-ticket-panel-title p,
body.fp-client-app-body .fp-ticket-card-text p,
body.fp-client-app-body .fp-chat-title p,
body.fp-client-app-body .fp-chat-title p span {
    color: #858a94 !important;
}

body.fp-client-app-body .fp-ticket-list {
    background: #17191e;
}

body.fp-client-app-body .fp-ticket-card {
    border-color: rgba(255,255,255,.065) !important;
    border-radius: 9px;
    background: #22242a !important;
}

body.fp-client-app-body .fp-ticket-card:hover {
    border-color: rgba(33,150,243,.27) !important;
    background: rgba(33,150,243,.08) !important;
    box-shadow: none !important;
}

body.fp-client-app-body .fp-ticket-card-icon,
body.fp-client-app-body .fp-ticket-go {
    border-radius: 9px;
    background: rgba(33,150,243,.1) !important;
    color: #77c5f8 !important;
}

body.fp-client-app-body .fp-ticket-new-btn,
body.fp-client-app-body .fp-ticket-create-submit,
body.fp-client-app-body .fp-chat-send {
    border: 0 !important;
    background: linear-gradient(135deg,#2196f3,#1976b9) !important;
    color: #fff !important;
    box-shadow: 0 12px 26px rgba(33,150,243,.2) !important;
}

body.fp-client-app-body .fp-ticket-create-modal .modal-content {
    border-color: rgba(255,255,255,.09) !important;
    border-radius: 12px;
    background: #1d1f24 !important;
}

body.fp-client-app-body .fp-ticket-create-modal .modal-header {
    background: #22252b !important;
}

body.fp-client-app-body .fp-ticket-create-note {
    border-color: rgba(33,150,243,.17);
    background: rgba(33,150,243,.08);
    color: #a8d8f7;
}

body.fp-client-app-body .fp-ticket-field .form-control,
body.fp-client-app-body .fp-chat-ticket .fp-chat-input textarea.form-control {
    border-color: rgba(255,255,255,.09) !important;
    background: #15171c !important;
    color: #f2f4f7 !important;
    caret-color: #f2f4f7 !important;
    -webkit-text-fill-color: #f2f4f7 !important;
}

body.fp-client-app-body .fp-ticket-field .form-control::placeholder,
body.fp-client-app-body .fp-chat-ticket .fp-chat-input textarea.form-control::placeholder {
    color: #676d77 !important;
    -webkit-text-fill-color: #676d77 !important;
}

body.fp-client-app-body .fp-chat-back {
    border-color: rgba(33,150,243,.18) !important;
    background: rgba(33,150,243,.09) !important;
    color: #86caf5 !important;
}

body.fp-client-app-body .fp-chat-body {
    max-height: calc(100vh - 310px);
    background:
        radial-gradient(circle at 0 0,rgba(33,150,243,.08),transparent 34%),
        #15171c !important;
}

body.fp-client-app-body .fp-chat-composer {
    border-top-color: rgba(255,255,255,.075);
    background: #1d1f24 !important;
}

/* Account settings */
body.fp-client-app-body .fp-settings-page {
    min-height: 0;
    padding: 0;
    --fp-green: #2196f3;
    --fp-green-2: #1976b9;
    --fp-soft: rgba(33,150,243,.08);
    --fp-border: rgba(255,255,255,.075);
}

body.fp-client-app-body .fp-settings-hero {
    margin-bottom: 14px;
    padding: 22px;
    border: 1px solid rgba(33,150,243,.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 92% 10%,rgba(33,150,243,.14),transparent 34%),
        #1d1f24 !important;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
}

body.fp-client-app-body .fp-settings-hero::after {
    display: none;
}

body.fp-client-app-body .fp-settings-hero-icon {
    border-color: rgba(33,150,243,.17);
    border-radius: 11px;
    background: rgba(33,150,243,.09) !important;
    box-shadow: none !important;
}

body.fp-client-app-body .fp-settings-hero-icon i,
body.fp-client-app-body .fp-settings-hero-copy span {
    color: #72c1f3;
}

body.fp-client-app-body .fp-settings-hero-copy h1 {
    color: #f7f9fb;
}

body.fp-client-app-body .fp-settings-hero-copy p {
    color: #8b9099;
}

body.fp-client-app-body .fp-settings-soft-btn {
    border-color: rgba(255,255,255,.09);
    background: #292b31;
    color: #d2d6dc;
}

body.fp-client-app-body .fp-settings-status-grid {
    gap: 10px;
    margin-bottom: 14px;
}

body.fp-client-app-body .fp-settings-status-card,
body.fp-client-app-body .fp-settings-tabs,
body.fp-client-app-body .fp-settings-content-card {
    border: 1px solid rgba(255,255,255,.075);
    background: #1d1f24 !important;
    box-shadow: 0 16px 38px rgba(0,0,0,.15) !important;
}

body.fp-client-app-body .fp-settings-status-card {
    min-height: 84px;
    border-radius: 10px;
}

body.fp-client-app-body .fp-settings-status-card > span {
    border-radius: 9px;
    background: rgba(33,150,243,.09);
    color: #67b9ef;
}

body.fp-client-app-body .fp-settings-status-card small,
body.fp-client-app-body .fp-settings-tabs .link small,
body.fp-client-app-body .fp-field small,
body.fp-client-app-body .fp-settings-switch-copy small {
    color: #777d87 !important;
}

body.fp-client-app-body .fp-settings-status-card strong,
body.fp-client-app-body .fp-settings-tabs .link,
body.fp-client-app-body .fp-field > span,
body.fp-client-app-body .fp-settings-switch-copy strong,
body.fp-client-app-body .fp-settings-panel-head h2 {
    color: #f3f5f7 !important;
}

body.fp-client-app-body .fp-settings-shell {
    grid-template-columns: 240px minmax(0,1fr);
    gap: 14px;
}

body.fp-client-app-body .fp-settings-tabs-wrap {
    top: 103px;
}

body.fp-client-app-body .fp-settings-tabs {
    gap: 6px;
    padding: 9px;
    border-radius: 11px;
}

body.fp-client-app-body .fp-settings-tabs .link {
    min-height: 59px;
    border-radius: 8px;
}

body.fp-client-app-body .fp-settings-tabs .link i {
    border-radius: 8px;
    background: rgba(33,150,243,.09);
    color: #65b8ee;
}

body.fp-client-app-body .fp-settings-tabs .link:hover,
body.fp-client-app-body .fp-settings-tabs .link.active {
    border-color: rgba(33,150,243,.18);
    background: rgba(33,150,243,.09);
    box-shadow: inset 3px 0 0 #2196f3;
    color: #fff !important;
}

body.fp-client-app-body .fp-settings-tabs .link:hover i,
body.fp-client-app-body .fp-settings-tabs .link.active i {
    background: linear-gradient(135deg,#2196f3,#1976b9);
    color: #fff;
    box-shadow: 0 8px 18px rgba(33,150,243,.18);
}

body.fp-client-app-body .fp-settings-content-card {
    min-height: 430px;
    padding: 22px;
    border-radius: 11px;
}

body.fp-client-app-body .fp-settings-panel-head {
    border-bottom-color: rgba(255,255,255,.075);
}

body.fp-client-app-body .fp-settings-panel-head span {
    color: #64b7ed;
}

body.fp-client-app-body .fp-settings-panel-head > i {
    border-radius: 10px;
    background: rgba(33,150,243,.09);
    color: #65b9ef;
}

body.fp-client-app-body .fp-input-icon .form-control,
body.fp-client-app-body .fp-input-icon .form-control:focus {
    border-color: rgba(255,255,255,.09) !important;
    border-radius: 9px;
    background: #15171c !important;
    color: #f4f6f8 !important;
    box-shadow: none !important;
}

body.fp-client-app-body .fp-input-icon .form-control:focus {
    border-color: rgba(33,150,243,.45) !important;
    box-shadow: 0 0 0 3px rgba(33,150,243,.09) !important;
}

body.fp-client-app-body .fp-input-icon i {
    color: #61b5ec;
}

body.fp-client-app-body .fp-settings-submit {
    border-radius: 8px;
    background: linear-gradient(135deg,#2196f3,#1976b9);
    box-shadow: 0 12px 25px rgba(33,150,243,.18);
}

body.fp-client-app-body .fp-settings-alert.warning {
    border-color: rgba(255,171,0,.2);
    background: rgba(255,171,0,.08);
    color: #ffd27a;
}

body.fp-client-app-body .fp-settings-alert.success {
    border-color: rgba(0,200,83,.18);
    background: rgba(0,200,83,.07);
    color: #78e7a6;
}

body.fp-client-app-body .fp-settings-switch-card {
    border-color: rgba(33,150,243,.15);
    border-radius: 10px;
    background: rgba(33,150,243,.06);
}

body.fp-client-app-body .fp-settings-switch-icon,
body.fp-client-app-body .fp-settings-switch input:checked + em {
    background: linear-gradient(135deg,#2196f3,#1976b9);
}

@media (max-width: 1240px) {
    body.fp-client-app-body .gss-game-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 1050px) {
    .fpd-subpage-topbar {
        grid-template-columns: auto minmax(0,1fr) auto;
    }

    body.fp-client-app-body .fp-settings-shell {
        grid-template-columns: 1fr;
    }

    body.fp-client-app-body .fp-settings-tabs-wrap {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767.98px) {
    .fpd-subpage-topbar {
        grid-template-columns: minmax(0,1fr) auto;
    }

    .fpd-subpage-heading > i {
        width: 35px;
        height: 35px;
        flex-basis: 35px;
    }

    body.fp-client-app-body .fp-client-main-col,
    body.fp-client-app-body .fp-ticket-page,
    body.fp-client-app-body .fp-chat-ticket-wrap {
        padding: 14px 14px 94px !important;
    }

    body.fp-client-app-body .gss-store-hero {
        min-height: 0;
    }

    body.fp-client-app-body .gss-game-grid {
        grid-template-columns: 1fr;
    }

    body.fp-client-app-body .gss-discovery {
        grid-template-columns: 1fr;
    }

    body.fp-client-app-body .gss-filter-console {
        position: relative;
        top: auto;
    }

    body.fp-client-app-body .fp-settings-status-grid {
        grid-template-columns: 1fr;
    }

    body.fp-client-app-body .fp-settings-tabs {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.fp-client-app-body .fp-chat-body {
        max-height: none;
    }
}

html[data-theme="dark"],
html[data-bs-theme="dark"] {
    --steam-client-bg: #0f1822;
    --steam-client-surface: #171f2a;
    --steam-client-surface-2: #1d2835;
    --steam-client-surface-3: #243241;
    --steam-client-text: #e9f0f6;
    --steam-client-muted: #93a6b8;
    --steam-client-border: #2b3b4b;
    --steam-client-accent: #66a7d8;
    --steam-client-accent-2: #4b8fbe;
    --steam-client-shadow: 0 14px 36px rgba(0, 0, 0, .24);
}

.fp-client-shell-section {
    min-height: calc(100vh - 76px);
    padding: 22px 0 40px !important;
    background: var(--steam-client-bg) !important;
}

.fp-client-shell-section > .container {
    width: min(1440px, calc(100% - 40px)) !important;
    max-width: 1440px !important;
    padding: 0 !important;
}

.fp-client-shell-row {
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
}

.fp-client-sidebar-col,
.fp-client-main-col {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding: 0 !important;
}

.fp-client-sidebar-col {
    margin: 0 0 18px !important;
}

.fp-client-main-col {
    position: relative;
    z-index: 1;
}

.fp-client-sidepanel {
    position: relative !important;
    top: auto !important;
    display: grid !important;
    grid-template-columns: 104px minmax(250px, 300px) minmax(0, 1fr) 148px;
    align-items: stretch !important;
    gap: 6px;
    min-height: 82px;
    padding: 6px;
    overflow: hidden !important;
    border: 1px solid rgba(122, 178, 216, .18) !important;
    border-radius: 17px !important;
    background: linear-gradient(115deg, #0a141e 0%, #102331 48%, #143348 100%) !important;
    box-shadow: 0 20px 48px rgba(6, 18, 28, .24) !important;
}

.fp-client-sidepanel::before {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    right: 12%;
    left: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(130, 200, 250, .62), transparent);
    pointer-events: none;
}

.fp-client-panel-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
    border: 1px solid rgba(151, 192, 219, .11);
    border-radius: 11px;
    background: rgba(255, 255, 255, .035);
    color: #fff;
}

.fp-client-panel-brand > i {
    margin-bottom: 2px;
    color: #82c8fa;
    font-size: 21px;
}

.fp-client-panel-brand span {
    font-size: 10px;
    font-weight: 1000;
    letter-spacing: .07em;
}

.fp-client-panel-brand b {
    color: #7392a7;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .2em;
}

.fp-client-userbox {
    display: flex !important;
    align-items: center !important;
    gap: 11px !important;
    min-width: 0;
    min-height: 68px;
    padding: 9px 10px !important;
    border: 1px solid rgba(151, 192, 219, .12) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, .045) !important;
    background-image: none !important;
    color: #eef7fc !important;
    box-shadow: none !important;
}

.fp-client-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
}

.fp-client-avatar {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    border: 1px solid rgba(176, 217, 244, .22) !important;
    border-radius: 12px !important;
    background: linear-gradient(145deg, rgba(102, 167, 216, .2), rgba(255, 255, 255, .04)) !important;
    box-shadow: inset 0 0 0 3px rgba(5, 15, 22, .18);
}

.fp-client-avatar img {
    width: 90% !important;
    height: 90% !important;
    filter: none !important;
}

.fp-client-online-dot {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 12px;
    height: 12px;
    border: 3px solid #102331;
    border-radius: 50%;
    background: #72be44;
    box-shadow: 0 0 0 2px rgba(114, 190, 68, .14);
}

.fp-client-user-content {
    min-width: 0;
    flex: 1 1 auto;
}

.fp-client-presence {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #8fb0c5;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.fp-client-presence > span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #72be44;
}

.fp-client-user-name {
    margin-top: 2px;
    color: #f1f8fc !important;
    font-size: 14px !important;
    font-weight: 950 !important;
}

.fp-client-user-mode {
    margin-top: 3px !important;
    color: #83b8d9 !important;
    font-size: 9px !important;
    letter-spacing: .07em !important;
}

.fp-client-user-mode i {
    font-size: 12px !important;
}

.fp-client-user-action {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border: 1px solid rgba(151, 192, 219, .13);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    color: #8daabd !important;
    text-decoration: none !important;
}

.fp-client-user-action:hover {
    border-color: rgba(130, 200, 250, .36);
    background: rgba(102, 167, 216, .11);
    color: #bfe4fb !important;
}

.fp-client-nav {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    gap: 5px !important;
    min-width: 0;
    padding: 5px !important;
    overflow: visible !important;
    border: 1px solid rgba(151, 192, 219, .11);
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
}

.fp-client-nav-link {
    position: relative;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: auto !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 56px !important;
    margin: 0 !important;
    padding: 7px 9px !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    background: transparent !important;
    color: #809caf !important;
    box-shadow: none !important;
    text-align: left !important;
    transform: none !important;
}

.fp-client-nav-link:hover,
.fp-client-nav-link.active {
    border-color: rgba(130, 200, 250, .18) !important;
    background: rgba(102, 167, 216, .1) !important;
    color: #e8f5fd !important;
    box-shadow: inset 0 0 0 1px rgba(130, 200, 250, .03) !important;
}

.fp-client-nav-link.active {
    border-color: rgba(130, 200, 250, .34) !important;
    background: linear-gradient(135deg, rgba(66, 132, 177, .36), rgba(38, 103, 147, .2)) !important;
}

.fp-client-nav-link.active::after {
    content: "";
    position: absolute;
    right: 8px;
    bottom: -1px;
    left: 8px;
    height: 3px;
    border-radius: 2px 2px 0 0;
    background: #72b8e8;
    box-shadow: 0 -2px 10px rgba(114, 184, 232, .45);
}

.fp-client-nav-icon {
    display: grid !important;
    place-items: center;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border: 1px solid rgba(151, 192, 219, .1) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .035) !important;
    color: #79afd1 !important;
}

.fp-client-nav-icon i {
    font-size: 17px !important;
}

.fp-client-nav-link:hover .fp-client-nav-icon,
.fp-client-nav-link.active .fp-client-nav-icon {
    border-color: rgba(130, 200, 250, .2) !important;
    background: rgba(102, 167, 216, .14) !important;
    color: #a8dcfa !important;
}

.fp-client-nav-text {
    display: block !important;
    min-width: 0;
    flex: 0 1 auto !important;
}

.fp-client-nav-text strong {
    display: block;
    overflow: hidden;
    color: inherit !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-client-nav-text small {
    display: block !important;
    overflow: hidden;
    margin-top: 2px;
    color: #607f93 !important;
    font-size: 9px !important;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-client-nav-link:hover .fp-client-nav-text small,
.fp-client-nav-link.active .fp-client-nav-text small {
    color: #8fbed9 !important;
}

.fp-client-nav-arrow {
    display: none !important;
}

.fp-client-nav-logout,
.fp-client-nav-logout:hover {
    color: #d85f68 !important;
}

.fp-client-nav-logout .fp-client-nav-icon {
    background: rgba(216, 95, 104, .10) !important;
    color: #d85f68 !important;
}

.fp-client-panel-status {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid rgba(151, 192, 219, .11);
    border-radius: 11px;
    background: rgba(255, 255, 255, .035);
    color: #7e9aae;
}

.fp-client-status-icon {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border-radius: 8px;
    background: rgba(114, 190, 68, .1);
    color: #83c85a;
    font-size: 16px;
}

.fp-client-panel-status > span:nth-child(2) {
    min-width: 0;
    flex: 1 1 auto;
}

.fp-client-panel-status small,
.fp-client-panel-status strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-client-panel-status small {
    color: #607f93;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fp-client-panel-status strong {
    margin-top: 2px;
    color: #b6cad7;
    font-size: 9px;
    font-weight: 900;
}

.fp-client-status-check {
    color: #72be44;
    font-size: 12px;
}

/* Library workspace */
.gsl-page {
    color: var(--steam-client-text) !important;
    padding: 0 0 22px !important;
}

.gsl-hero {
    min-height: 218px !important;
    padding: 28px 30px !important;
    border: 1px solid var(--steam-client-border) !important;
    border-radius: 14px !important;
    background: #172b3c !important;
    background-image: linear-gradient(100deg, #172b3c 0%, #1b3f59 100%) !important;
    box-shadow: var(--steam-client-shadow) !important;
}

html[data-theme="light"] .gsl-hero,
html[data-bs-theme="light"] .gsl-hero {
    background: #1b3d56 !important;
    background-image: linear-gradient(100deg, #1b3d56 0%, #245878 100%) !important;
}

.gsl-hero h1 {
    margin: 11px 0 7px !important;
    font-size: clamp(30px, 4vw, 44px) !important;
    letter-spacing: -.035em !important;
}

.gsl-hero p {
    color: #c1d1dc !important;
}

.gsl-kicker,
.gsl-membership {
    border-radius: 8px !important;
    backdrop-filter: none !important;
}

.gsl-hero-art {
    font-size: 98px !important;
    color: rgba(151, 192, 219, .72) !important;
    text-shadow: none !important;
}

.gsl-stats {
    gap: 10px !important;
    margin: 12px 0 0 !important;
}

.gsl-stats article {
    padding: 13px 14px !important;
    border-color: var(--steam-client-border) !important;
    border-radius: 12px !important;
    background: var(--steam-client-surface) !important;
    color: var(--steam-client-text) !important;
    box-shadow: none !important;
}

.gsl-stats article > i {
    width: 38px !important;
    height: 38px !important;
    border-radius: 9px !important;
    background: var(--steam-client-surface-3) !important;
    color: var(--steam-client-accent) !important;
}

.gsl-stats small,
.gsl-added-date,
.gsl-section-head p {
    color: var(--steam-client-muted) !important;
}

.gsl-library-workspace {
    display: grid;
    grid-template-columns: 238px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
    margin-top: 18px;
}

.gsl-filter-panel {
    position: sticky;
    top: 16px;
    padding: 14px;
    border: 1px solid var(--steam-client-border);
    border-radius: 12px;
    background: var(--steam-client-surface);
    box-shadow: var(--steam-client-shadow);
}

.gsl-filter-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 2px 13px;
    border-bottom: 1px solid var(--steam-client-border);
}

.gsl-filter-heading > span {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: var(--steam-client-surface-3);
    color: var(--steam-client-accent);
}

.gsl-filter-heading > span i {
    font-size: 18px;
}

.gsl-filter-heading small,
.gsl-filter-heading strong {
    display: block;
}

.gsl-filter-heading small {
    color: var(--steam-client-muted) !important;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gsl-filter-heading strong {
    margin-top: 2px;
    color: var(--steam-client-text);
    font-size: 16px;
}

.gsl-library-search {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    margin: 13px 0;
    padding: 0 11px;
    border: 1px solid var(--steam-client-border);
    border-radius: 9px;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-muted);
}

.gsl-library-search i {
    font-size: 17px;
}

.gsl-library-search input {
    width: 100%;
    height: 100%;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--steam-client-text) !important;
    box-shadow: none !important;
    outline: 0;
    font-size: 12px;
    font-weight: 750;
}

.gsl-filter-group + .gsl-filter-group {
    margin-top: 15px;
    padding-top: 14px;
    border-top: 1px solid var(--steam-client-border);
}

.gsl-filter-label {
    display: block;
    margin: 0 2px 7px;
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.gsl-filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 38px;
    margin: 2px 0;
    padding: 7px 9px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: var(--steam-client-muted);
    text-align: left;
    cursor: pointer;
}

.gsl-filter-option span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 800;
}

.gsl-filter-option i {
    color: var(--steam-client-accent);
    font-size: 15px;
}

.gsl-filter-option b {
    display: grid;
    place-items: center;
    min-width: 23px;
    height: 21px;
    padding: 0 6px;
    border-radius: 7px;
    background: var(--steam-client-surface-3);
    color: var(--steam-client-muted);
    font-size: 10px;
}

.gsl-filter-option:hover,
.gsl-filter-option.is-active {
    border-color: var(--steam-client-border);
    background: var(--steam-client-surface-2);
    color: var(--steam-client-text);
}

.gsl-filter-option.is-active {
    box-shadow: inset 3px 0 0 var(--steam-client-accent);
}

.gsl-library-sort {
    width: 100%;
    height: 39px;
    padding: 0 10px;
    border: 1px solid var(--steam-client-border) !important;
    border-radius: 8px;
    background-color: var(--steam-client-surface-2) !important;
    color: var(--steam-client-text) !important;
    box-shadow: none !important;
    font-size: 12px;
    font-weight: 750;
}

.gsl-filter-note {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    margin-top: 14px;
    padding: 10px;
    border-radius: 8px;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 700;
    line-height: 1.45;
}

.gsl-filter-note i {
    color: var(--steam-client-accent);
    font-size: 15px;
}

.gsl-library-content {
    min-width: 0;
}

.gsl-section-head {
    align-items: center !important;
    min-height: 64px;
    margin: 0 0 12px !important;
    padding: 10px 14px;
    border: 1px solid var(--steam-client-border) !important;
    border-radius: 12px;
    background: var(--steam-client-surface);
}

.gsl-section-head h2 {
    color: var(--steam-client-text) !important;
    font-size: 23px !important;
}

.gsl-section-head > p {
    font-size: 12px;
    text-align: right;
}

.gsl-section-head > p strong {
    color: var(--steam-client-text);
    font-size: 16px;
}

.gsl-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.gsl-card {
    border-color: var(--steam-client-border) !important;
    border-radius: 12px !important;
    background: var(--steam-client-surface) !important;
    color: var(--steam-client-text) !important;
    box-shadow: none !important;
}

.gsl-card[hidden] {
    display: none !important;
}

.gsl-card:hover {
    border-color: var(--steam-client-accent) !important;
    box-shadow: var(--steam-client-shadow) !important;
    transform: translateY(-2px) !important;
}

.gsl-cover {
    height: 142px !important;
}

.gsl-cover img,
.gsl-card:hover .gsl-cover img {
    transform: none !important;
}

.gsl-cover-shade {
    background: linear-gradient(180deg, transparent 42%, rgba(10, 18, 26, .78)) !important;
}

.gsl-card-state {
    border-radius: 7px !important;
    backdrop-filter: none !important;
}

.gsl-card-body {
    padding: 14px !important;
}

.gsl-title-row h3,
.gsl-code-box strong {
    color: var(--steam-client-text) !important;
}

.gsl-code-box {
    border-color: var(--steam-client-border) !important;
    border-radius: 9px !important;
    background: var(--steam-client-surface-2) !important;
}

.gsl-btn {
    min-height: 40px !important;
    border-radius: 9px !important;
}

.gsl-btn-primary {
    background: var(--steam-client-accent-2) !important;
    box-shadow: none !important;
}

.gsl-filter-empty {
    display: grid;
    place-items: center;
    min-height: 280px;
    padding: 32px;
    border: 1px dashed var(--steam-client-border);
    border-radius: 12px;
    background: var(--steam-client-surface);
    color: var(--steam-client-muted);
    text-align: center;
}

.gsl-filter-empty[hidden] {
    display: none !important;
}

.gsl-filter-empty i {
    margin-bottom: 8px;
    color: var(--steam-client-accent);
    font-size: 38px;
}

.gsl-filter-empty strong {
    color: var(--steam-client-text);
    font-size: 17px;
}

.gsl-filter-empty span {
    margin-top: 5px;
    font-size: 12px;
}

/* Abonelik oyun seçimi: kütüphane ile aynı Steam istemci dili */
.gss-page {
    color: var(--steam-client-text);
}

.gss-page .gsl-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 190px;
    overflow: hidden;
    color: #fff;
}

.gss-page .gsl-hero-copy {
    position: relative;
    z-index: 2;
    align-self: center;
}

.gss-page .gsl-kicker,
.gss-page .gsl-membership {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    font-size: 12px;
    font-weight: 900;
}

.gss-page .gsl-kicker {
    border: 1px solid rgba(191, 219, 254, .22);
    background: rgba(59, 130, 246, .13);
    color: #bfdbfe;
}

.gss-page .gsl-hero h1 {
    color: #fff;
    font-weight: 950;
}

.gss-page .gsl-hero p {
    max-width: 620px;
    margin: 0;
    font-weight: 700;
    line-height: 1.6;
}

.gss-page .gsl-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 19px;
}

.gss-page .gsl-membership.is-active {
    border: 1px solid rgba(147, 197, 253, .24);
    background: rgba(59, 130, 246, .14);
    color: #dbeafe;
}

.gss-page .gsl-membership.is-expired {
    border: 1px solid rgba(252, 165, 165, .22);
    background: rgba(239, 68, 68, .12);
    color: #fecaca;
}

.gss-page .gsl-hero-art {
    position: relative;
    display: grid;
    place-items: center;
}

.gss-page .gsl-hero-art span {
    position: absolute;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(191, 219, 254, .18);
    border-radius: 50%;
}

.gss-page .gsl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 9px 14px;
    border: 0;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.gss-page .gsl-stats {
    display: grid;
}

.gss-page .gsl-stats article {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gss-page .gsl-stats article > i {
    display: grid;
    place-items: center;
    flex: 0 0 38px;
    font-size: 19px;
}

.gss-page .gsl-stats small,
.gss-page .gsl-stats strong {
    display: block;
}

.gss-page .gsl-stats small {
    font-size: 11px;
    font-weight: 800;
}

.gss-page .gsl-stats strong {
    margin-top: 2px;
    font-size: 17px;
    font-weight: 950;
}

.gss-page .gsl-section-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.gss-page .gsl-section-head span {
    color: var(--steam-client-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gss-page .gsl-section-head h2 {
    margin: 2px 0 0;
    font-weight: 950;
}

.gss-page .gsl-section-head p {
    margin: 0;
    font-weight: 700;
}

.gss-page .gsl-grid {
    display: grid;
}

.gss-page .gsl-card {
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.gss-page .gsl-cover {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.gss-page .gsl-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gss-page .gsl-cover-shade {
    position: absolute;
    inset: 0;
}

.gss-page .gsl-card-state {
    position: absolute;
    left: 11px;
    bottom: 11px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
}

.gss-page .gsl-card-state.is-ready {
    background: rgba(36, 115, 181, .82);
}

.gss-page .gsl-card-state.is-waiting {
    background: rgba(180, 83, 9, .82);
}

.gss-page .gsl-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.gss-page .gsl-title-row small {
    display: block;
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gss-page .gsl-title-row h3 {
    min-height: 43px;
    margin: 3px 0 0;
    font-size: 17px;
    font-weight: 950;
    line-height: 1.25;
}

.gss-page .gsl-title-row > i {
    color: var(--steam-client-accent);
    font-size: 22px;
}

.gss-page .gsl-empty {
    padding: 40px 20px;
    border: 1px dashed var(--steam-client-border);
    border-radius: 12px;
    background: var(--steam-client-surface);
    text-align: center;
}

.gss-page .gsl-empty > div {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 12px;
    background: rgba(36, 115, 181, .1);
    color: var(--steam-client-accent);
    font-size: 32px;
}

.gss-page .gsl-empty h3 {
    margin: 13px 0 6px;
    color: var(--steam-client-text);
    font-weight: 950;
}

.gss-page .gsl-empty p {
    margin: 0;
    color: var(--steam-client-muted);
    font-weight: 700;
}

.gss-activation {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(360px, 1.2fr);
    align-items: center;
    gap: 16px;
    margin-top: 12px;
    padding: 16px;
    border: 1px solid var(--steam-client-border);
    border-radius: 12px;
    background: var(--steam-client-surface);
}

.gss-activation-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gss-activation-copy > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 10px;
    background: rgba(36, 115, 181, .12);
    color: var(--steam-client-accent);
    font-size: 21px;
}

.gss-activation-copy small,
.gss-activation-copy strong,
.gss-activation-copy p {
    display: block;
}

.gss-activation-copy small {
    color: var(--steam-client-accent);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.gss-activation-copy strong {
    margin-top: 2px;
    color: var(--steam-client-text);
    font-size: 16px;
    font-weight: 950;
}

.gss-activation-copy p {
    margin: 3px 0 0;
    color: var(--steam-client-muted);
    font-size: 12px;
    font-weight: 700;
}

.gss-activation-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.gss-activation-form input {
    min-width: 0;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--steam-client-border);
    border-radius: 9px;
    outline: 0;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-text);
    font: 800 13px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
}

.gss-activation-form input:focus {
    border-color: var(--steam-client-accent);
    box-shadow: 0 0 0 3px rgba(36, 115, 181, .12);
}

.gss-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    margin-top: 12px !important;
}

.gss-library-workspace {
    margin-top: 12px !important;
}

.gss-game-card[hidden] {
    display: none !important;
}

.gss-included {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    margin: 10px 0;
    padding: 10px 11px;
    border: 1px solid var(--steam-client-border);
    border-radius: 9px;
    background: var(--steam-client-surface-2);
    color: var(--steam-client-accent);
}

.gss-included > i {
    font-size: 20px;
}

.gss-included small,
.gss-included strong {
    display: block;
}

.gss-included small {
    color: var(--steam-client-muted);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.gss-included strong {
    margin-top: 2px;
    color: var(--steam-client-text);
    font-size: 12px;
    font-weight: 900;
}

.gss-select-button {
    width: 100%;
}

.gss-locked-state {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(245, 158, 11, .3);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 158, 11, .08), var(--steam-client-surface));
}

.gss-locked-state > span {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 10px;
    background: rgba(245, 158, 11, .12);
    color: #f59e0b;
    font-size: 22px;
}

.gss-locked-state strong {
    color: var(--steam-client-text);
    font-size: 16px;
    font-weight: 950;
}

.gss-locked-state p {
    margin: 4px 0 0;
    color: var(--steam-client-muted);
    font-size: 13px;
    font-weight: 700;
}

@media (max-width: 1199.98px) {
    .fp-client-sidepanel {
        grid-template-columns: minmax(245px, 290px) minmax(0, 1fr);
    }

    .fp-client-panel-brand,
    .fp-client-panel-status {
        display: none;
    }

    .fp-client-nav-link {
        flex-direction: row !important;
        gap: 7px !important;
        text-align: left !important;
    }

    .fp-client-nav-text small {
        display: none !important;
    }

    .gsl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .gss-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 991.98px) {
    .fp-client-sidepanel {
        grid-template-columns: 1fr;
    }

    .fp-client-userbox {
        border-right: 0 !important;
        border-bottom: 1px solid rgba(151, 192, 219, .12) !important;
        border-radius: 11px !important;
    }

    .fp-client-nav {
        display: flex !important;
        overflow-x: auto !important;
        scrollbar-width: thin;
    }

    .fp-client-nav-link {
        flex: 0 0 128px !important;
        min-width: 128px !important;
        min-height: 58px !important;
    }

    .fp-client-nav-text small {
        display: block !important;
    }

    .gsl-library-workspace {
        grid-template-columns: 1fr;
    }

    .gsl-filter-panel {
        position: relative;
        top: auto;
        display: grid;
        grid-template-columns: minmax(190px, .8fr) minmax(220px, 1fr) minmax(160px, .7fr);
        gap: 10px;
    }

    .gss-activation {
        grid-template-columns: 1fr;
    }

    .gsl-filter-heading,
    .gsl-filter-note {
        display: none;
    }

    .gsl-library-search {
        margin: 0;
    }

    .gsl-filter-group,
    .gsl-filter-group + .gsl-filter-group {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .gsl-filter-status-group {
        display: flex;
        gap: 4px;
        overflow-x: auto;
    }

    .gsl-filter-status-group .gsl-filter-label {
        display: none;
    }

    .gsl-filter-option {
        width: auto;
        min-width: max-content;
    }
}

@media (max-width: 767.98px) {
    .fp-client-shell-section {
        padding-top: 14px !important;
    }

    .fp-client-shell-section > .container {
        width: calc(100% - 24px) !important;
    }

    .fp-client-userbox {
        padding: 10px 12px !important;
    }

    .gsl-hero {
        min-height: 0 !important;
        padding: 22px !important;
    }

    .gss-page .gsl-hero {
        grid-template-columns: 1fr;
    }

    .gss-page .gsl-hero-art {
        display: none;
    }

    .gsl-library-workspace {
        margin-top: 12px;
    }

    .gsl-filter-panel {
        display: block;
    }

    .gsl-library-search {
        margin-bottom: 10px;
    }

    .gsl-filter-status-group {
        margin-bottom: 10px;
    }

    .gsl-section-head {
        align-items: flex-start !important;
        flex-direction: row !important;
    }

    .gsl-section-head > p {
        margin-left: auto !important;
        text-align: right !important;
    }

    .gsl-grid {
        grid-template-columns: 1fr !important;
    }

    .gss-stats,
    .gss-activation-form {
        grid-template-columns: 1fr !important;
    }

    .gss-locked-state {
        align-items: flex-start;
    }
}

/* Modern game-platform header */
.fp-topnav-ry {
    min-height: 31px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(130, 200, 250, .09) !important;
    background: #07111a !important;
    color: #7894a7 !important;
}

.fp-topnav-ry::before,
.fp-topnav-ry::after {
    display: none !important;
}

.fp-topnav-ry .container-fluid.fp-nav-wide,
.fp-header .container-fluid.fp-nav-wide {
    width: min(1440px, calc(100% - 40px)) !important;
    max-width: 1440px !important;
    padding: 0 !important;
}

.fp-topnav-ry .flex {
    min-height: 31px !important;
    padding: 0 !important;
}

.fp-game-top-left,
.fp-game-top-links {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

.fp-game-network-state {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #7e9aaa;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.fp-game-network-state > i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #72be44;
    box-shadow: 0 0 0 3px rgba(114, 190, 68, .1);
}

.fp-topnav-ry .fp-game-platform-link,
.fp-topnav-ry .fp-game-top-links a {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    min-height: 30px;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #7795a8 !important;
    font-size: 9px !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

.fp-topnav-ry .fp-game-platform-link {
    color: #8db9d4 !important;
}

.fp-topnav-ry .fp-game-platform-link i {
    color: #72b8e8;
    font-size: 13px;
}

.fp-topnav-ry .fp-game-top-links a:hover,
.fp-topnav-ry .fp-game-platform-link:hover {
    color: #c7e7fa !important;
}

.fp-nav-shell {
    position: sticky !important;
    top: 0;
    z-index: 1000 !important;
    isolation: isolate;
    overflow: visible !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(130, 200, 250, .14) !important;
    background: rgba(9, 20, 30, .97) !important;
    box-shadow: 0 16px 42px rgba(4, 13, 20, .22) !important;
    backdrop-filter: blur(18px) saturate(1.08) !important;
    -webkit-backdrop-filter: blur(18px) saturate(1.08) !important;
}

.fp-nav-shell::before {
    content: "" !important;
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block !important;
    pointer-events: none;
    opacity: .35;
    background:
        radial-gradient(circle at 22% -55%, rgba(79, 154, 204, .25), transparent 42%),
        linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px) !important;
    background-size: auto, 30px 30px, 30px 30px !important;
}

.fp-nav-shell::after {
    content: "" !important;
    position: absolute;
    right: 10%;
    bottom: -1px;
    left: 10%;
    z-index: 5;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(114, 184, 232, .72), transparent) !important;
    animation: none !important;
}

.fp-header,
.fp-header .container-fluid.fp-nav-wide {
    padding: 0 !important;
    background: transparent !important;
}

.fp-header .container-fluid.fp-nav-wide::before,
.fp-header .container-fluid.fp-nav-wide::after,
.fp-header .grid::before,
.fp-header .grid::after {
    display: none !important;
    content: none !important;
}

.fp-header .grid {
    display: grid !important;
    grid-template-columns: auto auto minmax(240px, 1fr) auto !important;
    align-items: center !important;
    gap: 14px !important;
    min-height: 82px !important;
    padding: 8px 0 !important;
}

.fp-header .logo-area {
    grid-column: 1 !important;
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    padding: 0 !important;
}

.fp-header .logo.dark {
    display: none !important;
}

.fp-header .logo.white {
    display: inline-flex !important;
}

html[data-theme="light"] .fp-header .logo.dark,
html[data-bs-theme="light"] .fp-header .logo.dark,
html[data-theme="dark"] .fp-header .logo.dark,
html[data-bs-theme="dark"] .fp-header .logo.dark {
    display: none !important;
}

html[data-theme="light"] .fp-header .logo.white,
html[data-bs-theme="light"] .fp-header .logo.white,
html[data-theme="dark"] .fp-header .logo.white,
html[data-bs-theme="dark"] .fp-header .logo.white {
    display: inline-flex !important;
}

.fp-header .logo,
.fp-header .logo:hover {
    height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fp-header .logo::before,
.fp-header .logo::after {
    display: none !important;
    content: none !important;
}

.fp-header .logo img,
.fp-header .logo:hover img {
    width: auto !important;
    max-width: 146px !important;
    max-height: 40px !important;
    filter: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.fp-game-brand-badge {
    display: grid;
    grid-template-columns: 18px auto;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: 5px;
    min-height: 38px;
    padding: 6px 9px;
    border: 1px solid rgba(130, 200, 250, .13);
    border-radius: 9px;
    background: rgba(255, 255, 255, .035);
    color: #dceef9;
}

.fp-game-brand-badge > i {
    grid-row: 1/3;
    color: #72b8e8;
    font-size: 17px;
}

.fp-game-brand-badge span,
.fp-game-brand-badge b {
    display: block;
    line-height: 1;
}

.fp-game-brand-badge span {
    font-size: 9px;
    font-weight: 1000;
    letter-spacing: .08em;
}

.fp-game-brand-badge b {
    margin-top: 2px;
    color: #66869a;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .15em;
}

.fp-header-primary-nav {
    grid-column: 2 !important;
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 4px !important;
    min-width: 0;
    padding: 4px !important;
    border: 1px solid rgba(151, 192, 219, .1) !important;
    border-radius: 11px !important;
    background: rgba(255, 255, 255, .025) !important;
    box-shadow: none !important;
}

.fp-header-primary-nav a {
    position: relative;
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
    height: 52px !important;
    min-width: 126px;
    padding: 6px 9px !important;
    border: 1px solid transparent;
    border-radius: 8px !important;
    color: #7e9bae !important;
    text-decoration: none !important;
    transform: none !important;
}

.fp-header-primary-nav a::after {
    content: "" !important;
    position: absolute;
    right: 8px;
    bottom: -1px;
    left: 8px;
    display: block !important;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: #72b8e8 !important;
    opacity: 0;
}

.fp-header-primary-nav a > i {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border: 1px solid rgba(151, 192, 219, .1);
    border-radius: 8px;
    background: rgba(255, 255, 255, .035);
    color: #72a8c9;
    font-size: 16px;
}

.fp-header-primary-nav a > span,
.fp-header-primary-nav a strong,
.fp-header-primary-nav a small {
    display: block;
    min-width: 0;
}

.fp-header-primary-nav a strong {
    color: inherit;
    font-size: 10px;
    font-weight: 950;
    white-space: nowrap;
}

.fp-header-primary-nav a small {
    max-width: 95px;
    overflow: hidden;
    margin-top: 2px;
    color: #587589;
    font-size: 9px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-header-primary-nav a:hover,
.fp-header-primary-nav a.is-active {
    border-color: rgba(130, 200, 250, .18) !important;
    background: rgba(102, 167, 216, .09) !important;
    color: #dff2fd !important;
    box-shadow: none !important;
    transform: none !important;
}

.fp-header-primary-nav a.is-active {
    border-color: rgba(130, 200, 250, .3) !important;
    background: linear-gradient(135deg, rgba(65, 132, 177, .3), rgba(36, 96, 138, .14)) !important;
}

.fp-header-primary-nav a:hover::after,
.fp-header-primary-nav a.is-active::after {
    opacity: 1;
}

.fp-header-primary-nav a:hover > i,
.fp-header-primary-nav a.is-active > i {
    border-color: rgba(130, 200, 250, .18);
    background: rgba(102, 167, 216, .13);
    color: #a9ddfb;
}

.fp-header-primary-nav a:hover small,
.fp-header-primary-nav a.is-active small {
    color: #83a9bf;
}

.fp-header-search-wrap {
    grid-column: 3 !important;
    grid-row: 1 !important;
    order: initial !important;
    justify-self: stretch !important;
    width: 100% !important;
    max-width: 520px !important;
    min-width: 180px;
    margin: 0 auto !important;
}

.fp-header-search {
    min-height: 46px !important;
    border: 1px solid rgba(151, 192, 219, .13) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, .04) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.025) !important;
    backdrop-filter: none !important;
}

.fp-header-search:focus-within {
    border-color: rgba(114, 184, 232, .48) !important;
    background: rgba(102, 167, 216, .07) !important;
    box-shadow: 0 0 0 3px rgba(102, 167, 216, .08) !important;
}

.fp-header-search__icon {
    width: 42px !important;
    min-width: 42px !important;
    color: #72aaca !important;
}

.fp-header-search__icon i {
    font-size: 17px !important;
}

.fp-header-search-input,
.fp-header-search .form-control {
    height: 44px !important;
    color: #dceaf3 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
}

.fp-header-search-input::placeholder {
    color: #627f92 !important;
}

.fp-header-search-results {
    border-color: rgba(130, 200, 250, .16) !important;
    border-radius: 12px !important;
    background: #0f1d28 !important;
    color: #dceaf3 !important;
    box-shadow: 0 24px 52px rgba(4, 12, 19, .4) !important;
}

.fp-header .btn-all-categories {
    display: none !important;
}

.fp-header .right-area {
    grid-column: 4 !important;
    grid-row: 1 !important;
    justify-self: end !important;
    width: auto !important;
    min-width: 0 !important;
}

.fp-header-utility-rail,
.fp-header-utility-rail.fp-auth-rail {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fp-header-theme-toggle.fp-color-selector {
    display: inline-flex !important;
    height: 40px !important;
    gap: 2px !important;
    padding: 3px !important;
    border: 1px solid rgba(151, 192, 219, .12) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .035) !important;
    box-shadow: none !important;
}

.fp-header-theme-toggle a {
    display: grid !important;
    place-items: center;
    width: 32px !important;
    height: 32px !important;
    border-radius: 7px !important;
    color: #718ea1 !important;
}

.fp-header-theme-toggle a:hover,
.fp-header-theme-toggle a.active {
    background: rgba(102, 167, 216, .12) !important;
    color: #a9dafa !important;
    box-shadow: none !important;
}

.fp-header .right-area .right-link,
.fp-header .right-area .auth-pill,
.fp-header .right-area .right-link.user.fp-dma-toggle,
.fp-header-logo-notification .right-link.notification.square.primary {
    height: 40px !important;
    min-height: 40px !important;
    border: 1px solid rgba(151, 192, 219, .12) !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, .035) !important;
    color: #b9cdd9 !important;
    box-shadow: none !important;
    transform: none !important;
}

.fp-header .right-area .right-link:hover,
.fp-header .right-area .auth-pill:hover,
.fp-header .right-area .right-link.user.fp-dma-toggle:hover,
.fp-header-logo-notification .right-link.notification.square.primary:hover {
    border-color: rgba(130, 200, 250, .3) !important;
    background: rgba(102, 167, 216, .1) !important;
    color: #e1f3fd !important;
    box-shadow: none !important;
    transform: none !important;
}

.fp-header-logo-notification .right-link.notification.square.primary {
    width: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
}

.fp-header-logo-notification .right-link.notification.square.primary .icon i {
    color: #7fb6d8 !important;
}

.fp-header-logo-notification .number,
.right-link.notification .number {
    border-color: #0b1822 !important;
    background: #4e9dcd !important;
}

.fp-header .right-area .right-link.user.fp-dma-toggle {
    max-width: 190px !important;
    padding: 0 9px 0 5px !important;
}

.fp-header .fp-dma-avatar {
    width: 31px !important;
    height: 31px !important;
    min-width: 31px !important;
    border: 1px solid rgba(151, 192, 219, .13) !important;
    border-radius: 8px !important;
    background: rgba(102, 167, 216, .1) !important;
}

.fp-header .fp-dma-name,
.fp-header .fp-dma-access,
.fp-header .fp-dma-arrow {
    color: #c5d9e5 !important;
}

.fp-header .fp-dma-access {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #7395a9 !important;
    font-size: 9px;
    font-weight: 800;
}

.fp-header .fp-dma-access i {
    color: #6eacd2;
    font-size: 9px;
}

.fp-header .right-area .auth-pill.auth-pill-login {
    border-color: rgba(114, 184, 232, .38) !important;
    background: linear-gradient(135deg, #4d9acb, #286f9d) !important;
    color: #fff !important;
}

.fp-header .right-area .auth-pill.auth-pill-register {
    border-color: rgba(151, 192, 219, .14) !important;
    background: rgba(255,255,255,.035) !important;
    color: #c4d9e5 !important;
}

.fp-user-menu-wrap .fp-dropdown-menu-account,
.fp-header-logo-notification .fp-nav-notification-menu {
    border: 1px solid rgba(130, 200, 250, .15) !important;
    border-radius: 13px !important;
    background: #0d1a24 !important;
    color: #dce9f1 !important;
    box-shadow: 0 24px 54px rgba(3, 10, 16, .46) !important;
}

.fp-user-menu-wrap .fp-dma-quick-link,
.fp-user-menu-wrap .fp-dma-link {
    color: #a9bfcd !important;
}

.fp-user-menu-wrap .fp-dma-quick-link:hover,
.fp-user-menu-wrap .fp-dma-link:hover {
    background: rgba(102, 167, 216, .1) !important;
    color: #e3f3fc !important;
}

.fp-header-neon-line {
    display: none !important;
}

.fp-navbar,
.fp-navbar-backdrop {
    display: none !important;
}

@media (max-width: 1279.98px) {
    .fp-game-brand-badge {
        display: none;
    }

    .fp-header-primary-nav a {
        min-width: 104px;
        padding: 6px 7px !important;
    }

    .fp-header-primary-nav a small {
        display: none;
    }

    .fp-header-search-wrap {
        max-width: 390px !important;
    }
}

@media (max-width: 1050px) {
    .fp-header .grid {
        grid-template-columns: 46px auto minmax(220px, 1fr) auto !important;
    }

    .fp-header-primary-nav {
        display: none !important;
    }

    .fp-header .btn-all-categories {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(151, 192, 219, .13) !important;
        border-radius: 9px !important;
        background: rgba(255,255,255,.04) !important;
        color: #a9c8da !important;
        box-shadow: none !important;
    }

    .fp-header .btn-all-categories .label {
        display: none !important;
    }

    .fp-header .logo-area {
        grid-column: 2 !important;
    }

    .fp-header-search-wrap {
        grid-column: 3 !important;
        max-width: 500px !important;
    }

    .fp-header .right-area {
        grid-column: 4 !important;
    }

    .fp-navbar,
    .fp-navbar-backdrop {
        display: block !important;
    }
}

@media (max-width: 899.98px) {
    .fp-topnav-ry {
        display: none !important;
    }

    .fp-header .container-fluid.fp-nav-wide {
        width: calc(100% - 24px) !important;
    }

    .fp-header .grid {
        grid-template-columns: 46px minmax(0, 1fr) auto !important;
        gap: 8px !important;
        min-height: 68px !important;
        padding: 7px 0 !important;
    }

    .fp-header .btn-all-categories {
        grid-column: 1 !important;
        grid-row: 1 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        border: 1px solid rgba(151, 192, 219, .13) !important;
        border-radius: 9px !important;
        background: rgba(255,255,255,.04) !important;
        color: #a9c8da !important;
        box-shadow: none !important;
    }

    .fp-header .btn-all-categories .label {
        display: none !important;
    }

    .fp-header .logo-area {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-content: center !important;
    }

    .fp-header .right-area {
        grid-column: 3 !important;
        grid-row: 1 !important;
        width: auto !important;
    }

    .fp-header-search-wrap {
        display: none !important;
    }

    .fp-header-theme-toggle.fp-color-selector,
    .fp-header-logo-notification {
        display: none !important;
    }

    .fp-header .right-area .right-link.user.fp-dma-toggle {
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .fp-header .right-area .right-link.user.fp-dma-toggle .fp-dma-content {
        display: none !important;
    }

    .fp-header .fp-dma-avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
    }

    .fp-navbar {
        display: block !important;
        border-right: 1px solid rgba(130, 200, 250, .15) !important;
        background: #0b1822 !important;
    }

    .fp-navbar-backdrop {
        display: block !important;
    }

    .fp-navbar .flex-justify {
        background: #0b1822 !important;
        color: #dce9f1 !important;
    }

    .fp-navbar .list li .link {
        border-color: rgba(151, 192, 219, .12) !important;
        background: rgba(255,255,255,.035) !important;
        color: #abc1cf !important;
    }

    .fp-navbar .list li .link:hover,
    .fp-navbar .list li .link.is-active {
        border-color: rgba(130, 200, 250, .28) !important;
        background: rgba(102,167,216,.1) !important;
        color: #e0f2fc !important;
    }
}

@media (max-width: 575.98px) {
    .fp-header .logo,
    .fp-header .logo:hover {
        height: 34px !important;
    }

    .fp-header .logo img,
    .fp-header .logo:hover img {
        max-width: 124px !important;
        max-height: 34px !important;
    }

    .fp-game-brand-badge {
        display: none !important;
    }

    .fp-header .right-area .auth-pill.auth-pill-register {
        display: none !important;
    }

    .fp-header .right-area .auth-pill.auth-pill-login {
        width: 42px !important;
        min-width: 42px !important;
        padding: 0 !important;
    }

    .fp-header .right-area .auth-pill.auth-pill-login .label {
        display: none !important;
    }
}

/* ========================================================================== */
/* AFKADAM desktop game client - /client                                      */
/* ========================================================================== */
body.fp-client-app-body {
    min-height: 100vh;
    padding: 0 !important;
    overflow: hidden;
    background: #111318 !important;
    color: #fff;
}

body.fp-client-app-body .fp-top-banners,
body.fp-client-app-body .fp-topnav-ry,
body.fp-client-app-body .fp-nav-shell,
body.fp-client-app-body .fp-header-neon-line,
body.fp-client-app-body .fp-navbar,
body.fp-client-app-body .fp-navbar-backdrop,
body.fp-client-app-body .fp-mobile-bar,
body.fp-client-app-body .roypin-footer-new {
    display: none !important;
}

body.fp-client-app-body #toastArea > div {
    top: 18px !important;
    z-index: 10050 !important;
}

.fpd-app-section,
.fpd-app-section * {
    box-sizing: border-box;
}

.fpd-app-section {
    --fpd-black: #111318;
    --fpd-raisin: #1d1f24;
    --fpd-jet: #34353a;
    --fpd-panel: #202228;
    --fpd-panel-soft: #282a30;
    --fpd-line: rgba(255, 255, 255, .075);
    --fpd-copy: #f7f9fb;
    --fpd-muted: #858a94;
    --fpd-blue: #2196f3;
    --fpd-green: #00c853;
    --fpd-purple: #9c27b0;
    --fpd-orange: #ffab00;
    min-height: 100vh;
    padding: 0;
    background: #111318;
    color: var(--fpd-copy);
    font-family: "Inter", "Segoe UI", sans-serif;
}

.fpd-app-section a,
.fpd-app-section a:hover {
    text-decoration: none;
}

.fpd-app-shell {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr);
    width: 100%;
    max-width: none;
    height: 100vh;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: var(--fpd-black);
    box-shadow: none;
}

.fpd-app-shell:fullscreen {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    border: 0;
    border-radius: 0;
}

.fpd-sidebar {
    position: relative;
    z-index: 5;
    display: flex;
    min-width: 0;
    min-height: 0;
    flex-direction: column;
    overflow: hidden auto;
    padding: 27px 17px 18px;
    border-right: 1px solid rgba(255,255,255,.055);
    background: #090b0e;
    scrollbar-width: thin;
    scrollbar-color: #292c33 transparent;
}

.fpd-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 58px;
    padding: 0 11px 23px;
    border-bottom: 1px solid var(--fpd-line);
    color: #fff !important;
}

.fpd-brand.has-image {
    gap: 0;
}

.fpd-brand-logo {
    display: block;
    width: auto;
    max-width: 190px;
    height: 80px;
    object-fit: contain;
    object-position: left center;
}

.fpd-brand-mark {
    display: grid;
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 50%;
    background: linear-gradient(145deg, #fff, #cdd6de);
    color: #0a0c0f;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.fpd-brand-mark i {
    font-size: 25px;
}

.fpd-brand > span:last-child,
.fpd-brand strong,
.fpd-brand small {
    display: block;
    min-width: 0;
}

.fpd-brand strong {
    font-size: 18px;
    font-weight: 950;
    letter-spacing: .08em;
}

.fpd-brand small {
    margin-top: 3px;
    color: #59616c;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .24em;
}

.fpd-primary-nav {
    display: grid;
    gap: 6px;
    padding: 23px 0;
    border-bottom: 1px solid var(--fpd-line);
}

.fpd-primary-nav a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 54px;
    padding: 0 14px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 11px;
    color: #676b73;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .015em;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.fpd-primary-nav a::after {
    position: absolute;
    top: 13px;
    right: 0;
    bottom: 13px;
    width: 3px;
    border-radius: 5px 0 0 5px;
    background: var(--fpd-blue);
    content: "";
    opacity: 0;
}

.fpd-primary-nav a i {
    width: 25px;
    flex: 0 0 25px;
    font-size: 22px;
    text-align: center;
}

.fpd-primary-nav a:hover,
.fpd-primary-nav a.is-active {
    border-color: rgba(255,255,255,.05);
    background: #17191d;
    color: #fff;
}

.fpd-primary-nav a.is-active::after {
    opacity: 1;
}

.fpd-primary-nav a.is-active i {
    color: var(--fpd-blue);
}

.fpd-sidebar-footer {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid var(--fpd-line);
}

.fpd-subscription-mini {
    display: grid;
    grid-template-columns: 33px minmax(0,1fr) 16px;
    align-items: center;
    gap: 9px;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 10px;
    background: #14161a;
    color: #fff !important;
}

.fpd-subscription-mini > i:first-child {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 8px;
    background: rgba(33,150,243,.12);
    color: var(--fpd-blue);
    font-size: 17px;
}

.fpd-subscription-mini.is-active > i:first-child {
    background: rgba(0,200,83,.12);
    color: var(--fpd-green);
}

.fpd-subscription-mini span,
.fpd-subscription-mini small,
.fpd-subscription-mini strong {
    display: block;
    min-width: 0;
}

.fpd-subscription-mini small {
    color: #626872;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fpd-subscription-mini strong {
    overflow: hidden;
    margin-top: 3px;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-subscription-mini > i:last-child {
    color: #555b65;
}

.fpd-sidebar-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.fpd-sidebar-actions a {
    display: grid;
    min-height: 62px;
    place-items: center;
    align-content: center;
    gap: 6px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 9px;
    background: #17191d;
    color: #737982;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .05em;
}

.fpd-sidebar-actions a i {
    font-size: 19px;
}

.fpd-sidebar-actions a:hover {
    border-color: rgba(33,150,243,.25);
    background: rgba(33,150,243,.07);
    color: #fff;
}

.fpd-app-content {
    min-width: 0;
    min-height: 0;
    overflow: hidden auto;
    background:
        radial-gradient(circle at 50% -18%, rgba(33,150,243,.065), transparent 31%),
        var(--fpd-black);
    scrollbar-width: thin;
    scrollbar-color: #363a43 #14161a;
}

.fpd-topbar {
    position: sticky;
    z-index: 20;
    top: 0;
    display: grid;
    grid-template-columns: auto minmax(220px, 430px) auto minmax(300px, 1fr);
    align-items: center;
    gap: 13px;
    min-height: 86px;
    padding: 17px 27px;
    border-bottom: 1px solid rgba(255,255,255,.035);
    background: rgba(17,19,24,.93);
    box-shadow: 0 14px 32px rgba(0,0,0,.12);
    backdrop-filter: blur(18px);
}

.fpd-history-controls,
.fpd-top-actions,
.fpd-rail-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fpd-history-controls button,
.fpd-icon-button,
.fpd-rail-controls button {
    display: grid;
    width: 39px;
    height: 39px;
    min-width: 39px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 50%;
    background: #25272d;
    color: #9ba0aa;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease;
}

.fpd-history-controls button:hover,
.fpd-icon-button:hover,
.fpd-rail-controls button:hover {
    border-color: rgba(33,150,243,.3);
    background: rgba(33,150,243,.1);
    color: #fff;
}

.fpd-history-controls button i,
.fpd-icon-button i,
.fpd-rail-controls button i {
    font-size: 17px;
}

.fpd-global-search {
    display: grid;
    grid-template-columns: 24px minmax(0,1fr) auto;
    align-items: center;
    gap: 8px;
    height: 45px;
    padding: 0 12px 0 15px;
    border: 1px solid transparent;
    border-radius: 23px;
    background: #292b31;
    color: #696f78;
    transition: border-color .18s ease, background .18s ease;
}

.fpd-global-search:focus-within {
    border-color: rgba(33,150,243,.42);
    background: #24272c;
}

.fpd-global-search > i {
    font-size: 17px;
}

.fpd-global-search input,
.fpd-global-search input:focus {
    width: 100%;
    min-width: 0;
    height: 43px;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #e6e9ed !important;
    font: 500 11px "Inter", "Segoe UI", sans-serif;
}

.fpd-global-search input::placeholder {
    color: #656a73;
}

.fpd-global-search kbd {
    padding: 4px 6px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 5px;
    background: #1e2025;
    color: #5e646e;
    box-shadow: none;
    font: 500 9px "Inter", sans-serif;
}

.fpd-access-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 39px;
    padding: 0 13px;
    border: 1px solid rgba(255,171,0,.13);
    border-radius: 20px;
    background: rgba(255,171,0,.075);
    color: #dba93c !important;
    font-size: 9px;
    font-weight: 950;
    white-space: nowrap;
}

.fpd-access-chip.is-active {
    border-color: rgba(0,200,83,.16);
    background: rgba(0,200,83,.075);
    color: #35d879 !important;
}

.fpd-top-actions {
    justify-self: end;
}

.fpd-icon-button {
    position: relative;
    border-radius: 18px;
    color: #d5d8dd;
}

.fpd-icon-button b {
    position: absolute;
    top: -5px;
    right: -4px;
    display: grid;
    min-width: 18px;
    height: 18px;
    place-items: center;
    padding: 0 4px;
    border: 2px solid var(--fpd-black);
    border-radius: 10px;
    background: var(--fpd-blue);
    color: #fff;
    font-size: 9px;
}

.fpd-profile-button {
    display: grid;
    grid-template-columns: 33px minmax(0, 1fr) 16px;
    align-items: center;
    gap: 8px;
    min-width: 145px;
    height: 43px;
    padding: 4px 10px 4px 5px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 22px;
    background: #292b31;
    color: #b5bac3 !important;
    cursor: pointer;
    text-align: left;
}

.fpd-profile-menu-wrap {
    position: relative;
    z-index: 30;
}

.fpd-profile-menu-wrap.is-open .fpd-profile-button {
    border-color: rgba(33, 150, 243, .42);
    background: #30333a;
}

.fpd-profile-menu-wrap.is-open .fpd-profile-button > i {
    color: #d7dbe2;
    transform: rotate(180deg);
}

.fpd-profile-dropdown {
    position: absolute;
    z-index: 100;
    right: 0;
    top: calc(100% + 10px);
    width: 286px;
    padding: 8px;
    visibility: hidden;
    border: 1px solid #3a3d45;
    border-radius: 13px;
    background: #1b1d22;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .46);
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.fpd-profile-menu-wrap.is-open .fpd-profile-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.fpd-profile-dropdown-head {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    padding: 8px 8px 12px;
    border-bottom: 1px solid #30333a;
}

.fpd-profile-dropdown-head > span {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: #245f89;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.fpd-profile-dropdown-head div,
.fpd-profile-dropdown-head strong,
.fpd-profile-dropdown-head small {
    display: block;
    min-width: 0;
}

.fpd-profile-dropdown-head strong {
    overflow: hidden;
    color: #f3f4f6;
    font-size: 12px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-profile-dropdown-head small {
    overflow: hidden;
    margin-top: 3px;
    color: #858a94;
    font-size: 9px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-profile-dropdown nav {
    display: grid;
    gap: 2px;
    padding: 7px 0;
}

.fpd-profile-dropdown nav a {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    min-height: 48px;
    padding: 6px 8px;
    border-radius: 8px;
    color: #c9cdd4 !important;
    text-decoration: none !important;
}

.fpd-profile-dropdown nav a:hover {
    background: #262930;
    color: #fff !important;
}

.fpd-profile-dropdown nav a > i {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 8px;
    background: #292c33;
    color: #48a9f8;
    font-size: 16px;
}

.fpd-profile-dropdown nav a span,
.fpd-profile-dropdown nav a strong,
.fpd-profile-dropdown nav a small {
    display: block;
    min-width: 0;
}

.fpd-profile-dropdown nav a strong {
    font-size: 11px;
    font-weight: 500;
}

.fpd-profile-dropdown nav a small {
    margin-top: 2px;
    color: #7e838d;
    font-size: 9px;
    font-weight: 400;
}

.fpd-profile-logout {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 11px;
    border-top: 1px solid #30333a;
    color: #f87171 !important;
    font-size: 11px;
    font-weight: 500;
    text-decoration: none !important;
}

.fpd-profile-logout:hover {
    color: #fca5a5 !important;
}

.fpd-profile-button > span {
    display: grid;
    width: 33px;
    height: 33px;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #276c9c, #194263);
    color: #fff;
    font-size: 13px;
    font-weight: 950;
}

.fpd-profile-button > span img,
.fpd-profile-dropdown-head > span img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.fpd-profile-button strong {
    min-width: 0;
    overflow: hidden;
    font-size: 10px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-profile-button > i {
    color: #686d76;
}

.fpd-dashboard-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 285px;
    align-items: start;
    gap: 24px;
    padding: 22px 27px 38px;
}

.fpd-main-column {
    min-width: 0;
}

.fpd-section + .fpd-section {
    margin-top: 31px;
}

.fpd-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    margin-bottom: 13px;
    padding: 0 13px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 18px;
    color: #e5e7eb;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
}

.fpd-section-kicker i {
    color: var(--fpd-blue);
    font-size: 13px;
}

.fpd-featured-card {
    display: grid;
    grid-template-columns: minmax(0, 1.42fr) minmax(320px, .78fr);
    min-height: 365px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 13px;
    background: var(--fpd-raisin);
    box-shadow: 0 24px 52px rgba(0,0,0,.19);
}

.fpd-featured-art {
    position: relative;
    min-height: 365px;
    overflow: hidden;
    background: #0b0d10;
}

.fpd-featured-art::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 58%, rgba(29,31,36,.66) 86%, #1d1f24 100%);
    content: "";
    pointer-events: none;
}

.fpd-featured-art img {
    width: 100%;
    height: 100%;
    min-height: 365px;
    object-fit: cover;
    filter: saturate(.94) contrast(1.03);
    transition: transform .7s ease;
}

.fpd-featured-card:hover .fpd-featured-art img {
    transform: scale(1.018);
}

.fpd-featured-carousel {
    position: relative;
}

.fpd-featured-slide {
    display: none;
}

.fpd-featured-slide.is-active {
    display: grid;
    animation: fpdFeaturedReveal .42s ease both;
}

@keyframes fpdFeaturedReveal {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.fpd-featured-art video {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b0d10;
    filter: saturate(.94) contrast(1.04);
}

.fpd-featured-art .fpd-featured-overlay,
.fpd-featured-art .fpd-featured-stamp {
    z-index: 3;
}

.fpd-featured-nav {
    position: absolute;
    z-index: 8;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    background: rgba(5,8,13,.68);
    box-shadow: 0 10px 28px rgba(0,0,0,.22);
    backdrop-filter: blur(12px);
}

.fpd-featured-nav > button {
    display: grid;
    width: 27px;
    height: 27px;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: #e5e7eb;
    cursor: pointer;
}

.fpd-featured-nav > button:hover {
    background: rgba(59,130,246,.32);
    color: #fff;
}

.fpd-featured-nav > button i {
    font-size: 16px;
}

.fpd-featured-nav > div {
    display: flex;
    align-items: center;
    gap: 5px;
}

.fpd-featured-nav > div button {
    width: 6px;
    height: 6px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.34);
    cursor: pointer;
    transition: width .2s ease, background .2s ease;
}

.fpd-featured-nav > div button.is-active {
    width: 18px;
    background: #60a5fa;
}

.fpd-featured-progress {
    position: absolute;
    z-index: 9;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3px;
    overflow: hidden;
    border-radius: 0 0 13px 13px;
    background: rgba(255,255,255,.06);
    pointer-events: none;
}

.fpd-featured-progress i {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg,#2563eb,#60a5fa,#93c5fd);
    box-shadow: 0 0 13px rgba(96,165,250,.48);
}

.fpd-featured-overlay {
    position: absolute;
    z-index: 1;
    inset: auto 0 0;
    height: 42%;
    background: linear-gradient(transparent, rgba(3,5,8,.62));
    pointer-events: none;
}

.fpd-featured-stamp {
    position: absolute;
    z-index: 2;
    top: 17px;
    left: 17px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 7px;
    background: rgba(7,9,12,.72);
    color: #fff;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .09em;
    backdrop-filter: blur(8px);
}

.fpd-featured-stamp i {
    color: #73bff2;
    font-size: 15px;
}

.fpd-featured-info {
    position: relative;
    z-index: 3;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 27px 27px 25px 22px;
}

.fpd-featured-label {
    color: var(--fpd-green);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.fpd-featured-info h1 {
    margin: 10px 0 12px;
    color: #fff;
    font-size: clamp(28px, 2.8vw, 43px);
    font-weight: 950;
    letter-spacing: -.035em;
    line-height: 1;
}

.fpd-featured-info > p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #b8bbc2;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.fpd-featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
    margin-top: 16px;
    color: #70757e;
    font-size: 9px;
    font-weight: 800;
}

.fpd-featured-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.fpd-featured-meta i {
    color: #c6c9cf;
    font-size: 11px;
}

.fpd-tag-row,
.fpd-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.fpd-tag-row {
    margin-top: 15px;
}

.fpd-tag-row button,
.fpd-card-tags button {
    min-height: 24px;
    padding: 0 8px;
    border: 1px solid rgba(33,150,243,.13);
    border-radius: 5px;
    background: rgba(33,150,243,.12);
    color: #57adE9;
    font: 500 9px "Inter", sans-serif;
    cursor: pointer;
}

.fpd-tag-row button:hover,
.fpd-card-tags button:hover {
    border-color: rgba(33,150,243,.35);
    background: rgba(33,150,243,.2);
    color: #a4d9fb;
}

.fpd-featured-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 18px;
}

.fpd-inline-form {
    margin: 0;
}

.fpd-primary-action,
.fpd-secondary-action,
.fpd-see-all,
.fpd-rail-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 7px;
    font: 500 9px "Inter", sans-serif;
    cursor: pointer;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.fpd-primary-action {
    background: linear-gradient(135deg, #0aaa50, #00c853);
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(0,200,83,.14);
}

.fpd-primary-action:hover {
    background: linear-gradient(135deg, #12bb5a, #00d85a);
    transform: translateY(-1px);
}

.fpd-secondary-action {
    border-color: rgba(255,255,255,.09);
    background: #282a2f;
    color: #b9bdc5 !important;
}

.fpd-secondary-action:hover {
    border-color: rgba(33,150,243,.25);
    background: rgba(33,150,243,.09);
    color: #fff !important;
}

.fpd-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 13px;
}

.fpd-section-header > div:first-child > span {
    color: var(--fpd-blue);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.fpd-section-header h2 {
    margin: 4px 0 0;
    color: #fff;
    font-size: 19px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.fpd-section-header p {
    margin: 4px 0 0;
    color: #656a73;
    font-size: 9px;
    font-weight: 750;
}

.fpd-section-header p strong {
    color: #a5aab2;
}

.fpd-rail-controls button {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: transparent;
}

.fpd-catalog-genre-strip {
    display: none;
}

.fpd-game-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 1px 1px 8px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.fpd-game-rail::-webkit-scrollbar {
    display: none;
}

.fpd-game-card {
    width: 222px;
    min-width: 222px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 9px;
    background: var(--fpd-raisin);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
    transition: transform .18s ease, border-color .18s ease;
}

.fpd-game-card[hidden] {
    display: none !important;
}

.fpd-game-card:hover {
    border-color: rgba(33,150,243,.2);
    transform: translateY(-2px);
}

.fpd-game-cover {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #090b0e;
}

.fpd-game-cover::after {
    position: absolute;
    inset: 36% 0 0;
    background: linear-gradient(transparent, rgba(7,9,12,.7));
    content: "";
}

.fpd-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.fpd-game-card:hover .fpd-game-cover img {
    transform: scale(1.04);
}

.fpd-game-cover > span {
    position: absolute;
    z-index: 2;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 5px;
    background: rgba(7,9,12,.82);
    color: #d0d3d8;
    font-size: 9px;
    font-weight: 950;
    backdrop-filter: blur(5px);
}

.fpd-game-cover > span.is-ready i {
    color: var(--fpd-green);
}

.fpd-game-cover > span.is-waiting i {
    color: var(--fpd-orange);
}

.fpd-game-card-body {
    padding: 11px;
}

.fpd-game-card-body h3 {
    overflow: hidden;
    margin: 0 0 8px;
    color: #f1f3f5;
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-card-tags {
    min-height: 24px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.fpd-card-tags button {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-game-card-body form {
    margin: 8px 0 0;
}

.fpd-card-action {
    display: flex;
    width: 100%;
    min-height: 33px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 8px;
    border: 1px solid rgba(33,150,243,.16);
    border-radius: 6px;
    background: rgba(33,150,243,.11);
    color: #71bdf0 !important;
    font: 500 9px "Inter", sans-serif;
    cursor: pointer;
}

.fpd-card-action:hover {
    border-color: rgba(33,150,243,.3);
    background: rgba(33,150,243,.18);
    color: #fff !important;
}

.fpd-card-action.is-added {
    border-color: rgba(0,200,83,.14);
    background: rgba(0,200,83,.09);
    color: #49d986 !important;
}

.fpd-card-action.is-locked {
    border-color: rgba(255,171,0,.12);
    background: rgba(255,171,0,.07);
    color: #d9a743 !important;
}

.fpd-bestseller-rail {
    display: flex;
    gap: 13px;
    overflow-x: auto;
    padding: 1px 1px 9px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.fpd-bestseller-rail::-webkit-scrollbar {
    display: none;
}

.fpd-bestseller-card {
    width: 174px;
    min-width: 174px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 10px;
    background: var(--fpd-raisin);
    box-shadow: 0 14px 30px rgba(0,0,0,.14);
    transition: transform .18s ease, border-color .18s ease;
}

.fpd-bestseller-card:hover {
    border-color: rgba(33,150,243,.25);
    transform: translateY(-3px);
}

.fpd-bestseller-cover {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #090b0e;
}

.fpd-bestseller-cover::after {
    position: absolute;
    inset: 52% 0 0;
    background: linear-gradient(transparent, rgba(8,10,13,.88));
    content: "";
}

.fpd-bestseller-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.fpd-bestseller-card:hover .fpd-bestseller-cover img {
    transform: scale(1.035);
}

.fpd-bestseller-rank {
    position: absolute;
    z-index: 2;
    left: 8px;
    top: 8px;
    display: grid;
    min-width: 31px;
    height: 27px;
    place-items: center;
    padding: 0 7px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 7px;
    background: rgba(13,15,19,.88);
    color: #fff;
    font-size: 10px;
    font-weight: 500;
    backdrop-filter: blur(6px);
}

.fpd-bestseller-cover em {
    position: absolute;
    z-index: 2;
    right: 8px;
    bottom: 8px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 22px;
    padding: 0 7px;
    border-radius: 5px;
    background: rgba(8,10,13,.82);
    color: #c9cdd4;
    font-size: 9px;
    font-style: normal;
    font-weight: 500;
    backdrop-filter: blur(5px);
}

.fpd-bestseller-body {
    padding: 11px;
}

.fpd-bestseller-body h3 {
    overflow: hidden;
    margin: 0 0 7px;
    font-size: 11px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-bestseller-body h3 a {
    color: #f0f2f5 !important;
    text-decoration: none !important;
}

.fpd-bestseller-tags {
    display: flex;
    min-height: 20px;
    gap: 4px;
    overflow: hidden;
}

.fpd-bestseller-tags span {
    overflow: hidden;
    padding: 3px 6px;
    border-radius: 4px;
    background: rgba(33,150,243,.09);
    color: #6eb7e9;
    font-size: 9px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-bestseller-body > p {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 8px 0 0;
    color: #858b95;
    font-size: 9px;
    font-weight: 400;
}

.fpd-bestseller-body > p i {
    color: var(--fpd-green);
}

.fpd-bestseller-body form {
    margin: 0;
}

.fpd-bestseller-action {
    display: flex;
    width: 100%;
    min-height: 33px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 9px;
    border: 1px solid rgba(33,150,243,.17);
    border-radius: 6px;
    background: rgba(33,150,243,.1);
    color: #70bbed !important;
    font: 500 9px "Inter", sans-serif;
    text-decoration: none !important;
    cursor: pointer;
}

.fpd-bestseller-action:hover {
    border-color: rgba(33,150,243,.32);
    background: rgba(33,150,243,.17);
    color: #fff !important;
}

.fpd-bestseller-action.is-added {
    border-color: rgba(0,200,83,.14);
    background: rgba(0,200,83,.08);
    color: #49d986 !important;
}

.fpd-bestseller-action.is-locked {
    border-color: rgba(255,171,0,.12);
    background: rgba(255,171,0,.07);
    color: #d9a743 !important;
}

.fpd-editor-picks-section {
    position: relative;
    overflow: hidden;
    border-color: rgba(255,193,7,.11);
}

.fpd-editor-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.fpd-editor-picks-section .fpd-bestseller-card {
    width: calc((100% - 52px) / 5);
    min-width: calc((100% - 52px) / 5);
}

@media (max-width: 1099px) {
    .fpd-editor-picks-section .fpd-bestseller-card {
        width: calc((100% - 39px) / 4);
        min-width: calc((100% - 39px) / 4);
    }
}

@media (max-width: 767px) {
    .fpd-editor-picks-section .fpd-bestseller-card {
        width: calc((100% - 26px) / 3);
        min-width: calc((100% - 26px) / 3);
    }
}

@media (max-width: 519px) {
    .fpd-editor-picks-section .fpd-bestseller-card {
        width: calc((100% - 13px) / 2);
        min-width: calc((100% - 13px) / 2);
    }
}

.fpd-editor-pick-card:hover {
    border-color: rgba(255,193,7,.3);
}

.fpd-editor-pick-badge {
    position: absolute;
    z-index: 2;
    left: 8px;
    top: 8px;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    gap: 5px;
    padding: 0 8px;
    border: 1px solid rgba(255,213,79,.23);
    border-radius: 7px;
    background: rgba(39,30,9,.9);
    color: #ffd75b;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .02em;
    backdrop-filter: blur(6px);
}

.fpd-editor-pick-card .fpd-bestseller-tags span {
    background: rgba(255,193,7,.08);
    color: #d5b75e;
}

.fpd-editor-pick-card .fpd-bestseller-body > p i {
    color: #ffc83d;
}

@media (max-width: 640px) {
    .fpd-editor-header-actions {
        align-items: flex-end;
        flex-direction: column;
        gap: 7px;
    }
}

.fpd-filter-empty,
.fpd-empty-panel {
    display: grid;
    min-height: 180px;
    place-items: center;
    align-content: center;
    gap: 8px;
    padding: 25px;
    border: 1px dashed rgba(255,255,255,.1);
    border-radius: 10px;
    background: rgba(255,255,255,.018);
    color: #747a83;
    text-align: center;
}

.fpd-filter-empty[hidden] {
    display: none !important;
}

.fpd-filter-empty > i,
.fpd-empty-panel > i {
    color: #4e7895;
    font-size: 35px;
}

.fpd-filter-empty strong,
.fpd-empty-panel strong {
    color: #cdd1d7;
    font-size: 12px;
}

.fpd-filter-empty button,
.fpd-empty-panel a {
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid rgba(33,150,243,.16);
    border-radius: 6px;
    background: rgba(33,150,243,.09);
    color: #71bdf0 !important;
    font: 500 9px "Inter", sans-serif;
}

.fpd-see-all {
    min-height: 34px;
    padding: 0 12px;
    border-color: rgba(255,255,255,.1);
    background: transparent;
    color: #a9adb5 !important;
}

.fpd-see-all:hover {
    border-color: rgba(33,150,243,.3);
    color: #fff !important;
}

.fpd-library-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
}

.fpd-library-tile {
    display: grid;
    grid-template-columns: 74px minmax(0,1fr);
    min-height: 74px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 9px;
    background: var(--fpd-raisin);
    color: #fff !important;
    transition: border-color .18s ease, background .18s ease;
}

.fpd-library-tile:hover {
    border-color: rgba(33,150,243,.2);
    background: #24272c;
}

.fpd-library-tile > img {
    width: 74px;
    height: 74px;
    object-fit: cover;
}

.fpd-library-tile > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 10px 12px;
}

.fpd-library-tile strong,
.fpd-library-tile small {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-library-tile strong {
    font-size: 10px;
    font-weight: 900;
}

.fpd-library-tile small {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 6px;
    color: #747a83;
    font-size: 9px;
    font-weight: 800;
}

.fpd-library-tile small i.ri-checkbox-circle-fill {
    color: var(--fpd-green);
}

.fpd-library-tile small i.ri-time-line {
    color: var(--fpd-orange);
}

.fpd-dashboard-rail {
    position: sticky;
    top: 106px;
    display: grid;
    gap: 14px;
}

.fpd-rail-card {
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 11px;
    background: var(--fpd-raisin);
    box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

.fpd-membership-card {
    position: relative;
    padding: 21px;
    background:
        radial-gradient(circle at 100% 0, rgba(33,150,243,.13), transparent 42%),
        var(--fpd-raisin);
}

.fpd-rail-card-icon {
    display: grid;
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    place-items: center;
    border: 1px solid rgba(33,150,243,.15);
    border-radius: 10px;
    background: rgba(33,150,243,.1);
    color: var(--fpd-blue);
}

.fpd-rail-card-icon i {
    font-size: 21px;
}

.fpd-membership-card > span {
    color: var(--fpd-blue);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
}

.fpd-membership-card h2 {
    margin: 6px 0 8px;
    color: #fff;
    font-size: 17px;
    font-weight: 950;
}

.fpd-membership-card > p {
    margin: 0;
    color: #888d96;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.5;
}

.fpd-membership-progress {
    margin-top: 17px;
}

.fpd-membership-progress > div {
    height: 5px;
    overflow: hidden;
    border-radius: 4px;
    background: rgba(255,255,255,.065);
}

.fpd-membership-progress > div span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #168ad7, #00c853);
}

.fpd-membership-progress small {
    display: block;
    margin-top: 7px;
    color: #797e87;
    font-size: 9px;
}

.fpd-membership-progress small b {
    color: #e8ebee;
}

.fpd-rail-action {
    width: 100%;
    margin-top: 15px;
    border-color: rgba(33,150,243,.16);
    background: rgba(33,150,243,.1);
    color: #6cbcf1 !important;
}

.fpd-rail-action:hover {
    border-color: rgba(33,150,243,.3);
    background: rgba(33,150,243,.18);
    color: #fff !important;
}

.fpd-activation-form {
    margin-top: 15px;
}

.fpd-activation-form > label {
    display: block;
    margin-bottom: 6px;
    color: #777c85;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.fpd-activation-form > div {
    display: grid;
    grid-template-columns: 26px minmax(0,1fr);
    align-items: center;
    min-height: 40px;
    padding: 0 9px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    background: #14161a;
    color: #67707a;
}

.fpd-activation-form input,
.fpd-activation-form input:focus {
    width: 100%;
    height: 38px;
    min-width: 0;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font: 900 9px ui-monospace, SFMono-Regular, Menlo, monospace;
    text-transform: uppercase;
}

.fpd-activation-form > button {
    display: flex;
    width: 100%;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 8px;
    border: 0;
    border-radius: 7px;
    background: linear-gradient(135deg, #158fdc, #1976b9);
    color: #fff;
    font: 500 9px "Inter", sans-serif;
    cursor: pointer;
}

.fpd-library-summary,
.fpd-activity-card {
    padding: 17px;
}

.fpd-library-summary > header,
.fpd-activity-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--fpd-line);
}

.fpd-library-summary > header > span,
.fpd-activity-card > header > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #d9dce1;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .06em;
}

.fpd-library-summary > header > span i,
.fpd-activity-card > header > span i {
    color: var(--fpd-blue);
    font-size: 14px;
}

.fpd-library-summary > header a {
    color: #6e747d;
}

.fpd-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 8px;
    padding: 13px 0;
}

.fpd-summary-grid > div {
    padding: 11px;
    border: 1px solid rgba(255,255,255,.05);
    border-radius: 8px;
    background: #181a1f;
}

.fpd-summary-grid strong,
.fpd-summary-grid span {
    display: block;
}

.fpd-summary-grid strong {
    color: #fff;
    font-size: 20px;
    font-weight: 950;
}

.fpd-summary-grid span {
    margin-top: 3px;
    color: #686e77;
    font-size: 9px;
    font-weight: 800;
}

.fpd-summary-status {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(0,200,83,.06);
}

.fpd-summary-status > i {
    color: var(--fpd-green);
    font-size: 18px;
}

.fpd-summary-status span,
.fpd-summary-status strong,
.fpd-summary-status small {
    display: block;
}

.fpd-summary-status strong {
    color: #d8dbe0;
    font-size: 9px;
}

.fpd-summary-status small {
    margin-top: 2px;
    color: #6f747d;
    font-size: 9px;
}

.fpd-activity-card > header b {
    display: grid;
    min-width: 19px;
    height: 19px;
    place-items: center;
    padding: 0 4px;
    border-radius: 10px;
    background: rgba(33,150,243,.12);
    color: var(--fpd-blue);
    font-size: 9px;
}

.fpd-activity-card > a {
    display: grid;
    grid-template-columns: 32px minmax(0,1fr) 14px;
    align-items: center;
    gap: 9px;
    min-height: 56px;
    border-bottom: 1px solid rgba(255,255,255,.045);
    color: #fff !important;
}

.fpd-activity-card > a:last-child {
    border-bottom: 0;
}

.fpd-activity-card > a > i:first-child {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 7px;
    background: rgba(33,150,243,.08);
    color: var(--fpd-blue);
    font-size: 14px;
}

.fpd-activity-card > a > i:last-child {
    color: #555a63;
}

.fpd-activity-card > a span,
.fpd-activity-card > a strong,
.fpd-activity-card > a small {
    display: block;
    min-width: 0;
}

.fpd-activity-card > a strong {
    font-size: 9px;
    font-weight: 900;
}

.fpd-activity-card > a small {
    overflow: hidden;
    margin-top: 3px;
    color: #686e77;
    font-size: 9px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpd-activity-card > a:hover strong,
.fpd-activity-card > a:hover > i:last-child {
    color: var(--fpd-blue);
}

@media (max-width: 1540px) {
    .fpd-app-shell {
        grid-template-columns: 232px minmax(0,1fr);
    }

    .fpd-dashboard-main {
        grid-template-columns: minmax(0,1fr) 265px;
        gap: 18px;
        padding-right: 22px;
        padding-left: 22px;
    }

    .fpd-topbar {
        padding-right: 22px;
        padding-left: 22px;
    }

    .fpd-featured-card {
        grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr);
    }
}

@media (max-width: 1240px) {
    .fpd-dashboard-main {
        grid-template-columns: minmax(0,1fr);
    }

    .fpd-dashboard-rail {
        position: static;
        grid-template-columns: repeat(3, minmax(0,1fr));
    }

    .fpd-topbar {
        grid-template-columns: auto minmax(190px, 1fr) auto auto;
    }

    .fpd-profile-button {
        min-width: 43px;
        grid-template-columns: 33px;
        padding-right: 5px;
    }

    .fpd-profile-button strong,
    .fpd-profile-button > i {
        display: none;
    }
}

@media (max-width: 1050px) {
    .fpd-app-section {
        padding: 0;
    }

    .fpd-app-shell {
        height: 100vh;
        grid-template-columns: 205px minmax(0,1fr);
    }

    .fpd-sidebar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .fpd-brand strong {
        font-size: 15px;
    }

    .fpd-brand-logo {
        max-width: 165px;
        height: 54px;
    }

    .fpd-topbar {
        grid-template-columns: auto minmax(180px,1fr) auto;
    }

    .fpd-access-chip {
        display: none;
    }

    .fpd-featured-card {
        grid-template-columns: 1fr;
    }

    .fpd-featured-art,
    .fpd-featured-art img {
        min-height: 310px;
        max-height: 310px;
    }

    .fpd-featured-art::after {
        background: linear-gradient(transparent 60%, #1d1f24 100%);
    }

    .fpd-featured-info {
        padding: 23px;
    }

    .fpd-dashboard-rail {
        grid-template-columns: 1fr 1fr;
    }

    .fpd-activity-card {
        grid-column: 1 / -1;
    }

    .fpd-activity-card > a {
        display: inline-grid;
        width: 32.5%;
        border-right: 1px solid rgba(255,255,255,.045);
        border-bottom: 0;
    }
}

@media (max-width: 991.98px) {
    body.fp-client-app-body {
        overflow: auto;
    }

    .fpd-app-section {
        padding: 0;
    }

    .fpd-app-shell {
        display: block;
        width: 100%;
        height: auto;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
    }

    .fpd-sidebar {
        position: relative;
        display: grid;
        grid-template-columns: auto minmax(0,1fr) auto;
        align-items: center;
        gap: 12px;
        min-height: 76px;
        overflow: visible;
        padding: 10px 14px;
        border-right: 0;
        border-bottom: 1px solid var(--fpd-line);
    }

    .fpd-brand {
        min-height: 52px;
        padding: 0;
        border: 0;
    }

    .fpd-brand-logo {
        max-width: 150px;
        height: 46px;
    }

    .fpd-brand small,
    .fpd-subscription-mini {
        display: none;
    }

    .fpd-primary-nav {
        display: flex;
        min-width: 0;
        justify-content: center;
        gap: 5px;
        padding: 0;
        overflow-x: auto;
        border: 0;
        scrollbar-width: none;
    }

    .fpd-primary-nav a {
        min-width: 48px;
        min-height: 46px;
        justify-content: center;
        padding: 0 11px;
    }

    .fpd-primary-nav a i {
        width: auto;
        flex: 0 0 auto;
        font-size: 19px;
    }

    .fpd-primary-nav a span,
    .fpd-primary-nav a::after {
        display: none;
    }

    .fpd-sidebar-footer {
        margin: 0;
        padding: 0;
        border: 0;
    }

    .fpd-sidebar-actions {
        display: flex;
    }

    .fpd-sidebar-actions a {
        width: 43px;
        min-height: 43px;
        border-radius: 50%;
    }

    .fpd-sidebar-actions a span {
        display: none;
    }

    .fpd-app-content {
        overflow: visible;
    }

    .fpd-topbar {
        top: 0;
    }

    .fpd-catalog-genre-strip {
        display: flex;
        align-items: center;
        gap: 7px;
        margin: -4px 0 14px;
        padding: 2px 1px 8px;
        overflow-x: auto;
        overscroll-behavior-inline: contain;
        scrollbar-width: none;
        scroll-snap-type: x proximity;
    }

    .fpd-catalog-genre-strip::-webkit-scrollbar {
        display: none;
    }

    .fpd-catalog-genre-strip button {
        display: inline-flex;
        min-height: 34px;
        flex: 0 0 auto;
        align-items: center;
        gap: 8px;
        padding: 0 11px;
        border: 1px solid rgba(255,255,255,.075);
        border-radius: 18px;
        background: #202329;
        color: #8c929c;
        font: inherit;
        font-size: 9px;
        font-weight: 800;
        cursor: pointer;
        scroll-snap-align: start;
        transition: border-color .18s ease,background .18s ease,color .18s ease;
    }

    .fpd-catalog-genre-strip button b {
        display: grid;
        min-width: 19px;
        height: 19px;
        place-items: center;
        padding: 0 5px;
        border-radius: 10px;
        background: rgba(255,255,255,.055);
        color: #656b75;
        font-size: 8px;
    }

    .fpd-catalog-genre-strip button:hover,
    .fpd-catalog-genre-strip button.is-active {
        border-color: rgba(33,150,243,.34);
        background: rgba(33,150,243,.11);
        color: #eaf6ff;
    }

    .fpd-catalog-genre-strip button:hover b,
    .fpd-catalog-genre-strip button.is-active b {
        background: rgba(33,150,243,.18);
        color: #67c0f6;
    }
}

@media (max-width: 767.98px) {
    .fpd-sidebar {
        grid-template-columns: auto minmax(0,1fr);
    }

    .fpd-brand-logo {
        max-width: 122px;
        height: 42px;
    }

    .fpd-brand > span:last-child,
    .fpd-sidebar-actions,
    .fpd-primary-nav a:nth-child(5),
    .fpd-primary-nav a:nth-child(6) {
        display: none;
    }

    .fpd-primary-nav {
        justify-content: flex-end;
    }

    .fpd-topbar {
        grid-template-columns: minmax(0,1fr) auto;
        min-height: 69px;
        padding: 12px 14px;
    }

    .fpd-history-controls {
        display: none;
    }

    .fpd-global-search kbd,
    .fpd-top-actions .fpd-icon-button:first-child,
    .fpd-top-actions [data-fpd-fullscreen] {
        display: none;
    }

    .fpd-global-search {
        height: 42px;
    }

    .fpd-dashboard-main {
        gap: 22px;
        padding: 15px 14px 95px;
    }

    .fpd-featured-card {
        min-height: 0;
    }

    .fpd-featured-art,
    .fpd-featured-art img {
        min-height: 245px;
        max-height: 245px;
    }

    .fpd-featured-info {
        padding: 19px;
    }

    .fpd-featured-info h1 {
        font-size: 27px;
    }

    .fpd-featured-meta span:nth-child(3) {
        display: none;
    }

    .fpd-featured-actions,
    .fpd-inline-form,
    .fpd-primary-action,
    .fpd-secondary-action {
        width: 100%;
    }

    .fpd-section + .fpd-section {
        margin-top: 25px;
    }

    .fpd-section-header {
        align-items: center;
    }

    .fpd-section-header h2 {
        font-size: 17px;
    }

    .fpd-rail-controls {
        display: none;
    }

    .fpd-game-card {
        width: 205px;
        min-width: 205px;
    }

    .fpd-library-grid,
    .fpd-dashboard-rail {
        grid-template-columns: 1fr;
    }

    .fpd-activity-card {
        grid-column: auto;
    }

    .fpd-activity-card > a {
        display: grid;
        width: 100%;
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.045);
    }
}

@media (max-width: 480px) {
    .fpd-primary-nav a {
        min-width: 42px;
        padding: 0 8px;
    }

    .fpd-top-actions .fpd-icon-button {
        display: none;
    }

    .fpd-profile-button {
        min-width: 41px;
        height: 41px;
    }

    .fpd-featured-art,
    .fpd-featured-art img {
        min-height: 210px;
        max-height: 210px;
    }

    .fpd-featured-info h1 {
        font-size: 24px;
    }

    .fpd-featured-meta {
        display: none;
    }

    .fpd-game-card {
        width: 185px;
        min-width: 185px;
    }

    .fpd-bestseller-card {
        width: 150px;
        min-width: 150px;
    }

    .fpd-see-all {
        width: 35px;
        padding: 0;
        overflow: hidden;
        color: transparent !important;
        gap: 0;
    }

    .fpd-see-all i {
        color: #a9adb5;
        font-size: 15px;
    }
}

/* Final subpage toolbar placement (kept after dashboard responsive rules). */
.fpd-topbar.fpd-subpage-topbar {
    grid-template-columns: auto minmax(220px, 1fr) auto auto;
}

@media (max-width: 1050px) {
    .fpd-topbar.fpd-subpage-topbar {
        grid-template-columns: auto minmax(0,1fr) auto;
    }
}

@media (max-width: 767.98px) {
    .fpd-topbar.fpd-subpage-topbar {
        grid-template-columns: minmax(0,1fr) auto;
    }
}

/* Steam-style game detail page */
.gss-game-cover-link {
    display: block;
    color: inherit;
}

.gss-game-title-link,
.fpd-game-title-link {
    color: inherit !important;
    transition: color .18s ease;
}

.gss-game-title-link:hover,
.fpd-game-title-link:hover {
    color: #67baf1 !important;
}

.fpdg-page {
    width: 100%;
    min-height: calc(100vh - 86px);
    padding: 24px 28px 56px;
    background: #111318;
    color: #f4f6f8;
}

.fpdg-hero {
    --fpdg-hero-image: none;
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 15px;
    background-color: #181a1f;
    background-image:
        linear-gradient(90deg, rgba(17,19,24,.98) 0%, rgba(17,19,24,.91) 35%, rgba(17,19,24,.65) 70%, rgba(17,19,24,.82) 100%),
        linear-gradient(0deg, #111318 0%, transparent 42%),
        var(--fpdg-hero-image);
    background-position: center;
    background-size: cover;
    box-shadow: 0 24px 65px rgba(0,0,0,.28);
    isolation: isolate;
}

.fpdg-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(circle at 68% 18%, rgba(33,150,243,.16), transparent 27%),
        linear-gradient(110deg, transparent 52%, rgba(0,0,0,.2));
    content: "";
}

.fpdg-hero-shade {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 45%;
    background: linear-gradient(transparent, rgba(17,19,24,.92));
    pointer-events: none;
}

.fpdg-breadcrumb {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    min-height: 58px;
    margin: 20px 22px 0;
    padding: 0 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: rgba(11,13,16,.67);
    color: #777d87;
    font-size: 11px;
    font-weight: 800;
    backdrop-filter: blur(14px);
}

.fpdg-breadcrumb a {
    color: #8b919b;
}

.fpdg-breadcrumb a:hover,
.fpdg-breadcrumb span {
    color: #fff;
}

.fpdg-breadcrumb span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpdg-hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(190px, 245px) minmax(320px, 1fr) minmax(245px, 310px);
    align-items: center;
    gap: 32px;
    min-height: 425px;
    padding: 34px 46px 42px;
}

.fpdg-cover {
    position: relative;
    width: 100%;
    max-width: 245px;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 13px;
    background: #0c0e11;
    box-shadow: 0 28px 60px rgba(0,0,0,.45);
}

.fpdg-cover::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: inherit;
    content: "";
    pointer-events: none;
}

.fpdg-cover img {
    display: block;
    width: 100%;
    height: 315px;
    object-fit: cover;
}

.fpdg-cover figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(12,14,17,.96);
    color: #8d939d;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .13em;
}

.fpdg-cover figcaption i {
    color: #fff;
    font-size: 16px;
}

.fpdg-section-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 999px;
    background: rgba(12,14,17,.38);
    color: #e6e9ed;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
    backdrop-filter: blur(10px);
}

.fpdg-section-pill i {
    color: #4faff0;
    font-size: 15px;
}

.fpdg-hero-copy h1 {
    max-width: 780px;
    margin: 18px 0 14px;
    color: #fff;
    font-size: clamp(32px, 3vw, 54px);
    font-weight: 950;
    line-height: .98;
    letter-spacing: -.045em;
    text-shadow: 0 12px 35px rgba(0,0,0,.32);
}

.fpdg-hero-copy > p {
    max-width: 760px;
    margin: 0;
    color: #c7cbd1;
    font-size: 13px;
    font-weight: 650;
    line-height: 1.75;
}

.fpdg-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 19px;
}

.fpdg-tags span {
    display: inline-flex;
    min-height: 28px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(33,150,243,.17);
    border-radius: 6px;
    background: rgba(33,150,243,.12);
    color: #75c2f4;
    font-size: 9px;
    font-weight: 900;
}

.fpdg-feature-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    margin-top: 20px;
    color: #a5abb4;
    font-size: 9px;
    font-weight: 850;
}

.fpdg-feature-list span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fpdg-feature-list i {
    color: #45aaf0;
    font-size: 15px;
}

.fpdg-hero-action,
.fpdg-primary-form {
    display: grid;
    gap: 12px;
}

.fpdg-primary-form {
    margin: 0;
}

.fpdg-primary-button {
    display: grid;
    width: 100%;
    min-height: 72px;
    grid-template-columns: 38px minmax(0,1fr) 20px;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(64,174,245,.45);
    border-radius: 11px;
    background: linear-gradient(135deg, #2196f3, #176ca5);
    color: #fff !important;
    box-shadow: 0 18px 40px rgba(33,150,243,.22);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.fpdg-primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 23px 48px rgba(33,150,243,.3);
    filter: brightness(1.06);
}

.fpdg-primary-button.is-selected {
    border-color: rgba(0,200,83,.37);
    background: linear-gradient(135deg, #00a846, #087938);
    box-shadow: 0 18px 40px rgba(0,200,83,.16);
}

.fpdg-primary-button > i:first-child {
    font-size: 28px;
    text-align: center;
}

.fpdg-primary-button > i:last-child {
    font-size: 18px;
}

.fpdg-primary-button span,
.fpdg-primary-button small {
    display: block;
}

.fpdg-primary-button span {
    font-size: 12px;
    font-weight: 950;
}

.fpdg-primary-button small {
    margin-bottom: 3px;
    color: rgba(255,255,255,.68);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
}

.fpdg-membership-note {
    display: grid;
    min-height: 62px;
    grid-template-columns: 34px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 10px;
    background: rgba(20,22,27,.82);
    backdrop-filter: blur(12px);
}

.fpdg-membership-note > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 9px;
    background: rgba(33,150,243,.1);
    color: #4bafeF;
    font-size: 18px;
}

.fpdg-membership-note.is-active > i {
    background: rgba(0,200,83,.1);
    color: #00c853;
}

.fpdg-membership-note span,
.fpdg-membership-note strong,
.fpdg-membership-note small {
    display: block;
    min-width: 0;
}

.fpdg-membership-note strong {
    color: #e9ecf0;
    font-size: 10px;
    font-weight: 900;
}

.fpdg-membership-note small {
    margin-top: 3px;
    color: #767d87;
    font-size: 9px;
    font-weight: 750;
}

.fpdg-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 310px;
    gap: 20px;
    margin-top: 20px;
}

.fpdg-main-column,
.fpdg-info-rail {
    display: grid;
    align-content: start;
    gap: 20px;
    min-width: 0;
}

.fpdg-panel,
.fpdg-rail-panel {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 13px;
    background: #1d1f24;
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

.fpdg-panel {
    padding: 25px;
}

.fpdg-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fpdg-panel-heading span,
.fpdg-panel-heading h2 {
    display: block;
    margin: 0;
}

.fpdg-panel-heading span {
    color: #4baef0;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .13em;
}

.fpdg-panel-heading h2 {
    margin-top: 5px;
    color: #f7f8fa;
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -.02em;
}

.fpdg-panel-heading > i {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 11px;
    background: rgba(33,150,243,.09);
    color: #57b4f0;
    font-size: 21px;
}

.fpdg-panel-heading > b,
.fpdg-panel-heading > a {
    color: #818792;
    font-size: 9px;
    font-weight: 900;
}

.fpdg-panel-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.fpdg-panel-heading > a:hover {
    color: #57b4f0;
}

.fpdg-about-panel > p,
.fpdg-about-content {
    max-width: 1050px;
    color: #a9afb8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.78;
}

.fpdg-about-content {
    position: relative;
    margin-top: 22px;
    overflow: hidden;
    transition: max-height .3s ease;
}

.fpdg-about-content p {
    margin: 0 0 14px;
    color: inherit;
    font: inherit;
}

.fpdg-about-content p:last-child {
    margin-bottom: 0;
}

.fpdg-about-content strong,
.fpdg-about-content b {
    color: #f0f2f5;
    font-weight: 600;
}

.fpdg-about-content em,
.fpdg-about-content i {
    font-style: italic;
}

.fpdg-about-content small {
    font-size: .84em;
}

.fpdg-about-content h1,
.fpdg-about-content h2,
.fpdg-about-content h3,
.fpdg-about-content h4 {
    margin: 23px 0 10px;
    color: #f3f4f6;
    font-weight: 500;
    line-height: 1.3;
}

.fpdg-about-content h1 { font-size: 25px; }
.fpdg-about-content h2 { font-size: 21px; }
.fpdg-about-content h3 { font-size: 18px; }
.fpdg-about-content h4 { font-size: 15px; }

.fpdg-about-content ul,
.fpdg-about-content ol {
    margin: 13px 0 17px;
    padding-left: 24px;
}

.fpdg-about-content li + li {
    margin-top: 6px;
}

.fpdg-about-content blockquote {
    margin: 17px 0;
    padding: 13px 16px;
    border-left: 3px solid #2196f3;
    background: rgba(33,150,243,.06);
    color: #c5c9d0;
}

.fpdg-about-content a {
    color: #62b8ef !important;
    font-weight: 500;
    text-decoration: underline;
    text-decoration-color: rgba(98,184,239,.35);
    text-underline-offset: 3px;
}

.fpdg-about-content img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: #111318;
}

.fpdg-about-content video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 18px auto;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 10px;
    background: #080a0d;
}

.fpdg-about-content figure {
    margin: 20px 0;
}

.fpdg-about-content figure img {
    margin-bottom: 0;
}

.fpdg-about-content figcaption {
    margin-top: 7px;
    color: #777d87;
    font-size: 10px;
    text-align: center;
}

.fpdg-about-content hr {
    margin: 22px 0;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.09);
}

.fpdg-about-content table {
    display: block;
    width: 100%;
    margin: 18px 0;
    overflow-x: auto;
    border-collapse: collapse;
}

.fpdg-about-content th,
.fpdg-about-content td {
    padding: 9px 11px;
    border: 1px solid rgba(255,255,255,.09);
    text-align: left;
}

.fpdg-about-content th {
    color: #eceef2;
    font-weight: 500;
}

.fpdg-about-content.is-collapsed {
    max-height: 138px;
}

.fpdg-about-content.is-collapsed::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 62px;
    background: linear-gradient(180deg,rgba(29,31,36,0),#1d1f24 84%);
    content: '';
    pointer-events: none;
}

.fpdg-about-content.is-expanded {
    max-height: 5000px;
}

.fpdg-readmore-button {
    min-height: 39px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 12px;
    padding: 0 13px;
    border: 1px solid rgba(33,150,243,.18);
    border-radius: 8px;
    background: rgba(33,150,243,.07);
    color: #62b8ef;
    cursor: pointer;
    font-family: "Inter","Segoe UI",sans-serif;
    font-size: 11px;
    font-weight: 500;
    transition: border-color .18s ease,background .18s ease;
}

.fpdg-readmore-button:hover {
    border-color: rgba(33,150,243,.34);
    background: rgba(33,150,243,.12);
}

.fpdg-readmore-button i {
    font-size: 16px;
    transition: transform .2s ease;
}

.fpdg-readmore-button.is-expanded i {
    transform: rotate(180deg);
}

.fpdg-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 8px;
    margin-top: 22px;
}

.fpdg-feature-grid span {
    display: flex;
    min-height: 52px;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    background: #181a1f;
    color: #c8ccd2;
    font-size: 9px;
    font-weight: 850;
}

.fpdg-feature-grid i {
    color: #45aaf0;
    font-size: 17px;
}

.fpdg-video-section {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 13px;
    background: var(--fpd-raisin,#1d1f24);
}

.fpdg-video-section > .fpdg-panel-heading {
    padding: 18px 20px 0;
}

.fpdg-video-frame {
    padding: 0 20px 20px;
}

.fpdg-video-frame video {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    background: #080a0d;
    box-shadow: 0 18px 44px rgba(0,0,0,.25);
}

@media (max-width: 640px) {
    .fpdg-video-section > .fpdg-panel-heading { padding: 15px 15px 0; }
    .fpdg-video-frame { padding: 0 15px 15px; }
}

.fpdg-gallery-section {
    min-width: 0;
}

.fpdg-gallery-section > .fpdg-panel-heading {
    margin-bottom: 13px;
    padding: 0 2px;
}

.fpdg-gallery-grid {
    display: grid;
    grid-template-columns: 1.55fr 1fr 1fr;
    grid-auto-rows: 170px;
    gap: 10px;
}

.fpdg-gallery-item {
    position: relative;
    min-width: 0;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 11px;
    background: #181a1f;
    cursor: zoom-in;
}

.fpdg-gallery-item.is-featured {
    grid-row: span 2;
}

.fpdg-gallery-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease, filter .35s ease;
}

.fpdg-gallery-item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 55%, rgba(0,0,0,.55));
    content: "";
    opacity: .55;
    transition: opacity .2s ease;
}

.fpdg-gallery-item > span {
    position: absolute;
    z-index: 2;
    right: 10px;
    bottom: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(10,12,15,.65);
    color: #fff;
    opacity: 0;
    backdrop-filter: blur(8px);
    transition: opacity .2s ease, transform .2s ease;
}

.fpdg-gallery-item:hover img {
    transform: scale(1.045);
    filter: saturate(1.08);
}

.fpdg-gallery-item:hover::after,
.fpdg-gallery-item:hover > span {
    opacity: 1;
}

.fpdg-gallery-item:hover > span {
    transform: translateY(-2px);
}

.fpdg-requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 12px;
    margin-top: 22px;
}

.fpdg-requirements-grid article {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    background: #181a1f;
}

.fpdg-requirements-grid article > span {
    display: inline-flex;
    margin-bottom: 13px;
    color: #57b4f0;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.fpdg-requirements-grid article > div {
    overflow-wrap: anywhere;
    color: #939aa4;
    font-size: 10px;
    font-weight: 650;
    line-height: 1.75;
}

.fpdg-empty-info {
    display: flex;
    min-height: 74px;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 15px;
    border: 1px dashed rgba(255,255,255,.09);
    border-radius: 10px;
    background: #181a1f;
    color: #858c96;
    font-size: 10px;
    font-weight: 750;
}

.fpdg-empty-info i {
    color: #4baff0;
    font-size: 20px;
}

.fpdg-info-rail {
    position: sticky;
    top: 106px;
}

.fpdg-rail-panel {
    overflow: hidden;
}

.fpdg-rail-panel > header {
    display: flex;
    min-height: 51px;
    align-items: center;
    gap: 9px;
    padding: 0 16px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #202228;
    color: #e5e8ec;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .1em;
}

.fpdg-rail-panel > header i {
    color: #53b1ef;
    font-size: 16px;
}

.fpdg-rail-panel dl {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 16px 11px;
}

.fpdg-rail-panel dl > div {
    display: grid;
    grid-template-columns: 86px minmax(0,1fr);
    gap: 9px;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,.045);
}

.fpdg-rail-panel dl > div:last-child {
    border-bottom: 0;
}

.fpdg-rail-panel dt,
.fpdg-rail-panel dd {
    margin: 0;
    font-size: 9px;
    line-height: 1.5;
}

.fpdg-rail-panel dt {
    color: #666d77;
    font-weight: 850;
}

.fpdg-rail-panel dd {
    overflow-wrap: anywhere;
    color: #d2d6dc;
    font-weight: 800;
}

.fpdg-rail-panel dd i {
    margin-right: 4px;
    color: #52b1ef;
}

.fpdg-access-panel {
    padding-bottom: 16px;
    text-align: center;
}

.fpdg-access-emblem {
    display: grid;
    width: 58px;
    height: 58px;
    margin: 18px auto 12px;
    place-items: center;
    border: 1px solid rgba(33,150,243,.2);
    border-radius: 16px;
    background: rgba(33,150,243,.09);
    color: #55b5f3;
    font-size: 30px;
}

.fpdg-access-panel > strong {
    display: block;
    color: #f2f4f7;
    font-size: 13px;
    font-weight: 950;
}

.fpdg-access-panel > p {
    margin: 8px 17px 14px;
    color: #7f8691;
    font-size: 9px;
    font-weight: 700;
    line-height: 1.65;
}

.fpdg-access-panel > span {
    display: inline-flex;
    min-height: 31px;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(33,150,243,.09);
    color: #65baf2;
    font-size: 9px;
    font-weight: 900;
}

.fpdg-access-panel > span.is-active {
    background: rgba(0,200,83,.09);
    color: #33d275;
}

.fpdg-related-section {
    margin-top: 28px;
}

.fpdg-related-section > .fpdg-panel-heading {
    margin-bottom: 14px;
}

.fpdg-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 11px;
}

.fpdg-related-card {
    display: grid;
    min-width: 0;
    grid-template-columns: 118px minmax(0,1fr);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    background: #1d1f24;
    color: #fff !important;
    transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.fpdg-related-card:hover {
    transform: translateY(-2px);
    border-color: rgba(33,150,243,.24);
    background: #22252a;
}

.fpdg-related-card > img {
    width: 118px;
    height: 112px;
    object-fit: cover;
}

.fpdg-related-card > span {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: 13px;
}

.fpdg-related-card small,
.fpdg-related-card strong,
.fpdg-related-card b {
    display: block;
    min-width: 0;
}

.fpdg-related-card small {
    color: #50b0ef;
    font-size: 9px;
    font-weight: 900;
}

.fpdg-related-card strong {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 5px;
    color: #f0f2f5;
    font-size: 11px;
    font-weight: 900;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fpdg-related-card b {
    margin-top: 10px;
    color: #747b85;
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .08em;
}

.fpdg-lightbox[hidden] {
    display: none !important;
}

.fpdg-lightbox {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: grid;
    place-items: center;
    padding: clamp(22px, 4vw, 64px) clamp(70px, 6vw, 110px);
    background: rgba(5,7,9,.92);
    backdrop-filter: blur(14px);
}

.fpdg-lightbox-stage {
    display: grid;
    width: min(880px, 100%);
    max-height: 82vh;
    gap: 12px;
    outline: 0;
}

.fpdg-lightbox-stage > img {
    display: block;
    width: 100%;
    max-width: 100%;
    max-height: 62vh;
    margin: auto;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 12px;
    background: #0b0d11;
    box-shadow: 0 35px 90px rgba(0,0,0,.58);
    object-fit: contain;
}

.fpdg-lightbox-close {
    position: absolute;
    z-index: 4;
    top: 22px;
    right: 24px;
    display: grid;
    width: 45px;
    height: 45px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;
    background: #1d1f24;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.fpdg-lightbox-close:hover,
.fpdg-lightbox-nav:hover {
    border-color: rgba(69,170,240,.65);
    background: #242a32;
    color: #57b4f0;
}

.fpdg-lightbox-nav {
    position: absolute;
    z-index: 4;
    top: 50%;
    display: grid;
    width: 52px;
    height: 52px;
    padding: 0;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(29,31,36,.88);
    color: #fff;
    box-shadow: 0 18px 45px rgba(0,0,0,.34);
    font-size: 29px;
    cursor: pointer;
    transform: translateY(-50%);
    backdrop-filter: blur(12px);
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.fpdg-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.06);
}

.fpdg-lightbox-prev {
    left: clamp(14px, 2.2vw, 38px);
}

.fpdg-lightbox-next {
    right: clamp(14px, 2.2vw, 38px);
}

.fpdg-lightbox-caption {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #c8ccd2;
    font-size: 12px;
    font-weight: 500;
}

.fpdg-lightbox-caption strong {
    min-width: 62px;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    text-align: right;
}

.fpdg-lightbox-thumbs {
    display: flex;
    max-width: 100%;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    padding: 3px 3px 8px;
    scrollbar-width: thin;
    scrollbar-color: #343a43 transparent;
}

.fpdg-lightbox-thumbs button {
    width: 84px;
    height: 48px;
    flex: 0 0 84px;
    overflow: hidden;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    background: #17191e;
    opacity: .52;
    cursor: pointer;
    transition: border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.fpdg-lightbox-thumbs button:hover,
.fpdg-lightbox-thumbs button.is-active {
    border-color: #45aaf0;
    opacity: 1;
    transform: translateY(-2px);
}

.fpdg-lightbox-thumbs img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.fpdg-lightbox-open {
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .fpdg-lightbox {
        padding: 70px 12px 20px;
    }

    .fpdg-lightbox-stage {
        width: 100%;
        max-height: calc(100vh - 90px);
    }

    .fpdg-lightbox-stage > img {
        max-height: calc(100vh - 225px);
        border-radius: 9px;
    }

    .fpdg-lightbox-nav {
        top: auto;
        bottom: 86px;
        width: 44px;
        height: 44px;
        font-size: 25px;
        transform: none;
    }

    .fpdg-lightbox-nav:hover {
        transform: scale(1.04);
    }

    .fpdg-lightbox-prev {
        left: 18px;
    }

    .fpdg-lightbox-next {
        right: 18px;
    }

    .fpdg-lightbox-close {
        top: 14px;
        right: 14px;
    }

    .fpdg-lightbox-caption {
        padding: 0 4px;
    }

    .fpdg-lightbox-thumbs {
        justify-content: flex-start;
        padding-right: 58px;
        padding-left: 58px;
    }
}

@media (max-width: 1360px) {
    .fpdg-hero-content {
        grid-template-columns: 205px minmax(300px,1fr) 260px;
        gap: 24px;
        padding-right: 32px;
        padding-left: 32px;
    }

    .fpdg-cover img {
        height: 285px;
    }

    .fpdg-feature-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .fpdg-related-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
    }
}

@media (max-width: 1120px) {
    .fpdg-page {
        padding-right: 20px;
        padding-left: 20px;
    }

    .fpdg-hero-content {
        grid-template-columns: 190px minmax(0,1fr);
        align-items: center;
    }

    .fpdg-cover img {
        height: 255px;
    }

    .fpdg-hero-action {
        grid-column: 1 / -1;
        grid-template-columns: minmax(240px, 1fr) minmax(230px, .8fr);
    }

    .fpdg-primary-form {
        min-width: 0;
    }

    .fpdg-layout {
        grid-template-columns: minmax(0,1fr) 270px;
    }

    .fpdg-gallery-grid {
        grid-auto-rows: 145px;
    }
}

@media (max-width: 900px) {
    .fpdg-page {
        min-height: 0;
    }

    .fpdg-layout {
        grid-template-columns: 1fr;
    }

    .fpdg-info-rail {
        position: static;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

}

@media (max-width: 700px) {
    .fpdg-page {
        padding: 14px 13px 42px;
    }

    .fpdg-hero {
        min-height: 0;
        border-radius: 12px;
        background-image:
            linear-gradient(0deg, rgba(17,19,24,.99) 2%, rgba(17,19,24,.84) 62%, rgba(17,19,24,.65) 100%),
            var(--fpdg-hero-image);
    }

    .fpdg-breadcrumb {
        min-height: 46px;
        margin: 12px 12px 0;
        padding: 0 12px;
        font-size: 9px;
    }

    .fpdg-breadcrumb a:first-child,
    .fpdg-breadcrumb i:first-of-type {
        display: none;
    }

    .fpdg-hero-content {
        grid-template-columns: 100px minmax(0,1fr);
        gap: 16px;
        min-height: 0;
        padding: 24px 18px 22px;
    }

    .fpdg-cover {
        align-self: start;
        border-radius: 9px;
    }

    .fpdg-cover img {
        height: 145px;
    }

    .fpdg-cover figcaption {
        display: none;
    }

    .fpdg-section-pill {
        min-height: 30px;
        padding: 0 10px;
        font-size: 9px;
    }

    .fpdg-hero-copy h1 {
        margin: 12px 0 9px;
        font-size: 27px;
        line-height: 1.05;
    }

    .fpdg-hero-copy > p {
        display: -webkit-box;
        overflow: hidden;
        font-size: 10px;
        line-height: 1.55;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    .fpdg-tags {
        gap: 5px;
        margin-top: 12px;
    }

    .fpdg-tags span:nth-child(n+4) {
        display: none;
    }

    .fpdg-feature-list {
        display: none;
    }

    .fpdg-hero-action {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .fpdg-primary-button {
        min-height: 63px;
    }

    .fpdg-panel {
        padding: 19px;
    }

    .fpdg-panel-heading h2 {
        font-size: 17px;
    }

    .fpdg-feature-grid,
    .fpdg-requirements-grid,
    .fpdg-info-rail,
    .fpdg-related-grid {
        grid-template-columns: 1fr;
    }

    .fpdg-gallery-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        grid-auto-rows: 120px;
    }

    .fpdg-gallery-item.is-featured {
        grid-column: 1 / -1;
        grid-row: auto;
        height: 190px;
    }

    .fpdg-related-card {
        grid-template-columns: 105px minmax(0,1fr);
    }

    .fpdg-related-card > img {
        width: 105px;
        height: 105px;
    }
}

/* Game catalog: Steam portrait shelf */
body.fp-client-app-body .gss-page {
    width: 100% !important;
    max-width: 1680px !important;
}

body.fp-client-app-body .gss-discovery {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 14px;
}

body.fp-client-app-body .gss-game-grid,
body.fp-client-app-body .gss-game-grid.is-compact {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 15px 11px;
}

body.fp-client-app-body .gss-game-grid.is-compact .gss-game-card {
    display: block;
}

body.fp-client-app-body .gss-game-card {
    min-width: 0;
    border-radius: 9px;
    background: #1d1f24;
    box-shadow: 0 13px 28px rgba(0,0,0,.16);
}

body.fp-client-app-body .gss-game-cover,
body.fp-client-app-body .gss-game-grid.is-compact .gss-game-cover {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 2 / 3;
    background: #101216;
}

body.fp-client-app-body .gss-game-cover-shade {
    background: linear-gradient(180deg,rgba(7,9,12,0) 57%,rgba(7,9,12,.88) 100%);
}

body.fp-client-app-body .gss-delivery-badge {
    left: 7px;
    bottom: 7px;
    max-width: calc(100% - 45px);
    overflow: hidden;
    padding: 5px 7px;
    font-size: 9px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body.fp-client-app-body .gss-card-index {
    top: 7px;
    right: 7px;
    min-width: 27px;
    height: 24px;
    font-weight: 500;
}

body.fp-client-app-body .gss-game-body {
    padding: 10px;
}

body.fp-client-app-body .gss-game-genres {
    min-height: 21px;
    margin: 0 0 7px;
}

body.fp-client-app-body .gss-game-genres button {
    max-width: 72px;
    padding: 3px 5px;
    font-size: 9px;
    font-weight: 500;
}

body.fp-client-app-body .gss-game-title small {
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .05em;
}

body.fp-client-app-body .gss-game-title h3,
body.fp-client-app-body .gss-game-grid.is-compact .gss-game-title h3 {
    display: -webkit-box;
    min-height: 32px;
    overflow: hidden;
    margin-top: 3px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.fp-client-app-body .gss-game-title > i {
    font-size: 17px;
}

body.fp-client-app-body .gss-select-button {
    min-height: 34px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 500;
}

.gss-layout-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 34px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 7px;
    background: #25272d;
    color: #9298a2;
    font-size: 9px;
    font-weight: 500;
    white-space: nowrap;
}

.gss-layout-status i {
    color: #5eb5ed;
    font-size: 14px;
}

body.fp-client-app-body .gss-showcase-cover {
    aspect-ratio: 2 / 3;
}

body.fp-client-app-body .gss-showcase-cover img {
    object-fit: cover;
}

@media (min-width: 1800px) {
    body.fp-client-app-body .gss-game-grid,
    body.fp-client-app-body .gss-game-grid.is-compact {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    body.fp-client-app-body .gss-game-grid,
    body.fp-client-app-body .gss-game-grid.is-compact {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    body.fp-client-app-body .gss-discovery {
        grid-template-columns: 1fr;
    }

    body.fp-client-app-body .gss-filter-console {
        position: relative;
        top: auto;
    }
}

@media (max-width: 767px) {
    body.fp-client-app-body .gss-game-grid,
    body.fp-client-app-body .gss-game-grid.is-compact {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px 9px;
    }

    .gss-layout-status {
        display: none;
    }
}

@media (max-width: 520px) {
    body.fp-client-app-body .gss-game-grid,
    body.fp-client-app-body .gss-game-grid.is-compact {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Catalog surfaces share the client background instead of stacking dark panels. */
body.fp-client-app-body .gss-page.gss-catalog-page,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-deck,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-discovery,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-results {
    background: transparent;
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-filter-console,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-results-toolbar,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-tile,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-game-card,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-game-body,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-layout-status,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-search-box,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-sort-wrap,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-stock-switch button {
    background: transparent;
    box-shadow: none;
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-filter-console,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-results-toolbar {
    border-color: rgba(255,255,255,.055);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-filter-title {
    border-bottom-color: rgba(255,255,255,.055);
    background: rgba(255,255,255,.018);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-filter-block {
    border-top-color: rgba(255,255,255,.045);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-tile > i,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-check b {
    background: rgba(33,150,243,.075);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-tile:hover,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-tile.is-active,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-stock-switch button:hover,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-stock-switch button.is-active,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-check:hover,
body.fp-client-app-body .gss-page.gss-catalog-page .gss-genre-check:has(input:checked) {
    background: rgba(33,150,243,.07);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-game-card {
    border-color: rgba(255,255,255,.055);
}

body.fp-client-app-body .gss-page.gss-catalog-page .gss-game-card:hover {
    border-color: rgba(33,150,243,.28);
    background: rgba(255,255,255,.018);
    box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

@media (max-width: 430px) {
    .fpdg-hero-content {
        grid-template-columns: 78px minmax(0,1fr);
        gap: 12px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .fpdg-cover img {
        height: 115px;
    }

    .fpdg-section-pill {
        display: none;
    }

    .fpdg-hero-copy h1 {
        margin-top: 0;
        font-size: 23px;
    }

    .fpdg-tags span {
        min-height: 24px;
        font-size: 9px;
    }

    .fpdg-panel-heading > i,
    .fpdg-panel-heading > b {
        display: none;
    }
}

/* Client frame: use the same horizontal width system as the public homepage. */
body.fp-client-app-body .fpd-app-section {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(16px, 2.6vw, 46px);
}

body.fp-client-app-body .fpd-app-shell {
    --fpd-sidebar-expanded: 252px;
    --fpd-sidebar-inline-pad: 17px;
    width: min(1740px, 100%);
    max-width: 1740px;
    height: auto;
    min-height: 100vh;
    margin: 0 auto;
    overflow: visible;
    align-items: start;
    grid-template-columns: var(--fpd-sidebar-expanded) minmax(0, 1fr);
    border-right: 1px solid rgba(255,255,255,.035);
    border-left: 1px solid rgba(255,255,255,.035);
}

/* Keep the page scrollbar on the viewport edge, outside the centered client. */
body.fp-client-app-body {
    overflow-x: hidden;
    overflow-y: auto;
}

@media (min-width: 992px) {
    body.fp-client-app-body .fpd-sidebar {
        position: fixed;
        z-index: 30;
        top: 0;
        left: max(clamp(16px, 2.6vw, 46px), calc((100vw - 1740px) / 2));
        align-self: start;
        width: var(--fpd-sidebar-expanded);
        height: 100vh;
        height: 100dvh;
        max-height: 100dvh;
        padding-top: 0;
        padding-right: 0;
        padding-left: 0;
        box-sizing: border-box;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    body.fp-client-app-body .fpd-sidebar::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    body.fp-client-app-body .fpd-brand {
        position: sticky;
        z-index: 25;
        top: 0;
        left: 0;
        right: 0;
        width: auto;
        height: 86px;
        min-height: 86px;
        max-height: 86px;
        flex: 0 0 86px;
        margin: 0 var(--fpd-sidebar-inline-pad);
        box-sizing: border-box;
        justify-content: flex-start;
        padding: 0 var(--fpd-sidebar-inline-pad);
        border-right: 0;
        border-bottom: 1px solid rgba(255,255,255,.055);
        background: #090b0e;
    }

    body.fp-client-app-body .fpd-brand.has-image {
        align-self: stretch;
        width: auto;
        min-width: 0;
        max-width: none;
        overflow: hidden;
        line-height: 0;
    }

    body.fp-client-app-body .fpd-primary-nav,
    body.fp-client-app-body .fpd-sidebar-footer {
        margin-right: var(--fpd-sidebar-inline-pad);
        margin-left: var(--fpd-sidebar-inline-pad);
    }

    body.fp-client-app-body .fpd-brand-logo {
        width: auto;
        max-width: 100%;
        height: 80px;
        max-height: 80px;
        flex: 0 0 auto;
        object-position: left center;
    }

    body.fp-client-app-body .fpd-app-content {
        grid-column: 2;
        min-height: 100vh;
        overflow: visible;
    }

    body.fp-client-app-body .fpd-app-shell:fullscreen {
        height: 100vh;
        min-height: 100vh;
        overflow: hidden;
        align-items: stretch;
    }

    body.fp-client-app-body .fpd-app-shell:fullscreen .fpd-sidebar {
        position: relative;
        left: auto;
        width: auto;
        height: 100vh;
    }

    body.fp-client-app-body .fpd-app-shell:fullscreen .fpd-brand {
        left: auto;
    }

    body.fp-client-app-body .fpd-app-shell:fullscreen .fpd-app-content {
        height: 100vh;
        min-height: 0;
        overflow: hidden auto;
    }
}

@media (min-width: 992px) and (max-width: 1540px) {
    body.fp-client-app-body .fpd-app-shell {
        --fpd-sidebar-expanded: 232px;
    }
}

@media (min-width: 992px) and (max-width: 1050px) {
    body.fp-client-app-body .fpd-app-shell {
        --fpd-sidebar-expanded: 205px;
        --fpd-sidebar-inline-pad: 12px;
    }
}

@media (max-width: 991.98px) {
    body.fp-client-app-body .fpd-app-shell {
        height: auto;
        min-height: 100vh;
    }

    body.fp-client-app-body .fpd-app-content {
        grid-column: auto;
    }

}

@media (max-width: 767px) {
    body.fp-client-app-body .fpd-app-section {
        padding-right: 0;
        padding-left: 0;
    }
}

/* Client typography: Inter with regular/medium-first weights. */
body.fp-client-app-body .fpd-app-section {
    font-family: "Inter", "Segoe UI", sans-serif;
    font-weight: 400;
}

body.fp-client-app-body .fpd-app-section *:not(i):not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: "Inter", "Segoe UI", sans-serif !important;
    font-weight: 400 !important;
}

body.fp-client-app-body .fpd-app-section a,
body.fp-client-app-body .fpd-app-section button,
body.fp-client-app-body .fpd-app-section label,
body.fp-client-app-body .fpd-app-section input,
body.fp-client-app-body .fpd-app-section textarea,
body.fp-client-app-body .fpd-app-section select,
body.fp-client-app-body .fpd-app-section option,
body.fp-client-app-body .fpd-app-section a span,
body.fp-client-app-body .fpd-app-section button span {
    font-weight: 500 !important;
}

body.fp-client-app-body .fpd-app-section h1,
body.fp-client-app-body .fpd-app-section h2,
body.fp-client-app-body .fpd-app-section h3,
body.fp-client-app-body .fpd-app-section h4,
body.fp-client-app-body .fpd-app-section h5,
body.fp-client-app-body .fpd-app-section h6,
body.fp-client-app-body .fpd-app-section strong,
body.fp-client-app-body .fpd-app-section b,
body.fp-client-app-body .fpd-app-section th {
    font-weight: 600 !important;
}

/* Library shelf */
.fpgl-page {
    min-height: calc(100vh - 86px);
    padding: 22px 27px 52px;
    background: #111318;
    color: #f4f6f8;
}

.fpgl-section-head,
.fpgl-library-heading,
.fpgl-manager > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.fpgl-section-head {
    margin-bottom: 14px;
}

.fpgl-section-head > div:first-child {
    display: flex;
    align-items: center;
    gap: 13px;
}

.fpgl-section-head > div:first-child > small {
    color: #666d77;
    font-size: 10px;
}

.fpgl-title-pill {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    color: #eef1f4;
    font-size: 10px;
    white-space: nowrap;
}

.fpgl-title-pill i {
    color: #55b4f2;
    font-size: 15px;
}

.fpgl-head-actions {
    display: flex;
    gap: 8px;
}

.fpgl-head-actions button {
    display: grid;
    width: 39px;
    height: 39px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    background: transparent;
    color: #858b94;
    font-size: 20px;
    cursor: pointer;
}

.fpgl-head-actions button:hover {
    border-color: rgba(255,255,255,.38);
    color: #fff;
}

.fpgl-quick-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 5px;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.fpgl-quick-rail::-webkit-scrollbar {
    display: none;
}

.fpgl-quick-card {
    width: 340px;
    min-width: 340px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 11px;
    background: #1d1f24;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
}

.fpgl-quick-art {
    display: block;
    height: 135px;
    overflow: hidden;
}

.fpgl-quick-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.fpgl-quick-card:hover .fpgl-quick-art img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.fpgl-quick-info {
    display: grid;
    grid-template-columns: minmax(0,1fr) 130px;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 10px 11px 11px 14px;
}

.fpgl-quick-info > div,
.fpgl-quick-info > div small,
.fpgl-quick-info > div strong {
    display: block;
    min-width: 0;
}

.fpgl-quick-info > div small {
    overflow: hidden;
    color: #6f7680;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-quick-info > div small i {
    margin-right: 4px;
    color: #43aeef;
}

.fpgl-quick-info > div strong {
    overflow: hidden;
    margin-top: 5px;
    color: #f1f3f6;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-mini-code-action {
    display: grid;
    min-height: 50px;
    grid-template-columns: 27px minmax(0,1fr) 14px;
    align-items: center;
    gap: 6px;
    padding: 7px 8px;
    border: 1px solid rgba(33,150,243,.21);
    border-radius: 8px;
    background: rgba(33,150,243,.09);
    color: #d9ecfa !important;
}

.fpgl-mini-code-action > i:first-child {
    color: #55b4f2;
    font-size: 18px;
}

.fpgl-mini-code-action span,
.fpgl-mini-code-action small {
    display: block;
    min-width: 0;
}

.fpgl-mini-code-action span {
    font-size: 9px;
}

.fpgl-mini-code-action small {
    margin-top: 2px;
    color: #60b8ef;
    font-size: 9px;
}

.fpgl-mini-code-action > i:last-child {
    color: #5b626c;
}

.fpgl-mini-code-action.is-locked {
    border-color: rgba(245,158,11,.16);
    background: rgba(245,158,11,.06);
}

.fpgl-mini-code-action.is-locked > i:first-child,
.fpgl-mini-code-action.is-locked small {
    color: #d9a84f;
}

.fpgl-add-card {
    display: grid;
    width: 220px;
    min-width: 220px;
    min-height: 213px;
    place-items: center;
    align-content: center;
    gap: 7px;
    border: 1px dashed rgba(255,255,255,.18);
    border-radius: 11px;
    background: #1b1d22;
    color: #717780 !important;
}

.fpgl-add-card i {
    font-size: 38px;
}

.fpgl-add-card strong {
    color: #afb4bb;
    font-size: 11px;
}

.fpgl-add-card span {
    font-size: 9px;
}

.fpgl-quick-empty {
    display: flex;
    min-height: 120px;
    align-items: center;
    gap: 13px;
    padding: 20px;
    border: 1px dashed rgba(255,255,255,.12);
    border-radius: 11px;
    background: #191b20;
}

.fpgl-quick-empty > i {
    font-size: 30px;
    color: #4aabea;
}

.fpgl-quick-empty span,
.fpgl-quick-empty strong,
.fpgl-quick-empty small {
    display: block;
}

.fpgl-quick-empty span {
    min-width: 0;
    flex: 1;
}

.fpgl-quick-empty strong {
    color: #e9ecef;
    font-size: 12px;
}

.fpgl-quick-empty small {
    margin-top: 4px;
    color: #737983;
    font-size: 9px;
}

.fpgl-quick-empty > a,
.fpgl-empty-library > a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    padding: 0 14px;
    border-radius: 8px;
    background: #2196f3;
    color: #fff !important;
    font-size: 9px;
}

.fpgl-workspace {
    display: grid;
    grid-template-columns: minmax(0,1fr) 270px;
    gap: 22px;
    margin-top: 32px;
}

.fpgl-library-section {
    min-width: 0;
}

.fpgl-library-heading {
    align-items: flex-end;
    margin-bottom: 13px;
}

.fpgl-library-heading h1 {
    margin: 17px 0 0;
    color: #f5f7f9;
    font-size: 16px;
}

.fpgl-library-heading h1 b {
    color: #6e747e;
}

.fpgl-library-tools {
    display: flex;
    align-items: center;
    gap: 9px;
}

.fpgl-library-tools label {
    color: #878d96;
    font-size: 9px;
}

.fpgl-library-tools select {
    height: 37px;
    padding: 0 31px 0 11px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 7px;
    outline: 0;
    background: #292b31;
    color: #c4c8ce;
    font-size: 9px;
}

.fpgl-search {
    display: grid;
    height: 42px;
    grid-template-columns: 23px minmax(0,1fr) auto 30px;
    align-items: center;
    gap: 7px;
    margin-bottom: 14px;
    padding: 0 8px 0 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 9px;
    background: #1d1f24;
    color: #606771;
}

.fpgl-search:focus-within {
    border-color: rgba(59,130,246,.46);
    box-shadow: 0 0 0 3px rgba(59,130,246,.09);
}

.fpgl-search input {
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #eef1f4;
    font-size: 11px;
}

.fpgl-search > span {
    padding: 4px 8px;
    border-radius: 999px;
    background: rgba(59,130,246,.10);
    color: #93c5fd;
    font-size: 9px;
    font-weight: 800;
    white-space: nowrap;
}

.fpgl-search button {
    border: 0;
    background: transparent;
    color: #626974;
    cursor: pointer;
}

.fpgl-game-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0,1fr));
    gap: 21px 13px;
}

.fpgl-game-card {
    min-width: 0;
}

.fpgl-game-card[hidden] {
    display: none !important;
}

.fpgl-game-cover {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 9px;
    background: #1d1f24;
    box-shadow: 0 15px 32px rgba(0,0,0,.17);
}

.fpgl-game-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 62%, rgba(0,0,0,.52));
    content: "";
    opacity: .5;
    transition: opacity .2s ease;
}

.fpgl-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .28s ease, filter .28s ease;
}

.fpgl-game-card:hover .fpgl-game-cover img {
    transform: scale(1.035);
    filter: saturate(1.08);
}

.fpgl-game-card:hover .fpgl-game-cover::after {
    opacity: .85;
}

.fpgl-cover-status,
.fpgl-cover-detail {
    position: absolute;
    z-index: 2;
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 7px;
    background: rgba(12,14,17,.67);
    color: #aeb3ba;
    backdrop-filter: blur(8px);
}

.fpgl-cover-status {
    top: 9px;
    right: 9px;
}

.fpgl-cover-status.is-ready {
    color: #31d173;
}

.fpgl-cover-status.is-waiting {
    color: #e5ad48;
}

.fpgl-cover-detail {
    right: 9px;
    bottom: 9px;
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

.fpgl-game-card:hover .fpgl-cover-detail {
    opacity: 1;
    transform: translateY(-2px);
}

.fpgl-game-meta {
    padding: 10px 2px 0;
}

.fpgl-game-name {
    display: block;
    overflow: hidden;
    color: #f0f2f4 !important;
    font-size: 11px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-game-name:hover {
    color: #62b9f0 !important;
}

.fpgl-gift-label {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;
    color: #737a84;
    font-size: 9px;
}

.fpgl-gift-label i {
    color: #4badeb;
    font-size: 13px;
}

.fpgl-gift-label span {
    min-width: 0;
    flex: 1;
}

.fpgl-gift-label b {
    color: #707782;
    font-size: 9px;
}

.fpgl-code-action {
    display: grid;
    min-height: 34px;
    grid-template-columns: 19px minmax(0,1fr) 17px;
    align-items: center;
    gap: 6px;
    margin-top: 7px;
    padding: 0 9px;
    border: 1px solid rgba(33,150,243,.2);
    border-radius: 7px;
    background: rgba(33,150,243,.09);
    color: #72c2f3 !important;
    font-size: 9px;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.fpgl-code-action:hover {
    border-color: rgba(33,150,243,.38);
    background: rgba(33,150,243,.16);
    color: #fff !important;
}

.fpgl-code-action > i:last-child {
    color: #5f6670;
}

.fpgl-code-action.is-locked {
    border-color: rgba(255,255,255,.07);
    background: #1b1d22;
    color: #747b85 !important;
}

.fpgl-game-card.is-locked .fpgl-game-cover img {
    filter: grayscale(.55) brightness(.68);
}

.fpgl-manager {
    position: sticky;
    top: 105px;
    align-self: start;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 11px;
    background: #1d1f24;
}

.fpgl-manager > header {
    min-height: 72px;
    padding: 13px 14px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background: #202228;
}

.fpgl-manager > header span,
.fpgl-manager > header small {
    display: block;
}

.fpgl-manager > header span {
    color: #eef1f4;
    font-size: 11px;
}

.fpgl-manager > header span i {
    margin-right: 6px;
    color: #55b4f2;
}

.fpgl-manager > header small {
    margin-top: 4px;
    color: #696f79;
    font-size: 9px;
}

.fpgl-manager > header button {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #292b31;
    color: #8a9099;
    cursor: pointer;
}

.fpgl-access-card {
    display: grid;
    grid-template-columns: 37px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    margin: 12px;
    padding: 12px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 9px;
    background: #181a1f;
}

.fpgl-access-card > i {
    display: grid;
    width: 37px;
    height: 37px;
    place-items: center;
    border-radius: 9px;
    background: rgba(33,150,243,.09);
    color: #53b1ee;
    font-size: 18px;
}

.fpgl-access-card.is-active > i {
    background: rgba(0,200,83,.09);
    color: #30d173;
}

.fpgl-access-card span,
.fpgl-access-card small,
.fpgl-access-card strong,
.fpgl-access-card b {
    display: block;
    min-width: 0;
}

.fpgl-access-card small {
    color: #646b75;
    font-size: 9px;
}

.fpgl-access-card strong {
    overflow: hidden;
    margin-top: 3px;
    color: #dfe2e6;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-access-card b {
    margin-top: 4px;
    color: #6e7580;
    font-size: 9px;
}

.fpgl-manager-group {
    padding: 8px 12px 13px;
}

.fpgl-manager-group > span {
    display: block;
    margin: 0 4px 8px;
    color: #686f79;
    font-size: 9px;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.fpgl-status-filters,
.fpgl-genre-filters {
    display: grid;
    gap: 6px;
}

.fpgl-status-filters button,
.fpgl-genre-filters button {
    display: grid;
    min-height: 43px;
    grid-template-columns: 22px minmax(0,1fr) 25px;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 8px;
    background: #181a1f;
    color: #9da3ac;
    font-size: 9px;
    text-align: left;
    cursor: pointer;
}

.fpgl-status-filters button i {
    color: #56b4ef;
    font-size: 16px;
}

.fpgl-status-filters button b,
.fpgl-genre-filters button b {
    color: #565d68;
    text-align: right;
}

.fpgl-status-filters button:hover,
.fpgl-status-filters button.is-active,
.fpgl-genre-filters button:hover,
.fpgl-genre-filters button.is-active {
    border-color: rgba(33,150,243,.22);
    background: rgba(33,150,243,.08);
    color: #fff;
}

.fpgl-genre-filters {
    grid-template-columns: repeat(2, minmax(0,1fr));
}

.fpgl-genre-filters button {
    min-height: 35px;
    grid-template-columns: minmax(0,1fr) 19px;
    padding: 0 8px;
    font-size: 9px;
}

.fpgl-add-library-game {
    display: grid;
    min-height: 61px;
    grid-template-columns: 34px minmax(0,1fr) 18px;
    align-items: center;
    gap: 9px;
    margin: 4px 12px 13px;
    padding: 9px 10px;
    border: 1px solid rgba(33,150,243,.17);
    border-radius: 9px;
    background: rgba(33,150,243,.07);
    color: #d9dde2 !important;
}

.fpgl-add-library-game > i:first-child {
    color: #56b4f0;
    font-size: 23px;
}

.fpgl-add-library-game span,
.fpgl-add-library-game strong,
.fpgl-add-library-game small {
    display: block;
}

.fpgl-add-library-game strong {
    font-size: 9px;
}

.fpgl-add-library-game small {
    margin-top: 3px;
    color: #6f7680;
    font-size: 9px;
}

.fpgl-add-library-game > i:last-child {
    color: #606772;
}

.fpgl-empty-library,
.fpgl-filter-empty {
    display: grid;
    min-height: 280px;
    place-items: center;
    align-content: center;
    gap: 8px;
    border: 1px dashed rgba(255,255,255,.11);
    border-radius: 11px;
    background: #191b20;
    color: #767d87;
    text-align: center;
}

.fpgl-empty-library > i,
.fpgl-filter-empty > i {
    color: #4eafeE;
    font-size: 37px;
}

.fpgl-empty-library h2,
.fpgl-filter-empty strong {
    margin: 0;
    color: #e6e9ed;
    font-size: 14px;
}

.fpgl-empty-library p,
.fpgl-filter-empty span {
    margin: 0;
    color: #747b85;
    font-size: 9px;
}

.fpgl-filter-empty[hidden] {
    display: none !important;
}

.fpgl-filter-empty button {
    min-height: 35px;
    margin-top: 6px;
    padding: 0 13px;
    border: 1px solid rgba(33,150,243,.2);
    border-radius: 7px;
    background: rgba(33,150,243,.09);
    color: #62b8ef;
    cursor: pointer;
}

/* Library cards: poster-first Steam collection treatment. */
.fpgl-game-grid {
    align-items: stretch;
}

.fpgl-game-card {
    position: relative;
    display: flex;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.085);
    border-radius: 15px;
    background: linear-gradient(180deg,#202228 0%,#181a1f 100%);
    box-shadow: 0 16px 34px rgba(0,0,0,.18);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.fpgl-game-card::before {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 18%;
    left: 18%;
    height: 1px;
    background: linear-gradient(90deg,transparent,rgba(84,181,241,.68),transparent);
    content: "";
    opacity: 0;
    transition: opacity .22s ease;
}

.fpgl-game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(84,181,241,.28);
    box-shadow: 0 24px 48px rgba(0,0,0,.28),0 0 0 1px rgba(33,150,243,.035);
}

.fpgl-game-card:hover::before {
    opacity: 1;
}

.fpgl-favorite-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 7px;
    color: #777e88;
    font-size: 9px;
    font-weight: 500;
}

.fpgl-favorite-summary i,
.fpgl-favorite-summary b {
    color: #f15b78;
}

.fpgl-favorite-button {
    position: absolute;
    z-index: 7;
    top: 10px;
    left: 10px;
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    background: rgba(12,14,17,.76);
    color: #e8ebef;
    font-size: 17px;
    cursor: pointer;
    backdrop-filter: blur(9px);
    transition: transform .18s ease,background .18s ease,border-color .18s ease,color .18s ease;
}

.fpgl-favorite-button:hover {
    transform: scale(1.08);
    border-color: rgba(241,91,120,.5);
    color: #ff7892;
}

.fpgl-favorite-button.is-active {
    border-color: rgba(241,91,120,.45);
    background: rgba(101,22,42,.86);
    color: #ff6e89;
    box-shadow: 0 8px 22px rgba(126,26,50,.28);
}

.fpgl-favorite-button:disabled {
    cursor: wait;
    opacity: .6;
}

.fpgl-game-cover {
    aspect-ratio: 2 / 3;
    flex: 0 0 auto;
    border: 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
    border-radius: 0;
    box-shadow: none;
}

.fpgl-game-cover::after {
    background: linear-gradient(180deg,rgba(7,9,12,.02) 44%,rgba(7,9,12,.78) 100%);
    opacity: .74;
}

.fpgl-game-card:hover .fpgl-game-cover img {
    transform: scale(1.045);
    filter: saturate(1.12) contrast(1.03);
}

.fpgl-cover-status,
.fpgl-cover-detail {
    display: inline-flex;
    width: auto;
    height: 30px;
    align-items: center;
    gap: 6px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 9px;
    font-style: normal;
}

.fpgl-cover-status {
    right: 10px;
    left: auto;
}

.fpgl-cover-status b,
.fpgl-cover-detail b {
    color: inherit;
    font-size: 9px;
    font-weight: 500 !important;
    white-space: nowrap;
}

.fpgl-cover-status.is-ready {
    border-color: rgba(45,211,125,.24);
    background: rgba(9,35,24,.82);
    color: #63e6a1;
}

.fpgl-cover-status.is-waiting {
    border-color: rgba(245,183,77,.24);
    background: rgba(41,29,10,.82);
    color: #f1bd61;
}

.fpgl-cover-status.is-locked {
    border-color: rgba(255,255,255,.12);
    background: rgba(18,20,24,.84);
    color: #a0a6af;
}

.fpgl-cover-detail {
    right: 10px;
    bottom: 10px;
    color: #eef5fa;
}

.fpgl-game-meta {
    display: flex;
    min-height: 0;
    flex: 1;
    flex-direction: column;
    padding: 13px;
}

.fpgl-game-name {
    display: -webkit-box;
    min-height: 36px;
    color: #f4f6f8 !important;
    font-size: 13px;
    line-height: 1.38;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.fpgl-game-genres {
    display: flex;
    min-height: 25px;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    margin-top: 7px;
}

.fpgl-game-genres span {
    overflow: hidden;
    max-width: 50%;
    padding: 4px 7px;
    border: 1px solid rgba(84,181,241,.12);
    border-radius: 5px;
    background: rgba(33,150,243,.07);
    color: #79bfe9;
    font-size: 9px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-added-by {
    display: flex;
    min-height: 42px;
    min-width: 0;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: #14161a;
    color: #737a84;
    font-size: 9px;
}

.fpgl-added-by .fpgl-added-value {
    overflow: hidden;
    min-width: 0;
    flex: 1;
    color: #edf2f6;
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size: 10px;
    font-weight: 500 !important;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-copy-row {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 6px;
}

.fpgl-copy-row > span {
    min-width: 0;
    flex: 1;
}

.fpgl-copy-row > button {
    display: grid;
    width: 27px;
    height: 27px;
    min-width: 27px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(33,150,243,.2);
    border-radius: 7px;
    background: rgba(33,150,243,.08);
    color: #61baf1;
    cursor: pointer;
    transition: background .16s ease,border-color .16s ease,color .16s ease;
}

.fpgl-copy-row > button:hover,
.fpgl-copy-row > button.is-copied {
    border-color: rgba(33,150,243,.42);
    background: rgba(33,150,243,.18);
    color: #b9e4ff;
}

.fpgl-added-by b {
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(0,200,83,.09);
    color: #54d98d;
    font-size: 9px;
    font-weight: 500 !important;
}

.fpgl-added-by.is-empty .fpgl-added-value {
    color: #858c96;
    font-family: "Inter","Segoe UI",sans-serif;
    letter-spacing: 0;
}

.fpgl-added-by.is-empty b {
    background: rgba(255,255,255,.06);
    color: #777e88;
}

.fpgl-gift-label {
    min-height: 42px;
    margin-top: 10px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 8px;
    background: #14161a;
}

.fpgl-gift-label i {
    display: grid;
    width: 25px;
    height: 25px;
    place-items: center;
    border-radius: 7px;
    background: rgba(33,150,243,.10);
}

.fpgl-gift-label b {
    padding: 4px 6px;
    border-radius: 999px;
    background: rgba(0,200,83,.09);
    color: #54d98d;
    font-weight: 500 !important;
}

.fpgl-gift-value {
    overflow: hidden;
    color: #edf2f6;
    font-family: ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;
    font-size: 10px;
    font-weight: 500 !important;
    letter-spacing: .025em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fpgl-gift-label.is-pending .fpgl-gift-value,
.fpgl-gift-label.is-locked .fpgl-gift-value {
    color: #858c96;
    font-family: "Inter","Segoe UI",sans-serif;
    letter-spacing: 0;
}

.fpgl-gift-label.is-pending b {
    background: rgba(245,183,77,.09);
    color: #d8ad61;
}

.fpgl-game-card.is-locked .fpgl-gift-label b {
    background: rgba(255,255,255,.06);
    color: #777e88;
}

.fpgl-added-by,
.fpgl-gift-label {
    display: grid;
    min-height: 0;
    align-items: stretch;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
}

.fpgl-added-by > b,
.fpgl-added-by.is-empty > b,
.fpgl-gift-label > b,
.fpgl-gift-label.is-pending > b,
.fpgl-game-card.is-locked .fpgl-gift-label > b {
    padding: 0 2px;
    border-radius: 0;
    background: transparent;
    color: #717985;
    font-size: 8px;
    font-weight: 500 !important;
    letter-spacing: .09em;
    line-height: 1;
    text-transform: uppercase;
}

.fpgl-copy-row {
    min-height: 38px;
    gap: 0;
    overflow: hidden;
    padding-left: 10px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 8px;
    background: #14161a;
}

.fpgl-copy-row > button {
    width: 38px;
    height: 38px;
    min-width: 38px;
    align-self: stretch;
    border: 0;
    border-left: 1px solid rgba(33,150,243,.22);
    border-radius: 0;
    background: rgba(33,150,243,.08);
}

.fpgl-copy-row > button i,
.fpgl-gift-label .fpgl-copy-row > button i {
    display: block;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
}

.fpgl-game-card.is-locked:hover .fpgl-game-cover img {
    filter: grayscale(.55) brightness(.72);
}

.fpgl-code-action {
    min-height: 39px;
    margin-top: 9px;
    border-color: rgba(33,150,243,.30);
    border-radius: 8px;
    background: linear-gradient(135deg,rgba(33,150,243,.20),rgba(33,150,243,.10));
    color: #a9daf8 !important;
}

.fpgl-code-action:hover {
    border-color: rgba(84,181,241,.52);
    background: linear-gradient(135deg,#238edc,#1976bd);
    box-shadow: 0 11px 24px rgba(17,113,178,.20);
}

.fpgl-code-action.is-locked {
    margin-top: 9px;
}

.fpgl-quick-card {
    border-color: rgba(255,255,255,.085);
    border-radius: 14px;
    background: linear-gradient(180deg,#202228,#191b20);
    box-shadow: 0 17px 38px rgba(0,0,0,.20);
    transition: transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}

.fpgl-quick-card:hover {
    transform: translateY(-3px);
    border-color: rgba(84,181,241,.25);
    box-shadow: 0 22px 44px rgba(0,0,0,.26);
}

.fpgl-quick-art {
    height: 145px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.fpgl-mini-code-action {
    border-radius: 9px;
    background: linear-gradient(135deg,rgba(33,150,243,.16),rgba(33,150,243,.07));
}

@media (max-width: 700px) {
    .fpgl-game-meta {
        padding: 10px;
    }

    .fpgl-cover-status b,
    .fpgl-cover-detail b {
        display: none;
    }

    .fpgl-cover-status,
    .fpgl-cover-detail {
        width: 29px;
        padding: 0;
        justify-content: center;
    }

    .fpgl-game-name {
        min-height: 32px;
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fpgl-game-card,
    .fpgl-game-cover img,
    .fpgl-quick-card,
    .fpgl-quick-art img {
        transition: none;
    }
}

/* Delivery page inside the client shell */
body.fp-client-app-body .steam-delivery-page {
    --steam-bg: #111318;
    --steam-surface: #1d1f24;
    --steam-surface-2: #181a1f;
    --steam-text: #eef1f4;
    --steam-muted: #7f8690;
    --steam-border: rgba(255,255,255,.075);
    min-height: calc(100vh - 86px);
    padding: 22px 27px 52px;
    background: #111318;
    color: var(--steam-text);
    font-family: "Inter", "Segoe UI", sans-serif;
}

body.fp-client-app-body .steam-delivery-page .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

body.fp-client-app-body .steam-delivery-hero {
    padding: 22px 24px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 12px;
    background:
        radial-gradient(circle at 85% 12%,rgba(33,150,243,.14),transparent 28%),
        linear-gradient(135deg,#1d1f24,#181a1f);
    box-shadow: 0 18px 42px rgba(0,0,0,.16);
}

body.fp-client-app-body .steam-delivery-hero h1 {
    margin: 8px 0 5px;
    font-size: clamp(24px,3vw,36px);
    font-weight: 600 !important;
}

body.fp-client-app-body .steam-delivery-eyebrow {
    border-color: rgba(33,150,243,.2);
    border-radius: 999px;
    background: rgba(33,150,243,.09);
    color: #63baf1;
    box-shadow: none;
    font-weight: 500 !important;
}

body.fp-client-app-body .steam-btn-light {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 7px;
    border-color: rgba(255,255,255,.11);
    border-radius: 8px;
    background: #292b31;
    color: #d8dce1;
    font-weight: 500 !important;
}

body.fp-client-app-body .steam-panel {
    border-color: rgba(255,255,255,.075);
    border-radius: 12px;
    background: #1d1f24;
    box-shadow: 0 17px 40px rgba(0,0,0,.14);
}

body.fp-client-app-body .steam-delivery-img {
    width: 142px;
    height: 82px;
    border-radius: 9px;
}

body.fp-client-app-body .steam-code-box {
    border-color: rgba(255,255,255,.075);
    border-radius: 10px;
    background: #181a1f;
}

body.fp-client-app-body .steam-code-box pre,
body.fp-client-app-body .steam-request-item pre,
body.fp-client-app-body .steam-cdkey-ready-body pre {
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #0d0f13 !important;
    color: #f5f7f9;
    font-family: "Inter", monospace !important;
    font-weight: 500 !important;
}

body.fp-client-app-body .steam-btn-primary {
    border-radius: 8px;
    background: linear-gradient(135deg,#2196f3,#1976b9);
    font-weight: 500 !important;
    box-shadow: 0 12px 28px rgba(33,150,243,.17);
}

body.fp-client-app-body .steam-input,
body.fp-client-app-body .steam-input:focus {
    border-color: rgba(255,255,255,.085) !important;
    border-radius: 8px;
    background: #15171c !important;
    color: #eef1f4 !important;
    -webkit-text-fill-color: #eef1f4 !important;
}

body.fp-client-app-body .steam-empty-note,
body.fp-client-app-body .steam-status-box,
body.fp-client-app-body .delivery-guide-content td,
body.fp-client-app-body .delivery-guide-content th {
    border-color: rgba(255,255,255,.07);
    background: #181a1f;
    color: #878e98;
}

body.fp-client-app-body .steam-gift-code-box {
    border-color: rgba(255,171,0,.18);
    background: linear-gradient(180deg,rgba(255,171,0,.055),#181a1f);
}

body.fp-client-app-body .steam-cdkey-premium {
    border-color: rgba(33,150,243,.25) !important;
    border-radius: 11px !important;
    background:
        radial-gradient(circle at 12% 0%,rgba(33,150,243,.14),transparent 32%),
        linear-gradient(145deg,#15171c,#171c22) !important;
    box-shadow: 0 18px 44px rgba(0,0,0,.19),inset 0 1px 0 rgba(255,255,255,.04);
}

body.fp-client-app-body .steam-cdkey-scan-card,
body.fp-client-app-body .steam-cdkey-ready-card {
    border-color: rgba(33,150,243,.2) !important;
    border-radius: 10px !important;
    background: #11151b !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035) !important;
}

body.fp-client-app-body .steam-cdkey-steps span {
    min-height: 44px;
    border-color: rgba(255,255,255,.07) !important;
    border-radius: 8px !important;
    background: #15171c !important;
}

body.fp-client-app-body .steam-subscription-expired-box {
    border-color: rgba(255,171,0,.2);
    border-radius: 10px;
    background: linear-gradient(135deg,rgba(255,171,0,.07),#181a1f);
}

body.fp-client-app-body .steam-delivery-page *:not(i):not([class^="ri-"]):not([class*=" ri-"]) {
    font-family: "Inter", "Segoe UI", sans-serif !important;
    font-weight: 400 !important;
}

body.fp-client-app-body .steam-delivery-page a,
body.fp-client-app-body .steam-delivery-page button,
body.fp-client-app-body .steam-delivery-page label,
body.fp-client-app-body .steam-delivery-page input,
body.fp-client-app-body .steam-delivery-page textarea,
body.fp-client-app-body .steam-delivery-page select,
body.fp-client-app-body .steam-delivery-page a span,
body.fp-client-app-body .steam-delivery-page button span {
    font-weight: 500 !important;
}

body.fp-client-app-body .steam-delivery-page h1,
body.fp-client-app-body .steam-delivery-page h2,
body.fp-client-app-body .steam-delivery-page h3,
body.fp-client-app-body .steam-delivery-page h4,
body.fp-client-app-body .steam-delivery-page strong,
body.fp-client-app-body .steam-delivery-page b {
    font-weight: 600 !important;
}

@media (max-width: 1500px) {
    .fpgl-game-grid {
        grid-template-columns: repeat(4, minmax(0,1fr));
    }
}

@media (max-width: 1180px) {
    .fpgl-workspace {
        grid-template-columns: minmax(0,1fr) 245px;
    }

    .fpgl-game-grid {
        grid-template-columns: repeat(3, minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    .fpgl-workspace {
        grid-template-columns: 1fr;
    }

    .fpgl-manager {
        position: static;
        order: -1;
    }

    .fpgl-status-filters {
        grid-template-columns: repeat(3,minmax(0,1fr));
    }

    .fpgl-genre-filters {
        grid-template-columns: repeat(4,minmax(0,1fr));
    }

    .fpgl-search {
        display: grid;
    }
}

@media (max-width: 700px) {
    .fpgl-page,
    body.fp-client-app-body .steam-delivery-page {
        min-height: 0;
        padding: 15px 14px 40px;
    }

    .fpgl-section-head > div:first-child > small {
        display: none;
    }

    .fpgl-quick-card {
        width: 285px;
        min-width: 285px;
    }

    .fpgl-quick-info {
        grid-template-columns: minmax(0,1fr) 118px;
    }

    .fpgl-library-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .fpgl-game-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 18px 11px;
    }

    .fpgl-genre-filters {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.fp-client-app-body .steam-delivery-hero {
        padding: 19px;
    }
}

@media (max-width: 430px) {
    .fpgl-game-grid {
        grid-template-columns: 1fr 1fr;
    }

    .fpgl-game-name {
        font-size: 10px;
    }

    .fpgl-status-filters {
        grid-template-columns: 1fr;
    }
}

/* Steam order / delivery workspace */
body.fp-client-app-body .steam-delivery-page {
    min-height: calc(100vh - 86px);
    padding: 0 27px 54px;
    background: #111318;
}

.sdo-pagebar {
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 18px;
    color: #7f8690;
}

.sdo-back-link,
.sdo-secure,
.sdo-breadcrumb {
    display: inline-flex;
    align-items: center;
}

.sdo-back-link {
    gap: 7px;
    color: #c7cbd1 !important;
    font-size: 13px;
}

.sdo-back-link i {
    width: 29px;
    height: 29px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 7px;
    background: #1b1d22;
    font-size: 16px;
}

.sdo-back-link:hover i {
    border-color: rgba(33,150,243,.38);
    color: #62b8ef;
}

.sdo-breadcrumb {
    min-width: 0;
    gap: 6px;
    font-size: 12px;
}

.sdo-breadcrumb strong {
    overflow: hidden;
    color: #afb4bc;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sdo-secure {
    gap: 6px;
    margin-left: auto;
    color: #63c392;
    font-size: 12px;
}

body.fp-client-app-body .steam-delivery-hero {
    --sdo-cover: none;
    position: relative;
    min-height: 230px;
    display: grid;
    grid-template-columns: 176px minmax(0,1fr) 225px;
    align-items: center;
    gap: 26px;
    isolation: isolate;
    overflow: hidden;
    margin: 0 0 24px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 14px;
    background: #17191e;
    box-shadow: 0 22px 55px rgba(0,0,0,.19);
}

body.fp-client-app-body .steam-delivery-hero::before {
    content: '';
    position: absolute;
    z-index: -3;
    inset: -32px;
    background-image: var(--sdo-cover);
    background-position: center 35%;
    background-size: cover;
    filter: blur(22px) saturate(.72);
    opacity: .18;
    transform: scale(1.08);
}

body.fp-client-app-body .steam-delivery-hero::after {
    content: '';
    position: absolute;
    z-index: -2;
    inset: 0;
    background: linear-gradient(90deg,rgba(16,18,23,.94),rgba(18,21,27,.84) 58%,rgba(13,16,21,.94));
}

.sdo-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(125deg,rgba(33,150,243,.10),transparent 38%,rgba(0,200,131,.035));
}

.sdo-product-cover {
    width: 176px;
    height: 132px;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 11px;
    background: #0d0f13;
    box-shadow: 0 18px 38px rgba(0,0,0,.32);
}

.sdo-product-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sdo-product-cover > i {
    color: #56606d;
    font-size: 54px;
}

.sdo-hero-copy {
    min-width: 0;
}

body.fp-client-app-body .sdo-hero-copy h1 {
    overflow: hidden;
    margin: 11px 0 7px;
    color: #f3f5f7;
    font-size: clamp(26px,2.6vw,40px);
    letter-spacing: -.025em;
    line-height: 1.06;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sdo-hero-copy > p {
    max-width: 650px;
    margin: 0;
    color: #9299a3;
    font-size: 14px;
    line-height: 1.55;
}

.sdo-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.sdo-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 7px;
    background: rgba(11,13,17,.46);
    color: #a9afb8;
    font-size: 11px;
}

.sdo-hero-chips span i {
    color: #5db3eb;
    font-size: 14px;
}

.sdo-hero-chips span.is-ready i {
    color: #49c783;
}

.sdo-hero-status {
    min-height: 154px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 11px;
    background: rgba(11,13,17,.46);
    text-align: center;
}

.sdo-status-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border: 1px solid rgba(33,150,243,.25);
    border-radius: 50%;
    background: rgba(33,150,243,.10);
    color: #62b8ef;
    font-size: 22px;
}

.sdo-status-icon.is-ready {
    border-color: rgba(73,199,131,.26);
    background: rgba(73,199,131,.10);
    color: #49c783;
}

.sdo-hero-status > span {
    color: #777f89;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sdo-hero-status > strong {
    margin: 3px 0;
    color: #eef1f4;
    font-size: 15px;
}

.sdo-hero-status > small {
    color: #777f89;
    font-size: 11px;
}

.steam-delivery-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(305px,355px);
    align-items: start;
    gap: 22px;
}

.steam-delivery-main,
.steam-delivery-rail {
    min-width: 0;
}

.steam-delivery-main,
.steam-delivery-rail {
    display: grid;
    gap: 22px;
}

body.fp-client-app-body .steam-delivery-primary,
body.fp-client-app-body .steam-delivery-guide-panel,
body.fp-client-app-body .steam-review-reward-panel,
body.fp-client-app-body .sdo-support-panel,
body.fp-client-app-body .sdo-requests-panel,
body.fp-client-app-body .sdo-summary-panel {
    margin: 0 !important;
    padding: 24px;
}

.sdo-panel-heading {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255,255,255,.065);
}

.sdo-panel-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(33,150,243,.22);
    border-radius: 9px;
    background: rgba(33,150,243,.09);
    color: #62b8ef;
    font-size: 20px;
}

.sdo-panel-heading small {
    display: block;
    margin-bottom: 3px;
    color: #58afe8;
    font-size: 10px;
    letter-spacing: .12em;
}

body.fp-client-app-body .sdo-panel-heading h2 {
    margin: 0;
    color: #eef1f4;
    font-size: 20px;
    line-height: 1.2;
}

.sdo-panel-heading p {
    margin: 4px 0 0;
    color: #7f8690;
    font-size: 12px;
}

body.fp-client-app-body .steam-code-box {
    padding: 18px;
}

body.fp-client-app-body .steam-code-label {
    margin-bottom: 8px;
    color: #777f8a;
    font-size: 10px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

body.fp-client-app-body .steam-code-box pre,
body.fp-client-app-body .steam-cdkey-ready-body pre {
    margin: 0 0 12px;
    padding: 15px 17px;
    font-size: 17px;
    letter-spacing: .08em;
}

body.fp-client-app-body .steam-btn-primary {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 16px;
    border: 1px solid rgba(93,179,235,.18);
    background: #197bb9;
    box-shadow: none;
    transition: background .18s ease,border-color .18s ease,transform .18s ease;
}

body.fp-client-app-body .steam-btn-primary:hover:not(:disabled) {
    border-color: rgba(126,202,251,.36);
    background: #218dce;
    transform: translateY(-1px);
}

body.fp-client-app-body .steam-btn-primary:disabled {
    background: #292d34;
    color: #737b85;
    opacity: 1;
    box-shadow: none;
}

body.fp-client-app-body .steam-cdkey-premium {
    padding: 20px !important;
    border-color: rgba(33,150,243,.17) !important;
    background: #15181e !important;
    box-shadow: none !important;
}

body.fp-client-app-body .steam-cdkey-title {
    margin: 2px 0 0;
    color: #eef1f4;
    font-size: 18px;
}

body.fp-client-app-body .steam-cdkey-pill {
    border-radius: 7px;
}

body.fp-client-app-body .steam-cdkey-scan-card,
body.fp-client-app-body .steam-cdkey-ready-card {
    padding: 16px !important;
    background: #101319 !important;
}

body.fp-client-app-body .steam-cdkey-steps {
    gap: 7px;
}

body.fp-client-app-body .steam-cdkey-steps span {
    min-height: 40px;
    padding: 9px 10px;
    font-size: 10px;
}

.sdo-summary-panel {
    position: sticky;
    top: 18px;
}

.sdo-summary-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255,255,255,.065);
}

.sdo-summary-head span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #eef1f4;
    font-size: 14px;
}

.sdo-summary-head span i {
    color: #5eb5ed;
}

.sdo-summary-head b {
    padding: 5px 7px;
    border: 1px solid rgba(73,199,131,.17);
    border-radius: 6px;
    background: rgba(73,199,131,.07);
    color: #62c88e;
    font-size: 9px;
}

.sdo-summary-list {
    margin: 0;
}

.sdo-summary-list > div {
    display: grid;
    grid-template-columns: 110px minmax(0,1fr);
    gap: 12px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.sdo-summary-list dt,
.sdo-summary-list dd {
    margin: 0;
    font-size: 11px;
}

.sdo-summary-list dt {
    color: #717983;
}

.sdo-summary-list dd {
    overflow-wrap: anywhere;
    color: #cbd0d6;
    text-align: right;
}

.sdo-summary-list dd.is-active,
.sdo-summary-list dd.is-passive {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.sdo-summary-list dd.is-active {
    color: #5fc78d;
}

.sdo-summary-list dd.is-passive {
    color: #e0a84f;
}

.sdo-summary-link {
    min-height: 42px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0 12px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 8px;
    background: #181b21;
    color: #cbd0d6 !important;
    font-size: 12px;
}

.sdo-summary-link:hover {
    border-color: rgba(33,150,243,.26);
    color: #63baf1 !important;
}

body.fp-client-app-body .steam-review-reward-panel,
body.fp-client-app-body .sdo-support-panel,
body.fp-client-app-body .sdo-requests-panel {
    border-radius: 12px;
}

body.fp-client-app-body .sdo-support-panel h3,
body.fp-client-app-body .sdo-requests-panel h3 {
    margin: 0 0 14px;
    color: #eef1f4;
    font-size: 16px;
}

body.fp-client-app-body .steam-status-box {
    padding: 13px;
    border: 1px solid rgba(73,199,131,.14);
    border-radius: 8px;
    background: rgba(73,199,131,.055);
}

body.fp-client-app-body .steam-status-box.is-passive {
    border-color: rgba(224,168,79,.16);
    background: rgba(224,168,79,.055);
}

body.fp-client-app-body .steam-input,
body.fp-client-app-body .steam-input:focus {
    min-height: 42px;
    padding: 9px 11px;
}

body.fp-client-app-body textarea.steam-input {
    min-height: 92px;
    resize: vertical;
}

body.fp-client-app-body .steam-delivery-guide-panel .delivery-guide-head {
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

body.fp-client-app-body .steam-delivery-guide-panel .delivery-guide-head h3 {
    color: #eef1f4;
    font-size: 18px;
}

body.fp-client-app-body .steam-steps {
    display: grid;
    gap: 9px;
    padding: 0;
    list-style: none;
    counter-reset: delivery-step;
}

body.fp-client-app-body .steam-steps li {
    position: relative;
    min-height: 44px;
    display: flex;
    align-items: center;
    margin: 0;
    padding: 10px 12px 10px 48px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 8px;
    background: #181a1f;
    color: #9ca3ac;
    font-size: 12px;
    line-height: 1.45;
    counter-increment: delivery-step;
}

body.fp-client-app-body .steam-steps li::before {
    content: counter(delivery-step);
    position: absolute;
    left: 11px;
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgba(33,150,243,.1);
    color: #5eb5ed;
    font-size: 11px;
}

@media (max-width: 1220px) {
    body.fp-client-app-body .steam-delivery-hero {
        grid-template-columns: 150px minmax(0,1fr) 190px;
        gap: 20px;
    }

    .sdo-product-cover {
        width: 150px;
        height: 116px;
    }

    .steam-delivery-layout {
        grid-template-columns: minmax(0,1fr) 300px;
    }
}

@media (max-width: 980px) {
    body.fp-client-app-body .steam-delivery-hero {
        grid-template-columns: 140px minmax(0,1fr);
    }

    .sdo-product-cover {
        width: 140px;
        height: 108px;
    }

    .sdo-hero-status {
        display: none;
    }

    .steam-delivery-layout {
        grid-template-columns: 1fr;
    }

    .sdo-summary-panel {
        position: static;
        order: -1;
    }
}

@media (max-width: 700px) {
    body.fp-client-app-body .steam-delivery-page {
        padding: 0 14px 40px;
    }

    .sdo-pagebar {
        min-height: 52px;
    }

    .sdo-breadcrumb {
        display: none;
    }

    body.fp-client-app-body .steam-delivery-hero {
        min-height: 0;
        grid-template-columns: 92px minmax(0,1fr);
        gap: 14px;
        padding: 17px;
    }

    .sdo-product-cover {
        width: 92px;
        height: 110px;
    }

    body.fp-client-app-body .sdo-hero-copy h1 {
        margin-top: 8px;
        font-size: 23px;
        white-space: normal;
    }

    .sdo-hero-copy > p {
        display: none;
    }

    .sdo-hero-chips {
        margin-top: 11px;
    }

    .sdo-hero-chips span:nth-child(2) {
        display: none;
    }

    body.fp-client-app-body .steam-delivery-primary,
    body.fp-client-app-body .steam-delivery-guide-panel,
    body.fp-client-app-body .steam-review-reward-panel,
    body.fp-client-app-body .sdo-support-panel,
    body.fp-client-app-body .sdo-requests-panel,
    body.fp-client-app-body .sdo-summary-panel {
        padding: 17px;
    }

    .sdo-panel-heading p {
        display: none;
    }
}

@media (max-width: 460px) {
    .sdo-secure {
        font-size: 0;
    }

    .sdo-secure i {
        font-size: 17px;
    }

    body.fp-client-app-body .steam-delivery-hero {
        grid-template-columns: 1fr;
    }

    .sdo-product-cover {
        width: 100%;
        height: auto;
        aspect-ratio: 16/7;
    }

    .sdo-hero-chips span {
        max-width: 100%;
    }

    .sdo-summary-list > div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .sdo-summary-list dd,
    .sdo-summary-list dd.is-active,
    .sdo-summary-list dd.is-passive {
        justify-content: flex-start;
        text-align: left;
    }
}

/* Standalone subscription activation */
.gsa-page {
    min-height: calc(100vh - 86px);
    padding: 26px 27px 52px;
    background: #111318;
    color: #eef1f4;
    font-family: "Inter", "Segoe UI", sans-serif;
}

.gsa-hero {
    min-height: 285px;
    display: grid;
    grid-template-columns: minmax(0,1fr) 290px;
    align-items: center;
    gap: 35px;
    overflow: hidden;
    padding: 42px 48px;
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 14px;
    background:
        radial-gradient(circle at 78% 42%,rgba(33,150,243,.15),transparent 23%),
        linear-gradient(125deg,#1b1d23,#15171c 68%);
}

.gsa-hero-copy {
    max-width: 760px;
}

.gsa-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #62b8ef;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .13em;
}

.gsa-hero h1 {
    margin: 13px 0 11px;
    color: #f5f7f9;
    font-size: clamp(34px,4vw,58px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1;
}

.gsa-hero-copy > p {
    max-width: 690px;
    margin: 0;
    color: #9097a1;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.65;
}

.gsa-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 23px;
}

.gsa-button {
    min-height: 43px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.gsa-button-primary {
    border-color: rgba(89,183,241,.2);
    background: #197fbe;
    color: #fff !important;
}

.gsa-button-primary:hover {
    background: #218fce;
}

.gsa-button-ghost {
    border-color: rgba(255,255,255,.09);
    background: #24272d;
    color: #d1d5da !important;
}

.gsa-hero-emblem {
    position: relative;
    width: 220px;
    height: 220px;
    display: grid;
    place-items: center;
    justify-self: center;
}

.gsa-hero-emblem::before,
.gsa-hero-emblem::after,
.gsa-hero-emblem > div {
    content: '';
    position: absolute;
    border: 1px solid rgba(33,150,243,.14);
    border-radius: 50%;
}

.gsa-hero-emblem::before {
    inset: 0;
}

.gsa-hero-emblem::after {
    inset: 22px;
    border-style: dashed;
}

.gsa-hero-emblem > div {
    inset: 44px;
    background: rgba(33,150,243,.045);
}

.gsa-hero-emblem > span {
    position: relative;
    z-index: 2;
    width: 86px;
    height: 86px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(33,150,243,.24);
    border-radius: 24px;
    background: #171c23;
    color: #62b8ef;
    box-shadow: 0 22px 45px rgba(0,0,0,.25);
    font-size: 43px;
    transform: rotate(45deg);
}

.gsa-hero-emblem > span i {
    transform: rotate(-45deg);
}

.gsa-hero-emblem.is-active > span {
    border-color: rgba(73,199,131,.24);
    background: #16211d;
    color: #52c987;
}

.gsa-workspace {
    display: grid;
    grid-template-columns: minmax(0,1.65fr) minmax(320px,.75fr);
    gap: 22px;
    margin-top: 22px;
}

.gsa-activation-card,
.gsa-status-card,
.gsa-benefits article,
.gsa-history {
    border: 1px solid rgba(255,255,255,.075);
    border-radius: 12px;
    background: #1d1f24;
}

.gsa-activation-card {
    padding: 28px;
}

.gsa-card-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 21px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.gsa-card-head > span {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(33,150,243,.21);
    border-radius: 9px;
    background: rgba(33,150,243,.08);
    color: #62b8ef;
    font-size: 21px;
}

.gsa-card-head small,
.gsa-history header small {
    display: block;
    margin-bottom: 4px;
    color: #5eb4eb;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .12em;
}

.gsa-card-head h2,
.gsa-history header h2 {
    margin: 0;
    color: #f0f2f4;
    font-size: 21px;
    font-weight: 600;
}

.gsa-card-head p {
    margin: 5px 0 0;
    color: #7f8690;
    font-size: 12px;
}

.gsa-code-form {
    margin-top: 23px;
}

.gsa-code-form > label {
    display: block;
    margin-bottom: 8px;
    color: #aeb3ba;
    font-size: 11px;
    font-weight: 500;
}

.gsa-code-control {
    min-height: 58px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    padding: 0 15px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 9px;
    background: #14161b;
    transition: border-color .18s ease,box-shadow .18s ease;
}

.gsa-code-control:focus-within {
    border-color: rgba(33,150,243,.45);
    box-shadow: 0 0 0 3px rgba(33,150,243,.07);
}

.gsa-code-control > i {
    color: #5fb6ed;
    font-size: 21px;
}

.gsa-code-control input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #f0f3f5;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: .075em;
}

.gsa-code-control input::placeholder {
    color: #555d67;
}

.gsa-code-control > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #5ec58a;
    font-size: 10px;
}

.gsa-activate-button {
    width: 100%;
    min-height: 48px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 8px;
    margin-top: 11px;
    padding: 0 16px;
    border: 1px solid rgba(100,193,249,.22);
    border-radius: 9px;
    background: #197fbe;
    color: #fff;
    cursor: pointer;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: background .18s ease,transform .18s ease;
}

.gsa-activate-button:hover {
    background: #218fce;
    transform: translateY(-1px);
}

.gsa-buy-code-link {
    min-height: 52px;
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto;
    align-items: center;
    gap: 11px;
    margin-top: 10px;
    padding: 8px 13px;
    border: 1px solid rgba(96,165,250,.18);
    border-radius: 9px;
    background: linear-gradient(135deg,rgba(37,99,235,.1),rgba(20,22,27,.92));
    color: #dbeafe !important;
    transition: border-color .18s ease,background .18s ease,transform .18s ease;
}

.gsa-buy-code-link:hover,
.gsa-buy-code-link:focus-visible {
    border-color: rgba(96,165,250,.42);
    background: linear-gradient(135deg,rgba(37,99,235,.18),rgba(20,22,27,.96));
    color: #fff !important;
    transform: translateY(-1px);
}

.gsa-buy-code-link > span:first-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(59,130,246,.14);
    color: #60a5fa;
    font-size: 17px;
}

.gsa-buy-code-link > span:nth-child(2) { min-width: 0; }
.gsa-buy-code-link small,
.gsa-buy-code-link strong { display: block; }
.gsa-buy-code-link small { color: #6f9ed7; font-size: 8px; font-weight: 800; letter-spacing: .11em; }
.gsa-buy-code-link strong { margin-top: 2px; color: #dbeafe; font-size: 11px; font-weight: 650; }
.gsa-buy-code-link > i { color: #60a5fa; font-size: 17px; }

.gsa-code-notes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-top: 16px;
}

.gsa-code-notes span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #7f8690;
    font-size: 10px;
}

.gsa-code-notes i {
    color: #55c385;
}

.gsa-status-card {
    padding: 25px;
    background: linear-gradient(145deg,#1d2025,#181a1f);
}

.gsa-status-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 19px;
}

.gsa-status-symbol {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(224,168,79,.2);
    border-radius: 50%;
    background: rgba(224,168,79,.07);
    color: #dbaa55;
    font-size: 21px;
}

.gsa-status-card.is-active .gsa-status-symbol {
    border-color: rgba(73,199,131,.22);
    background: rgba(73,199,131,.08);
    color: #55c989;
}

.gsa-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 8px;
    border: 1px solid rgba(224,168,79,.16);
    border-radius: 6px;
    background: rgba(224,168,79,.055);
    color: #dbaa55;
    font-size: 9px;
    font-weight: 500;
    letter-spacing: .07em;
}

.gsa-status-card.is-active .gsa-status-badge {
    border-color: rgba(73,199,131,.17);
    background: rgba(73,199,131,.055);
    color: #59c98a;
}

.gsa-status-card > small {
    color: #737b85;
    font-size: 10px;
}

.gsa-status-card > h2 {
    margin: 3px 0 5px;
    color: #f0f2f4;
    font-size: 22px;
    font-weight: 600;
}

.gsa-status-card > p {
    margin: 0;
    color: #858c96;
    font-size: 12px;
}

.gsa-progress {
    height: 5px;
    overflow: hidden;
    margin: 20px 0 8px;
    border-radius: 99px;
    background: #101216;
}

.gsa-progress span {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: #43bd7a;
}

.gsa-status-details {
    margin: 0;
}

.gsa-status-details > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.gsa-status-details > div:last-child {
    border-bottom: 0;
}

.gsa-status-details dt,
.gsa-status-details dd {
    margin: 0;
    font-size: 10px;
}

.gsa-status-details dt {
    color: #737b85;
}

.gsa-status-details dd {
    color: #cdd1d6;
}

.gsa-locked-message {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 20px;
    padding: 12px;
    border: 1px solid rgba(224,168,79,.13);
    border-radius: 8px;
    background: rgba(224,168,79,.045);
    color: #989087;
    font-size: 11px;
    line-height: 1.5;
}

.gsa-benefits {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 14px;
    margin-top: 22px;
}

.gsa-benefits article {
    min-height: 125px;
    display: flex;
    align-items: flex-start;
    gap: 13px;
    padding: 20px;
}

.gsa-benefits article > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: rgba(33,150,243,.08);
    color: #5eb5ed;
    font-size: 19px;
}

.gsa-benefits small {
    display: block;
    margin-bottom: 3px;
    color: #666e78;
    font-size: 9px;
    letter-spacing: .1em;
}

.gsa-benefits strong {
    display: block;
    color: #e7e9ec;
    font-size: 14px;
    font-weight: 500;
}

.gsa-benefits p {
    margin: 5px 0 0;
    color: #777f89;
    font-size: 11px;
    line-height: 1.5;
}

.gsa-history {
    margin-top: 22px;
    padding: 24px;
}

.gsa-history > header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 17px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.gsa-history > header > span {
    color: #747c86;
    font-size: 10px;
}

.gsa-history-list article {
    display: grid;
    grid-template-columns: auto minmax(0,1fr) auto auto;
    align-items: center;
    gap: 13px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

.gsa-history-list article:last-child {
    border-bottom: 0;
}

.gsa-history-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #16181d;
    color: #777f89;
}

.gsa-history-icon.is-active {
    background: rgba(73,199,131,.07);
    color: #55c888;
}

.gsa-history-list article > div strong,
.gsa-history-list article > div small,
.gsa-history-dates strong,
.gsa-history-dates small {
    display: block;
}

.gsa-history-list article > div strong,
.gsa-history-dates strong {
    color: #d9dde1;
    font-size: 11px;
    font-weight: 500;
}

.gsa-history-list article > div small,
.gsa-history-dates small {
    margin-top: 3px;
    color: #6f7781;
    font-size: 9px;
}

.gsa-history-dates {
    min-width: 130px;
    text-align: right;
}

.gsa-history-list article > b {
    min-width: 72px;
    padding: 5px 7px;
    border-radius: 6px;
    background: #25282e;
    color: #858d97;
    font-size: 9px;
    font-weight: 500;
    text-align: center;
}

.gsa-history-list article > b.is-active {
    background: rgba(73,199,131,.075);
    color: #59c98a;
}

.gsa-review-status {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 22px;
    padding: 17px 20px;
    border: 1px solid rgba(59,130,246,.18);
    border-radius: 12px;
    background: linear-gradient(135deg,rgba(37,99,235,.09),rgba(11,14,19,.96));
}

.gsa-review-status > span {
    width: 42px;
    height: 42px;
    display: grid;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 10px;
    background: rgba(59,130,246,.12);
    color: #60a5fa;
    font-size: 20px;
}

.gsa-review-status > div { min-width: 0; flex: 1; }
.gsa-review-status small,.gsa-review-status strong { display: block; }
.gsa-review-status small { color: #60a5fa; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.gsa-review-status strong { margin-top: 4px; color: #e5e7eb; font-size: 13px; }
.gsa-review-status p { margin: 4px 0 0; color: #77808b; font-size: 10px; }
.gsa-review-status button { border: 1px solid rgba(96,165,250,.25); border-radius: 8px; padding: 9px 12px; background: rgba(59,130,246,.1); color: #93c5fd; font-size: 10px; font-weight: 700; cursor: pointer; }
.gsa-review-status.is-approved { border-color: rgba(73,199,131,.2); background: linear-gradient(135deg,rgba(34,197,94,.08),rgba(11,14,19,.96)); }
.gsa-review-status.is-approved > span,.gsa-review-status.is-approved small { color: #55c888; }
.gsa-review-status.is-rejected { border-color: rgba(248,113,113,.18); }
.gsa-review-status.is-rejected > span,.gsa-review-status.is-rejected small { color: #f87171; }

body.gsa-review-modal-open { overflow: hidden; }

.gsa-review-modal {
    position: fixed;
    z-index: 11000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: opacity .2s ease,visibility .2s ease;
}

.gsa-review-modal.is-open { visibility: visible; opacity: 1; }
.gsa-review-backdrop { position: absolute; inset: 0; border: 0; background: rgba(2,6,12,.78); backdrop-filter: blur(9px); cursor: default; }

.gsa-review-dialog {
    position: relative;
    width: min(520px,100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 34px;
    border: 1px solid rgba(96,165,250,.2);
    border-radius: 18px;
    background: radial-gradient(circle at 50% 0,rgba(37,99,235,.19),transparent 42%),#0d1016;
    box-shadow: 0 30px 90px rgba(0,0,0,.6);
    color: #e5e7eb;
    text-align: center;
    transform: translateY(14px) scale(.98);
    transition: transform .22s ease;
}

.gsa-review-modal.is-open .gsa-review-dialog { transform: translateY(0) scale(1); }
.gsa-review-close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.07); border-radius: 9px; background: rgba(255,255,255,.04); color: #8b95a1; cursor: pointer; }
.gsa-review-gift { width: 62px; height: 62px; display: grid; place-items: center; margin: 0 auto 15px; border-radius: 18px; background: linear-gradient(135deg,#2563eb,#60a5fa); color: #fff; font-size: 28px; box-shadow: 0 15px 45px rgba(37,99,235,.3); }
.gsa-review-dialog > small:not(.gsa-review-note) { color: #60a5fa; font-size: 9px; font-weight: 800; letter-spacing: .16em; }
.gsa-review-dialog h2 { margin: 8px 0 11px; color: #f8fafc; font-size: clamp(24px,4vw,32px); line-height: 1.14; letter-spacing: -.035em; }
.gsa-review-dialog h2 em { color: #60a5fa; font-style: normal; }
.gsa-review-dialog > p { max-width: 430px; margin: 0 auto; color: #8a94a1; font-size: 12px; line-height: 1.65; }
.gsa-review-steps { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 20px 0; color: #9aa4af; font-size: 9px; }
.gsa-review-steps span { display: inline-flex; align-items: center; gap: 5px; }
.gsa-review-steps b { width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: rgba(59,130,246,.13); color: #60a5fa; }
.gsa-review-steps > i { color: #3b4653; }
.gsa-review-store { display: inline-flex; align-items: center; justify-content: center; gap: 7px; margin-bottom: 18px; color: #93c5fd !important; font-size: 11px; font-weight: 700; }
.gsa-review-form { text-align: left; }
.gsa-review-form label { display: block; margin: 0 0 7px; color: #aab3bd; font-size: 10px; font-weight: 700; }
.gsa-review-form > div { display: grid; grid-template-columns: auto minmax(0,1fr); align-items: center; gap: 10px; min-height: 52px; padding: 0 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 11px; background: #12161d; }
.gsa-review-form > div:focus-within { border-color: rgba(96,165,250,.55); box-shadow: 0 0 0 3px rgba(59,130,246,.08); }
.gsa-review-form > div > i { color: #60a5fa; font-size: 18px; }
.gsa-review-form input { width: 100%; height: 50px; border: 0 !important; outline: 0 !important; background: transparent !important; color: #f1f5f9 !important; font-size: 13px; box-shadow: none !important; }
.gsa-review-form button { width: 100%; min-height: 50px; margin-top: 11px; border: 0; border-radius: 11px; background: linear-gradient(135deg,#2563eb,#3b82f6); color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; box-shadow: 0 12px 30px rgba(37,99,235,.22); }
.gsa-review-form button i { margin-right: 5px; }
.gsa-review-note { display: block; margin-top: 14px; color: #66717d !important; font-size: 9px !important; letter-spacing: 0 !important; }

@media (max-width: 1050px) {
    .gsa-hero {
        grid-template-columns: minmax(0,1fr) 210px;
        padding: 34px;
    }

    .gsa-hero-emblem {
        width: 190px;
        height: 190px;
    }

    .gsa-workspace {
        grid-template-columns: 1fr;
    }

    .gsa-benefits {
        grid-template-columns: 1fr;
    }

    .gsa-benefits article {
        min-height: 0;
    }
}

@media (max-width: 700px) {
    .gsa-page {
        min-height: 0;
        padding: 15px 14px 40px;
    }

    .gsa-hero {
        min-height: 0;
        grid-template-columns: 1fr;
        padding: 25px 21px;
    }

    .gsa-hero-emblem {
        display: none;
    }

    .gsa-hero h1 {
        font-size: 36px;
    }

    .gsa-activation-card,
    .gsa-status-card,
    .gsa-history {
        padding: 18px;
    }

    .gsa-code-control {
        grid-template-columns: auto minmax(0,1fr);
    }

    .gsa-code-control > span {
        display: none;
    }

    .gsa-history-list article {
        grid-template-columns: auto minmax(0,1fr) auto;
    }

    .gsa-history-dates {
        display: none;
    }

    .gsa-review-status { align-items: flex-start; }
    .gsa-review-status button { align-self: center; }
    .gsa-review-dialog { padding: 29px 20px 24px; }
    .gsa-review-steps { gap: 6px; }
    .gsa-review-steps > i { display: none; }
}

@media (max-width: 430px) {
    .gsa-hero-actions,
    .gsa-button {
        width: 100%;
    }

    .gsa-card-head {
        align-items: center;
    }

    .gsa-card-head p {
        display: none;
    }

    .gsa-code-control input {
        font-size: 13px;
        letter-spacing: .04em;
    }

    .gsa-history-list article {
        grid-template-columns: auto minmax(0,1fr);
    }

    .gsa-history-list article > b {
        grid-column: 2;
        width: fit-content;
    }

    .gsa-review-status { flex-wrap: wrap; padding: 15px; }
    .gsa-review-status button { width: 100%; }
    .gsa-review-steps { align-items: stretch; flex-direction: column; text-align: left; }
}

/* Themed system alerts */
#toastArea .fp-alert-position {
    position: fixed !important;
    z-index: 10050 !important;
    top: 104px !important;
    left: 50% !important;
    right: auto !important;
    width: min(440px,calc(100vw - 28px)) !important;
    transform: translateX(-50%) !important;
}

#toastArea .fp-system-alert {
    --fp-alert-color: #62b8ef;
    --fp-alert-rgb: 33,150,243;
    width: 100% !important;
    min-height: 70px !important;
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) 32px;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    margin: 0 !important;
    padding: 12px 11px 12px 13px !important;
    border: 1px solid rgba(var(--fp-alert-rgb),.25) !important;
    border-radius: 11px !important;
    background: #1b1e24 !important;
    color: #eef1f4 !important;
    box-shadow: 0 20px 48px rgba(0,0,0,.32),inset 0 1px 0 rgba(255,255,255,.035) !important;
    font-family: "Inter","Segoe UI",sans-serif !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

#toastArea .fp-system-alert::before {
    content: '' !important;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    border-radius: 0;
    background: var(--fp-alert-color) !important;
    box-shadow: none !important;
}

#toastArea .fp-system-alert::after {
    content: '' !important;
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: block !important;
    width: 100%;
    height: 3px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(90deg,var(--fp-alert-color),rgba(var(--fp-alert-rgb),.5)) !important;
    box-shadow: 0 0 12px rgba(var(--fp-alert-rgb),.42);
    transform: scaleX(var(--fp-alert-progress,1));
    transform-origin: left center;
    transition: transform .1s linear;
    will-change: transform;
    pointer-events: none;
}

#toastArea .fp-system-alert-success {
    --fp-alert-color: #54c989;
    --fp-alert-rgb: 73,199,131;
}

#toastArea .fp-system-alert-warning {
    --fp-alert-color: #e1aa52;
    --fp-alert-rgb: 224,168,79;
}

#toastArea .fp-system-alert-danger {
    --fp-alert-color: #f06f78;
    --fp-alert-rgb: 239,92,103;
}

#toastArea .fp-system-alert-info {
    --fp-alert-color: #62b8ef;
    --fp-alert-rgb: 33,150,243;
}

#toastArea .fp-system-alert-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(var(--fp-alert-rgb),.22);
    border-radius: 9px;
    background: rgba(var(--fp-alert-rgb),.08);
    color: var(--fp-alert-color);
}

#toastArea .fp-system-alert-icon i {
    font-size: 21px;
}

#toastArea .fp-system-alert .toast {
    width: 100%;
    min-width: 0;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
}

#toastArea .fp-system-alert .toast-header {
    min-height: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 3px !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #eef1f4 !important;
    line-height: 1.2;
}

#toastArea .fp-system-alert .toast-header strong {
    color: #eef1f4 !important;
    font-size: 13px;
    font-weight: 600 !important;
}

#toastArea .fp-system-alert .toast-header small {
    margin-left: auto;
    color: #69717c;
    font-size: 9px;
    font-weight: 400 !important;
    white-space: nowrap;
}

#toastArea .fp-system-alert .toast-header .btn-close,
#toastArea .fp-system-alert .toast-header .close {
    display: none !important;
}

#toastArea .fp-system-alert .toast-body {
    margin: 0 !important;
    padding: 0 !important;
    color: #9ba2ac !important;
    font-size: 11px;
    font-weight: 400 !important;
    line-height: 1.45;
}

#toastArea .fp-system-alert .fp-system-alert-close {
    position: static !important;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    align-self: center;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.07) !important;
    border-radius: 7px;
    background-color: #25282e !important;
    background-image: none !important;
    opacity: .72;
    filter: none !important;
    transform: none !important;
}

#toastArea .fp-system-alert .fp-system-alert-close::before {
    content: '\00d7';
    color: #c8cdd3;
    font-family: Arial,sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

/* Steam vertical library artwork on game detail */
.fpdg-cover img {
    height: auto !important;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    object-position: center;
    background: #0c0e11;
}

#toastArea .fp-system-alert .fp-system-alert-close:hover {
    border-color: rgba(var(--fp-alert-rgb),.22) !important;
    opacity: 1;
    transform: none !important;
}

#toastArea .fp-system-alert .fp-toast-progress {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px !important;
    margin: 0 !important;
    background: var(--fp-alert-color) !important;
    box-shadow: none !important;
}

html[data-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert,
html[data-bs-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert,
body.light:not(.fp-client-app-body) #toastArea .fp-system-alert,
body.light-mode:not(.fp-client-app-body) #toastArea .fp-system-alert {
    border-color: rgba(var(--fp-alert-rgb),.22) !important;
    background: rgba(255,255,255,.97) !important;
    color: #242830 !important;
    box-shadow: 0 18px 42px rgba(30,41,59,.14),inset 0 1px 0 rgba(255,255,255,.7) !important;
}

html[data-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-header,
html[data-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-header strong,
html[data-bs-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-header,
html[data-bs-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-header strong {
    color: #242830 !important;
}

html[data-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-body,
html[data-bs-theme="light"] body:not(.fp-client-app-body) #toastArea .fp-system-alert .toast-body {
    color: #66707c !important;
}

body.fp-client-app-body #toastArea .fp-alert-position {
    top: 20px !important;
    right: 24px !important;
    left: auto !important;
    width: min(410px,calc(100vw - 28px)) !important;
    transform: none !important;
}

body.fp-client-app-body #toastArea .fp-system-alert {
    background: rgba(27,30,36,.97) !important;
}

@media (max-width: 700px) {
    #toastArea .fp-alert-position,
    body.fp-client-app-body #toastArea .fp-alert-position {
        top: 12px !important;
        right: 12px !important;
        left: 12px !important;
        width: auto !important;
        transform: none !important;
    }

    #toastArea .fp-system-alert {
        min-height: 64px !important;
        grid-template-columns: 37px minmax(0,1fr) 28px;
        gap: 10px;
        padding: 10px 9px 10px 11px !important;
    }

    #toastArea .fp-system-alert-icon {
        width: 37px;
        height: 37px;
    }

    #toastArea .fp-system-alert .toast-header small {
        display: none;
    }

    #toastArea .fp-system-alert .fp-system-alert-close {
        width: 28px;
        height: 28px;
    }
}

/* Composite text controls: keep the editable area visually flush with its shell. */
body.fp-client-app-body .fgr-search-form input,
body.fp-client-app-body .fpd-global-search input,
body.fp-client-app-body .fpgl-search input,
body.fp-client-app-body .gss-search-box input,
body.fp-client-app-body .gsa-code-control input,
body.fp-client-app-body .fps-library-search input,
body.fp-client-app-body .fps-activate-form input,
body.fp-client-app-body .gss-code-input input {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    color-scheme: dark;
}

body.fp-client-app-body .fgr-search-form input:focus,
body.fp-client-app-body .fgr-search-form input:active,
body.fp-client-app-body .fpd-global-search input:focus,
body.fp-client-app-body .fpd-global-search input:active,
body.fp-client-app-body .fpgl-search input:focus,
body.fp-client-app-body .fpgl-search input:active,
body.fp-client-app-body .gss-search-box input:focus,
body.fp-client-app-body .gss-search-box input:active,
body.fp-client-app-body .gsa-code-control input:focus,
body.fp-client-app-body .gsa-code-control input:active,
body.fp-client-app-body .fps-library-search input:focus,
body.fp-client-app-body .fps-library-search input:active,
body.fp-client-app-body .fps-activate-form input:focus,
body.fp-client-app-body .fps-activate-form input:active,
body.fp-client-app-body .gss-code-input input:focus,
body.fp-client-app-body .gss-code-input input:active {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fp-client-app-body .fgr-search-form input::-webkit-search-decoration,
body.fp-client-app-body .fgr-search-form input::-webkit-search-cancel-button,
body.fp-client-app-body .fgr-search-form input::-webkit-search-results-button,
body.fp-client-app-body .fgr-search-form input::-webkit-search-results-decoration,
body.fp-client-app-body .fpd-global-search input::-webkit-search-decoration,
body.fp-client-app-body .fpd-global-search input::-webkit-search-cancel-button,
body.fp-client-app-body .fpd-global-search input::-webkit-search-results-button,
body.fp-client-app-body .fpd-global-search input::-webkit-search-results-decoration,
body.fp-client-app-body .fpgl-search input::-webkit-search-decoration,
body.fp-client-app-body .fpgl-search input::-webkit-search-cancel-button,
body.fp-client-app-body .fpgl-search input::-webkit-search-results-button,
body.fp-client-app-body .fpgl-search input::-webkit-search-results-decoration,
body.fp-client-app-body .gss-search-box input::-webkit-search-decoration,
body.fp-client-app-body .gss-search-box input::-webkit-search-cancel-button,
body.fp-client-app-body .gss-search-box input::-webkit-search-results-button,
body.fp-client-app-body .gss-search-box input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Autofill uses the exact surface color of the surrounding composite control. */
body.fp-client-app-body .fgr-search-form input:-webkit-autofill,
body.fp-client-app-body .fgr-search-form input:-webkit-autofill:hover,
body.fp-client-app-body .fgr-search-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff !important;
    caret-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #111318 inset !important;
}

body.fp-client-app-body .fpd-global-search input:-webkit-autofill,
body.fp-client-app-body .fpd-global-search input:-webkit-autofill:hover,
body.fp-client-app-body .fpd-global-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: #e6e9ed !important;
    caret-color: #e6e9ed !important;
    -webkit-box-shadow: 0 0 0 1000px #292b31 inset !important;
}

body.fp-client-app-body .fpd-global-search:focus-within {
    background: #292b31;
}

body.fp-client-app-body .fpgl-search input:-webkit-autofill,
body.fp-client-app-body .fpgl-search input:-webkit-autofill:hover,
body.fp-client-app-body .fpgl-search input:-webkit-autofill:focus,
body.fp-client-app-body .fps-library-search input:-webkit-autofill,
body.fp-client-app-body .fps-library-search input:-webkit-autofill:hover,
body.fp-client-app-body .fps-library-search input:-webkit-autofill:focus {
    -webkit-text-fill-color: #eef1f4 !important;
    caret-color: #eef1f4 !important;
    -webkit-box-shadow: 0 0 0 1000px #1d1f24 inset !important;
}

body.fp-client-app-body .gss-search-box input:-webkit-autofill,
body.fp-client-app-body .gss-search-box input:-webkit-autofill:hover,
body.fp-client-app-body .gss-search-box input:-webkit-autofill:focus,
body.fp-client-app-body .gss-code-input input:-webkit-autofill,
body.fp-client-app-body .gss-code-input input:-webkit-autofill:hover,
body.fp-client-app-body .gss-code-input input:-webkit-autofill:focus {
    -webkit-text-fill-color: #edf0f3 !important;
    caret-color: #edf0f3 !important;
    -webkit-box-shadow: 0 0 0 1000px #25272d inset !important;
}

body.fp-client-app-body .gsa-code-control input:-webkit-autofill,
body.fp-client-app-body .gsa-code-control input:-webkit-autofill:hover,
body.fp-client-app-body .gsa-code-control input:-webkit-autofill:focus,
body.fp-client-app-body .fps-activate-form input:-webkit-autofill,
body.fp-client-app-body .fps-activate-form input:-webkit-autofill:hover,
body.fp-client-app-body .fps-activate-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #f0f3f5 !important;
    caret-color: #f0f3f5 !important;
    -webkit-box-shadow: 0 0 0 1000px #14161b inset !important;
}

/* Steam delivery: unified client-theme surfaces. */
body.fp-client-app-body .steam-delivery-page {
    --sdo-page: #111318;
    --sdo-panel: #1b1d22;
    --sdo-inset: #15171c;
    --sdo-deep: #101217;
    --sdo-line: rgba(255,255,255,.075);
    background: var(--sdo-page) !important;
    color: #eef1f4;
}

body.fp-client-app-body .steam-delivery-page .container,
body.fp-client-app-body .steam-delivery-main,
body.fp-client-app-body .steam-delivery-rail,
body.fp-client-app-body .sdo-pagebar {
    background: transparent !important;
}

body.fp-client-app-body .steam-delivery-hero,
body.fp-client-app-body .steam-delivery-page .steam-panel,
body.fp-client-app-body .steam-delivery-primary,
body.fp-client-app-body .steam-delivery-guide-panel,
body.fp-client-app-body .steam-review-reward-panel,
body.fp-client-app-body .sdo-support-panel,
body.fp-client-app-body .sdo-requests-panel,
body.fp-client-app-body .sdo-summary-panel {
    border: 1px solid var(--sdo-line) !important;
    background: var(--sdo-panel) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fp-client-app-body .steam-delivery-hero::before {
    display: none !important;
    background-image: none !important;
}

body.fp-client-app-body .steam-delivery-hero::after {
    background: linear-gradient(110deg,rgba(33,150,243,.055),transparent 42%),var(--sdo-panel) !important;
}

body.fp-client-app-body .steam-delivery-hero .sdo-hero-overlay {
    background: transparent !important;
}

body.fp-client-app-body .sdo-product-cover,
body.fp-client-app-body .sdo-hero-status,
body.fp-client-app-body .sdo-hero-chips span,
body.fp-client-app-body .steam-delivery-page .steam-code-box,
body.fp-client-app-body .steam-delivery-page .steam-gift-code-box,
body.fp-client-app-body .steam-delivery-page .steam-cdkey-premium,
body.fp-client-app-body .steam-delivery-page .steam-subscription-expired-box,
body.fp-client-app-body .steam-delivery-page .steam-status-box,
body.fp-client-app-body .steam-delivery-page .steam-empty-note,
body.fp-client-app-body .steam-delivery-page .steam-request-item,
body.fp-client-app-body .steam-delivery-page .sdo-summary-link,
body.fp-client-app-body .steam-delivery-page .steam-steps li,
body.fp-client-app-body .steam-delivery-page .delivery-guide-content th,
body.fp-client-app-body .steam-delivery-page .delivery-guide-content td {
    background: var(--sdo-inset) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fp-client-app-body .steam-delivery-page .steam-cdkey-scan-card,
body.fp-client-app-body .steam-delivery-page .steam-cdkey-ready-card,
body.fp-client-app-body .steam-delivery-page .steam-cdkey-steps span,
body.fp-client-app-body .steam-delivery-page .steam-code-box pre,
body.fp-client-app-body .steam-delivery-page .steam-request-item pre,
body.fp-client-app-body .steam-delivery-page .steam-cdkey-ready-body pre {
    border-color: var(--sdo-line) !important;
    background: var(--sdo-deep) !important;
    background-image: none !important;
    box-shadow: none !important;
}

body.fp-client-app-body .steam-delivery-page .steam-input,
body.fp-client-app-body .steam-delivery-page .form-control,
body.fp-client-app-body .steam-delivery-page .form-select,
body.fp-client-app-body .steam-delivery-page textarea,
body.fp-client-app-body .steam-delivery-page select {
    border-color: rgba(255,255,255,.09) !important;
    background-color: var(--sdo-inset) !important;
    color: #eef1f4 !important;
    -webkit-text-fill-color: #eef1f4 !important;
    box-shadow: none !important;
    color-scheme: dark;
}

body.fp-client-app-body .steam-delivery-page input,
body.fp-client-app-body .steam-delivery-page textarea {
    background-image: none !important;
}

body.fp-client-app-body .steam-delivery-page .steam-input:focus,
body.fp-client-app-body .steam-delivery-page .form-control:focus,
body.fp-client-app-body .steam-delivery-page .form-select:focus,
body.fp-client-app-body .steam-delivery-page textarea:focus,
body.fp-client-app-body .steam-delivery-page select:focus {
    border-color: rgba(33,150,243,.48) !important;
    background-color: var(--sdo-inset) !important;
    box-shadow: 0 0 0 3px rgba(33,150,243,.08) !important;
}

body.fp-client-app-body .steam-delivery-page .steam-gift-code-box {
    border-color: rgba(255,255,255,.085) !important;
}

body.fp-client-app-body .steam-delivery-page .steam-cdkey-premium {
    border-color: rgba(33,150,243,.18) !important;
}

body.fp-client-app-body .steam-delivery-page .steam-subscription-expired-box,
body.fp-client-app-body .steam-delivery-page .steam-status-box.is-passive {
    border-color: rgba(255,171,0,.19) !important;
}

body.fp-client-app-body .steam-delivery-page .steam-status-box.is-active {
    border-color: rgba(73,199,131,.17) !important;
}

body.fp-client-app-body .steam-delivery-page .sdo-panel-heading,
body.fp-client-app-body .steam-delivery-page .delivery-guide-head,
body.fp-client-app-body .steam-delivery-page .sdo-summary-head {
    border-color: var(--sdo-line) !important;
}

body.fp-client-app-body .steam-delivery-page .sdo-summary-link:hover {
    border-color: rgba(33,150,243,.28) !important;
    background: #181b21 !important;
}

/* Client announcements and update archive */
.fpd-announcement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.fpd-dashboard-rail .fpd-announcement-section {
    overflow: hidden;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 11px;
    background: var(--fpd-raisin);
    box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

.fpd-dashboard-rail .fpd-announcement-section .fpd-section-header {
    align-items: flex-start;
    margin-bottom: 13px;
}

.fpd-dashboard-rail .fpd-announcement-section .fpd-section-header h2 {
    max-width: 185px;
    margin-top: 4px;
    font-size: 15px;
    line-height: 1.25;
}

.fpd-dashboard-rail .fpd-announcement-section .fpd-section-header p {
    display: none;
}

.fpd-dashboard-rail .fpd-announcement-section .fpd-see-all {
    min-height: 32px;
    padding: 0 9px;
    font-size: 8px;
}

.fpd-dashboard-rail .fpd-announcement-grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.fpd-dashboard-rail .fpd-announcement-card {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 10px;
    padding: 12px;
}

.fpd-dashboard-rail .fpd-announcement-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
}

.fpd-announcement-card {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    overflow: hidden;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 10px;
    background: rgba(255,255,255,.018);
}

.fpd-announcement-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #45aaf0;
    content: "";
}

.fpd-announcement-card.is-update::before { background: #49c783; }
.fpd-announcement-card.is-maintenance::before { background: #ffab00; }

.fpd-announcement-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(69,170,240,.16);
    border-radius: 9px;
    background: rgba(69,170,240,.075);
    color: #57b4f0;
    font-size: 20px;
}

.is-update .fpd-announcement-icon { border-color: rgba(73,199,131,.16); background: rgba(73,199,131,.07); color: #49c783; }
.is-maintenance .fpd-announcement-icon { border-color: rgba(255,171,0,.17); background: rgba(255,171,0,.07); color: #ffb72e; }

.fpd-announcement-copy { min-width: 0; }
.fpd-announcement-copy > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fpd-announcement-copy > div span { color: #57b4f0; font-size: 9px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.fpd-announcement-copy time { color: #68707a; font-size: 9px; font-weight: 400; }
.fpd-announcement-copy h3 { overflow: hidden; margin: 7px 0 5px; color: #edf0f3; font-size: 13px; font-weight: 500; line-height: 1.25; text-overflow: ellipsis; white-space: nowrap; }
.fpd-announcement-copy p { display: -webkit-box; overflow: hidden; min-height: 32px; margin: 0; color: #8f959e; font-size: 10px; font-weight: 400; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fpd-announcement-copy > a { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; color: #aab0b8 !important; font-size: 9px; font-weight: 500; }
.fpd-announcement-copy > a:hover { color: #57b4f0 !important; }

.fpd-announcement-empty {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px dashed rgba(255,255,255,.08);
    border-radius: 10px;
    color: #646b74;
}
.fpd-announcement-empty > i { font-size: 24px; }
.fpd-announcement-empty span { display: grid; gap: 3px; }
.fpd-announcement-empty strong { color: #bfc4ca; font-size: 11px; font-weight: 500; }
.fpd-announcement-empty small { font-size: 9px; font-weight: 400; }

.fpa-page {
    min-height: calc(100vh - 86px);
    padding: 26px clamp(18px, 2.4vw, 38px) 52px;
    color: #e9edf1;
}

.fpa-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 28px;
    overflow: hidden;
    padding: clamp(24px, 3.2vw, 46px);
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 13px;
    background: radial-gradient(circle at 88% 12%, rgba(33,150,243,.11), transparent 32%), rgba(255,255,255,.014);
}

.fpa-hero::after {
    position: absolute;
    top: -82px;
    right: -55px;
    width: 230px;
    height: 230px;
    border: 1px solid rgba(33,150,243,.09);
    border-radius: 50%;
    content: "";
}

.fpa-hero-copy { position: relative; z-index: 1; max-width: 740px; }
.fpa-hero-copy > span { display: inline-flex; align-items: center; gap: 7px; color: #57b4f0; font-size: 9px; font-weight: 600; letter-spacing: .09em; }
.fpa-hero-copy > span i { font-size: 16px; }
.fpa-hero-copy h1 { margin: 13px 0 10px; color: #f3f5f7; font-size: clamp(26px, 3vw, 43px); font-weight: 500; letter-spacing: -.035em; }
.fpa-hero-copy p { max-width: 660px; margin: 0; color: #8e959e; font-size: 12px; font-weight: 400; line-height: 1.7; }

.fpa-hero-stats { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 106px); gap: 8px; }
.fpa-hero-stats div { display: grid; min-height: 82px; align-content: center; padding: 12px; border: 1px solid rgba(255,255,255,.06); border-radius: 9px; background: rgba(9,11,14,.38); }
.fpa-hero-stats strong { color: #f2f4f6; font-size: 22px; font-weight: 500; }
.fpa-hero-stats span { margin-top: 3px; color: #717882; font-size: 9px; font-weight: 400; }

.fpa-filters { display: flex; gap: 8px; overflow-x: auto; margin: 18px 0 26px; padding-bottom: 2px; scrollbar-width: none; }
.fpa-filters::-webkit-scrollbar { display: none; }
.fpa-filters a { display: inline-flex; min-width: max-content; height: 42px; align-items: center; gap: 8px; padding: 0 13px; border: 1px solid rgba(255,255,255,.065); border-radius: 8px; background: rgba(255,255,255,.012); color: #858c95 !important; font-size: 10px; font-weight: 500; }
.fpa-filters a i { font-size: 16px; }
.fpa-filters a b { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 6px; background: rgba(255,255,255,.04); color: #aeb4bb; font-size: 9px; font-weight: 500; }
.fpa-filters a:hover, .fpa-filters a.is-active { border-color: rgba(33,150,243,.25); background: rgba(33,150,243,.065); color: #61b9f2 !important; }

.fpa-feed { max-width: 1120px; }
.fpa-feed-header { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 17px; }
.fpa-feed-header > div span { color: #57b4f0; font-size: 8px; font-weight: 600; letter-spacing: .09em; }
.fpa-feed-header h2 { margin: 5px 0 0; color: #e8ebee; font-size: 21px; font-weight: 500; }
.fpa-feed-header p { margin: 0; color: #6e757e; font-size: 10px; font-weight: 400; }
.fpa-feed-header p strong { color: #b8bdc3; font-weight: 500; }

.fpa-timeline { position: relative; display: grid; gap: 12px; }
.fpa-timeline::before { position: absolute; top: 27px; bottom: 27px; left: 23px; width: 1px; background: rgba(255,255,255,.07); content: ""; }
.fpa-entry { position: relative; display: grid; grid-template-columns: 47px minmax(0, 1fr); gap: 13px; scroll-margin-top: 105px; }
.fpa-entry-marker { position: relative; z-index: 1; display: grid; width: 47px; height: 47px; place-items: center; border: 1px solid rgba(69,170,240,.22); border-radius: 10px; background: #15181d; color: #57b4f0; font-size: 20px; }
.fpa-entry.is-update .fpa-entry-marker { border-color: rgba(73,199,131,.22); color: #49c783; }
.fpa-entry.is-maintenance .fpa-entry-marker { border-color: rgba(255,171,0,.24); color: #ffb72e; }
.fpa-entry-card { min-width: 0; padding: 20px 22px; border: 1px solid rgba(255,255,255,.06); border-radius: 11px; background: rgba(255,255,255,.014); }
.fpa-entry:target .fpa-entry-card { border-color: rgba(33,150,243,.34); box-shadow: 0 0 0 3px rgba(33,150,243,.06); }
.fpa-entry-card > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.fpa-entry-type { display: flex; align-items: center; gap: 8px; }
.fpa-entry-type span { padding: 5px 8px; border-radius: 6px; background: rgba(69,170,240,.08); color: #57b4f0; font-size: 8px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.is-update .fpa-entry-type span { background: rgba(73,199,131,.08); color: #49c783; }
.is-maintenance .fpa-entry-type span { background: rgba(255,171,0,.08); color: #ffb72e; }
.fpa-entry-type small { color: #616872; font-size: 9px; font-weight: 400; }
.fpa-entry-date { display: flex; align-items: center; gap: 8px; color: #6e757e; }
.fpa-entry-date > span { padding: 4px 6px; border-radius: 5px; background: rgba(255,255,255,.035); color: #777e87; font-size: 7px; font-weight: 600; letter-spacing: .08em; }
.fpa-entry-date time { display: inline-flex; align-items: center; gap: 5px; font-size: 9px; font-weight: 400; }
.fpa-entry-card h2 { margin: 15px 0 7px; color: #edf0f2; font-size: 18px; font-weight: 500; line-height: 1.35; }
.fpa-entry-summary { margin: 0; color: #a3a9b0; font-size: 11px; font-weight: 400; line-height: 1.65; }
.fpa-entry-content { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.055); color: #858c95; font-size: 11px; font-weight: 400; line-height: 1.75; }
.fpa-entry-action { display: inline-flex; height: 36px; align-items: center; gap: 7px; margin-top: 16px; padding: 0 11px; border: 1px solid rgba(33,150,243,.18); border-radius: 7px; background: rgba(33,150,243,.055); color: #61b9f2 !important; font-size: 9px; font-weight: 500; }
.fpa-entry-action:hover { border-color: rgba(33,150,243,.34); background: rgba(33,150,243,.09); }

.fpa-pagination { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 24px; }
.fpa-pagination a { display: inline-flex; height: 38px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 7px; color: #b6bbc1 !important; font-size: 9px; font-weight: 500; }
.fpa-pagination span { color: #686f78; font-size: 9px; }
.fpa-pagination strong { color: #cbd0d5; font-weight: 500; }

.fpa-empty { display: grid; min-height: 300px; place-items: center; align-content: center; gap: 8px; border: 1px dashed rgba(255,255,255,.075); border-radius: 12px; text-align: center; }
.fpa-empty > i { color: #4b535d; font-size: 40px; }
.fpa-empty strong { color: #c7ccd1; font-size: 14px; font-weight: 500; }
.fpa-empty span { color: #6f7680; font-size: 10px; font-weight: 400; }
.fpa-empty a { margin-top: 8px; color: #57b4f0 !important; font-size: 10px; font-weight: 500; }

@media (max-width: 1180px) {
    .fpa-hero { grid-template-columns: 1fr; }
    .fpa-hero-stats { grid-template-columns: repeat(3, minmax(90px, 120px)); }
}

@media (max-width: 1240px) {
    .fpd-dashboard-rail .fpd-announcement-section { grid-column: 1 / -1; }
    .fpd-dashboard-rail .fpd-announcement-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .fpd-dashboard-rail .fpd-announcement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 700px) {
    .fpd-dashboard-rail .fpd-announcement-section { padding: 15px; }
    .fpd-dashboard-rail .fpd-announcement-grid { grid-template-columns: 1fr; }
    .fpa-page { padding: 14px 12px 36px; }
    .fpa-hero { padding: 22px 18px; }
    .fpa-hero-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .fpa-hero-stats div { min-height: 70px; padding: 9px; }
    .fpa-hero-stats strong { font-size: 18px; }
    .fpa-feed-header { align-items: flex-start; flex-direction: column; }
    .fpa-entry { grid-template-columns: 36px minmax(0, 1fr); gap: 8px; }
    .fpa-entry-marker { width: 36px; height: 36px; border-radius: 8px; font-size: 17px; }
    .fpa-timeline::before { left: 17px; }
    .fpa-entry-card { padding: 16px 14px; }
    .fpa-entry-card > header { flex-direction: column; }
    .fpa-entry-type small { display: none; }
    .fpa-entry-date { width: 100%; justify-content: space-between; }
    .fpa-entry-card h2 { margin-top: 13px; font-size: 16px; }
    .fpa-pagination { justify-content: space-between; gap: 8px; }
}

/* Announcement archive: align surfaces with the Steam client subpages. */
body.fp-client-app-body .fpa-page {
    width: 100%;
    min-height: calc(100vh - 86px);
    box-sizing: border-box;
    margin: 0;
    padding: 22px 27px 48px;
    background: transparent;
    color: var(--fpd-copy);
}

body.fp-client-app-body .fpa-hero {
    min-height: 142px;
    align-items: center;
    gap: 22px;
    padding: 22px 24px;
    border-color: rgba(33,150,243,.14);
    border-radius: 12px;
    background:
        radial-gradient(circle at 94% 4%, rgba(33,150,243,.12), transparent 30%),
        var(--fpd-raisin);
    box-shadow: 0 16px 38px rgba(0,0,0,.14);
}

body.fp-client-app-body .fpa-hero::after {
    display: none;
}

body.fp-client-app-body .fpa-hero-copy > span {
    color: #72c1f3;
    font-size: 9px;
    font-weight: 500;
}

body.fp-client-app-body .fpa-hero-copy h1 {
    margin: 9px 0 7px;
    color: #f7f9fb;
    font-size: clamp(24px, 2.2vw, 32px);
    font-weight: 500;
    letter-spacing: -.025em;
}

body.fp-client-app-body .fpa-hero-copy p {
    max-width: 690px;
    color: #8b9099;
    font-size: 11px;
    line-height: 1.65;
}

body.fp-client-app-body .fpa-hero-stats {
    grid-template-columns: repeat(3, minmax(88px, 104px));
    gap: 7px;
}

body.fp-client-app-body .fpa-hero-stats div {
    min-height: 70px;
    padding: 10px 11px;
    border-color: rgba(255,255,255,.065);
    border-radius: 9px;
    background: #181a1f;
}

body.fp-client-app-body .fpa-hero-stats strong {
    color: #e9edf1;
    font-size: 19px;
    font-weight: 500;
}

body.fp-client-app-body .fpa-hero-stats span {
    color: #737982;
    font-size: 9px;
}

body.fp-client-app-body .fpa-filters {
    gap: 6px;
    margin: 14px 0 22px;
    padding: 7px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 10px;
    background: var(--fpd-raisin);
}

body.fp-client-app-body .fpa-filters a {
    height: 38px;
    border-color: transparent;
    border-radius: 7px;
    background: transparent;
    color: #858a93 !important;
    font-size: 10px;
    font-weight: 400;
}

body.fp-client-app-body .fpa-filters a b {
    background: #282a30;
    color: #aeb4bb;
    font-weight: 500;
}

body.fp-client-app-body .fpa-filters a:hover,
body.fp-client-app-body .fpa-filters a.is-active {
    border-color: rgba(33,150,243,.16);
    background: rgba(33,150,243,.08);
    color: #72c1f3 !important;
}

body.fp-client-app-body .fpa-feed {
    width: 100%;
    max-width: none;
}

body.fp-client-app-body .fpa-feed-header {
    margin-bottom: 13px;
    padding: 0 2px;
}

body.fp-client-app-body .fpa-feed-header h2 {
    color: #e7eaed;
    font-size: 18px;
    font-weight: 500;
}

body.fp-client-app-body .fpa-feed-header > div span {
    color: #57b4f0;
    font-weight: 500;
}

body.fp-client-app-body .fpa-timeline {
    gap: 10px;
}

body.fp-client-app-body .fpa-timeline::before {
    background: rgba(255,255,255,.055);
}

body.fp-client-app-body .fpa-entry-marker {
    border-color: rgba(33,150,243,.17);
    border-radius: 9px;
    background: var(--fpd-raisin);
    color: #62b8ef;
    box-shadow: none;
}

body.fp-client-app-body .fpa-entry-card {
    padding: 18px 20px;
    border-color: rgba(255,255,255,.06);
    border-radius: 10px;
    background: var(--fpd-raisin);
    box-shadow: none;
    transition: border-color .18s ease, background .18s ease;
}

body.fp-client-app-body .fpa-entry-card:hover {
    border-color: rgba(33,150,243,.18);
    background: #202228;
}

body.fp-client-app-body .fpa-entry-card h2 {
    color: #edf0f2;
    font-size: 16px;
    font-weight: 500;
}

body.fp-client-app-body .fpa-entry-summary,
body.fp-client-app-body .fpa-entry-content {
    color: #9298a0;
    font-size: 10px;
    font-weight: 400;
}

body.fp-client-app-body .fpa-entry-content {
    border-top-color: rgba(255,255,255,.055);
}

body.fp-client-app-body .fpa-entry-action {
    border-color: rgba(33,150,243,.16);
    border-radius: 7px;
    background: rgba(33,150,243,.06);
    color: #62b8ef !important;
    font-weight: 500;
}

body.fp-client-app-body .fpa-empty {
    min-height: 260px;
    border-color: rgba(255,255,255,.065);
    border-radius: 10px;
    background: var(--fpd-raisin);
}

@media (max-width: 1180px) {
    body.fp-client-app-body .fpa-hero {
        grid-template-columns: minmax(0, 1fr) auto;
    }
}

@media (max-width: 900px) {
    body.fp-client-app-body .fpa-page {
        padding-right: 22px;
        padding-left: 22px;
    }

    body.fp-client-app-body .fpa-hero {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body.fp-client-app-body .fpa-page {
        padding: 14px 12px 34px;
    }

    body.fp-client-app-body .fpa-hero {
        min-height: 0;
        padding: 19px 16px;
    }

    body.fp-client-app-body .fpa-hero-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.fp-client-app-body .fpa-filters {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
    }

    body.fp-client-app-body .fpa-entry-card {
        padding: 15px 13px;
    }
}

/* Blog-style announcement cards and article page */
body.fp-client-app-body .fpa-entry-card {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    overflow: hidden;
    padding: 0;
}

.fpa-entry-cover {
    position: relative;
    display: block;
    min-height: 190px;
    overflow: hidden;
    background: radial-gradient(circle at 35% 30%, rgba(87,180,240,.19), transparent 42%), #171a20;
}

.fpa-entry-cover::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(20,22,27,.2));
    content: "";
    pointer-events: none;
}

.fpa-entry-cover img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform .35s ease;
}

.fpa-entry-card:hover .fpa-entry-cover img { transform: scale(1.035); }
.fpa-entry-cover > span { display: grid; width: 100%; height: 100%; min-height: 190px; place-items: center; color: rgba(87,180,240,.52); font-size: 47px; }
.is-update .fpa-entry-cover > span { color: rgba(73,199,131,.5); }
.is-maintenance .fpa-entry-cover > span { color: rgba(255,183,46,.5); }
.fpa-entry-card-body { min-width: 0; padding: 19px 21px 18px; }
.fpa-entry-card-body > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.fpa-entry-card h2 a { color: inherit !important; }
.fpa-entry-card h2 a:hover { color: #72c1f3 !important; }
.fpa-entry-summary { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.fpa-entry-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fpa-entry-actions .fpa-entry-action { margin-top: 0; }
.fpa-entry-action.is-primary { min-width: 116px; justify-content: center; }
.fpa-entry-action.is-secondary { border-color: rgba(255,255,255,.07); background: rgba(255,255,255,.025); color: #949ba4 !important; }

.fpa-detail-page { max-width: 1180px; margin: 0 auto; }
.fpa-detail-breadcrumb { display: flex; align-items: center; gap: 9px; margin-bottom: 16px; color: #5f6670; font-size: 10px; }
.fpa-detail-breadcrumb a { display: inline-flex; align-items: center; gap: 6px; color: #78c4f3 !important; }
.fpa-detail-breadcrumb b { color: #8d949d; font-weight: 500; }
.fpa-article { overflow: hidden; border: 1px solid rgba(255,255,255,.065); border-radius: 13px; background: var(--fpd-raisin); box-shadow: 0 24px 55px rgba(0,0,0,.18); }
.fpa-article-header { position: relative; overflow: hidden; padding: clamp(26px, 4vw, 54px) clamp(22px, 5vw, 70px) 34px; border-bottom: 1px solid rgba(255,255,255,.06); background: radial-gradient(circle at 88% 5%, rgba(33,150,243,.12), transparent 35%), #1b1d22; }
.fpa-article-header::after { position: absolute; top: -110px; right: -70px; width: 290px; height: 290px; border: 1px solid rgba(87,180,240,.08); border-radius: 50%; content: ""; }
.fpa-article-header > * { position: relative; z-index: 1; }
.fpa-article-header h1 { max-width: 860px; margin: 20px 0 13px; color: #f5f7f9; font-size: clamp(27px, 4.3vw, 48px); font-weight: 550; line-height: 1.14; letter-spacing: -.035em; }
.fpa-article-header > p { max-width: 780px; margin: 0; color: #9aa1aa; font-size: 13px; line-height: 1.75; }
.fpa-article-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.fpa-article-meta span, .fpa-article-meta time { display: inline-flex; align-items: center; gap: 6px; color: #757d87; font-size: 9px; }
.fpa-article-meta i { color: #56b2eb; font-size: 14px; }
.fpa-article-content { max-width: 920px; margin: 0 auto; padding: clamp(28px, 4vw, 54px) clamp(22px, 5vw, 66px) 60px; color: #b4bac2; font-size: 14px; line-height: 1.85; }
.fpa-article-cover { overflow: hidden; max-width: 1040px; margin: 34px auto 0; padding: 0 34px; }
.fpa-article-cover img { display: block; width: 100%; max-height: 520px; object-fit: cover; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; }
.fpa-article-content > :first-child { margin-top: 0; }
.fpa-article-content > :last-child { margin-bottom: 0; }
.fpa-article-content h1, .fpa-article-content h2, .fpa-article-content h3, .fpa-article-content h4, .fpa-article-content h5, .fpa-article-content h6 { margin: 1.7em 0 .65em; color: #edf1f4; font-weight: 550; line-height: 1.3; }
.fpa-article-content h1 { font-size: 30px; }
.fpa-article-content h2 { font-size: 24px; }
.fpa-article-content h3 { font-size: 19px; }
.fpa-article-content p { margin: 0 0 1.25em; }
.fpa-article-content a { color: #65bcf1 !important; text-decoration: underline; text-underline-offset: 3px; }
.fpa-article-content img, .fpa-article-content video, .fpa-article-content iframe { display: block; max-width: 100%; margin: 26px auto; border: 1px solid rgba(255,255,255,.08); border-radius: 11px; background: #111319; }
.fpa-article-content img { height: auto; }
.fpa-article-content video, .fpa-article-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; min-height: 320px; }
.fpa-article-content figure { max-width: 100%; margin: 28px auto; }
.fpa-article-content figure img { margin-bottom: 8px; }
.fpa-article-content figcaption { color: #747c86; font-size: 10px; text-align: center; }
.fpa-article-content blockquote { margin: 28px 0; padding: 18px 22px; border-left: 3px solid #4eade8; border-radius: 0 9px 9px 0; background: rgba(33,150,243,.055); color: #c3c8ce; }
.fpa-article-content ul, .fpa-article-content ol { margin: 0 0 1.35em; padding-left: 24px; }
.fpa-article-content li { margin: 5px 0; }
.fpa-article-content table { display: block; overflow-x: auto; width: 100%; margin: 26px 0; border-collapse: collapse; }
.fpa-article-content th, .fpa-article-content td { padding: 10px 12px; border: 1px solid rgba(255,255,255,.09); text-align: left; }
.fpa-article-content th { background: rgba(255,255,255,.04); color: #e4e8ec; }
.fpa-article-content pre { overflow-x: auto; padding: 16px; border-radius: 9px; background: #111319; color: #b8d7ea; }
.fpa-article-footer { display: flex; max-width: 920px; margin: -24px auto 0; padding: 0 clamp(22px, 5vw, 66px) 52px; }
.fpa-article-footer a { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid rgba(33,150,243,.2); border-radius: 8px; background: rgba(33,150,243,.07); color: #69bdf1 !important; font-size: 10px; font-weight: 500; }
.fpa-related { margin-top: 30px; }
.fpa-related > header span { color: #57b4f0; font-size: 8px; letter-spacing: .1em; }
.fpa-related > header h2 { margin: 5px 0 14px; color: #edf0f3; font-size: 20px; font-weight: 500; }
.fpa-related > div { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; }
.fpa-related > div > a { display: grid; min-width: 0; padding: 18px; border: 1px solid rgba(255,255,255,.06); border-radius: 10px; background: var(--fpd-raisin); }
.fpa-related a small { color: #69717b; font-size: 8px; }
.fpa-related a strong { overflow: hidden; margin-top: 8px; color: #e3e7ea; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.fpa-related a span { display: -webkit-box; overflow: hidden; min-height: 34px; margin-top: 7px; color: #858c95; font-size: 10px; line-height: 1.65; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.fpa-related a b { display: inline-flex; align-items: center; gap: 6px; margin-top: 13px; color: #60b7ed; font-size: 9px; font-weight: 500; }

@media (max-width: 850px) {
    body.fp-client-app-body .fpa-entry-card { grid-template-columns: 150px minmax(0, 1fr); }
    .fpa-entry-cover, .fpa-entry-cover img, .fpa-entry-cover > span { min-height: 180px; }
    .fpa-related > div { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    body.fp-client-app-body .fpa-entry-card { grid-template-columns: 1fr; padding: 0; }
    .fpa-entry-cover, .fpa-entry-cover img, .fpa-entry-cover > span { min-height: 150px; max-height: 180px; }
    .fpa-entry-card-body { padding: 16px 14px; }
    .fpa-entry-card-body > header { flex-direction: column; }
    .fpa-article-header { padding: 25px 18px; }
    .fpa-article-header h1 { font-size: 27px; }
    .fpa-article-content { padding: 28px 18px 42px; font-size: 13px; }
    .fpa-article-cover { margin-top: 20px; padding: 0 18px; }
    .fpa-article-content video, .fpa-article-content iframe { min-height: 190px; }
    .fpa-article-footer { margin-top: -14px; padding: 0 18px 38px; }
}
