body {
    background: #0f172a;
    color: white;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.page-shell {
    width: 96%;
    max-width: 1600px;
    margin: 20px auto;
}

.sticky-shell {
    position: sticky;
    top: 12px;
    z-index: 90;
    margin-bottom: 18px;
    background: rgba(30, 41, 59, 0.94);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: 0 0 20px rgba(0, 0, 0, .25);
}

.topbar-unified {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 16px;
    align-items: start;
}

.topbar-brand-area {
    display: flex;
    align-items: center;
    min-width: 0;
    padding-top: 4px;
}

.topbar-controls-area {
    min-width: 0;
}

.topbar-actions-area {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-top: 2px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #f8fafc;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    border: 1px solid rgba(255, 255, 255, .08);
    flex-shrink: 0;
}

.brand-text {
    font-size: 22px;
    line-height: 1;
    letter-spacing: .2px;
    white-space: nowrap;
}

.topbar-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.topbar-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    text-decoration: none;
    font-size: 19px;
    position: relative;
    transition: .2s ease;
    border: 1px solid rgba(255, 255, 255, .08);
}

.topbar-icon:hover {
    background: rgba(255, 255, 255, .12);
    transform: translateY(-1px);
}

.notif-icon {
    color: #94a3b8;
}

.settings-icon {
    color: #60a5fa;
}

.notif-icon.notif-active {
    color: #22c55e;
    animation: notifPulse 1.2s infinite;
}

@keyframes notifPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.10); }
    100% { transform: scale(1); }
}

.notif-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #22c55e;
    color: #0f172a;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 18px;
    box-shadow: 0 0 0 2px #1e293b;
}

.topbar-logout-btn {
    padding: 9px 14px;
    min-height: 40px;
}

.topbar-admin-link {
    min-height: 40px;
    padding: 0 13px;
    border-radius: 12px;
    border: 1px solid rgba(248, 207, 89, 0.18);
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.16), rgba(15, 23, 42, 0.92));
    color: #dbeafe;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.16);
}

.topbar-admin-link:hover,
.topbar-admin-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(248, 207, 89, 0.32);
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.22), rgba(15, 23, 42, 0.94));
    color: #f8fafc;
}

.dashboard-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
}

.left-panel,
.center-panel,
.right-panel {
    min-width: 0;
}

.steam-profile-card,
.hero-card,
.progress-card,
.controls-card,
.mini-card,
.news-section {
    background: #1e293b;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .18);
}

.steam-profile-card {
    padding: 18px;
    margin-bottom: 18px;
}

.steam-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.steam-user-main h2 {
    margin: 0 0 6px 0;
}

.muted {
    color: #cbd5e1;
}

.small {
    font-size: 12px;
}

.dot-online {
    width: 10px;
    height: 10px;
    background: #22c55e;
    border-radius: 999px;
    display: inline-block;
}

.steam-status-line {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 8px;
}

.hero-card {
    display: grid;
    grid-template-columns: 120px 1fr 220px;
    gap: 16px;
    padding: 18px;
    align-items: center;
}

.hero-avatar-box {
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 12px;
    background: #0f172a;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding: 8px;
}

.hero-avatar-image {
    width: 100%;
    max-width: 104px;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
    border-radius: 14px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, .35);
}

.hero-avatar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
}

.hero-avatar-placeholder-icon {
    font-size: 32px;
    line-height: 1;
}

.hero-avatar-placeholder-label {
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #94a3b8;
}

.hero-center h1 {
    margin: 0 0 6px 0;
    font-size: 34px;
    line-height: 1.08;
    max-width: 12ch;
}

.hero-subtitle {
    margin: 0;
    color: #cbd5e1;
    max-width: 60ch;
}

.hero-right {
    text-align: right;
}

.hero-meta {
    font-size: 12px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.hero-kicker-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-inline-status {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 600;
}

.progress-card {
    margin-top: 16px;
    position: relative;
    display: grid;
    gap: 12px;
    padding: 18px 20px;
    text-align: center;
    border-radius: 22px;
    border: 1px solid rgba(96, 165, 250, 0.1);
    background: linear-gradient(180deg, rgba(18, 28, 45, 0.98), rgba(10, 16, 28, 0.98));
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.14);
    overflow: hidden;
}

.progress-card::before {
    display: none;
}

.status {
    margin: 0;
    color: #facc15;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-wrap: balance;
}

.progress-wrapper {
    width: 100%;
    max-width: 980px;
    margin: 2px auto 0;
    padding: 2px;
    background: rgba(8, 15, 28, 0.88);
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: inset 0 1px 2px rgba(2, 6, 23, 0.18);
}

.progress-bar {
    position: relative;
    height: 10px;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(79, 140, 255, 0.96) 0%,
        rgba(56, 189, 248, 1) 38%,
        rgba(125, 211, 252, 0.98) 52%,
        rgba(56, 189, 248, 1) 66%,
        rgba(79, 140, 255, 0.96) 100%
    );
    background-size: 180% 100%;
    transition: width .35s ease;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.16);
    animation: progress-flow 2.6s linear infinite;
}

.progress-bar::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.16) 50%, transparent 100%);
    opacity: 0.55;
    mix-blend-mode: screen;
}

#progress-text {
    margin: 0;
    color: #c7d3e6;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-wrap: balance;
}

@keyframes progress-flow {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 180% 50%;
    }
}

.controls-card {
    padding: 14px;
    backdrop-filter: blur(0);
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .05);
    border-radius: 14px;
    box-shadow: none;
}

.controls-row {
    display: grid;
    grid-template-columns: 1.3fr 1.2fr auto auto auto auto;
    gap: 12px;
    align-items: start;
}

.unified-controls-row {
    grid-template-columns: minmax(220px, 1.15fr) minmax(240px, 1fr) auto auto auto auto;
    gap: 10px;
    align-items: start;
}

.inline-refresh-form {
    margin: 0;
}

input,
select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: #0f172a;
    color: white;
    box-sizing: border-box;
}

.tag-picker-container {
    position: relative;
    width: 100%;
}

.tag-picker-wrap {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.tag-suggestions {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
    background: #08101f;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.tag-suggestions.show {
    display: block;
}

.tag-suggestion-item {
    padding: 10px 12px;
    cursor: pointer;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-suggestion-item:hover,
.tag-suggestion-item.active {
    background: #1d4ed8;
}

.active-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.active-tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #1d4ed8;
    font-size: 13px;
}

.active-tag-chip button {
    margin: 0;
    padding: 0;
    width: 18px;
    height: 18px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .18);
    color: white;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    color: white;
    cursor: pointer;
    white-space: nowrap;
}

.btn-blue { background: #2563eb; }
.btn-green { background: #16a34a; }
.btn-slate { background: #334155; }
.btn-brown { background: #7c2d12; }
.btn-relevant { background: #eab308; color: #111827; }
.btn-remove { background: #64748b; }

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, .18);
}

.search-results-block {
    display: none;
    margin-top: 22px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: rgba(255, 255, 255, .04);
    padding: 12px 16px;
    border-radius: 12px;
}

.section-left,
.section-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.count-badge {
    background: rgba(255, 255, 255, .10);
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 13px;
    color: #cbd5e1;
}

.chevron {
    font-size: 18px;
    color: #cbd5e1;
    transition: transform .2s ease;
}

details[open] .chevron {
    transform: rotate(180deg);
}

.section-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-top: 14px;
}

.section-sort {
    min-width: 220px;
}

details {
    margin-top: 22px;
}

summary {
    list-style: none;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.game-card {
    background: #103247b6;
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    color: white;
    box-shadow: 0 0 20px rgba(26, 85, 122, 0.45);
    border: 1px solid rgba(255, 255, 255, .10);
}

.game-card.relevant {
    border: 2px solid #facc15;
    box-shadow: 0 0 16px rgba(250, 204, 21, .25);
}

.game-card.hidden-by-filter {
    display: none;
}

.game-card-link {
    text-decoration: none;
    color: white;
    display: block;
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
    background: #111827;
}

.game-card-content {
    padding: 12px;
}

.game-title {
    font-size: 16px;
    min-height: 44px;
}

.price {
    color: #22c55e;
    font-weight: bold;
}

.discount {
    color: #facc15;
    font-size: 13px;
    font-weight: bold;
}

.meta-grid {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 6px 10px;
    margin-top: 10px;
    font-size: 12px;
    align-items: start;
}

.meta-label {
    color: #94a3b8;
    text-transform: uppercase;
}

.meta-value {
    color: #60a5fa;
}

.review-negative { color: #ef4444; font-weight: bold; }
.review-mixed { color: #facc15; font-weight: bold; }
.review-positive { color: #86efac; font-weight: bold; }
.review-very-positive { color: #4ade80; font-weight: bold; }
.review-overwhelmingly-positive { color: #22c55e; font-weight: bold; }
.review-no-reviews { color: #94a3b8; font-weight: bold; }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag {
    background: rgba(255, 255, 255, .08);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, .12);
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    line-height: 1.2;
    white-space: nowrap;
}

.unavailable-reason {
    color: #fca5a5;
    font-size: 12px;
    margin-top: 8px;
}

.appid {
    color: #94a3b8;
    font-size: 12px;
    margin-top: 8px;
}

.card-actions {
    padding: 0 12px 12px 12px;
}

.section-empty-dynamic {
    display: none;
    margin-top: 14px;
    color: #94a3b8;
}

.placeholder-box {
    min-height: 84px;
    margin-top: 16px;
    border-radius: 12px;
    background: #22304a;
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.news-section {
    margin-top: 22px;
    padding: 20px;
}

.news-section h2 {
    margin-top: 0;
    text-align: center;
    font-size: 38px;
    font-weight: 500;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.news-card {
    min-height: 120px;
}

.mini-card {
    padding: 18px;
    margin-bottom: 18px;
}

.mini-card.compact {
    padding: 16px;
}

.mini-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.online-badge {
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 12px;
}

.normal-sections.hidden-by-search {
    display: none;
}

.hidden {
    display: none !important;
}

.steam-connect-box {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.steam-connect-btn {
    font-size: 16px;
    padding: 12px 18px;
}

.wishlist-wrapper {
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.wishlist-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: .5px;
}

.wishlist-header {
    background: rgba(34, 197, 94, .06);
}

.wishlist-promo-end {
    color: #fcd34d;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

.store-day-wrapper {
    margin-top: 28px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
}

.store-day-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 28px;
    font-weight: 700;
    color: #e2e8f0;
    letter-spacing: .5px;
}

.store-day-header {
    background: rgba(59, 130, 246, .08);
}

.store-block {
    margin-top: 16px;
}

.store-loading {
    padding: 12px 0 8px 0;
    text-align: center;
    color: #cbd5e1;
}

.store-mini-progress {
    width: 100%;
    max-width: 560px;
    height: 10px;
    margin: 0 auto 12px auto;
    background: #0f172a;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .08);
}

.store-mini-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    transition: width .45s ease;
}

.store-carousel {
    position: relative;
    display: block;
}

.store-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: white;
    font-size: 26px;
    cursor: pointer;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.store-arrow.left {
    left: -10px;
}

.store-arrow.right {
    right: -10px;
}

.store-arrow:hover {
    background: rgba(30, 41, 59, 0.95);
}

.store-shelf {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding: 6px 24px 14px 24px;
    width: 100%;
    box-sizing: border-box;
    align-items: stretch;
    scrollbar-width: thin;
}

.store-shelf::-webkit-scrollbar {
    height: 10px;
}

.store-shelf::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.store-shelf::-webkit-scrollbar-thumb {
    background: rgba(120, 180, 255, 0.45);
    border-radius: 999px;
}

.promo-double-shelf {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    align-content: stretch;
}

.store-feature-card.horizontal,
.promo-double-shelf .store-feature-card.horizontal {
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 430px;
    display: flex;
    flex-direction: column;
    background: #08152d;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 10px rgba(0, 0, 0, .22);
    box-sizing: border-box;
}

.store-feature-card.horizontal:hover {
    transform: translateY(-2px);
    transition: .2s ease;
}

.store-feature-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.store-feature-image-wrap {
    width: 100%;
    height: 118px;
    overflow: hidden;
    background: #0b1220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.store-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: #0b1220;
}

.store-feature-tags {
    padding: 8px 10px 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-content: flex-start;
}

.store-feature-tags .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: 100%;
    flex: 0 0 auto;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
}

.store-feature-right {
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    gap: 8px;
    flex: 1;
}

.store-feature-topline {
    min-height: 26px;
    display: flex;
    align-items: center;
}

.store-promo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, .18);
    color: #bfdbfe;
    border: 1px solid rgba(147, 197, 253, .25);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.store-feature-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    word-break: break-word;
}

.store-feature-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 0;
}

.store-feature-discount {
    background: #4c6b22;
    color: #beee11;
    font-weight: bold;
    font-size: 13px;
    padding: 5px 8px;
    border-radius: 8px;
}

.store-feature-price {
    color: #22c55e;
    font-weight: bold;
    font-size: 14px;
}

.store-promo-end {
    margin: 0;
    color: #fcd34d;
    font-size: 12px;
    font-weight: 600;
}

.vertical-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-meta-line {
    display: grid;
    grid-template-columns: 76px 1fr;
    gap: 8px;
    align-items: start;
}

.store-meta-label {
    color: #cbd5e1;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.store-meta-value {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 600;
    word-break: break-word;
}

.store-meta-value.review-negative {
    color: #ef4444 !important;
    font-weight: 700;
}

.store-meta-value.review-mixed {
    color: #facc15 !important;
    font-weight: 700;
}

.store-meta-value.review-positive {
    color: #86efac !important;
    font-weight: 700;
}

.store-meta-value.review-very-positive {
    color: #4ade80 !important;
    font-weight: 700;
}

.store-meta-value.review-overwhelmingly-positive {
    color: #22c55e !important;
    font-weight: 700;
}

.store-meta-value.review-no-reviews {
    color: #94a3b8 !important;
    font-weight: 700;
}

.store-subtitle {
    margin: 8px 0 14px 0;
    font-size: 20px;
    font-weight: 600;
    color: #e2e8f0;
}

.all-free-title {
    margin-top: 26px;
}

.free-games-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.free-games-grid .store-feature-card.horizontal {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex: unset;
}

.free-games-grid .store-feature-image-wrap {
    height: 140px;
}

@media (max-width: 1100px) {
    .free-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .free-games-grid {
        grid-template-columns: 1fr;
    }
}

.store-owned-banner {
    margin-top: auto;
    margin-left: -12px;
    margin-right: -12px;
    margin-bottom: -12px;
    padding: 7px 10px;
    background: linear-gradient(90deg, #8fbf00, #a3d100);
    border-top: 1px solid rgba(0, 0, 0, .18);
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.store-owned-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, .18);
    color: #172000;
    font-weight: 900;
    font-size: 10px;
    padding: 5px 8px;
    border-radius: 3px;
    width: fit-content;
    white-space: nowrap;
}

.store-owned-text {
    color: #233100;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

.notifications-dropdown-wrap {
    position: relative;
    z-index: 120;
}

.notifications-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 420px;
    max-width: min(420px, 92vw);
    max-height: min(520px, calc(100vh - 92px));
    display: flex;
    flex-direction: column;
    background: #1e293b;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .38);
    overflow: hidden;
    z-index: 1200;
}

.notifications-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .04);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.notifications-dropdown-header span {
    font-size: 18px;
    font-weight: 700;
    color: #f8fafc;
}

.notifications-dropdown-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notifications-see-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    background: #334155;
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.notifications-see-all-btn:hover {
    background: #475569;
}

.notifications-read-all-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(96, 165, 250, 0.18);
    background: rgba(37, 99, 235, 0.12);
    color: #dbeafe;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.notifications-read-all-btn:hover {
    background: rgba(37, 99, 235, 0.18);
    border-color: rgba(96, 165, 250, 0.24);
}

.notifications-read-all-btn:disabled {
    opacity: 0.7;
    cursor: wait;
}

.notifications-dropdown-list {
    max-height: none;
    min-height: 0;
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notifications-dropdown-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    color: white;
    background: rgba(15, 23, 42, .75);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 12px;
    transition: .2s ease;
}

.notifications-dropdown-item-no-image {
    grid-template-columns: minmax(0, 1fr);
}

.notifications-dropdown-item:hover {
    background: rgba(30, 41, 59, .95);
    transform: translateY(-1px);
}

.notifications-dropdown-item.unread {
    border-color: rgba(34, 197, 94, .28);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, .10);
}

.notifications-dropdown-item-content {
    min-width: 0;
}

.notifications-dropdown-title {
    font-size: 15px;
    font-weight: 700;
    color: #f8fafc;
    line-height: 1.25;
    margin-bottom: 6px;
}

.notifications-dropdown-message {
    font-size: 13px;
    line-height: 1.4;
    color: #cbd5e1;
    margin-bottom: 8px;
}

.notifications-dropdown-date {
    font-size: 11px;
    color: #94a3b8;
}

.notifications-dropdown-empty {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #cbd5e1;
    border-radius: 12px;
    background: rgba(15, 23, 42, .68);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 18px;
}

.notifications-dropdown-thumb {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
    background: #0b1220;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.group-card {
    background: #1e293b;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255,255,255,.08);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: default;
    font-weight: bold;
    font-size: 18px;
}

.group-content {
    margin-top: 12px;
    transition: all 0.25s ease;
}

.group-content.hidden {
    display: none;
}

.group-member {
    padding: 6px 0;
    font-size: 14px;
}

.badge-admin {
    background: #2563eb;
    padding: 2px 6px;
    border-radius: 6px;
    font-size: 11px;
    margin-left: 6px;
}

.btn-red {
    background: #dc2626;
}

.group-wishlist-panel {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.group-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.group-stat-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
}

.group-stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
}

.group-stat-label {
    margin-top: 6px;
    font-size: 13px;
    color: #94a3b8;
    text-transform: uppercase;
}

.group-subsection h3 {
    margin: 0 0 14px 0;
    font-size: 20px;
    color: #e2e8f0;
}

.group-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.group-game-card {
    display: block;
    background: #0b1730;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    color: white;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 0 0 14px rgba(0, 0, 0, .18);
    transition: .2s ease;
}

.group-game-card:hover {
    transform: translateY(-2px);
    border-color: rgba(59, 130, 246, .35);
}

.group-game-card img {
    width: 100%;
    height: auto;
    display: block;
    background: #111827;
}

.group-game-content {
    padding: 12px;
}

.group-game-title {
    font-size: 16px;
    font-weight: 700;
    color: #f8fafc;
    min-height: 42px;
    margin-bottom: 8px;
}

.group-game-members {
    font-size: 13px;
    color: #93c5fd;
    margin-bottom: 10px;
    font-weight: 600;
}

.group-member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}

.group-game-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.group-discount {
    background: #4c6b22;
    color: #beee11;
    font-weight: 700;
    font-size: 12px;
    padding: 5px 8px;
    border-radius: 8px;
}

.group-price {
    color: #22c55e;
    font-weight: 700;
    font-size: 14px;
}

.group-top-badge {
    margin-top: 8px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 8px;
    text-align: center;
}

.group-game-card.highlight {
    border: 2px solid #f59e0b;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.4);
}

.group-wishlist-grid {
    margin-top: 14px;
}

.group-game-wishlist-card {
    position: relative;
}

.group-game-wishlist-card.group-top {
    border: 2px solid #ef4444;
    box-shadow: 0 0 18px rgba(239, 68, 68, .28);
}

.group-game-wishlist-card.group-top::after {
    content: "🔥";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, .88);
    border: 1px solid rgba(255, 255, 255, .12);
    font-size: 16px;
    z-index: 2;
}

.wishlist-group-badge {
    margin-bottom: 8px;
}

.group-subsection + .group-subsection {
    margin-top: 28px;
}

.group-subsection h3 {
    margin: 0 0 14px 0;
    font-size: 22px;
    color: #f8fafc;
}

.main-panel-section {
    margin-top: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .06);
    overflow: hidden;
}

.main-panel-summary {
    list-style: none;
    cursor: pointer;
    padding: 0;
}

.main-panel-summary::-webkit-details-marker {
    display: none;
}

.main-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, .03);
}

.main-panel-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.main-panel-title {
    font-size: 28px;
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.1;
}

.main-panel-meta {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.4;
}

.main-panel-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.main-panel-body {
    padding: 0 18px 18px 18px;
}

.main-panel-section .wishlist-wrapper,
.main-panel-section .store-day-wrapper {
    margin-top: 18px;
}

.main-panel-section > .main-panel-body > details:first-child {
    margin-top: 18px;
}

#steam-event-banner-container {
    margin-bottom: 18px;
}

.steam-event-banner {
    position: relative;
    display: block;
    width: 100%;
    margin-bottom: 18px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    text-decoration: none;
    background: #0b1220;
    min-height: 170px;
}

.steam-event-media {
    width: 100%;
    height: 170px;
    display: block;
    object-fit: cover;
    background: #0b1220;
}

.steam-event-banner video.steam-event-media {
    pointer-events: none;
}

.steam-event-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.88), rgba(5, 10, 20, 0.15));
    color: #fff;
}

.steam-event-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #8bd3ff;
    margin-bottom: 6px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.steam-event-overlay h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

@media (max-width: 800px) {
    .steam-event-banner {
        min-height: 180px;
    }

    .steam-event-media {
        min-height: 180px;
        max-height: 220px;
    }

    .steam-event-overlay h3 {
        font-size: 18px;
    }
}

.store-all-toggle-wrap {
    margin-top: 14px;
    margin-bottom: 14px;
    display: flex;
    justify-content: center;
}

.steam-store-sort-toolbar {
    justify-content: flex-end;
    margin-top: 14px;
    margin-bottom: 8px;
}

.steam-store-sort-toolbar .steam-section-sort {
    min-width: 240px;
}

.store-all-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 12px;
}

.store-all-grid.hidden {
    display: none;
}

.store-all-grid .store-feature-card.horizontal {
    min-width: 100%;
    max-width: 100%;
    width: 100%;
    flex: unset;
}

.store-all-grid .store-feature-image-wrap {
    height: 140px;
}

.store-all-grid .store-feature-image-wrap,
.free-games-grid .store-feature-image-wrap {
    height: 135px;
}

.store-all-grid .store-feature-image,
.free-games-grid .store-feature-image {
    object-fit: cover;
    object-position: center center;
}

.store-shelf.store-shelf-triple {
    scroll-snap-type: x proximity;
}

.store-shelf.store-shelf-triple .store-feature-card.horizontal {
    flex: 0 0 calc((100% - 28px) / 3);
    min-width: calc((100% - 28px) / 3);
    max-width: calc((100% - 28px) / 3);
    scroll-snap-align: start;
}

.store-day-wrapper .store-all-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1450px) {
    .topbar-unified {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .topbar-actions-area {
        justify-content: flex-start;
        padding-top: 0;
    }

    .unified-controls-row {
        grid-template-columns: 1fr;
    }

    .sticky-shell {
        position: static;
    }
}

@media (max-width: 1280px) {
    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-right {
        text-align: center;
    }

    .controls-row,
    .news-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .store-day-wrapper .store-all-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .store-shelf.store-shelf-triple .store-feature-card.horizontal {
        flex: 0 0 calc((100% - 14px) / 2);
        min-width: calc((100% - 14px) / 2);
        max-width: calc((100% - 14px) / 2);
    }

    .store-feature-card.horizontal,
    .promo-double-shelf .store-feature-card.horizontal {
        flex: 0 0 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .store-feature-image-wrap {
        height: 110px;
    }
}

@media (max-width: 900px) {
    .main-panel-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-panel-right {
        width: 100%;
        justify-content: flex-end;
    }

    .main-panel-title {
        font-size: 24px;
    }

    .group-mini-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .steam-store-sort-toolbar,
    .steam-store-sort-toolbar .steam-section-sort {
        width: 100%;
    }

    .store-day-wrapper .store-all-grid {
        grid-template-columns: 1fr;
    }

    .store-shelf.store-shelf-triple .store-feature-card.horizontal {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }

    .store-feature-card.horizontal,
    .promo-double-shelf .store-feature-card.horizontal {
        flex: 0 0 260px;
        min-width: 260px;
        max-width: 260px;
    }

    .store-feature-image-wrap {
        height: 104px;
    }

    .store-feature-right {
        padding: 10px;
    }

    .store-arrow {
        display: none;
    }
}

@media (max-width: 700px) {
    .notifications-dropdown {
        right: -40px;
        width: min(420px, 95vw);
    }
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.news-card-real {
    background: #0f1a2d;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 14px rgba(0, 0, 0, .18);
}

.news-card-link {
    text-decoration: none;
    color: white;
    display: block;
}

.news-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    background: #0b1220;
}

.news-card-body {
    padding: 14px;
}

.news-card-top {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.news-badge,
.news-type {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(255,255,255,.08);
    color: #cbd5e1;
}

.news-card-body h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    line-height: 1.25;
    color: #f8fafc;
}

.news-card-body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #cbd5e1;
}

.news-card-actions {
    display: flex;
    gap: 10px;
    padding: 0 14px 14px 14px;
    margin-top: auto;
}

.news-section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.news-section-header h2 {
    margin: 0;
    text-align: center;
}

.news-section-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.news-section-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.news-refresh-form {
    margin: 0;
}

@media (max-width: 800px) {
    .news-section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-section-toolbar {
        width: 100%;
    }
}

.news-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.news-filter {
    background: transparent;
    border: 1px solid #2c3440;
    color: #9ca3af;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.news-filter:hover {
    border-color: #3b82f6;
    color: #e5e7eb;
}

.news-filter.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

@media (max-width: 800px) {
    .news-section-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .news-section-toolbar {
        justify-content: flex-end;
    }
}

.news-date {
    margin-top: 10px;
    font-size: 12px;
    color: #94a3b8;
}

.news-card-date {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

.news-card .news-card-body h3 {
    margin-top: 4px;
}

.news-card .news-card-body p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-real {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.88);
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.news-card-real:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.35);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.centered-news-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    text-align: center;
}

.centered-news-header h2 {
    margin: 0;
}

.news-section-subtitle {
    margin: 0;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.4;
}

.news-section-toolbar {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 4px;
}

.news-filter {
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.04);
    color: #e2e8f0;
    padding: 8px 14px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    transition: .18s ease;
}

.news-filter:hover {
    background: rgba(255,255,255,.08);
}

.news-filter.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 14px;
}

.news-card-real {
    background: rgba(15, 23, 42, 0.92);
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.news-card-link {
    color: inherit;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: #0f172a;
}

.news-card-body {
    padding: 14px 14px 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.news-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

.news-badge {
    background: rgba(37, 99, 235, 0.14);
    color: #93c5fd;
    border: 1px solid rgba(59,130,246,.26);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .3px;
}

.news-type {
    color: #cbd5e1;
    font-size: 12px;
    text-transform: uppercase;
    opacity: .9;
}

.news-card-body h3 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    color: #f8fafc;
}

.news-card-body p {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: auto;
}

.news-date {
    color: #94a3b8;
    font-size: 12px;
}

.news-card-actions {
    display: flex;
    gap: 10px;
    padding: 12px 14px 14px 14px;
    border-top: 1px solid rgba(255,255,255,.05);
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-image {
        height: 170px;
    }
}

.news-section-upgraded {
    margin-top: 28px;
}

.news-panel-shell {
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 34%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.14), transparent 28%),
        rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.22);
}

.news-detail-card {
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 18px;
    margin-top: 16px;
    overflow: hidden;
}

.news-detail-card > summary {
    list-style: none;
}

.news-detail-card > summary::-webkit-details-marker {
    display: none;
}

.news-section-header-row {
    min-height: 72px;
    padding: 0 18px;
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(30, 41, 59, 0.72));
}

.news-section-header-row .section-left {
    font-size: 20px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.news-section-header-row .section-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-detail-card .news-grid,
.news-detail-card .store-all-grid,
.news-detail-card .news-empty-box {
    padding: 18px;
}

.news-empty-box {
    margin: 0;
}

.news-card-media {
    position: relative;
}

.news-card-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.82));
    pointer-events: none;
}

.news-category-chip {
    position: absolute;
    left: 14px;
    bottom: 12px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #e2e8f0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-source-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.news-card-real {
    position: relative;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.22);
}

.news-card-real:hover {
    border-color: rgba(96, 165, 250, 0.34);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.28);
}

.news-card-games {
    border-color: rgba(34, 197, 94, 0.16);
}

.news-card-game_updates {
    border-color: rgba(245, 158, 11, 0.16);
}

.news-card-hardware-deals {
    border-color: rgba(56, 189, 248, 0.16);
}

.news-card-image {
    height: 214px;
}

.news-card-body {
    padding: 16px 16px 12px 16px;
    gap: 12px;
}

.news-card-body h3 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.news-card-body p {
    color: #dbe4f2;
    font-size: 14px;
    line-height: 1.55;
    -webkit-line-clamp: 4;
}

.news-badge {
    background: rgba(37, 99, 235, 0.16);
    color: #bfdbfe;
}

.news-type {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.news-date {
    color: #93c5fd;
    font-size: 12px;
    font-weight: 700;
}

.news-card-actions {
    padding: 14px 16px 16px 16px;
    gap: 12px;
}

.news-card-actions .btn {
    min-height: 42px;
    border-radius: 12px;
    font-weight: 800;
    padding-inline: 14px;
}

@media (max-width: 900px) {
    .news-panel-shell {
        padding: 18px;
        border-radius: 20px;
    }

    .news-section-header-row .section-left {
        font-size: 18px;
    }
}

body {
    font-family: "Segoe UI", system-ui, sans-serif;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.2), transparent 24%),
        radial-gradient(circle at top right, rgba(14, 165, 233, 0.16), transparent 22%),
        linear-gradient(180deg, #07101d 0%, #0f172a 46%, #101c31 100%);
}

body.onboarding-open {
    overflow: hidden;
}

.page-shell {
    position: relative;
}

.sticky-shell,
.steam-profile-card,
.hero-card,
.progress-card,
.mini-card,
.main-panel-section,
.news-panel-shell {
    backdrop-filter: blur(20px);
}

.steam-profile-card,
.hero-card,
.progress-card,
.mini-card,
.main-panel-section {
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.topbar-icon,
.game-card,
.group-stat-card,
.news-card-real,
.notification-card,
.mini-card,
.steam-profile-card,
.hero-card,
.main-panel-section {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.topbar-icon:hover,
.mini-card:hover,
.steam-profile-card:hover,
.hero-card:hover,
.main-panel-section:hover {
    transform: translateY(-2px);
}

.btn {
    position: relative;
    overflow: hidden;
    font-weight: 800;
    letter-spacing: 0.01em;
    transition: transform 0.18s ease, filter 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    box-shadow: 0 14px 30px rgba(2, 6, 23, 0.16);
}

.btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

.btn:active {
    transform: translateY(0);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
}

.game-card:hover,
.news-card-real:hover {
    transform: translateY(-3px);
}

.hero-card-has-bg {
    position: relative;
    overflow: hidden;
}

.hero-media-layer {
    position: absolute;
    inset: 0 0 auto 0;
    height: 154px;
    z-index: 0;
    overflow: hidden;
}

.hero-media-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.52;
    filter: saturate(1.02);
}

.hero-card-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.92), rgba(7, 16, 29, 0.54)),
        var(--steam-hero-bg) center/cover no-repeat;
    opacity: 0.92;
}

.hero-card-has-video::before {
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.96), rgba(7, 16, 29, 0.62));
    opacity: 1;
}

.hero-card-has-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 26%),
        radial-gradient(circle at top center, rgba(255, 255, 255, 0.12), transparent 30%);
    pointer-events: none;
}

.hero-card > *:not(.hero-media-layer):not(.hero-profile-backdrop) {
    position: relative;
    z-index: 1;
}

.steam-profile-card {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.94));
}

.steam-profile-card-has-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.9), rgba(7, 16, 29, 0.92)),
        var(--steam-mini-bg) center/cover no-repeat;
    opacity: 0.82;
}

.steam-profile-card > * {
    position: relative;
    z-index: 1;
}

.steam-sidebar-card {
    padding: 20px;
    background:
        linear-gradient(180deg, rgba(23, 37, 64, 0.96), rgba(15, 23, 42, 0.96));
}

.steam-sidebar-header {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.steam-sidebar-avatar-wrap {
    position: relative;
    width: 96px;
    height: 96px;
}

.steam-sidebar-avatar-wrap .steam-avatar {
    width: 96px;
    height: 96px;
    border-radius: 12px;
}

.steam-sidebar-avatar-wrap .steam-avatar-frame {
    inset: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
}

.steam-sidebar-identity h2 {
    margin: 0 0 6px 0;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.steam-sidebar-panel {
    margin-top: 16px;
    padding: 14px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 23, 42, 0.18));
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.steam-sidebar-badge-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.steam-badge-chip {
    padding: 10px;
    border-radius: 12px;
    background: rgba(11, 18, 32, 0.46);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.steam-badge-chip span,
.steam-sidebar-metric span {
    display: block;
    font-size: 11px;
    color: #cbd5e1;
}

.steam-badge-chip strong,
.steam-sidebar-metric strong {
    display: block;
    margin-top: 4px;
    color: #f8fafc;
    font-size: 13px;
}

.steam-sidebar-metric-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 10px;
}

.steam-sidebar-metric {
    padding: 10px;
    border-radius: 12px;
    background: rgba(11, 18, 32, 0.38);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-sidebar-section-title {
    margin-bottom: 10px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 800;
}

.steam-sidebar-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    font-size: 13px;
}

.steam-sidebar-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.steam-sidebar-row strong {
    color: #f8fafc;
    text-align: right;
    font-size: 13px;
}

.steam-sidebar-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.hero-card.hero-card-clean {
    position: relative;
    display: grid;
    grid-template-columns: 176px minmax(0, 1fr);
    grid-template-areas:
        "avatar content";
    gap: 20px;
    align-items: start;
    min-height: 0;
    padding: 78px 22px 18px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 26%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
}

.hero-profile-backdrop {
    position: absolute;
    inset: 0 0 auto 0;
    min-height: 108px;
    z-index: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 30%),
        linear-gradient(180deg, rgba(7, 16, 29, 0.02), rgba(7, 16, 29, 0.52));
}

.hero-profile-backdrop-status {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 10px 16px;
    border-radius: 16px;
    background: rgba(20, 28, 43, 0.76);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 18px 30px rgba(2, 6, 23, 0.18);
}

.hero-profile-backdrop-status.steam-presence-online,
.hero-profile-backdrop-status.steam-presence-play,
.hero-profile-backdrop-status.steam-presence-trade {
    color: #86efac;
}

.hero-profile-backdrop-status.steam-presence-away {
    color: #fcd34d;
}

.hero-profile-backdrop-status.steam-presence-busy {
    color: #fda4af;
}

.hero-profile-backdrop-status.steam-presence-offline {
    color: #cbd5e1;
}

.hero-left-profile {
    grid-area: avatar;
    align-self: start;
    position: relative;
    z-index: 1;
    margin-top: 14px;
}

.hero-avatar-box-large {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 160px;
    width: 160px;
    padding: 6px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(34, 44, 62, 0.96), rgba(12, 18, 29, 0.98));
    border: 1px solid rgba(125, 211, 252, 0.14);
    box-shadow:
        0 22px 44px rgba(2, 6, 23, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 0 1px rgba(148, 163, 184, 0.06);
}

.hero-avatar-image-large {
    max-width: 142px;
    width: 142px;
    height: 142px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 8px 18px rgba(2, 6, 23, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    background: #0b1220;
    filter: contrast(1.04) saturate(0.94);
}

.hero-avatar-box-large::before {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.hero-avatar-box-large::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 28px;
    background: radial-gradient(circle at top, rgba(96, 165, 250, 0.18), transparent 58%);
    opacity: 0.46;
    z-index: -1;
    pointer-events: none;
}

.hero-avatar-frame-large {
    position: absolute;
    inset: -9px;
    width: calc(100% + 18px);
    height: calc(100% + 18px);
    object-fit: contain;
    pointer-events: none;
}

.hero-center.hero-center-clean {
    grid-area: content;
    align-self: start;
    min-width: 0;
    padding-top: 10px;
}

.hero-center-clean h1 {
    max-width: none;
    margin-bottom: 8px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    font-size: clamp(38px, 4vw, 54px);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.hero-profile-quote {
    margin-top: 4px;
    color: rgba(226, 232, 240, 0.84);
    font-size: 12px;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    max-width: 54ch;
}

.hero-kicker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}

.hero-subtitle {
    max-width: 720px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(226, 232, 240, 0.88);
}

.hero-card-clean .hero-subtitle,
.hero-card-clean .hero-kicker-row,
.hero-card-clean .hero-action-row,
.hero-card-clean .hero-stat-row,
.hero-card-clean .hero-focus-strip {
    position: relative;
    z-index: 1;
}

.hero-stat-row {
    gap: 10px;
    margin-top: 14px;
}

.hero-stat-row-clean .hero-stat-chip {
    min-width: 142px;
    padding: 12px 14px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(12, 18, 29, 0.94), rgba(9, 14, 24, 0.92));
    border: 1px solid rgba(96, 165, 250, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 24px rgba(2, 6, 23, 0.14);
}

.hero-stat-chip strong {
    font-size: clamp(24px, 2.1vw, 32px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.hero-stat-chip span {
    margin-top: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
}

.hero-stat-chip-saved {
    border-color: rgba(148, 163, 184, 0.16);
}

.hero-stat-chip-sale {
    background:
        linear-gradient(180deg, rgba(11, 30, 24, 0.96), rgba(7, 22, 19, 0.92));
    border-color: rgba(34, 197, 94, 0.24);
    box-shadow:
        inset 0 1px 0 rgba(134, 239, 172, 0.06),
        0 12px 26px rgba(2, 6, 23, 0.16);
}

.hero-stat-chip-sale strong {
    color: #dcfce7;
}

.hero-stat-chip-sale span {
    color: #a7f3d0;
}

.hero-stat-chip-activity {
    border-color: rgba(125, 211, 252, 0.18);
}

.hero-inline-status {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(17, 24, 39, 0.62);
    border: 1px solid rgba(125, 211, 252, 0.12);
    color: #f8fafc;
    font-size: 12px;
    font-weight: 800;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 24px rgba(2, 6, 23, 0.12);
}

.hero-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.hero-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: #cbd5e1;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.hero-meta-pill-muted {
    color: #e2e8f0;
}

.hero-meta-pill-link:hover {
    border-color: rgba(96, 165, 250, 0.24);
    color: #f8fafc;
}

.steam-friends-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.steam-friends-filter {
    width: auto;
    min-width: 132px;
    height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.62);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
}

.steam-friend-item.hidden-by-filter {
    display: none;
}

.steam-friends-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.steam-friends-header {
    cursor: default;
}

.steam-friends-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.steam-friends-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.steam-friends-content.hidden {
    display: none;
}

.steam-friends-header h3 {
    margin: 0;
}

.steam-friends-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #94a3b8;
    font-size: 12px;
}

.steam-friends-summary span {
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.steam-friends-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.steam-friends-section-title {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.steam-friends-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 340px;
    overflow-y: auto;
    padding-right: 4px;
}

.steam-friend-item {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    text-decoration: none;
    color: #f8fafc;
    background: rgba(15, 23, 42, 0.58);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-friend-item:hover {
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-1px);
}

.steam-friend-avatar {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
    background: #0b1220;
}

.steam-friend-content {
    min-width: 0;
}

.steam-friend-name {
    font-size: 14px;
    font-weight: 700;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.steam-friend-status,
.steam-friend-substatus {
    font-size: 12px;
    line-height: 1.35;
}

.steam-friend-substatus {
    color: #94a3b8;
}

.steam-friend-online,
.steam-friend-in-game {
    color: #86efac;
}

.steam-friend-away,
.steam-friend-play,
.steam-friend-trade {
    color: #fcd34d;
}

.steam-friend-busy {
    color: #fda4af;
}

.steam-friend-offline,
.steam-friend-item-offline .steam-friend-name {
    color: #cbd5e1;
}

.steam-friends-private-card {
    padding: 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-friends-private-title {
    margin-bottom: 8px;
    font-size: 15px;
    font-weight: 800;
    color: #f8fafc;
}

.steam-friends-private-card p {
    margin: 0 0 14px 0;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.steam-friends-empty {
    padding: 16px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.56);
    border: 1px solid rgba(148, 163, 184, 0.08);
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.steam-avatar-frame-wrap {
    position: relative;
    width: 148px;
    margin: 0 auto 18px auto;
}

.steam-avatar {
    width: 148px;
    height: 148px;
    border-radius: 22px;
    object-fit: cover;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 18px 36px rgba(2, 6, 23, 0.24);
    background: #0f172a;
}

.steam-avatar-frame {
    position: absolute;
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    object-fit: contain;
    pointer-events: none;
}

.steam-user-kicker,
.mini-card-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 800;
}

.steam-user-main h2 {
    font-size: 28px;
    letter-spacing: -0.03em;
}

.steam-profile-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.steam-profile-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
}

.steam-profile-pill-muted {
    color: #dbeafe;
}

.steam-presence-online {
    background: rgba(34, 197, 94, 0.14);
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.24);
}

.steam-presence-connected {
    background: rgba(59, 130, 246, 0.14);
    color: #dbeafe;
    border-color: rgba(96, 165, 250, 0.24);
}

.steam-presence-busy {
    background: rgba(239, 68, 68, 0.14);
    color: #fecaca;
    border-color: rgba(252, 165, 165, 0.22);
}

.steam-presence-away,
.steam-presence-trade,
.steam-presence-play {
    background: rgba(250, 204, 21, 0.14);
    color: #fde68a;
    border-color: rgba(253, 230, 138, 0.2);
}

.steam-presence-offline {
    background: rgba(148, 163, 184, 0.12);
    color: #cbd5e1;
}

.steam-dot-idle {
    background: #94a3b8;
}

.steam-profile-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.steam-profile-stat {
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-profile-stat span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.steam-profile-stat strong {
    font-size: 14px;
    color: #f8fafc;
}

.steam-identity-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}

.steam-identity-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.steam-identity-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
}

.steam-identity-value {
    font-size: 13px;
    color: #e2e8f0;
    word-break: break-all;
    text-align: right;
}

.steam-summary-card {
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.9));
}

.group-card {
    background:
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
}

.group-card-headline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.group-card-headline p {
    margin: 0;
}

.group-owner-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(253, 230, 138, 0.18);
    white-space: nowrap;
}

.group-code-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: #bfdbfe;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.group-share-panel {
    margin: 14px 0 16px 0;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.group-share-label {
    margin-bottom: 10px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #93c5fd;
    font-weight: 800;
}

.group-share-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.group-share-input {
    min-width: 0;
    font-size: 13px;
    color: #dbeafe;
}

.group-share-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.group-form-block {
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.group-form-hint {
    margin: 8px 0 0 0;
    line-height: 1.5;
}

.copy-feedback-btn.is-copied {
    background: #16a34a;
    border-color: #16a34a;
    color: #fff;
}

.online-badge {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.16);
}

.main-panel-title,
.wishlist-title,
.store-day-title {
    letter-spacing: -0.03em;
}

.news-card-body h3 {
    font-size: 19px;
    line-height: 1.32;
}

.news-card-image {
    height: 208px;
}

.news-card-actions .btn {
    min-height: 40px;
}

@media (max-width: 1280px) {
    .steam-profile-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .steam-profile-stats,
    .group-share-row {
        grid-template-columns: 1fr;
    }

    .group-card-headline {
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .topbar-icon,
    .game-card,
    .news-card-real,
    .mini-card,
    .steam-profile-card,
    .hero-card,
    .main-panel-section,
    .btn {
        transition: none;
    }
}

@keyframes panelRise {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.sticky-shell,
.steam-profile-card,
.mini-card,
.hero-card,
.main-panel-section,
.news-panel-shell {
    animation: panelRise 0.45s ease both;
}

input,
select,
textarea {
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(2, 6, 23, 0.54);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(96, 165, 250, 0.38);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
    transform: translateY(-1px);
}

.topbar-unified,
.main-panel-header,
.section-header,
.group-share-panel,
.hero-meta-card,
.steam-profile-stat,
.steam-identity-chip,
.wishlist-wrapper,
.store-day-wrapper,
.group-stat-card {
    position: relative;
}

.main-panel-header::after,
.section-header::after,
.group-share-panel::after,
.steam-profile-stat::after,
.hero-meta-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 46%);
    pointer-events: none;
}

.main-panel-header {
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34%),
        rgba(255, 255, 255, 0.035);
}

.main-panel-title {
    font-size: 30px;
}

.main-panel-meta {
    max-width: 720px;
}

.wishlist-wrapper,
.store-day-wrapper {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02));
    border-color: rgba(148, 163, 184, 0.1);
}

.section-header {
    background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.wishlist-header {
    background:
        linear-gradient(180deg, rgba(34, 197, 94, 0.12), rgba(255,255,255,0.03));
}

.store-day-header {
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.14), rgba(255,255,255,0.03));
}

.search-results-block .section-header {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), rgba(255,255,255,0.03));
}

.count-badge {
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.hero-card {
    grid-template-columns: 120px minmax(0, 1fr) 240px;
    min-height: 236px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.18), transparent 28%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
}

.hero-eyebrow {
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #93c5fd;
    font-weight: 800;
}

.hero-center h1 {
    font-size: clamp(32px, 3vw, 44px);
    line-height: 1.02;
    letter-spacing: -0.04em;
}

.hero-subtitle {
    max-width: 640px;
    font-size: 15px;
    line-height: 1.6;
}

.hero-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-stat-chip {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 110px;
    padding: 12px 14px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.42);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero-stat-chip strong {
    font-size: 20px;
    color: #f8fafc;
}

.hero-stat-chip span {
    font-size: 12px;
    color: #cbd5e1;
}

.hero-stat-row-compact .hero-stat-chip {
    min-width: 108px;
}

.hero-stat-chip-highlight {
    background: linear-gradient(180deg, rgba(22, 163, 74, 0.24), rgba(6, 78, 59, 0.42));
    border-color: rgba(74, 222, 128, 0.24);
}

.hero-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-action-row-stacked {
    margin-top: 0;
}

.hero-side-stack {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
}

.hero-meta-card {
    padding: 14px;
    border-radius: 16px;
    background: rgba(2, 6, 23, 0.44);
    border: 1px solid rgba(148, 163, 184, 0.14);
    text-align: left;
}

.hero-meta-card span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #93c5fd;
    font-weight: 800;
}

.hero-meta-card strong {
    font-size: 13px;
    line-height: 1.45;
    color: #f8fafc;
}

.game-card,
.store-feature-card.horizontal,
.group-stat-card {
    background:
        linear-gradient(180deg, rgba(16, 50, 71, 0.9), rgba(8, 21, 45, 0.98));
}

.game-card {
    border-radius: 18px;
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.22);
}

.game-card:hover {
    border-color: rgba(96, 165, 250, 0.22);
    box-shadow: 0 22px 40px rgba(2, 6, 23, 0.28);
}

.game-card img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #111827;
}

.game-card-content {
    padding: 14px;
}

.game-title {
    font-size: 17px;
    line-height: 1.35;
    min-height: 46px;
    letter-spacing: -0.01em;
}

.price,
.discount {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    margin-top: 10px;
}

.price {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.18);
}

.discount {
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(253, 230, 138, 0.16);
}

.tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.store-feature-card.horizontal {
    border-radius: 20px;
    box-shadow: 0 22px 38px rgba(2, 6, 23, 0.24);
}

.store-feature-card.horizontal:hover {
    border-color: rgba(96, 165, 250, 0.24);
    box-shadow: 0 24px 42px rgba(2, 6, 23, 0.28);
}

.store-arrow {
    backdrop-filter: blur(10px);
    transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.store-arrow:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.28);
}

.group-stat-card {
    overflow: hidden;
}

.group-stat-value {
    letter-spacing: -0.04em;
}

.news-panel-shell {
    box-shadow: 0 28px 48px rgba(2, 6, 23, 0.28);
}

.news-detail-card {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.5));
}

.news-card-body h3 {
    font-size: 18px;
    line-height: 1.34;
}

.news-card-body p {
    font-size: 13px;
}

.news-card-image {
    height: 198px;
}

@media (max-width: 1280px) {
    .hero-card {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .hero-action-row,
    .hero-stat-row {
        justify-content: center;
    }

    .hero-kicker-row {
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-inline-status {
        justify-content: center;
    }

    .hero-meta-pills {
        justify-content: flex-start;
    }

    .hero-side-stack {
        width: 100%;
    }

    .steam-sidebar-header,
    .hero-card-clean {
        grid-template-columns: 1fr;
    }

    .hero-card-clean {
        grid-template-areas:
            "avatar"
            "content";
        gap: 18px;
        padding: 88px 18px 20px;
        grid-template-columns: 1fr;
    }

    .hero-left-profile {
        margin-top: 18px;
        justify-self: start;
    }

    .hero-center.hero-center-clean {
        padding-top: 0;
    }

    .hero-profile-backdrop {
        min-height: 118px;
    }

    .hero-stat-row-clean .hero-stat-chip {
        min-width: 0;
    }

    .hero-profile-backdrop-status {
        top: 14px;
        right: 14px;
        padding: 10px 14px;
        font-size: 14px;
    }

    .steam-sidebar-avatar-wrap {
        margin: 0 auto;
    }

    .steam-sidebar-identity,
    .hero-center-clean {
        text-align: center;
    }

    .steam-sidebar-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .steam-sidebar-row strong {
        text-align: left;
    }

    .steam-sidebar-badge-strip,
    .steam-sidebar-metric-list {
        grid-template-columns: 1fr;
    }

    .steam-friends-list {
        max-height: none;
    }
}

/* Passo fino de escala e atmosfera para o dashboard principal. */
body {
    font-family: "Segoe UI Variable Text", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    letter-spacing: -0.01em;
}

body.has-steam-site-bg::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.82), rgba(7, 16, 29, 0.9)),
        var(--steam-site-bg) center top / cover no-repeat;
    opacity: 0.34;
    filter: saturate(1.05) blur(1px);
}

.page-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(59, 130, 246, 0.06), transparent 24%),
        repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.045) 0 1px, transparent 1px 120px),
        repeating-linear-gradient(0deg, rgba(148, 163, 184, 0.03) 0 1px, transparent 1px 120px);
    mask-image: radial-gradient(circle at top center, rgba(0, 0, 0, 0.78), transparent 80%);
    opacity: 0.42;
}

.page-shell > * {
    position: relative;
    z-index: 1;
}

.brand-text,
.main-panel-title,
.wishlist-title,
.store-day-title,
.hero-center h1,
.group-header h3,
.news-section-header h2 {
    font-family: "Segoe UI Variable Display", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.btn {
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 12px;
    font-size: 13px;
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.14);
}

.btn::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 32%, transparent 72%, rgba(255, 255, 255, 0.08));
    opacity: 0;
    transition: opacity 0.18s ease;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(2, 6, 23, 0.2);
}

.btn:hover::after {
    opacity: 1;
}

.topbar-actions .btn,
.hero-action-row .btn,
.group-card .btn,
.news-card-actions .btn,
.store-all-toggle-btn {
    min-height: 36px;
    padding-inline: 13px;
}

.main-panel-title {
    font-size: 26px;
}

.main-panel-meta {
    font-size: 12.5px;
}

.wishlist-title,
.store-day-title {
    font-size: 24px;
}

.hero-card {
    grid-template-columns: 108px minmax(0, 1fr) 216px;
    min-height: 220px;
    gap: 14px;
    padding: 16px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 24%),
        radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(30, 41, 59, 0.96), rgba(15, 23, 42, 0.92));
}

.hero-center h1 {
    font-size: clamp(28px, 2.5vw, 38px);
    line-height: 1;
}

.hero-subtitle {
    max-width: 560px;
    font-size: 14px;
    line-height: 1.55;
}

.hero-stat-row {
    gap: 8px;
    margin-top: 16px;
}

.hero-stat-chip {
    min-width: 96px;
    padding: 10px 12px;
    border-radius: 14px;
}

.hero-stat-chip strong {
    font-size: 18px;
}

.hero-stat-chip span {
    font-size: 11px;
}

.hero-action-row,
.hero-side-stack {
    gap: 8px;
}

.hero-meta-card {
    padding: 12px 13px;
    border-radius: 14px;
}

.hero-meta-card strong {
    font-size: 12.5px;
}

.steam-event-banner {
    min-height: 188px;
    border-radius: 20px;
    border-color: rgba(96, 165, 250, 0.16);
    box-shadow: 0 20px 36px rgba(2, 6, 23, 0.24);
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.18), transparent 26%),
        #0b1220;
}

.steam-event-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), transparent 46%, rgba(16, 185, 129, 0.12));
    mix-blend-mode: screen;
    opacity: 0.78;
    pointer-events: none;
}

.steam-event-media {
    height: 188px;
    filter: saturate(1.04) contrast(1.02);
    object-position: center top;
}

.steam-event-overlay {
    padding: 16px;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.92), rgba(5, 10, 20, 0.08));
    backdrop-filter: blur(6px);
}

.steam-event-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.steam-event-label {
    margin-bottom: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.2);
    font-size: 11px;
    letter-spacing: 0.08em;
}

.steam-event-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #dbeafe;
}

.steam-event-cta::after {
    content: "\2197";
    font-size: 12px;
}

.steam-event-overlay h3 {
    max-width: 460px;
    font-size: 20px;
    letter-spacing: -0.03em;
}

.steam-event-overlay p {
    margin: 7px 0 0 0;
    max-width: 600px;
    font-size: 12.5px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.88);
}

.group-card {
    border-radius: 20px;
}

.group-header h3 {
    font-size: 17px;
}

.group-card-headline {
    gap: 10px;
    margin-bottom: 10px;
}

.group-card-headline strong {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.group-owner-badge {
    padding: 6px 10px;
    font-size: 11px;
}

.online-badge,
.group-code-chip {
    min-height: 26px;
    font-size: 12px;
}

.group-share-panel,
.group-form-block {
    padding: 12px;
    border-radius: 14px;
}

.group-share-label {
    margin-bottom: 8px;
    font-size: 11px;
}

.group-share-row {
    grid-template-columns: 1fr;
    gap: 8px;
}

.group-share-input {
    min-height: 38px;
    font-size: 12.5px;
}

.group-share-actions {
    flex-direction: column;
    gap: 8px;
}

.group-share-actions form,
.group-share-actions .btn,
.group-share-actions form .btn,
.group-share-row .btn {
    width: 100%;
}

.group-form-hint,
.tag {
    font-size: 12px;
}

.news-panel-shell {
    background:
        radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.92), rgba(15, 23, 42, 0.88));
}

.news-section-subtitle {
    max-width: 620px;
    font-size: 14px;
    line-height: 1.55;
}

.news-filters {
    gap: 8px;
    margin-top: 8px;
}

.news-filter {
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.01em;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.72);
    color: #dbeafe;
    backdrop-filter: blur(8px);
}

.news-filter:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: rgba(96, 165, 250, 0.28);
    transform: translateY(-1px);
}

.news-filter.active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: transparent;
    box-shadow: 0 12px 20px rgba(37, 99, 235, 0.2);
}

.news-detail-card {
    border-radius: 18px;
    overflow: hidden;
}

.news-card-real {
    box-shadow: 0 16px 30px rgba(2, 6, 23, 0.22);
}

.news-card-body h3 {
    font-size: 17px;
    line-height: 1.3;
}

.news-card-body p {
    font-size: 12.5px;
    line-height: 1.55;
}

.news-card-image {
    height: 184px;
}

.news-card-actions .btn {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 12.5px;
}

.news-category-chip,
.news-badge,
.news-type {
    font-size: 11px;
}

@media (max-width: 1280px) {
    .hero-card {
        grid-template-columns: 96px minmax(0, 1fr) 200px;
    }
}

@media (max-width: 900px) {
    .hero-card {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .hero-center h1 {
        font-size: clamp(26px, 8vw, 34px);
    }

    .group-share-actions,
    .group-share-row {
        grid-template-columns: 1fr;
    }

    .steam-event-topline {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Ajuste fino de escala e leitura para manter o dashboard mais leve. */
.sticky-shell {
    padding: 10px 14px;
    overflow: visible;
}

.topbar-unified,
.topbar-actions-area {
    overflow: visible;
}

.topbar-actions {
    gap: 8px;
}

.topbar-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 16px;
}

.controls-row,
.unified-controls-row {
    gap: 9px;
}

input,
select,
textarea {
    min-height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(7, 12, 24, 0.88);
    font-size: 13.5px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

input::placeholder,
textarea::placeholder {
    color: #8aa0bf;
}

input:focus,
select:focus,
textarea:focus {
    border-color: rgba(96, 165, 250, 0.34);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

#search-input,
#tag-search-input {
    min-height: 40px;
}

.tag-suggestions {
    border-radius: 14px;
}

.tag-suggestion-item {
    padding: 9px 11px;
    font-size: 12.5px;
}

body {
    font-family: "Bahnschrift", "Segoe UI", sans-serif;
}

.sticky-shell {
    position: sticky !important;
    top: 10px;
    z-index: 140;
}

.topbar-actions {
    gap: 7px;
}

.topbar-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
}

.btn,
.news-filter,
.topbar-icon,
.steam-friends-filter,
.store-all-toggle-btn,
.group-card .btn {
    position: relative;
    overflow: hidden;
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease,
        filter 0.18s ease;
}

.btn::after,
.news-filter::after,
.topbar-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 22%, rgba(255, 255, 255, 0.18) 48%, transparent 74%);
    transform: translateX(-140%);
    transition: transform 0.55s ease;
    pointer-events: none;
}

.btn:hover,
.news-filter:hover,
.topbar-icon:hover,
.store-all-toggle-btn:hover,
.group-card .btn:hover {
    transform: translateY(-1px);
}

.btn:hover::after,
.news-filter:hover::after,
.topbar-icon:hover::after {
    transform: translateX(140%);
}

.hero-media-layer {
    height: 218px;
}

.hero-profile-backdrop {
    min-height: 164px;
}

.hero-card.hero-card-clean {
    padding: 94px 24px 24px;
}

.hero-center.hero-center-clean {
    position: relative;
    padding-bottom: 54px;
}

.hero-kicker-row {
    align-items: flex-start;
}

.hero-inline-status {
    display: inline-grid;
    justify-items: start;
    gap: 2px;
    min-height: auto;
    padding: 12px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(10, 17, 31, 0.82), rgba(10, 17, 31, 0.64));
    border-color: rgba(96, 165, 250, 0.22);
}

.hero-inline-status strong {
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.hero-inline-status span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #bfd4f4;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-subtitle-divider {
    color: rgba(148, 163, 184, 0.8);
}

.hero-country-flag {
    font-size: 18px;
    line-height: 1;
    filter: drop-shadow(0 4px 12px rgba(15, 23, 42, 0.4));
}

.hero-country-flag,
.steam-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-country-flag-img {
    width: 24px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.22);
}

.steam-country-flag-img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.18);
}

.hero-corner-meta {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 17, 31, 0.82), rgba(10, 17, 31, 0.66));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.18);
}

.hero-corner-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8fb7f0;
}

.hero-corner-meta strong {
    font-size: 13px;
    color: #f8fafc;
}

.hero-avatar-placeholder-icon {
    font-size: 26px;
    letter-spacing: 0.08em;
}

.steam-event-banner {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: 0 22px 44px rgba(2, 6, 23, 0.24);
    background: linear-gradient(180deg, rgba(10, 17, 31, 0.96), rgba(15, 23, 42, 0.92));
}

.steam-event-media {
    transition: transform 0.45s ease, filter 0.45s ease;
    filter: saturate(1.04) contrast(1.03);
}

.steam-event-banner:hover .steam-event-media {
    transform: scale(1.025);
    filter: saturate(1.08) contrast(1.04);
}

.news-filter {
    min-height: 35px;
    padding-inline: 12px;
    font-size: 11.5px;
    letter-spacing: 0.06em;
}

.news-card-real {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.92));
}

.news-card-body h3 {
    font-size: 16px;
    line-height: 1.32;
}

.group-card .btn,
.group-share-actions .btn,
.group-share-row .btn {
    min-height: 40px;
    padding-inline: 14px;
    font-size: 13px;
}

.group-share-input {
    min-height: 42px;
    font-size: 13px;
}

.back-to-top-btn {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(96, 165, 250, 0.26);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.94), rgba(29, 78, 216, 0.9));
    color: #f8fafc;
    font-size: 20px;
    font-weight: 800;
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(14px);
    transition: opacity 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 16px 34px rgba(2, 6, 23, 0.24);
    z-index: 180;
}

.back-to-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    box-shadow: 0 18px 38px rgba(2, 6, 23, 0.3);
}

.onboarding-modal.hidden {
    display: none;
}

.onboarding-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
}

.onboarding-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 6, 23, 0.62);
    backdrop-filter: blur(8px);
}

.onboarding-dialog {
    position: relative;
    z-index: 1;
    width: min(680px, calc(100% - 32px));
    margin: 8vh auto 0;
    padding: 24px;
    border-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.16), transparent 28%),
        linear-gradient(180deg, rgba(15, 23, 42, 0.98), rgba(10, 15, 26, 0.98));
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 28px 60px rgba(2, 6, 23, 0.34);
}

.onboarding-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.12);
    color: #f8fafc;
    font-size: 22px;
    cursor: pointer;
}

.onboarding-kicker {
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #93c5fd;
    font-weight: 800;
}

.onboarding-dialog h2 {
    margin: 0 0 10px 0;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1;
    letter-spacing: -0.05em;
}

.onboarding-intro {
    margin: 0 0 18px 0;
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.55;
    max-width: 58ch;
}

.onboarding-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.onboarding-step {
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(96, 165, 250, 0.12);
}

.onboarding-step strong {
    display: block;
    margin-bottom: 8px;
    color: #f8fafc;
    font-size: 14px;
}

.onboarding-step span {
    display: block;
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.onboarding-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

@media (max-width: 1450px) {
    .sticky-shell {
        position: sticky !important;
    }
}

@media (max-width: 900px) {
    .hero-card.hero-card-clean {
        padding: 88px 18px 18px;
    }

    .hero-center.hero-center-clean {
        padding-bottom: 0;
    }

    .hero-corner-meta {
        position: static;
        align-items: flex-start;
        margin-top: 14px;
    }

    .onboarding-dialog {
        width: min(100%, calc(100% - 20px));
        margin-top: 5vh;
        padding: 18px;
        border-radius: 20px;
    }

    .onboarding-steps {
        grid-template-columns: 1fr;
    }

    .onboarding-actions {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .notifications-dropdown-wrap {
        position: static;
    }

    .notifications-dropdown {
        position: fixed;
        top: 78px;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        max-height: calc(100dvh - 96px);
        border-radius: 18px;
    }

    .hero-inline-status {
        justify-self: start;
    }
}

.active-tags {
    gap: 6px;
    margin-top: 8px;
}

.active-tag-chip {
    gap: 6px;
    padding: 5px 9px;
    font-size: 12px;
}

.main-panel-summary,
.section-header,
.group-header {
    letter-spacing: -0.01em;
}

.count-badge {
    min-width: 30px;
    font-size: 12px;
}

.main-panel-body,
.group-content {
    font-size: 13.5px;
}

@media (max-width: 1100px) {
    .topbar-actions-area {
        width: 100%;
    }

    .topbar-actions {
        justify-content: flex-start;
    }
}

/* Ajuste fino de compactação e recorte visual do dashboard. */
.sticky-shell {
    top: 8px;
    margin-bottom: 14px;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(23, 33, 50, 0.92);
}

.topbar-unified {
    gap: 12px;
    align-items: center;
}

.topbar-brand-area,
.topbar-actions-area {
    padding-top: 0;
}

.brand {
    gap: 10px;
}

.brand-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 18px;
}

.brand-text {
    font-size: 18px;
    letter-spacing: -0.02em;
}

.controls-row.unified-controls-row {
    gap: 8px;
}

input,
select,
textarea,
#search-input,
#tag-search-input {
    min-height: 36px;
    border-radius: 11px;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 13px;
}

.btn {
    min-height: 34px;
    padding: 8px 13px;
    border-radius: 11px;
    font-size: 12.5px;
}

.topbar-logout-btn {
    min-height: 34px;
    padding: 8px 13px;
}

.topbar-icon {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.topbar-icon-glyph {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    line-height: 1;
    font-size: 16px;
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

.topbar-icon-glyph-gear {
    font-size: 15px;
}

.notif-icon {
    color: #f8cf59;
}

.notif-icon.notif-active {
    color: #f8cf59;
    animation: none;
}

.notif-badge {
    top: -4px;
    right: -4px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    box-shadow: 0 0 0 2px rgba(23, 33, 50, 0.96);
}

.hero-card.hero-card-clean {
    padding: 62px 22px 18px;
    gap: 18px;
}

.hero-center.hero-center-clean {
    padding-top: 2px;
    padding-bottom: 40px;
}

.hero-media-layer {
    height: 218px;
}

.hero-card-has-bg::before {
    background:
        linear-gradient(90deg, rgba(7, 16, 29, 0.84), rgba(7, 16, 29, 0.22)),
        var(--steam-hero-bg) center top / cover no-repeat;
    opacity: 0.94;
}

.hero-card-has-bg::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 18%);
    opacity: 0.42;
}

.hero-profile-backdrop {
    min-height: 138px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(7, 16, 29, 0.16));
}

.hero-profile-backdrop-status {
    top: 12px;
    right: 12px;
    padding: 8px 13px;
    border-radius: 14px;
    font-size: 13px;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.16);
}

.hero-avatar-box-large {
    min-height: 150px;
    width: 150px;
}

.hero-avatar-image-large {
    width: 134px;
    height: 134px;
}

.hero-center-clean h1 {
    margin-bottom: 4px;
    font-size: clamp(34px, 3.6vw, 48px);
}

.hero-profile-quote {
    margin-top: 2px;
    font-size: 11.5px;
}

.hero-inline-status {
    padding: 9px 13px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(10, 17, 31, 0.76), rgba(10, 17, 31, 0.58));
}

.hero-inline-status strong {
    font-size: clamp(19px, 1.6vw, 24px);
}

.hero-inline-status span {
    font-size: 9px;
    letter-spacing: 0.12em;
}

.hero-meta-pills {
    margin-top: 6px;
}

.hero-meta-pill {
    min-height: 28px;
    padding: 0 9px;
    font-size: 10.5px;
}

.hero-stat-row {
    margin-top: 10px;
}

.hero-stat-row-clean .hero-stat-chip {
    min-width: 124px;
    padding: 11px 12px;
    border-radius: 15px;
}

.hero-stat-chip strong {
    font-size: clamp(20px, 1.8vw, 27px);
}

.hero-stat-chip span {
    font-size: 11px;
}

.hero-corner-meta {
    padding: 8px 11px;
    border-radius: 15px;
}

.hero-corner-label {
    font-size: 9px;
}

.hero-corner-meta strong {
    font-size: 12px;
}

.online-badge,
.steam-friends-summary span,
.group-owner-badge,
.group-code-chip {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    letter-spacing: 0;
}

.online-badge {
    padding: 5px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: 999px;
}

.group-header h3,
.steam-friends-header h3 {
    font-family: "Segoe UI", "Verdana", sans-serif;
    letter-spacing: -0.02em;
}

.steam-friends-summary {
    font-size: 11.5px;
}

.steam-friends-summary span {
    padding: 4px 8px;
}

.steam-event-banner {
    min-height: 184px;
    background: #0b1220;
    border-color: rgba(96, 165, 250, 0.14);
}

.steam-event-banner::after {
    opacity: 0.16;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), transparent 54%, rgba(16, 185, 129, 0.08));
}

.steam-event-media {
    height: 184px;
    object-position: center center;
    filter: saturate(1.03) contrast(1.01);
}

.steam-event-overlay {
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(5, 10, 20, 0.82), rgba(5, 10, 20, 0.03));
    backdrop-filter: none;
}

.steam-event-overlay h3 {
    font-size: 17px;
}

.steam-event-overlay p {
    font-size: 12.5px;
}

body.has-steam-site-bg::before {
    opacity: 0.2;
    filter: saturate(1.02) blur(0);
}

.page-shell::before {
    opacity: 0.22;
}

@keyframes heroAvatarFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.hero-avatar-box-large {
    min-height: 0;
    width: 152px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
}

.hero-avatar-box-large::before,
.hero-avatar-box-large::after {
    content: none;
}

.hero-avatar-image-large {
    width: 136px;
    height: 136px;
    max-width: 136px;
    border-radius: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    filter: contrast(1.04) saturate(0.96);
    animation: heroAvatarFloat 4.8s ease-in-out infinite;
}

.hero-avatar-frame-large {
    inset: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    animation: heroAvatarFloat 4.8s ease-in-out infinite;
}

@keyframes bellWiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    20% {
        transform: rotate(-12deg);
    }
    40% {
        transform: rotate(10deg);
    }
    60% {
        transform: rotate(-7deg);
    }
    80% {
        transform: rotate(4deg);
    }
}

.topbar-version-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.86);
    border: 1px solid rgba(96, 165, 250, 0.18);
    color: #9fc4fb;
    font-size: 10px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 0.02em;
}

.topbar-icon,
.notif-icon {
    overflow: visible;
}

.notif-icon.notif-active .topbar-icon-glyph-bell {
    animation: bellWiggle 1.25s ease-in-out infinite;
    transform-origin: top center;
}

.notif-badge {
    top: -7px;
    right: -7px;
    z-index: 3;
}

.hero-card.hero-card-clean {
    padding: 54px 22px 14px;
}

.hero-media-layer {
    height: 182px;
}

.hero-profile-backdrop {
    min-height: 114px;
}

.hero-center.hero-center-clean {
    padding-bottom: 8px;
}

.hero-bottom-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.hero-stat-row {
    margin-top: 0;
    flex: 1 1 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stat-row-clean .hero-stat-chip {
    min-width: 0;
    min-height: 84px;
}

.hero-corner-meta {
    position: static;
    flex: 0 0 126px;
    min-height: 84px;
    justify-content: center;
}

.group-card {
    background:
        linear-gradient(180deg, rgba(23, 33, 50, 0.96), rgba(15, 23, 42, 0.94));
    border: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.16);
}

.group-header h3,
.group-card-name strong {
    font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
    letter-spacing: -0.025em;
}

.group-card-name {
    margin: 0;
}

.group-card-name strong {
    font-size: 18px;
    line-height: 1.15;
    color: #f8fafc;
}

.group-card-subline {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0 0;
    color: #94a3b8;
}

.group-owner-badge,
.online-badge,
.group-code-chip,
.steam-friends-summary span {
    font-family: "Segoe UI", "Trebuchet MS", sans-serif;
    letter-spacing: 0;
}

.group-share-panel {
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(15, 23, 42, 0.14));
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.group-share-row,
.group-share-actions {
    grid-template-columns: 1fr;
}

.group-share-row {
    display: grid;
    gap: 10px;
}

.group-share-actions {
    display: grid;
    gap: 10px;
}

.group-share-actions form,
.group-share-actions .btn,
.group-share-actions form .btn,
.group-share-row .btn,
.group-danger-zone .btn {
    width: 100%;
}

.group-member-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.group-member-chip {
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.08);
    color: #e2e8f0;
    font-size: 12px;
}

.group-danger-zone {
    margin-top: 2px;
}

.steam-event-banner::after {
    opacity: 0.08;
}

.steam-event-overlay {
    background: linear-gradient(to top, rgba(5, 10, 20, 0.72), rgba(5, 10, 20, 0.02));
}

@media (max-width: 980px) {
    .hero-bottom-row {
        flex-direction: column;
    }

    .hero-corner-meta {
        flex-basis: auto;
        align-items: flex-start;
    }
}

/* Passada clean: reduzir escala, remover brilho vazando e compactar o dashboard. */
.btn::after,
.news-filter::after,
.topbar-icon::after {
    opacity: 0 !important;
}

.btn:hover::after,
.news-filter:hover::after,
.topbar-icon:hover::after {
    opacity: 1 !important;
}

.sticky-shell {
    padding: 6px 10px;
    border-radius: 14px;
}

.topbar-unified {
    gap: 10px;
}

.brand-icon {
    width: 31px;
    height: 31px;
    font-size: 16px;
    border-radius: 10px;
}

.brand-text {
    font-size: 17px;
}

.controls-row.unified-controls-row {
    gap: 6px;
}

input,
select,
textarea,
#search-input,
#tag-search-input {
    min-height: 34px;
    font-size: 12.5px;
    border-radius: 10px;
}

.btn,
.topbar-logout-btn {
    min-height: 32px;
    padding: 7px 11px;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 8px 18px rgba(2, 6, 23, 0.12);
}

.topbar-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
}

#notif-icon {
    overflow: visible !important;
}

.notif-badge {
    top: -8px;
    right: -8px;
    min-width: 17px;
    height: 17px;
    line-height: 17px;
    font-size: 9px;
    transform: none;
}

.topbar-version-link {
    min-height: 21px;
    padding: 0 7px;
    font-size: 9.5px;
    border-radius: 999px;
}

.topbar-admin-link {
    min-height: 32px;
    padding: 0 11px;
    border-radius: 10px;
    font-size: 12px;
}

.hero-card.hero-card-clean {
    padding: 46px 18px 10px;
    gap: 16px;
}

.hero-media-layer {
    height: 150px;
}

.hero-profile-backdrop {
    min-height: 92px;
}

.hero-center.hero-center-clean {
    padding-bottom: 4px;
}

.hero-center-clean h1 {
    font-size: clamp(31px, 3.1vw, 42px);
    margin-bottom: 2px;
}

.hero-profile-quote {
    font-size: 11px;
}

.hero-inline-status {
    padding: 7px 11px;
    border-radius: 14px;
}

.hero-inline-status strong {
    font-size: clamp(17px, 1.35vw, 21px);
}

.hero-meta-pill {
    min-height: 25px;
    padding: 0 8px;
    font-size: 10px;
}

.hero-bottom-row {
    gap: 10px;
    margin-top: 8px;
    align-items: stretch;
}

.hero-stat-row {
    gap: 8px;
}

.hero-stat-row-clean .hero-stat-chip {
    min-height: 68px;
    padding: 9px 10px;
    border-radius: 14px;
}

.hero-stat-chip strong {
    font-size: clamp(16px, 1.5vw, 22px);
}

.hero-stat-chip span {
    font-size: 10px;
}

.hero-corner-meta {
    min-height: 68px;
    flex-basis: 112px;
    padding: 7px 9px;
    border-radius: 14px;
}

.hero-corner-meta strong {
    font-size: 11px;
}

.main-panel-section {
    border-radius: 16px;
}

.main-panel-body {
    padding: 0 14px 14px 14px;
}

.mini-card.compact {
    padding: 14px;
}

.group-card {
    background: linear-gradient(180deg, rgba(21, 31, 47, 0.96), rgba(15, 23, 42, 0.94));
}

.group-card-headline {
    margin-bottom: 10px;
}

.group-card-name strong {
    font-size: 16px;
}

.group-card-subline {
    font-size: 11px;
}

.group-owner-badge {
    padding: 6px 10px;
    font-size: 11px;
}

.online-badge {
    padding: 4px 9px;
    font-size: 10.5px;
}

.group-share-panel {
    margin: 10px 0 12px 0;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.025);
}

.group-share-label {
    margin-bottom: 8px;
    font-size: 11px;
}

.group-share-input {
    min-height: 36px;
    font-size: 12px;
}

.group-share-actions .btn,
.group-share-row .btn,
.group-danger-zone .btn {
    min-height: 34px;
    font-size: 12px;
}

.group-member-chip {
    font-size: 11px;
    padding: 5px 9px;
}

.steam-event-banner {
    min-height: 176px;
}

.steam-event-media {
    height: 176px;
}

.steam-event-overlay {
    padding: 12px 14px;
}

/* 0.5.10 - Hero e grupo no estilo showcase, mantendo o dashboard leve. */
.dashboard-layout {
    grid-template-columns: minmax(260px, 280px) minmax(0, 1fr) minmax(312px, 330px);
    gap: 20px;
}

.hero-card.hero-card-clean {
    position: relative;
    overflow: hidden;
    min-height: 328px;
    padding: 50px 24px 14px;
    grid-template-columns: 176px minmax(0, 1fr);
    gap: 22px;
    border-radius: 24px;
    border: 1px solid rgba(96, 165, 250, 0.12);
    background:
        radial-gradient(circle at 82% 12%, rgba(96, 165, 250, 0.18), transparent 18%),
        linear-gradient(180deg, rgba(24, 34, 52, 0.96), rgba(8, 13, 24, 0.98));
    box-shadow:
        0 24px 40px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-card.hero-card-clean::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 47%;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, 0), rgba(8, 13, 24, 0.8) 20%, rgba(8, 13, 24, 0.96));
    z-index: 0;
    pointer-events: none;
}

.hero-media-layer {
    height: 176px;
}

.hero-profile-backdrop {
    min-height: 176px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 26%),
        linear-gradient(180deg, rgba(7, 16, 29, 0.04), rgba(7, 16, 29, 0.42));
}

.hero-profile-backdrop-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 78px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.022) 0, rgba(255, 255, 255, 0.022) 1px, transparent 1px, transparent 58px);
    opacity: 0.22;
    mask-image: linear-gradient(180deg, #000 22%, transparent 100%);
    pointer-events: none;
}

.hero-profile-backdrop-status {
    top: 18px;
    right: 18px;
    min-height: 38px;
    padding: 0 16px;
    border-radius: 16px;
    background: rgba(18, 25, 39, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.14);
    font-size: 13px;
    font-weight: 800;
}

.hero-left-profile {
    margin-top: 52px;
}

.hero-avatar-box-large {
    width: 164px;
}

.hero-avatar-image-large {
    width: 146px;
    height: 146px;
    max-width: 146px;
}

.hero-center.hero-center-clean {
    align-self: end;
    padding-top: 42px;
    padding-bottom: 0;
}

.hero-kicker-row-showcase {
    margin-bottom: 10px;
}

.hero-eyebrow {
    font-size: 12px;
    letter-spacing: 0.18em;
}

.hero-display-name {
    max-width: 8ch;
    margin-bottom: 6px;
    font-size: clamp(42px, 4.5vw, 62px);
    line-height: 0.92;
    letter-spacing: -0.07em;
}

.hero-subtitle-showcase {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: rgba(226, 232, 240, 0.92);
}

.hero-subtitle-divider {
    color: rgba(148, 163, 184, 0.84);
}

.hero-country-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-country-flag-img {
    width: 23px;
    height: 17px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 12px rgba(2, 6, 23, 0.16);
}

.hero-profile-quote-showcase {
    max-width: 44ch;
    margin-top: 7px;
    font-size: 12px;
}

.hero-meta-pills-showcase {
    margin-top: 14px;
}

.hero-meta-pill {
    min-height: 28px;
    padding: 0 10px;
    background: rgba(8, 13, 24, 0.52);
    border: 1px solid rgba(148, 163, 184, 0.1);
    color: #dbe5f5;
}

.hero-inline-status-games {
    min-width: 150px;
    min-height: 64px;
    padding: 10px 14px;
    border-radius: 18px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(17, 24, 39, 0.92));
    border: 1px solid rgba(96, 165, 250, 0.16);
    box-shadow:
        0 16px 30px rgba(2, 6, 23, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero-inline-status-games strong {
    font-size: clamp(24px, 2.4vw, 36px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero-inline-status-games span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: #cfe1ff;
}

.hero-bottom-row-showcase {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(128px, 1fr);
    gap: 10px;
    margin-top: 14px;
    align-items: stretch;
}

.hero-stat-row-clean {
    gap: 10px;
}

.hero-stat-chip-showcase {
    min-height: 76px;
    padding: 10px 12px 9px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(9, 15, 26, 0.96), rgba(7, 12, 22, 0.94));
    border: 1px solid rgba(96, 165, 250, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 24px rgba(2, 6, 23, 0.14);
}

.hero-stat-chip-showcase strong {
    font-size: clamp(20px, 2vw, 29px);
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.hero-stat-chip-showcase span {
    margin-top: 5px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #c3d1e6;
}

.hero-corner-meta-showcase {
    min-height: 76px;
    padding: 10px 10px 8px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(8, 13, 24, 0.94), rgba(10, 16, 27, 0.98));
    border: 1px solid rgba(96, 165, 250, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 14px 24px rgba(2, 6, 23, 0.14);
}

.hero-corner-label {
    font-size: 8.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9ab6e7;
}

.hero-corner-meta-showcase strong {
    font-size: 12px;
    line-height: 1.15;
}

.group-card {
    border-radius: 24px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background:
        linear-gradient(180deg, rgba(22, 31, 48, 0.98), rgba(9, 14, 24, 0.98));
    box-shadow:
        0 24px 38px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.group-header {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.08);
}

.group-header h3 {
    font-size: 15px;
    letter-spacing: -0.03em;
}

.group-content {
    display: grid;
    gap: 14px;
    margin-top: 0;
}

.group-feedback {
    margin: 0;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12px;
    background: rgba(255, 255, 255, 0.04);
}

.group-feedback-success {
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.16);
}

.group-feedback-error {
    color: #fca5a5;
    border: 1px solid rgba(248, 113, 113, 0.16);
}

.group-card-headline-showcase {
    display: grid;
    gap: 12px;
}

.group-card-overline {
    margin: 0 0 6px 0;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #93c5fd;
}

.group-card-name {
    margin: 0;
}

.group-card-name strong {
    display: block;
    font-size: 30px;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: #f8fafc;
}

.group-card-pill-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.group-meta-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(8, 13, 24, 0.74);
    border: 1px solid rgba(148, 163, 184, 0.12);
    color: #dbeafe;
    font-size: 10.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.group-meta-pill-code {
    color: #bfdbfe;
}

.group-owner-line {
    margin-top: -4px;
}

.group-owner-badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(250, 204, 21, 0.12);
    border: 1px solid rgba(250, 204, 21, 0.18);
    color: #fde68a;
    font-size: 11px;
    font-weight: 800;
}

.group-member-panel {
    padding: 14px;
    border-radius: 20px;
    background: rgba(8, 13, 24, 0.36);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.group-section-label {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #8fb7ff;
}

.group-member-stack {
    display: grid;
    gap: 10px;
    max-height: 302px;
    overflow: auto;
    padding-right: 2px;
}

.group-member-stack::-webkit-scrollbar {
    width: 6px;
}

.group-member-stack::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.18);
    border-radius: 999px;
}

.group-member-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(148, 163, 184, 0.08);
    transition:
        transform 0.18s ease,
        border-color 0.18s ease,
        background 0.18s ease;
}

.group-member-row:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(96, 165, 250, 0.18);
}

.group-member-avatar-wrap {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.1);
}

.group-member-avatar {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.group-member-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.group-member-copy strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #f8fafc;
}

.group-member-copy span {
    font-size: 11px;
    color: #94a3b8;
}

.group-member-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 31px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #e2e8f0;
    font-size: 10.5px;
    font-weight: 800;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.group-member-link:hover {
    color: #ffffff;
    border-color: rgba(96, 165, 250, 0.24);
    background: rgba(23, 37, 64, 0.92);
}

.group-member-link-muted {
    opacity: 0.7;
    pointer-events: none;
}

.group-share-panel {
    margin: 0;
    padding: 14px;
    border-radius: 20px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(11, 18, 32, 0.2));
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.group-share-label {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.group-share-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
}

.group-share-input {
    min-height: 38px;
    padding: 0 12px;
    border-radius: 14px;
    background: rgba(8, 13, 24, 0.72);
    border: 1px solid rgba(148, 163, 184, 0.08);
    color: #dbe5f5;
    font-size: 12px;
}

.group-share-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.group-share-actions-owner form {
    grid-column: 1 / -1;
}

.group-share-row .btn,
.group-share-actions .btn,
.group-danger-zone .btn {
    min-height: 34px;
    padding: 7px 11px;
    border-radius: 12px;
    font-size: 11.5px;
    box-shadow: none;
}

.group-danger-zone {
    display: flex;
    justify-content: center;
    margin-top: 0;
}

.group-danger-zone .btn {
    width: min(80%, 210px);
    border-radius: 999px;
}

.group-form-block {
    display: grid;
    gap: 10px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.group-form-block input {
    margin-bottom: 0 !important;
}

.group-form-hint {
    margin: 0;
    text-align: center;
}

@media (max-width: 1320px) {
    .dashboard-layout {
        grid-template-columns: minmax(240px, 260px) minmax(0, 1fr) minmax(290px, 312px);
    }

    .hero-display-name {
        font-size: clamp(38px, 4.1vw, 52px);
    }

    .group-card-name strong {
        font-size: 26px;
    }
}

@media (max-width: 1080px) {
    .hero-card.hero-card-clean {
        grid-template-columns: 1fr;
        padding: 98px 18px 18px;
    }

    .hero-left-profile {
        margin-top: 0;
    }

    .hero-bottom-row-showcase {
        grid-template-columns: 1fr;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
    }

    .group-member-row {
        grid-template-columns: 42px minmax(0, 1fr);
    }

    .group-member-link {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* 0.5.12 - Hero mais próximo do mockup e dono do grupo integrado ao nome. */
.hero-card.hero-card-clean::before {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 22px;
    background:
        linear-gradient(90deg, rgba(96, 165, 250, 0.58), transparent 72%) top left / 184px 2px no-repeat,
        linear-gradient(180deg, rgba(96, 165, 250, 0.48), transparent 72%) top left / 2px 82px no-repeat,
        linear-gradient(270deg, rgba(59, 130, 246, 0.34), transparent 70%) bottom right / 142px 2px no-repeat,
        linear-gradient(0deg, rgba(59, 130, 246, 0.26), transparent 70%) bottom right / 2px 68px no-repeat;
    opacity: 0.82;
    pointer-events: none;
    z-index: 0;
}

.hero-kicker-row-showcase {
    justify-content: flex-start;
}

.hero-meta-pill-level {
    position: relative;
    overflow: hidden;
    padding-bottom: 4px;
    border-color: rgba(96, 165, 250, 0.22);
    color: #eff6ff;
}

.hero-meta-pill-level::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 4px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.95) 0 66%, rgba(96, 165, 250, 0.16) 66% 100%);
}

.hero-metrics-showcase {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    align-items: stretch;
}

.hero-stat-row-showcase {
    margin-top: 0;
}

.hero-stat-row-primary {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.12fr 1fr 1fr;
    gap: 12px;
}

.hero-stat-row-secondary {
    grid-column: 4 / 5;
    display: block;
}

.hero-stat-chip-showcase,
.hero-corner-meta-showcase {
    position: relative;
    overflow: hidden;
}

.hero-stat-chip-showcase::before,
.hero-corner-meta-showcase::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(96, 165, 250, 0.14), transparent 28%),
        linear-gradient(315deg, rgba(16, 185, 129, 0.08), transparent 24%);
    pointer-events: none;
}

.hero-stat-chip-showcase::after,
.hero-corner-meta-showcase::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    top: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.9), rgba(59, 130, 246, 0.24), transparent);
    opacity: 0.82;
    pointer-events: none;
}

.hero-stat-chip-owned {
    border-color: rgba(125, 211, 252, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(191, 219, 254, 0.06),
        0 16px 28px rgba(2, 6, 23, 0.18);
}

.hero-stat-chip-owned strong {
    font-size: clamp(28px, 2.9vw, 42px);
}

.hero-stat-chip-owned span {
    color: #d8e8ff;
}

.hero-stat-row-secondary .hero-stat-chip-secondary,
.hero-corner-meta-showcase.hero-stat-chip-secondary {
    min-height: 82px;
    border-radius: 28px;
}

.hero-stat-row-secondary .hero-stat-chip-secondary {
    width: 100%;
}

.hero-corner-meta-showcase.hero-stat-chip-secondary {
    grid-column: 5 / 6;
    min-width: 0;
    justify-content: center;
    align-items: center;
}

.hero-stat-row-secondary .hero-stat-chip-secondary strong {
    font-size: clamp(22px, 2.2vw, 33px);
}

.hero-stat-row-secondary .hero-stat-chip-secondary span,
.hero-corner-meta-showcase.hero-stat-chip-secondary .hero-corner-label {
    font-size: 9px;
    letter-spacing: 0.14em;
}

.group-owner-line {
    display: none;
}

.group-member-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex-wrap: wrap;
}

.group-member-title-row strong {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.group-owner-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(250, 204, 21, 0.18), rgba(245, 158, 11, 0.14));
    border: 1px solid rgba(250, 204, 21, 0.28);
    color: #fde68a;
    font-size: 12px;
    font-weight: 900;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.group-member-role {
    font-size: 11px;
    color: #8ea2c2;
}

@media (max-width: 1180px) {
    .hero-metrics-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat-row-primary {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stat-row-secondary {
        grid-column: 1 / 2;
    }

    .hero-corner-meta-showcase.hero-stat-chip-secondary {
        grid-column: 2 / 3;
    }
}

@media (max-width: 860px) {
    .hero-stat-row-primary {
        grid-template-columns: 1fr;
    }

    .hero-metrics-showcase {
        grid-template-columns: 1fr;
    }

    .hero-stat-row-secondary,
    .hero-corner-meta-showcase.hero-stat-chip-secondary {
        grid-column: 1 / -1;
    }
}

/* 0.5.13 - Refinos do hero e do badge do grupo. */
.hero-profile-backdrop-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 96px;
    min-height: 42px;
    padding: 0 18px;
    line-height: 1;
    text-align: center;
}

.hero-metrics-showcase {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.hero-stat-row-primary {
    grid-column: 1 / -1;
    gap: 10px;
}

.hero-stat-row-secondary {
    grid-column: 8 / 11;
    grid-row: 2;
    display: grid;
}

.hero-corner-meta-showcase.hero-stat-chip-secondary {
    grid-column: 11 / 13;
    grid-row: 2;
}

.hero-stat-chip-showcase::after,
.hero-corner-meta-showcase::after {
    display: none;
}

.hero-stat-row-secondary .hero-stat-chip-secondary,
.hero-corner-meta-showcase.hero-stat-chip-secondary {
    min-height: 58px;
    padding: 8px 10px 7px;
    border-radius: 20px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.04),
        0 10px 18px rgba(2, 6, 23, 0.14);
}

.hero-stat-row-secondary .hero-stat-chip-secondary {
    justify-content: center;
}

.hero-stat-row-secondary .hero-stat-chip-secondary strong {
    font-size: clamp(17px, 1.8vw, 24px);
}

.hero-stat-row-secondary .hero-stat-chip-secondary span,
.hero-corner-meta-showcase.hero-stat-chip-secondary .hero-corner-label {
    margin-top: 2px;
    font-size: 8px;
    letter-spacing: 0.12em;
}

.hero-corner-meta-showcase.hero-stat-chip-secondary strong {
    font-size: 11px;
    line-height: 1.05;
}

.group-member-title-row {
    gap: 6px;
    flex-wrap: nowrap;
}

.group-member-title-row strong {
    flex: 1 1 auto;
    min-width: 0;
}

.group-owner-inline-badge {
    min-height: 18px;
    padding: 0 7px;
    background: linear-gradient(180deg, rgba(191, 163, 92, 0.18), rgba(150, 124, 64, 0.11));
    border: 1px solid rgba(205, 173, 102, 0.2);
    color: #d6c7a0;
    font-size: 8px;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

@media (max-width: 1180px) {
    .hero-metrics-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-stat-row-primary {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .hero-stat-row-secondary {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .hero-corner-meta-showcase.hero-stat-chip-secondary {
        grid-column: 2 / 3;
        grid-row: 2;
    }
}

@media (max-width: 860px) {
    .hero-stat-row-primary {
        grid-template-columns: 1fr;
    }

    .hero-metrics-showcase {
        grid-template-columns: 1fr;
    }

    .hero-stat-row-secondary,
    .hero-corner-meta-showcase.hero-stat-chip-secondary {
        grid-column: 1 / -1;
        grid-row: auto;
    }
}

/* 0.5.21 - Left sidebar as a cleaner profile rail. */
.left-panel-profile {
    align-self: start;
}

@media (min-width: 1081px) {
    .left-panel-profile {
        position: sticky;
        top: 92px;
    }
}

.steam-profile-card.steam-sidebar-card {
    padding: 18px;
    border-radius: 26px;
    border: 1px solid rgba(96, 165, 250, 0.1);
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(18, 27, 43, 0.98), rgba(8, 13, 24, 0.98));
    box-shadow:
        0 24px 42px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.steam-profile-card-has-bg::before {
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.42), rgba(7, 16, 29, 0.94) 46%, rgba(7, 16, 29, 0.98)),
        var(--steam-mini-bg) center top / cover no-repeat;
    opacity: 0.74;
}

.steam-sidebar-card::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 24%),
        linear-gradient(90deg, rgba(96, 165, 250, 0.08), transparent 14%);
    pointer-events: none;
}

.steam-sidebar-header {
    gap: 14px;
    align-items: end;
    margin-bottom: 14px;
}

.steam-sidebar-avatar-wrap {
    width: 88px;
    height: 88px;
}

.steam-sidebar-avatar-wrap .steam-avatar {
    width: 88px;
    height: 88px;
    border-radius: 16px;
    box-shadow: 0 16px 28px rgba(2, 6, 23, 0.24);
}

.steam-sidebar-avatar-wrap .steam-avatar-frame {
    inset: -9px;
    width: calc(100% + 18px);
    height: calc(100% + 18px);
}

.steam-user-kicker {
    margin-bottom: 7px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #93c5fd;
}

.steam-sidebar-identity h2 {
    margin: 0;
    font-size: 30px;
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.steam-sidebar-handle {
    margin: 8px 0 0 0;
    color: #dbeafe;
    font-size: 12px;
    font-weight: 700;
}

.steam-sidebar-email {
    margin: 4px 0 0 0;
    color: #8fa4c2;
    font-size: 12px;
    line-height: 1.35;
    word-break: break-word;
}

.steam-user-main {
    display: grid;
    gap: 12px;
}

.steam-profile-pill-row-sidebar {
    gap: 8px;
    margin-top: 0;
}

.steam-profile-pill-row-sidebar .steam-profile-pill {
    min-height: 31px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(8, 13, 24, 0.64);
    border-color: rgba(148, 163, 184, 0.14);
    font-size: 10.5px;
    letter-spacing: 0.04em;
}

.steam-sidebar-panel {
    margin-top: 0;
    padding: 14px 0 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    background: transparent;
    box-shadow: none;
}

.steam-sidebar-section-title {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.18em;
    color: #8fb7ff;
}

.steam-sidebar-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 9px 0;
    border-bottom-color: rgba(148, 163, 184, 0.08);
    font-size: 12px;
}

.steam-sidebar-row span {
    color: #8fa4c2;
}

.steam-sidebar-row strong {
    font-size: 12px;
    font-weight: 800;
    color: #f8fafc;
}

.steam-sidebar-badge-strip {
    gap: 10px;
}

.steam-badge-chip {
    position: relative;
    overflow: hidden;
    padding: 12px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(11, 18, 32, 0.22));
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-badge-chip::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.85), transparent);
    opacity: 0.82;
}

.steam-badge-chip span,
.steam-sidebar-metric span {
    color: #8fa4c2;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.steam-badge-chip strong,
.steam-sidebar-metric strong {
    margin-top: 6px;
    font-size: 15px;
    line-height: 1.05;
}

.steam-sidebar-metric-list {
    gap: 10px;
    margin-top: 12px;
}

.steam-sidebar-metric {
    padding: 12px 10px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-identity-list {
    gap: 10px;
    margin-top: 0;
}

.steam-identity-chip {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.028);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-identity-label {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #8fa4c2;
}

.steam-identity-value {
    font-size: 12px;
    font-weight: 700;
    color: #e6eefb;
    word-break: break-word;
}

.steam-sidebar-actions-primary {
    gap: 9px;
    margin-top: 2px;
}

.steam-sidebar-action-btn {
    min-height: 36px;
    padding: 0 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 800;
    box-shadow:
        0 12px 24px rgba(2, 6, 23, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease,
        border-color 0.18s ease;
}

.steam-sidebar-action-btn:hover {
    transform: translateY(-1px);
    box-shadow:
        0 16px 26px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.steam-sidebar-action-btn-ghost {
    background: rgba(8, 13, 24, 0.68);
    border-color: rgba(148, 163, 184, 0.12);
}

@media (max-width: 1080px) {
    .left-panel-profile {
        position: static;
        top: auto;
    }
}

@media (max-width: 760px) {
    .steam-sidebar-header {
        margin-bottom: 12px;
    }

    .steam-sidebar-avatar-wrap {
        width: 80px;
        height: 80px;
    }

    .steam-sidebar-avatar-wrap .steam-avatar {
        width: 80px;
        height: 80px;
    }

    .steam-sidebar-identity h2 {
        font-size: 25px;
    }

    .steam-sidebar-row {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .steam-sidebar-badge-strip,
    .steam-sidebar-metric-list {
        grid-template-columns: 1fr;
    }
}

/* 0.5.22 - Sidebar Steam com acoes reais e atalhos uteis. */
.steam-sidebar-avatar-link {
    position: relative;
    display: block;
    border-radius: 16px;
    transition: transform 180ms ease, filter 180ms ease;
}

.steam-sidebar-avatar-link:hover {
    transform: translateY(-2px);
    filter: saturate(1.05);
}

.steam-sidebar-profile-link {
    display: inline-flex;
    flex-direction: column;
    gap: 0;
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, opacity 180ms ease;
}

.steam-sidebar-profile-link:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}

.steam-sidebar-feedback {
    margin: -4px 0 2px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 11.5px;
    line-height: 1.45;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.68);
}

.steam-sidebar-feedback-success {
    color: #bef264;
    border-color: rgba(163, 230, 53, 0.18);
    background: rgba(20, 32, 18, 0.72);
}

.steam-sidebar-feedback-error {
    color: #fda4af;
    border-color: rgba(251, 113, 133, 0.18);
    background: rgba(43, 18, 23, 0.72);
}

.steam-identity-chip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.steam-identity-chip > .steam-identity-label {
    grid-column: 1;
    grid-row: 1;
}

.steam-identity-chip > .steam-identity-value {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
}

.steam-identity-chip > .steam-identity-copy-btn {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
}

.steam-identity-copy-body {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.steam-identity-copy-btn {
    min-width: 74px;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 12px;
    background: rgba(37, 50, 74, 0.9);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.steam-identity-copy-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.28);
    background: rgba(49, 66, 96, 0.96);
}

.steam-identity-copy-btn.is-copied {
    background: rgba(20, 83, 45, 0.94);
    border-color: rgba(74, 222, 128, 0.3);
}

.steam-sidebar-action-form {
    display: block;
}

.steam-sidebar-action-form .steam-sidebar-action-btn {
    width: 100%;
}

@media (max-width: 760px) {
    .steam-identity-chip {
        grid-template-columns: 1fr;
    }

    .steam-identity-copy-btn {
        width: 100%;
    }
}

/* 0.5.23 - Amigos Steam com leitura mais social. */
.steam-friends-card {
    gap: 16px;
}

.steam-friends-header {
    align-items: center;
}

.steam-friends-heading h3 {
    margin: 0;
}

.steam-friends-heading p {
    margin: 4px 0 0;
    color: #8fa4c2;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.steam-friends-feedback {
    margin: 0;
}

.steam-friends-presence-strip {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: start;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(96, 165, 250, 0.12);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 38%),
        linear-gradient(180deg, rgba(18, 29, 48, 0.94), rgba(9, 15, 27, 0.94));
}

.steam-friends-avatar-stack {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 4px;
}

.steam-friends-presence-avatar {
    position: relative;
    display: inline-flex;
    width: 40px;
    height: 40px;
    margin-left: -8px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid rgba(10, 17, 30, 0.92);
    box-shadow: 0 10px 24px rgba(2, 6, 23, 0.16);
    transition: transform 180ms ease, border-color 180ms ease;
}

.steam-friends-presence-avatar:first-child {
    margin-left: 0;
}

.steam-friends-presence-avatar:hover {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.35);
}

.steam-friends-presence-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.steam-friends-presence-copy {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-width: 0;
}

.steam-friends-presence-stat {
    display: grid;
    gap: 2px;
    min-width: 0;
    padding-top: 2px;
}

.steam-friends-presence-stat strong {
    font-size: 14px;
    line-height: 1;
    color: #f8fafc;
}

.steam-friends-presence-stat small {
    color: #8fa4c2;
    font-size: 11px;
    line-height: 1.3;
}

.steam-friends-insight-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.steam-friends-insight {
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(12, 20, 34, 0.72);
}

.steam-friends-insight span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fa4c2;
}

.steam-friends-insight strong {
    display: block;
    margin-top: 7px;
    font-size: 20px;
    line-height: 1;
    color: #f8fafc;
}

.steam-friends-summary {
    gap: 7px;
}

.steam-friends-summary span {
    padding: 5px 9px;
}

.steam-friends-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.steam-friends-toolbar-copy {
    display: grid;
    gap: 4px;
}

.steam-friends-sync-note {
    color: #8fa4c2;
    font-size: 11px;
}

.steam-friends-toolbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.steam-friends-refresh-form {
    display: block;
}

.steam-friends-refresh-btn {
    min-height: 34px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 800;
}

.steam-friends-list {
    gap: 10px;
    max-height: 420px;
    padding-right: 3px;
}

.steam-friend-item {
    grid-template-columns: 46px minmax(0, 1fr) auto;
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(18, 29, 48, 0.92), rgba(9, 15, 27, 0.92));
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.steam-friend-item:hover {
    background:
        linear-gradient(180deg, rgba(23, 37, 61, 0.96), rgba(11, 18, 32, 0.96));
}

.steam-friend-item-no-link {
    cursor: default;
    pointer-events: none;
}

.steam-friend-item-no-link:hover {
    transform: none;
    border-color: rgba(148, 163, 184, 0.08);
}

.steam-friend-avatar {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    box-shadow: 0 12px 20px rgba(2, 6, 23, 0.16);
}

.steam-friend-topline {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.steam-friend-status-row {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.steam-friend-presence-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    flex: 0 0 auto;
}

.steam-friend-presence-dot-online {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.steam-friend-presence-dot-offline {
    background: #64748b;
    box-shadow: 0 0 0 4px rgba(100, 116, 139, 0.1);
}

.steam-friend-game-chip,
.steam-friend-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.steam-friend-game-chip {
    color: #dbeafe;
    background: rgba(30, 64, 175, 0.34);
    border: 1px solid rgba(96, 165, 250, 0.18);
}

.steam-friend-action {
    display: flex;
    align-items: center;
}

.steam-friend-cta {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(148, 163, 184, 0.12);
}

.steam-friend-cta-muted {
    color: #94a3b8;
}

.steam-friends-private-actions {
    margin: 0 0 10px;
}

@media (max-width: 1080px) {
    .steam-friends-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .steam-friends-presence-strip {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .steam-friends-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .steam-friends-toolbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .steam-friends-refresh-btn,
    .steam-friends-filter {
        width: 100%;
    }

    .steam-friends-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steam-friend-item {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .steam-friend-action {
        grid-column: 1 / -1;
        justify-content: flex-start;
    }
}

/* 0.5.24 - Coluna direita como hub social unico. */
.right-panel {
    display: grid;
    gap: 16px;
}

.right-panel-shell {
    position: relative;
    padding: 14px;
    border-radius: 28px;
    border: 1px solid rgba(96, 165, 250, 0.08);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(12, 20, 34, 0.92), rgba(7, 12, 22, 0.96));
    box-shadow:
        0 26px 44px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.right-panel-stack {
    display: grid;
    gap: 16px;
    transition: gap 360ms ease, transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

.right-panel-collapse-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 12px;
    background: rgba(11, 18, 32, 0.84);
    color: #dbeafe;
    border: 1px solid rgba(148, 163, 184, 0.16);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.right-panel-collapse-toggle:hover {
    transform: translateY(-1px);
    background: rgba(15, 23, 42, 0.96);
    border-color: rgba(96, 165, 250, 0.24);
}

.right-panel-collapse-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

.right-panel .mini-card.compact {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.12), transparent 34%),
        linear-gradient(180deg, rgba(18, 28, 45, 0.985), rgba(8, 13, 24, 0.985));
    box-shadow:
        0 24px 40px rgba(2, 6, 23, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition:
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 360ms ease,
        border-color 280ms ease,
        background 360ms ease;
}

.right-panel .mini-card.compact .mini-card-header {
    cursor: default;
}

.right-panel .mini-card.compact.is-collapsed {
    transform: translateY(-2px) scale(0.992);
    box-shadow:
        0 18px 30px rgba(2, 6, 23, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.right-panel .mini-card.compact::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.28), transparent 42%);
    pointer-events: none;
}

.right-panel-content {
    overflow: hidden;
    max-height: 2200px;
    opacity: 1;
    transform: translateY(0);
    transition:
        max-height 520ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 280ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 360ms ease,
        margin 360ms ease;
    will-change: max-height, opacity, transform;
}

.right-panel-content.is-collapsed {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.group-header,
.steam-friends-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}

.group-heading,
.steam-friends-heading {
    display: grid;
    gap: 4px;
}

.group-heading h3,
.steam-friends-heading h3 {
    margin: 0;
}

.group-heading p,
.steam-friends-heading p {
    margin: 0;
    color: #8fa4c2;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.group-header-meta,
.steam-friends-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.group-social-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.group-social-stat {
    padding: 11px 12px;
    border-radius: 16px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(12, 20, 34, 0.72);
}

.group-social-stat span {
    display: block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fa4c2;
}

.group-social-stat strong {
    display: block;
    margin-top: 7px;
    font-size: 18px;
    line-height: 1.05;
    color: #f8fafc;
}

.group-social-stat-code strong {
    font-size: 14px;
    letter-spacing: 0.04em;
}

.group-card-pill-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.group-meta-pill {
    min-height: 36px;
    background: rgba(8, 13, 24, 0.7);
}

.group-member-panel,
.group-share-panel,
.steam-friends-presence-strip,
.steam-friends-private-card,
.group-form-block,
.group-empty-state {
    border-radius: 22px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.032), rgba(11, 18, 32, 0.22));
}

.group-member-panel,
.group-share-panel,
.group-form-block,
.group-empty-state {
    padding: 16px;
}

.group-member-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(18, 29, 48, 0.92), rgba(9, 15, 27, 0.92));
}

.group-member-row-link {
    color: inherit;
    text-decoration: none;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.group-member-row-link:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, rgba(26, 38, 61, 0.96), rgba(10, 17, 31, 0.96));
}

.group-member-avatar-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    box-shadow: 0 12px 20px rgba(2, 6, 23, 0.16);
}

.group-owner-inline-badge {
    width: 22px;
    height: 22px;
    min-height: 22px;
    padding: 0;
}

.group-share-label {
    color: #8fb7ff;
}

.group-share-row {
    align-items: stretch;
}

.group-share-input {
    min-height: 40px;
    border-radius: 16px;
}

.group-form-grid {
    display: grid;
    gap: 12px;
}

.group-empty-state {
    display: grid;
    gap: 10px;
}

.group-empty-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.68);
    border: 1px solid rgba(148, 163, 184, 0.14);
    color: #dbeafe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.group-empty-title {
    font-size: 22px;
    line-height: 1.02;
    letter-spacing: -0.04em;
    color: #f8fafc;
}

.group-empty-copy {
    margin: 0;
    color: #9fb1ca;
    font-size: 12.5px;
    line-height: 1.55;
}

.group-form-block {
    gap: 12px;
    margin-bottom: 0 !important;
}

.group-form-hint {
    color: #8fa4c2;
    line-height: 1.5;
}

.steam-friends-card .steam-friends-summary span,
.group-card .group-feedback,
.steam-friends-card .steam-friends-feedback {
    backdrop-filter: blur(6px);
}

@media (max-width: 1080px) {
    .group-social-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-social-stat-code {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .group-social-summary {
        grid-template-columns: 1fr;
    }

    .group-member-row {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .group-member-link {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* 0.5.27 - Sidebar profile rail polished to match the compact Steam card mockup. */
.dashboard-layout {
    grid-template-columns: minmax(318px, 356px) minmax(0, 1fr) minmax(290px, 312px);
}

.left-panel-profile {
    width: 100%;
    max-width: 356px;
}

.steam-profile-card.steam-sidebar-card {
    padding: 20px 18px 18px;
    border-radius: 30px;
    border: 1px solid rgba(120, 144, 184, 0.14);
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(19, 29, 46, 0.985), rgba(8, 13, 24, 0.99));
    box-shadow:
        0 26px 48px rgba(2, 6, 23, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.steam-profile-card-has-bg::before {
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.2), rgba(7, 16, 29, 0.78) 30%, rgba(7, 16, 29, 0.98) 58%),
        var(--steam-mini-bg) center top / cover no-repeat;
    opacity: 0.76;
}

.steam-sidebar-card::after {
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 20%),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.045), transparent 28%);
}

.steam-sidebar-header {
    grid-template-columns: 102px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    margin-bottom: 16px;
}

.steam-sidebar-avatar-wrap {
    width: 102px;
    height: 102px;
}

.steam-sidebar-avatar-wrap .steam-avatar {
    width: 102px;
    height: 102px;
    border-radius: 14px;
    box-shadow: 0 18px 32px rgba(2, 6, 23, 0.24);
}

.steam-sidebar-avatar-wrap .steam-avatar-frame {
    inset: -9px;
    width: calc(100% + 18px);
    height: calc(100% + 18px);
}

.steam-user-kicker {
    margin-bottom: 8px;
    font-size: 10px;
    letter-spacing: 0.18em;
}

.steam-sidebar-identity h2 {
    margin: 0;
    font-size: 28px;
    line-height: 0.95;
    letter-spacing: -0.05em;
}

.steam-sidebar-handle {
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 800;
    color: #d9e7ff;
}

.steam-sidebar-email {
    margin: 5px 0 0;
    font-size: 12px;
    color: #9caeca;
}

.steam-user-main {
    gap: 14px;
}

.steam-profile-pill-row-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.steam-profile-pill-row-sidebar .steam-profile-pill {
    min-height: 36px;
    padding: 0 15px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0;
    background: rgba(8, 13, 24, 0.74);
}

.steam-sidebar-metric-list-top {
    margin-top: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.steam-sidebar-metric-list-top .steam-sidebar-metric {
    min-height: 92px;
    padding: 14px 14px 12px;
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 13, 24, 0.18));
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.steam-sidebar-metric-list-top .steam-sidebar-metric span {
    font-size: 10px;
    letter-spacing: 0.12em;
    color: #8fa4c2;
}

.steam-sidebar-metric-list-top .steam-sidebar-metric strong {
    margin-top: 10px;
    font-size: 18px;
    line-height: 1;
    color: #f8fafc;
}

.steam-sidebar-xp-progress {
    position: relative;
    width: 100%;
    height: 6px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.steam-sidebar-xp-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.26);
}

.steam-sidebar-feedback {
    margin: -2px 0 0;
}

.steam-sidebar-panel {
    padding: 16px 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    background: rgba(9, 15, 28, 0.52);
    backdrop-filter: blur(8px);
}

.steam-sidebar-section-title {
    margin-bottom: 12px;
    font-size: 11px;
    letter-spacing: 0.18em;
}

.steam-sidebar-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    padding: 12px 0;
    font-size: 13px;
}

.steam-sidebar-row span {
    color: #9db0ca;
}

.steam-sidebar-row strong {
    font-size: 13px;
    font-weight: 800;
}

.steam-country-flag-img {
    width: 21px;
    height: 15px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.steam-identity-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.steam-identity-chip {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    min-height: 122px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.08);
}

.steam-identity-value {
    min-height: 34px;
    font-size: 13px;
    line-height: 1.35;
    text-align: left;
    word-break: break-all;
}

.steam-identity-copy-btn {
    width: 100%;
    min-width: 0;
    min-height: 34px;
    margin-top: auto;
    border-radius: 11px;
    background: rgba(59, 78, 112, 0.8);
}

.steam-sidebar-actions-primary {
    display: grid;
    gap: 10px;
    margin-top: 2px;
    width: 100%;
}

.steam-sidebar-action-btn,
.steam-sidebar-action-form .steam-sidebar-action-btn {
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    width: 100%;
    max-width: 100%;
    margin: 0;
    min-height: 48px;
    padding: 0 16px;
    border-radius: 16px;
    font-size: 13px;
    justify-content: center;
    text-align: center;
}

.steam-sidebar-action-btn-ghost {
    background: rgba(8, 13, 24, 0.7);
}

.steam-sidebar-action-form {
    width: 100%;
    margin: 0;
}

@media (max-width: 1320px) {
    .dashboard-layout {
        grid-template-columns: minmax(300px, 336px) minmax(0, 1fr) minmax(280px, 304px);
    }

    .left-panel-profile {
        max-width: 336px;
    }
}

@media (max-width: 760px) {
    .steam-sidebar-header {
        grid-template-columns: 92px minmax(0, 1fr);
    }

    .steam-sidebar-avatar-wrap,
    .steam-sidebar-avatar-wrap .steam-avatar {
        width: 92px;
        height: 92px;
    }

    .steam-identity-list,
    .steam-sidebar-metric-list-top {
        grid-template-columns: 1fr;
    }

    .steam-identity-chip {
        min-height: auto;
    }
}

/* 0.5.28 - Calendario de lancamentos da Steam no painel direito. */
.release-calendar-card {
    padding: 0;
}

.release-calendar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 18px 14px;
    cursor: default;
}

.release-calendar-heading {
    display: grid;
    gap: 4px;
}

.release-calendar-heading h3 {
    margin: 0;
}

.release-calendar-heading p {
    margin: 0;
    color: #8fa4c2;
    font-size: 11px;
    letter-spacing: 0.04em;
}

.release-calendar-header-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.release-calendar-content {
    display: grid;
    gap: 14px;
    padding: 0 16px 16px;
}

.release-calendar-content.hidden {
    display: none;
}

.release-calendar-carousel {
    position: relative;
    display: grid;
    gap: 12px;
    min-width: 0;
    padding: 14px 14px 16px;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, 0.09);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(11, 18, 32, 0.24));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.03),
        0 18px 28px rgba(2, 6, 23, 0.12);
}

.release-calendar-month-switcher {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 42px;
    align-items: center;
    gap: 12px;
}

.release-calendar-month-display {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-height: 52px;
    padding: 9px 14px;
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(48, 60, 91, 0.92), rgba(31, 39, 66, 0.88));
    border: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.release-calendar-month-label {
    font-size: 16px;
    font-weight: 800;
    line-height: 1;
    color: #f8fafc;
    letter-spacing: -0.02em;
}

.release-calendar-month-meta {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8fa4c2;
}

.release-calendar-month-nav {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(39, 48, 73, 0.88), rgba(25, 31, 52, 0.84));
    color: #e2e8f0;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, opacity 180ms ease;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.release-calendar-month-nav:hover:not(:disabled) {
    transform: translateY(-1px);
    border-color: rgba(96, 165, 250, 0.22);
}

.release-calendar-month-nav:disabled {
    opacity: 0.45;
    cursor: default;
}

.release-calendar-stage {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 320px;
    padding: 0 2px;
}

.release-calendar-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-content: start;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: max-content;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.release-calendar-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.release-calendar-slide.is-month-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0);
}

.release-calendar-date {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 14px;
    background: rgba(15, 23, 42, 0.78);
    border: 1px solid rgba(148, 163, 184, 0.1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.release-calendar-date span {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    color: #e6eefb;
}

.release-calendar-media {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow: hidden;
    border-radius: 20px;
    min-height: 222px;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background:
        radial-gradient(circle at top center, rgba(96, 165, 250, 0.12), transparent 40%),
        linear-gradient(180deg, rgba(19, 29, 46, 0.96), rgba(8, 13, 24, 0.98));
    box-shadow: 0 18px 28px rgba(2, 6, 23, 0.2);
}

.release-calendar-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 29, 0.24), rgba(7, 16, 29, 0.72)),
        var(--release-art) center / cover no-repeat;
    transform: scale(1.14);
    filter: blur(18px) saturate(1.05);
    opacity: 0.82;
}

.release-calendar-media::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 48%;
    background: linear-gradient(180deg, transparent, rgba(4, 9, 18, 0.88));
    pointer-events: none;
}

.release-calendar-media img {
    position: relative;
    z-index: 1;
    width: calc(100% - 18px);
    height: calc(100% - 18px);
    padding: 10px;
    object-fit: contain;
    object-position: center center;
    display: block;
    transition: transform 180ms ease;
    filter: drop-shadow(0 14px 24px rgba(2, 6, 23, 0.34));
    image-rendering: auto;
}

.release-calendar-media:hover img {
    transform: scale(1.015);
}

.release-calendar-badge {
    position: absolute;
    z-index: 1;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    max-width: calc(100% - 24px);
    padding: 0 11px;
    border-radius: 11px;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    color: #f8fafc;
    text-transform: uppercase;
    background: rgba(7, 16, 29, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
}

.release-calendar-badge-wishlist {
    color: #dbeafe;
    border-color: rgba(96, 165, 250, 0.24);
}

.release-calendar-badge-live {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.24);
}

.release-calendar-badge-upcoming {
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.24);
}

.release-calendar-copy {
    display: grid;
    gap: 9px;
    width: 100%;
    min-width: 0;
    padding: 2px 2px 4px;
}

.release-calendar-copy h4 {
    margin: 0;
    font-size: 17px;
    line-height: 1.16;
    letter-spacing: -0.03em;
    color: #f8fafc;
    overflow-wrap: anywhere;
}

.release-calendar-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.release-calendar-status,
.release-calendar-meta-pill {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.62);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.release-calendar-status-released {
    color: #bbf7d0;
    border-color: rgba(74, 222, 128, 0.24);
}

.release-calendar-status-upcoming {
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.2);
}

.release-calendar-meta-pill {
    color: #dbeafe;
}

.release-calendar-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(7, 16, 29, 0.88);
    color: #e2e8f0;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
    box-shadow: 0 12px 24px rgba(2, 6, 23, 0.22);
    transform: translateY(-50%);
}

.release-calendar-nav:hover:not(:disabled) {
    transform: translateY(calc(-50% - 1px));
    border-color: rgba(96, 165, 250, 0.22);
    background: rgba(11, 18, 32, 0.94);
}

.release-calendar-nav:disabled {
    opacity: 0.36;
    cursor: default;
    transform: translateY(-50%);
}

.release-calendar-nav-prev {
    left: 2px;
}

.release-calendar-nav-next {
    right: 2px;
}

.release-calendar-footer {
    display: grid;
    gap: 12px;
}

.release-calendar-progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
}

.release-calendar-progress-fill {
    position: absolute;
    inset: 0 auto 0 0;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #3b82f6, #22c55e);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.34);
}

.release-calendar-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.release-calendar-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.34);
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease;
}

.release-calendar-dot.is-active {
    background: #22c55e;
    transform: scale(1.05);
}

.release-calendar-empty {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background: rgba(15, 23, 42, 0.56);
    color: #cbd5e1;
    font-size: 13px;
    line-height: 1.5;
}

.release-calendar-empty-month {
    display: grid;
    gap: 10px;
    padding: 20px 16px;
    border-radius: 20px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(11, 18, 32, 0.22));
    color: #cbd5e1;
}

.release-calendar-empty-month strong {
    font-size: 16px;
    line-height: 1.1;
    color: #f8fafc;
}

.release-calendar-empty-month span {
    font-size: 12.5px;
    line-height: 1.55;
    color: #8fa4c2;
}

@media (max-width: 760px) {
    .release-calendar-stage {
        min-height: 288px;
    }

    .release-calendar-media {
        min-height: 196px;
    }

    .release-calendar-media img {
        width: calc(100% - 14px);
        height: calc(100% - 14px);
        padding: 7px;
    }

}

/* 0.5.33 - Wishlist personalizada do grupo. */
.wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
}

.card-actions > :only-child {
    grid-column: 1 / -1;
}

.card-actions form,
.card-actions > button {
    min-width: 0;
}

.card-actions .btn {
    min-height: 52px;
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    white-space: normal;
    line-height: 1.2;
    text-align: center;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.16);
}

.relevance-form,
.group-wishlist-proposal-form,
.group-wishlist-vote-form {
    width: 100%;
}

.relevance-form .btn.btn-relevant {
    background: linear-gradient(180deg, #facc15, #eab308);
    color: #111827;
}

.relevance-form .btn.btn-remove {
    background: linear-gradient(180deg, #64748b, #475569);
}

.group-wishlist-proposal-form .btn {
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.96), rgba(30, 64, 175, 0.94));
    border: 1px solid rgba(147, 197, 253, 0.24);
    color: #eff6ff;
}

.group-wishlist-proposal-form .btn,
.group-wishlist-vote-form .btn {
    width: 100%;
    justify-content: center;
}

.group-subsection-collapsible {
    margin-top: 24px;
}

.group-subsection-summary {
    list-style: none;
    cursor: pointer;
}

.group-subsection-summary::-webkit-details-marker {
    display: none;
}

.group-subsection-summary .section-header {
    margin-bottom: 0;
}

.group-subsection-collapsible .wishlist-grid,
.group-subsection-collapsible .placeholder-box {
    margin-top: 16px;
}

.group-custom-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.group-custom-summary-pill {
    display: grid;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(19, 32, 56, 0.94), rgba(8, 17, 33, 0.88));
    border: 1px solid rgba(96, 165, 250, 0.14);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.group-custom-summary-pill strong {
    font-size: 24px;
    line-height: 1;
    color: #f8fafc;
}

.group-custom-summary-pill span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fb7f0;
}

.group-custom-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    margin-top: 16px;
}

.group-custom-column {
    display: grid;
    gap: 14px;
}

.group-custom-column h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #e5eefc;
}

.group-custom-grid {
    margin-top: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.group-custom-card {
    border-color: rgba(96, 165, 250, 0.14);
    min-height: 0;
}

.group-custom-card .game-card-content {
    padding: 16px 16px 14px;
}

.group-custom-card .game-title {
    min-height: 0;
    font-size: 17px;
    line-height: 1.26;
}

.group-custom-card.group-custom-status-pending {
    box-shadow: 0 0 0 1px rgba(250, 204, 21, 0.08);
}

.group-custom-card.group-custom-status-approved {
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.group-custom-card.group-custom-status-rejected {
    box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.08);
}

.group-custom-status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.7);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #dbeafe;
    width: fit-content;
}

.group-custom-status-approved {
    border-color: rgba(34, 197, 94, 0.22);
}

.group-custom-status-approved .group-custom-status-pill,
.group-custom-status-pill.group-custom-status-approved {
    color: #bbf7d0;
    border-color: rgba(34, 197, 94, 0.24);
    background: rgba(20, 83, 45, 0.24);
}

.group-custom-status-pending {
    border-color: rgba(250, 204, 21, 0.2);
}

.group-custom-status-pending .group-custom-status-pill,
.group-custom-status-pill.group-custom-status-pending {
    color: #fde68a;
    border-color: rgba(250, 204, 21, 0.24);
    background: rgba(113, 63, 18, 0.22);
}

.group-custom-status-rejected {
    border-color: rgba(248, 113, 113, 0.18);
}

.group-custom-status-rejected .group-custom-status-pill,
.group-custom-status-pill.group-custom-status-rejected {
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(127, 29, 29, 0.22);
}

.group-custom-hint {
    font-size: 12px;
    line-height: 1.5;
    color: #f8e08a;
}

.group-custom-actions {
    padding-top: 0;
}

.group-custom-actions .btn {
    min-height: 48px;
    font-size: 13px;
}

.group-custom-remove-form {
    grid-column: 1 / -1;
}

.group-custom-collapsible {
    margin-top: 0;
}

/* 0.6.0 - Mini perfil recolhivel e layout mais denso. */
.dashboard-layout {
    transition: grid-template-columns 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.left-panel-profile {
    transition: max-width 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.steam-profile-card.steam-sidebar-card {
    position: relative;
    overflow: hidden;
    transition:
        padding 560ms cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 560ms cubic-bezier(0.22, 1, 0.36, 1),
        transform 680ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 520ms ease,
        opacity 360ms ease;
    transform-origin: top left;
}

.steam-sidebar-identity,
.steam-user-main {
    transition:
        max-height 560ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 420ms ease,
        transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 520ms ease;
}

.steam-sidebar-collapse-toggle {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 12px;
    background: rgba(7, 16, 29, 0.78);
    color: #dbeafe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.2);
    transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.steam-sidebar-collapse-toggle:hover {
    transform: translateY(-1px);
    background: rgba(11, 18, 32, 0.92);
    border-color: rgba(96, 165, 250, 0.24);
}

.steam-sidebar-collapse-icon {
    font-size: 20px;
    line-height: 1;
    transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
}

.dashboard-layout.sidebar-left-collapsed {
    grid-template-columns: 112px minmax(0, 1fr) minmax(290px, 312px);
}

.left-panel-profile.is-collapsed {
    max-width: 112px;
}

.left-panel-profile.is-collapsed .steam-profile-card.steam-sidebar-card {
    padding: 16px 12px 12px;
    border-radius: 22px;
    transform: translate(-12px, -14px) scale(0.968);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.16);
}

.left-panel-profile.is-collapsed .steam-sidebar-header {
    grid-template-columns: 1fr;
    gap: 0;
    justify-items: center;
    margin-bottom: 0;
}

.left-panel-profile.is-collapsed .steam-sidebar-avatar-wrap,
.left-panel-profile.is-collapsed .steam-sidebar-avatar-wrap .steam-avatar {
    width: 76px;
    height: 76px;
}

.left-panel-profile.is-collapsed .steam-sidebar-avatar-frame {
    inset: -7px;
    width: calc(100% + 14px);
    height: calc(100% + 14px);
}

.left-panel-profile.is-collapsed .steam-sidebar-identity,
.left-panel-profile.is-collapsed .steam-user-main {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-6px);
    margin: 0;
}

.left-panel-profile.is-collapsed .steam-sidebar-collapse-icon {
    transform: rotate(180deg);
}

.dashboard-layout.sidebar-right-collapsed {
    grid-template-columns: minmax(318px, 356px) minmax(0, 1fr) 112px;
}

.right-panel.is-collapsed {
    max-width: 112px;
}

.right-panel.is-collapsed .right-panel-stack {
    gap: 12px;
}

.right-panel.is-collapsed .right-panel-collapse-icon {
    transform: rotate(180deg);
}

.right-panel.is-collapsed .mini-card.compact {
    border-radius: 22px;
    transform: translate(12px, -10px) scale(0.968);
    box-shadow: 0 18px 34px rgba(2, 6, 23, 0.16);
}

.right-panel.is-collapsed .mini-card-header {
    min-height: 88px;
    padding: 18px 12px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.right-panel.is-collapsed .group-heading,
.right-panel.is-collapsed .steam-friends-heading,
.right-panel.is-collapsed .release-calendar-heading {
    justify-items: center;
}

.right-panel.is-collapsed .group-heading p,
.right-panel.is-collapsed .steam-friends-heading p,
.right-panel.is-collapsed .release-calendar-heading p,
.right-panel.is-collapsed .group-header-meta .online-badge,
.right-panel.is-collapsed .steam-friends-header-meta .online-badge,
.right-panel.is-collapsed .release-calendar-header-meta .online-badge {
    display: none;
}

.right-panel.is-collapsed .group-heading h3,
.right-panel.is-collapsed .steam-friends-heading h3,
.right-panel.is-collapsed .release-calendar-heading h3 {
    font-size: 14px;
    line-height: 1.15;
    text-wrap: balance;
}

.right-panel.is-collapsed .group-header,
.right-panel.is-collapsed .steam-friends-header,
.right-panel.is-collapsed .release-calendar-header {
    justify-content: center;
}

.right-panel.is-collapsed .group-header-meta,
.right-panel.is-collapsed .steam-friends-header-meta,
.right-panel.is-collapsed .release-calendar-header-meta {
    display: none;
}

.right-panel.is-collapsed .right-panel-content {
    max-height: 0 !important;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
}

.group-top-grid,
.group-all-games-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1100px) {
    .wishlist-grid,
    .group-wishlist-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-custom-columns {
        grid-template-columns: 1fr;
    }

    .group-top-grid,
    .group-all-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .wishlist-grid,
    .group-wishlist-grid,
    .group-custom-summary {
        grid-template-columns: 1fr;
    }

    .card-actions {
        grid-template-columns: 1fr;
    }

    .group-wishlist-proposal-form,
    .group-wishlist-vote-form {
        width: 100%;
    }

    .group-top-grid,
    .group-all-games-grid,
    .group-custom-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-layout.sidebar-left-collapsed {
        grid-template-columns: 1fr;
    }

    .dashboard-layout.sidebar-right-collapsed {
        grid-template-columns: 1fr;
    }

    .left-panel-profile.is-collapsed {
        max-width: none;
    }

    .left-panel-profile.is-collapsed .steam-profile-card.steam-sidebar-card {
        transform: none;
    }

    .right-panel.is-collapsed {
        max-width: none;
    }

    .right-panel.is-collapsed .mini-card.compact {
        transform: none;
    }
}

/* 0.5.28 - Mobile polish para dashboard. */
@media (max-width: 900px) {
    .page-shell {
        width: min(100%, calc(100% - 16px));
        margin: 10px auto 18px;
    }

    .sticky-shell {
        top: 8px;
        margin-bottom: 14px;
        padding: 10px;
        border-radius: 18px;
    }

    .topbar-unified {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: stretch;
    }

    .topbar-brand-area,
    .topbar-controls-area,
    .topbar-actions-area {
        width: 100%;
        padding-top: 0;
    }

    .topbar-brand-area {
        justify-content: space-between;
        align-items: center;
    }

    .controls-row.unified-controls-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    #search-input,
    .tag-picker-container,
    .inline-refresh-form {
        grid-column: 1 / -1;
    }

    .inline-refresh-form,
    .inline-refresh-form .btn {
        width: 100%;
    }

    .topbar-actions {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        flex-wrap: wrap;
    }

    .notifications-dropdown {
        position: fixed;
        top: 82px;
        left: 12px;
        right: 12px;
        width: auto;
        max-height: calc(100svh - 100px);
        border-radius: 18px;
    }

    .notifications-dropdown-header {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .notifications-dropdown-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .notifications-read-all-btn,
    .notifications-see-all-btn {
        width: 100%;
        justify-content: center;
    }

    .dashboard-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .left-panel {
        order: 2;
    }

    .center-panel {
        order: 1;
    }

    .right-panel {
        order: 3;
    }

    .hero-card.hero-card-clean {
        min-height: auto;
        padding: 104px 16px 14px;
        grid-template-columns: 1fr;
        gap: 14px;
        border-radius: 22px;
    }

    .hero-media-layer {
        height: 128px;
    }

    .hero-profile-backdrop,
    .hero-profile-backdrop-grid {
        min-height: 128px;
    }

    .hero-profile-backdrop-status {
        top: 14px;
        right: 14px;
        min-width: 84px;
        min-height: 34px;
        padding: 0 14px;
        border-radius: 14px;
        font-size: 11px;
    }

    .hero-left-profile {
        margin-top: 0;
    }

    .hero-avatar-box-large {
        width: 118px;
    }

    .hero-avatar-image-large {
        width: 104px;
        height: 104px;
        max-width: 104px;
    }

    .hero-center.hero-center-clean {
        padding-top: 0;
    }

    .hero-display-name,
    .hero-center-clean h1 {
        max-width: none;
        font-size: clamp(34px, 11vw, 48px);
    }

    .hero-subtitle-showcase {
        flex-wrap: wrap;
        font-size: 13px;
        row-gap: 4px;
    }

    .hero-profile-quote-showcase,
    .hero-profile-quote {
        max-width: none;
        font-size: 11px;
        line-height: 1.55;
    }

    .hero-meta-pills-showcase,
    .hero-kicker-row,
    .hero-kicker-row-showcase {
        gap: 8px;
    }

    .hero-metrics-showcase {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-top: 10px;
    }

    .hero-stat-row-primary {
        grid-column: 1 / -1;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .hero-stat-row-primary .hero-stat-chip-owned {
        grid-column: 1 / -1;
    }

    .hero-stat-row-secondary,
    .hero-corner-meta-showcase.hero-stat-chip-secondary {
        grid-column: auto;
        grid-row: auto;
    }

    .hero-stat-chip-showcase,
    .hero-corner-meta-showcase {
        min-height: 76px;
        border-radius: 18px;
    }

    .hero-stat-chip strong {
        font-size: clamp(15px, 5.4vw, 24px);
    }

    .hero-stat-chip span,
    .hero-corner-label {
        font-size: 9px;
    }

    .main-panel-section,
    .mini-card.compact,
    .steam-profile-card.steam-sidebar-card {
        border-radius: 20px;
    }

    .main-panel-summary {
        padding: 14px 16px;
    }

    .main-panel-title {
        font-size: 15px;
    }

    .main-panel-meta {
        display: none;
    }

    .main-panel-body {
        padding: 0 12px 12px;
    }

    .steam-profile-card.steam-sidebar-card {
        padding: 16px;
    }

    .steam-sidebar-header {
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: center;
        gap: 12px;
    }

    .steam-sidebar-avatar-wrap,
    .steam-sidebar-avatar-wrap .steam-avatar {
        width: 78px;
        height: 78px;
    }

    .steam-sidebar-identity h2 {
        font-size: 26px;
    }

    .steam-sidebar-badge-strip,
    .steam-sidebar-metric-list-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .steam-sidebar-actions-primary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-social-summary,
    .steam-friends-insight-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-share-row,
    .group-share-actions,
    .steam-friends-toolbar,
    .steam-friends-toolbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .steam-friends-refresh-btn,
    .steam-friends-filter,
    .group-card .btn,
    .group-share-row .btn,
    .group-share-actions .btn,
    .group-danger-zone .btn {
        width: 100%;
    }

    .news-section-subtitle {
        font-size: 12px;
        line-height: 1.5;
    }

    .news-filters {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        overflow-x: auto;
        padding-bottom: 4px;
        scrollbar-width: none;
    }

    .news-filters::-webkit-scrollbar {
        display: none;
    }

    .news-filter {
        flex: 0 0 auto;
    }

    .news-grid,
    .news-detail-card .news-grid,
    .news-grid.store-all-grid {
        grid-template-columns: 1fr;
    }

    .release-calendar-header {
        flex-direction: column;
        align-items: stretch;
    }

    .release-calendar-header-meta {
        justify-content: space-between;
    }

    .release-calendar-month-switcher {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 8px;
    }

    .release-calendar-month-nav {
        width: 36px;
        height: 36px;
        border-radius: 12px;
        font-size: 18px;
    }

    .release-calendar-stage {
        min-height: 270px;
    }

    .release-calendar-media {
        min-height: 186px;
        border-radius: 18px;
    }

    .release-calendar-nav {
        width: 34px;
        height: 34px;
        font-size: 20px;
    }
}

@media (max-width: 640px) {
    .page-shell {
        width: min(100%, calc(100% - 12px));
        margin: 8px auto 16px;
    }

    .sticky-shell {
        padding: 10px 9px;
        border-radius: 16px;
    }

    .brand-text {
        font-size: 16px;
    }

    .controls-row.unified-controls-row {
        grid-template-columns: 1fr;
    }

    .topbar-actions {
        display: grid;
        grid-template-columns: 40px 40px 40px minmax(0, 1fr);
        gap: 8px;
        align-items: center;
    }

    .topbar-logout-btn {
        width: 100%;
    }

    .topbar-version-link {
        justify-self: start;
    }

    .notifications-dropdown {
        top: 74px;
        left: 8px;
        right: 8px;
        max-height: calc(100svh - 88px);
    }

    .notifications-dropdown-actions {
        grid-template-columns: 1fr;
    }

    .hero-card.hero-card-clean {
        padding: 94px 14px 14px;
    }

    .hero-media-layer {
        height: 114px;
    }

    .hero-profile-backdrop,
    .hero-profile-backdrop-grid {
        min-height: 114px;
    }

    .hero-display-name,
    .hero-center-clean h1 {
        font-size: clamp(30px, 11vw, 40px);
    }

    .hero-metrics-showcase,
    .hero-stat-row-primary,
    .steam-sidebar-badge-strip,
    .steam-sidebar-metric-list-top,
    .steam-sidebar-actions-primary,
    .group-social-summary,
    .steam-friends-insight-grid {
        grid-template-columns: 1fr;
    }

    .steam-sidebar-row {
        grid-template-columns: 1fr;
        gap: 4px;
        justify-items: start;
    }

    .group-member-row,
    .steam-friend-item {
        grid-template-columns: 1fr;
    }

    .steam-friend-action,
    .group-member-action {
        width: 100%;
        justify-content: center;
    }

    .main-panel-summary,
    .release-calendar-content,
    .release-calendar-header,
    .group-card,
    .steam-friends-card,
    .steam-profile-card.steam-sidebar-card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .release-calendar-date {
        min-height: 30px;
        padding: 0 10px;
    }

    .release-calendar-date span {
        font-size: 10px;
        letter-spacing: 0.14em;
    }
}

/* 0.5.32 - Isolar hover da topbar para nao vazar entre botoes. */
.topbar-actions > *,
.notifications-dropdown-wrap,
.topbar-version-link {
    position: relative;
    isolation: isolate;
}

.topbar-icon::after {
    inset: 1px;
    border-radius: inherit;
    transform: none !important;
    opacity: 0 !important;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), transparent 34%, transparent 70%, rgba(255, 255, 255, 0.07));
    transition: opacity 0.18s ease !important;
}

.topbar-icon:hover::after,
.topbar-icon:focus-visible::after {
    opacity: 1 !important;
}

/* 0.6.0 - Shell social unificado, colapso individual e colapso global da lateral direita. */
@media (min-width: 1081px) {
    .right-panel {
        position: sticky;
        top: 92px;
        align-self: start;
    }
}

.right-panel {
    width: 100%;
    max-width: 312px;
    transition: max-width 460ms cubic-bezier(0.22, 1, 0.36, 1);
}

.right-panel-shell {
    display: grid;
    gap: 14px;
    min-height: 100%;
    padding: 54px 14px 14px;
    transition:
        padding 460ms cubic-bezier(0.22, 1, 0.36, 1),
        min-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
        border-radius 460ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 320ms ease;
}

.right-panel-shell-header {
    padding-right: 46px;
    transition:
        max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 220ms ease,
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        margin 360ms ease;
}

.right-panel-shell-heading {
    display: grid;
    gap: 4px;
}

.right-panel-shell-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(8, 15, 28, 0.58);
    color: #eff6ff;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.right-panel-shell-title {
    display: block;
    font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 780;
    line-height: 0.98;
    letter-spacing: -0.045em;
    color: #f8fafc;
}

.right-panel-shell-copy {
    margin: 0;
    color: #8fa4c2;
    font-size: 12px;
    line-height: 1.55;
}

.right-panel-compact {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 0;
    max-height: 0;
    padding: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
        max-height 420ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 240ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
        padding 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.right-panel-compact-title {
    font-family: "Segoe UI Variable Display", "Segoe UI", sans-serif;
    font-size: 28px;
    font-weight: 300;
    line-height: 0.92;
    letter-spacing: -0.045em;
    text-transform: lowercase;
    color: #f8fafc;
    text-align: center;
    text-wrap: balance;
}

.right-panel-stack {
    max-height: 3600px;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
    transition:
        gap 360ms ease,
        max-height 460ms cubic-bezier(0.22, 1, 0.36, 1),
        opacity 260ms ease,
        transform 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.right-panel-section {
    transition:
        transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 260ms ease,
        border-color 240ms ease,
        padding 320ms ease;
}

.right-panel-section-toggle {
    width: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    cursor: pointer;
    transition: filter 180ms ease, transform 180ms ease;
}

.right-panel-section-toggle:hover,
.right-panel-section-toggle:focus-visible {
    filter: brightness(1.04);
}

.right-panel-section-toggle:focus-visible {
    outline: 2px solid rgba(96, 165, 250, 0.38);
    outline-offset: 4px;
    border-radius: 18px;
}

.group-header,
.steam-friends-header,
.release-calendar-header,
.right-panel .mini-card.compact .mini-card-header {
    cursor: pointer;
}

.right-panel-section.is-panel-collapsed {
    padding-bottom: 12px;
}

.right-panel-section.is-panel-collapsed .right-panel-section-toggle {
    margin-bottom: 0;
}

.right-panel-section.is-panel-collapsed .group-heading p,
.right-panel-section.is-panel-collapsed .steam-friends-heading p,
.right-panel-section.is-panel-collapsed .release-calendar-heading p {
    opacity: 0.72;
}

.dashboard-layout.sidebar-right-collapsed {
    grid-template-columns: minmax(318px, 356px) minmax(0, 1fr) 96px;
    gap: 14px;
}

.dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed {
    grid-template-columns: 112px minmax(0, 1fr) 96px;
    gap: 12px;
}

.right-panel.is-collapsed {
    max-width: 96px;
}

.right-panel.is-collapsed .right-panel-shell {
    min-height: 96px;
    padding: 12px 10px 10px;
    border-radius: 24px;
}

.right-panel.is-collapsed .right-panel-shell-header {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    margin: 0;
    padding: 0;
}

.right-panel.is-collapsed .right-panel-stack {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    gap: 0;
}

.right-panel.is-collapsed .right-panel-compact {
    min-height: 58px;
    max-height: 58px;
    padding: 28px 0 0;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.right-panel.is-collapsed .right-panel-collapse-toggle {
    top: 10px;
    left: 10px;
    right: auto;
    width: 30px;
    height: 30px;
    border-radius: 11px;
}

.right-panel.is-collapsed .right-panel-collapse-icon {
    transform: rotate(180deg);
}

.right-panel.is-collapsed .right-panel-compact-title {
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.035em;
}

@media (max-width: 900px) {
    .right-panel {
        max-width: none;
        position: static;
        top: auto;
    }

    .right-panel-shell {
        padding-top: 50px;
    }

    .right-panel-shell-header {
        padding-right: 42px;
    }

    .dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .right-panel-compact {
        display: none;
    }
}

/* Final right-rail and Steam-event polish */
.right-panel .steam-friends-toolbar {
    display: grid;
    gap: 12px;
    align-items: stretch;
}

.right-panel .steam-friends-toolbar-copy {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.right-panel .steam-friends-section-title {
    white-space: nowrap;
}

.right-panel .steam-friends-toolbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
}

.right-panel .steam-friends-filter {
    width: 100%;
    min-width: 0;
}

.right-panel .steam-friends-refresh-form {
    min-width: 0;
}

.right-panel .steam-friends-refresh-btn {
    min-width: 104px;
    white-space: nowrap;
}

.right-panel .steam-friend-item {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: start;
}

.right-panel .steam-friend-content {
    display: grid;
    gap: 6px;
    min-width: 0;
}

.right-panel .steam-friend-topline {
    align-items: start;
}

.right-panel .steam-friend-name {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.22;
}

.right-panel .steam-friend-status-row {
    flex-wrap: wrap;
}

.right-panel .steam-friend-substatus {
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.right-panel .steam-friend-link-hint {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid rgba(96, 165, 250, 0.14);
    background: rgba(59, 130, 246, 0.08);
    color: #bfdbfe;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.right-panel .steam-friend-link-hint-muted {
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.08);
    color: #94a3b8;
}

.right-panel .steam-friend-item:hover .steam-friend-link-hint,
.right-panel .steam-friend-item:focus-visible .steam-friend-link-hint {
    border-color: rgba(125, 211, 252, 0.28);
    background: rgba(59, 130, 246, 0.14);
    color: #f8fafc;
}

#steam-event-banner-host {
    width: 100%;
}

.steam-event-banner {
    width: 100%;
    min-height: 0;
    height: clamp(176px, 15vw, 214px);
}

.steam-event-media {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: center center;
}

.steam-event-overlay {
    padding: clamp(14px, 1.4vw, 18px);
}

.dashboard-layout.sidebar-left-collapsed .steam-event-banner,
.dashboard-layout.sidebar-right-collapsed .steam-event-banner {
    height: clamp(188px, 16vw, 228px);
}

.dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed .steam-event-banner {
    height: clamp(198px, 17vw, 244px);
}

.dashboard-layout.sidebar-left-collapsed .steam-event-media,
.dashboard-layout.sidebar-right-collapsed .steam-event-media,
.dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed .steam-event-media {
    height: 100%;
}

@media (max-width: 1180px) {
    .right-panel .steam-friends-toolbar-actions {
        grid-template-columns: 1fr;
    }

    .right-panel .steam-friends-refresh-btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .steam-event-banner {
        height: clamp(168px, 38vw, 212px);
    }
}

/* Final card polish - Steam hoje and group wishlist responsiveness */
.store-feature-card.horizontal,
.promo-double-shelf .store-feature-card.horizontal {
    min-height: 400px;
}

.store-feature-image-wrap,
.free-games-grid .store-feature-image-wrap,
.store-all-grid .store-feature-image-wrap {
    aspect-ratio: 16 / 9;
    height: clamp(156px, 12.6vw, 182px);
    min-height: 156px;
    overflow: hidden;
}

.store-feature-image,
.store-all-grid .store-feature-image,
.free-games-grid .store-feature-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.store-feature-title {
    min-height: 46px;
    font-size: 15px;
    line-height: 1.3;
}

.store-feature-tags {
    padding: 10px 12px 0 12px;
    min-height: 58px;
}

.store-feature-right {
    padding: 14px;
}

.dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed .group-custom-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 1320px) {
    .dashboard-layout.sidebar-left-collapsed.sidebar-right-collapsed .group-custom-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .store-feature-card.horizontal,
    .promo-double-shelf .store-feature-card.horizontal {
        min-height: 388px;
    }

    .store-feature-image-wrap,
    .free-games-grid .store-feature-image-wrap,
    .store-all-grid .store-feature-image-wrap {
        height: clamp(148px, 22vw, 170px);
        min-height: 148px;
    }
}

@media (max-width: 760px) {
    .store-feature-card.horizontal,
    .promo-double-shelf .store-feature-card.horizontal {
        min-height: 372px;
    }

    .store-feature-image-wrap,
    .free-games-grid .store-feature-image-wrap,
    .store-all-grid .store-feature-image-wrap {
        height: clamp(140px, 36vw, 164px);
        min-height: 140px;
    }
}

/* Project Sphera 0.7: calmer surfaces, clearer actions and less rendering work. */
:root { --sphera-accent: #66dbc4; --sphera-border: rgba(148,163,184,.16); }
body { background: #0b1220; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
body.has-steam-site-bg::before { opacity: .12; }
.sticky-shell { background: #111c2d; backdrop-filter: none; box-shadow: 0 8px 24px rgba(0,0,0,.18); border-color: var(--sphera-border); }
.brand-text { letter-spacing: -.5px; font-size: 19px; }
.brand-icon { color: var(--sphera-accent); background: rgba(102,219,196,.08); }
.game-card, .store-feature-card, .group-custom-card { background: #152237; box-shadow: none; border: 1px solid var(--sphera-border); }
.game-card { content-visibility: auto; contain-intrinsic-size: auto 440px; transition: border-color .16s ease; }
.game-card:hover, .store-feature-card:hover { border-color: rgba(102,219,196,.45); box-shadow: none; }
.game-card.relevant { border: 1px solid rgba(102,219,196,.65); box-shadow: none; }
.game-title { line-height: 1.4; }
.tag { background: rgba(148,163,184,.09); font-size: 11px; }
.card-actions { gap: 8px; flex-wrap: wrap; }
.compare-prices-btn { color: #8fe8d6; border: 1px solid rgba(102,219,196,.3); background: rgba(102,219,196,.07); }
.compare-prices-btn:hover { background: rgba(102,219,196,.15); }
.sphera-recommendations { padding: 18px; background: #101b2d; border: 1px solid var(--sphera-border); border-radius: 16px; margin-bottom: 20px; }
.sphera-section-intro { color: #9cacc1; font-size: 13px; line-height: 1.6; max-width: 70ch; }
.recommendation-reason { color: #8fe8d6; font-size: 12px; line-height: 1.55; padding-top: 8px; border-top: 1px solid var(--sphera-border); }
.price-comparison-dialog { color: #e5edf7; background: #101b2d; width: min(680px, calc(100vw - 48px)); max-height: 85dvh; box-sizing: border-box; border: 1px solid #30435c; border-radius: 20px; padding: 24px; box-shadow: 0 24px 80px #0008; }
.price-comparison-dialog::backdrop { background: rgba(3,8,17,.78); }
.comparison-header { display: flex; justify-content: space-between; gap: 16px; align-items: start; }
.comparison-header h2 { font-size: 21px; line-height: 1.35; margin: 8px 0 20px; }
.comparison-kicker { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--sphera-accent); }
.comparison-header button { background: none; border: 0; color: #a5b4c8; font-size: 28px; cursor: pointer; min-width: 40px; min-height: 40px; }
.comparison-summary { color: #dbe9f6; line-height: 1.6; font-size: 14px; }
.comparison-list { display: grid; gap: 10px; }
.comparison-row { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 18px; background: #18263a; border: 1px solid var(--sphera-border); border-radius: 12px; padding: 16px; }
.comparison-row small { display: block; color: #9cacc1; margin-top: 7px; font-size: 11px; }
.comparison-row.is-best { border-color: #66dbc4; }
.comparison-row a { color: #8fe8d6; font-size: 13px; text-decoration: none; white-space: nowrap; }
.comparison-value { display: grid; gap: 5px; text-align: right; }
.comparison-best { color: #66dbc4; font-size: 11px; }
.comparison-status, .comparison-footer { color: #9cacc1; font-size: 12px; line-height: 1.6; }
.comparison-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 20px; border-top: 1px solid var(--sphera-border); padding-top: 16px; }
.comparison-footer a { color: #8fe8d6; }
:focus-visible { outline: 2px solid #66dbc4; outline-offset: 3px; }
@media (max-width: 760px) { .comparison-row { grid-template-columns: 1fr auto; gap: 12px; } .comparison-row a { grid-column: 1 / -1; padding-top: 4px; } .price-comparison-dialog { padding: 20px; } .brand-text { font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

.topbar-unified { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.topbar-brand-area { width: auto; padding: 0; flex: 1; }
.topbar-actions-area { width: auto; padding: 0; justify-content: flex-end; }
.topbar-controls-area { flex: 0 0 100%; order: 3; width: 100%; }
.controls-row.unified-controls-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.unified-controls-row > #search-input { flex: 1 1 220px; width: auto; min-width: 0; }
.unified-controls-row > .tag-picker-container { flex: 1 1 220px; width: auto; min-width: 0; }
.unified-controls-row > .btn { flex: 0 0 auto; width: auto; }
.unified-controls-row > .topbar-version-link { flex: 0 0 auto; padding: 8px 12px; width: auto; }
.card-actions .btn { font-size: 12px; padding: 8px 10px; line-height: 1.3; min-height: 34px; }
.card-actions .btn-relevant { background: #28394a; color: #d6e6f4; border: 1px solid #40566c; }
.card-actions .btn-outline { background: #1b2b40; color: #b7cadf; border: 1px solid #344c66; box-shadow: none; }
@media (min-width: 761px) and (max-width: 1350px) { .wishlist-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .sticky-shell { position: static; } .unified-controls-row > #search-input, .unified-controls-row > .tag-picker-container { flex-basis: 100%; } .wishlist-grid { grid-template-columns: 1fr; } .topbar-actions { gap: 6px; } }

/* Sphera 0.7.1: procedência e feedback */
.store-trust { display:flex; align-items:center; flex-wrap:wrap; gap:8px; margin-top:8px; font-size:.78rem; }
.store-trust span { color:#8cdbc4; border:1px solid #295448; border-radius:6px; padding:3px 7px; }
.store-trust a { font-size:.75rem; }
#recommendations-status { color:#a9b8c8; font-size:.85rem; }
.sphera-recommendations > form { margin:8px 0 14px; }

/* Restore the golden relevance accent after the dashboard palette overrides. */
.game-card.relevant {
    border: 2px solid #e6bd55;
    box-shadow: 0 0 16px rgba(230, 189, 85, .18);
}
.card-actions .relevance-form .btn.btn-relevant,
.game-card.relevant .relevance-form .btn.btn-remove {
    background: linear-gradient(180deg, #f4d477, #d9ae3f);
    border: 1px solid #e6bd55;
    color: #202331;
}
