/* Creator Directory + Profile (social-media-front) */

/* Directory hub: match Explore Games (gamme-games-explore) rhythm + header scale */
.gcr-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 18px 48px;
    color: rgba(226, 232, 240, 0.92);
}

.gcr-page--hub {
    padding-top: 18px;
}

.gcp-page {
    padding: 18px 18px 26px;
    max-width: 1200px;
    margin: 0 auto;
}

.gcr-head {
    margin-bottom: 0;
}

.gcr-head-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}

.gcr-title {
    margin: 0;
    font-size: clamp(1.75rem, 3vw, 2.1rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
}

.gcr-sub {
    margin: 8px 0 0;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.48);
}

.gcr-head-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.gcr-search {
    display: flex;
    gap: 8px;
    align-items: center;
}

.gcr-search-input {
    width: min(280px, 56vw);
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    padding: 0 14px;
    outline: none;
    font-size: 14px;
}

.gcr-search-input::placeholder {
    color: rgba(226, 232, 240, 0.35);
}

.gcr-search-input:focus {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.12);
}

.gcr-search-btn {
    height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.18);
    color: #fff;
    font-weight: 750;
    cursor: pointer;
}

.gcr-search-btn:hover {
    filter: brightness(1.08);
}

.gcr-select {
    height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(226, 232, 240, 0.88);
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
}
.gcr-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gcr-empty,
.gcp-empty {
    margin-top: 16px;
    padding: 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    color: rgba(148, 163, 184, 0.92);
}

.gcr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
    gap: 18px;
    margin-top: 22px;
}

.gcr-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    overflow: hidden;
}
.gcr-card-link {
    display: block;
    padding: 16px 16px 18px;
    text-decoration: none;
}
.gcr-card-top {
    display: flex;
    gap: 14px;
    align-items: center;
}
.gcr-avatar {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.10);
    background: rgba(0, 0, 0, 0.25);
}
.gcr-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gcr-avatar-ph {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.35), rgba(0, 0, 0, 0.15));
}
.gcr-name {
    font-weight: 900;
    color: rgba(226, 232, 240, 0.92);
    font-size: 16px;
    line-height: 1.2;
}
.gcr-handle {
    margin-top: 3px;
    color: rgba(148, 163, 184, 0.92);
    font-size: 13px;
    font-weight: 700;
}
.gcr-thumbs {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.gcr-thumbs img,
.gcr-thumb-ph {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 12px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.gcr-thumb-ph {
    display: block;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.25));
}

.gcr-pager {
    margin-top: 18px;
}

/* Profile */
.gcp-hero {
    position: relative;
    overflow: hidden;
    display: block;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
}

.gcp-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
    background: linear-gradient(125deg, rgba(88, 28, 135, 0.45), rgba(15, 23, 42, 0.96));
}

.gcp-hero-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcp-hero-media-atlas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #0a0a12;
}

.gcp-hero-media-grad {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(7, 5, 15, 0.12) 0%, rgba(7, 5, 15, 0.5) 44%, rgba(0, 0, 0, 0.9) 78%, rgba(0, 0, 0, 0.98) 100%),
        linear-gradient(180deg, rgba(7, 5, 15, 0.1) 0%, rgba(7, 5, 15, 0.55) 48%, rgba(0, 0, 0, 0.92) 84%, #000 100%);
}

.gcp-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    padding: 16px;
}

.gcp-hero-left {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    flex: 1 1 520px;
    min-width: 0;
}
.gcp-avatar {
    width: 82px;
    height: 82px;
    border-radius: 999px;
    overflow: hidden;
    border: 3px solid rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 0 5px rgba(168, 85, 247, 0.10);
    flex: 0 0 auto;
    background: rgba(0, 0, 0, 0.25);
}
.gcp-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcp-avatar .gcp-atlas-slice {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
}

.gcp-name {
    font-size: 22px;
    font-weight: 950;
    letter-spacing: -0.02em;
    color: rgba(226, 232, 240, 0.96);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}
.gcp-handle {
    margin-top: 2px;
    color: rgba(203, 213, 225, 0.95);
    font-weight: 800;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.85);
}
.gcp-badges {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.gcp-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.88);
    border: 1px solid rgba(168, 85, 247, 0.30);
    background: rgba(168, 85, 247, 0.10);
}
.gcp-badge--gift {
    border-color: rgba(59, 130, 246, 0.25);
    background: rgba(59, 130, 246, 0.10);
}
.gcp-bio {
    margin: 12px 0 0;
    color: rgba(226, 232, 240, 0.88);
    line-height: 1.6;
    max-width: 56ch;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.75);
}
.gcp-bio--empty {
    color: rgba(148, 163, 184, 0.75);
}

.gcp-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}
.gcp-list-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}
.gcp-feed-row {
    align-items: center;
}
.gcp-feed-avatar {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(168, 85, 247, 0.28);
    background: rgba(0, 0, 0, 0.25);
}
.gcp-feed-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcp-feed-avatar .gcp-atlas-slice,
.gcp-feed-avatar .gcp-feed-avatar-atlas {
    width: 100%;
    height: 100%;
    min-height: 100%;
    display: block;
    background-color: rgba(15, 15, 22, 0.95);
}

.gcp-feed-avatar-ph {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 13px;
    font-weight: 950;
    color: rgba(248, 250, 252, 0.9);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.38), rgba(59, 130, 246, 0.22));
}
.gcp-feed-body {
    flex: 1;
    min-width: 0;
}
.gcp-feed-name {
    font-weight: 950;
    font-size: 13px;
    color: rgba(248, 250, 252, 0.96);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.gcp-feed-action {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 650;
    color: rgba(148, 163, 184, 0.92);
    min-width: 0;
}
.gcp-feed-action-txt {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gcp-feed-action strong {
    color: rgba(226, 232, 240, 0.96);
    font-weight: 850;
}
.gcp-feed-ico {
    flex: 0 0 auto;
    color: #a855f7;
}
.gcp-feed-time {
    align-self: center;
}
.gcp-list-row--link {
    text-decoration: none;
    color: inherit;
    transition: border-color 120ms ease, transform 120ms ease, background 120ms ease;
}
.gcp-list-row--link:hover {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.06);
    transform: translateY(-1px);
}
.gcp-list-main {
    color: rgba(226, 232, 240, 0.92);
    font-weight: 900;
    font-size: 12px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.gcp-list-sub {
    color: rgba(148, 163, 184, 0.85);
    font-weight: 800;
    font-size: 11px;
    flex: 0 0 auto;
}
.gcp-rank {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    margin-right: 6px;
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.30);
    color: rgba(226, 232, 240, 0.9);
    font-weight: 950;
    font-size: 11px;
}
.gcp-handle-mini {
    margin-left: 6px;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 800;
}

.gcp-evt {
    display: inline-grid;
    place-items: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    margin-right: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(226, 232, 240, 0.9);
    font-weight: 950;
    font-size: 11px;
}
.gcp-evt-game {
    margin-left: 4px;
    color: rgba(226, 232, 240, 0.92);
    font-weight: 950;
}
.gcp-mini {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(148, 163, 184, 0.92);
    font-size: 12px;
    font-weight: 650;
}
.gcp-mini-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.20);
    background: rgba(168, 85, 247, 0.08);
    color: rgba(226, 232, 240, 0.86);
    text-decoration: none;
    font-weight: 800;
    font-size: 11px;
}
.gcp-mini-link svg {
    color: #a855f7;
}
.gcp-mini-link:hover {
    border-color: rgba(168, 85, 247, 0.40);
    filter: brightness(1.05);
}
.gcp-hero-right {
    flex: 0 0 auto;
    min-width: min(420px, 100%);
}
.gcp-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
@media (max-width: 980px) {
    .gcp-metrics {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.gcp-metric {
    padding: 10px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
}
.gcp-metric-v {
    font-weight: 950;
    font-size: 16px;
    color: rgba(226, 232, 240, 0.96);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.65);
}
.gcp-metric-v--ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.gcp-metric-ico {
    flex: 0 0 auto;
    color: #a855f7;
    opacity: 0.95;
}
.gcp-metric-k {
    margin-top: 4px;
    font-size: 11px;
    color: rgba(148, 163, 184, 0.92);
    font-weight: 800;
}
.gcp-edit {
    display: inline-flex;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
    height: 40px;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.10);
    color: rgba(226, 232, 240, 0.92);
    font-weight: 900;
    text-decoration: none;
}
.gcp-edit:hover {
    filter: brightness(1.06);
}

.gcp-hero-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    width: 100%;
}

.gcp-hero-btn {
    flex: 1;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: filter 0.15s ease;
}

.gcp-hero-btn svg {
    flex-shrink: 0;
    opacity: 0.92;
}

.gcp-hero-btn--edit {
    border: 1px solid rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.10);
    color: rgba(226, 232, 240, 0.92);
}

.gcp-hero-btn--analytics {
    border: 1px solid rgba(56, 189, 248, 0.4);
    background: rgba(14, 165, 233, 0.12);
    color: rgba(224, 242, 254, 0.95);
}

.gcp-hero-btn:hover {
    filter: brightness(1.08);
}

.gcp-send-tickets {
    display: inline-flex;
    margin-top: 10px;
    justify-content: center;
    width: 100%;
    height: 40px;
    align-items: center;
    border-radius: 12px;
    border: 1px solid rgba(34, 197, 94, 0.45);
    background: rgba(34, 197, 94, 0.12);
    color: rgba(220, 252, 231, 0.96);
    font-weight: 900;
    cursor: pointer;
}
.gcp-send-tickets:hover {
    filter: brightness(1.08);
}

.gh-send-tickets-dlg {
    width: min(420px, calc(100vw - 32px));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 0;
    background: #12121a;
    color: #e5e5eb;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.gh-send-tickets-dlg::backdrop {
    background: rgba(0, 0, 0, 0.55);
}
.gh-send-tickets-dlg-inner {
    padding: 1.1rem 1.15rem 1.15rem;
}
.gh-send-tickets-dlg-title {
    margin: 0 0 0.35rem;
    font-size: 1.1rem;
    font-weight: 900;
}
.gh-send-tickets-dlg-sub {
    margin: 0 0 0.85rem;
    font-size: 0.85rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.62);
}
.gh-send-tickets-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 0.25rem;
}
.gh-send-tickets-input {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.35);
    color: #fafafa;
    padding: 0.55rem 0.65rem;
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
}
.gh-send-tickets-check {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    margin: 0.35rem 0 0.85rem;
}
.gh-send-tickets-check input {
    margin-top: 0.2rem;
}
.gh-send-tickets-err {
    color: #fecaca;
    font-size: 0.8rem;
    margin: 0 0 0.45rem;
}
.gh-send-tickets-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}
.gh-send-tickets-btn {
    border: 0;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    font-weight: 900;
    font-size: 0.82rem;
    cursor: pointer;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
}
.gh-send-tickets-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: #e4e4e7;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gcp-body {
    margin-top: 14px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 14px;
}
@media (max-width: 980px) {
    .gcp-body {
        grid-template-columns: 1fr;
    }
}

.gcp-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 12px 12px 10px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    margin-bottom: 12px;
}
.gcp-tab-title {
    font-weight: 950;
    color: rgba(226, 232, 240, 0.92);
}
.gcp-tab-actions {
    display: flex;
    gap: 8px;
}
.gcp-pill {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(226, 232, 240, 0.86);
    font-weight: 900;
    text-decoration: none;
    font-size: 12px;
}
.gcp-pill.is-active {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.12);
}

.gcp-panel {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    background: rgba(0, 0, 0, 0.22);
    padding: 12px;
}
.gcp-panel + .gcp-panel {
    margin-top: 12px;
}
.gcp-panel-h {
    font-weight: 950;
    color: rgba(226, 232, 240, 0.9);
    margin-bottom: 10px;
}
.gcp-level-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    font-size: 12px;
    font-weight: 850;
    color: rgba(226, 232, 240, 0.84);
}
.gcp-level-row--gift {
    margin-top: 12px;
}
.gcp-progress {
    margin-top: 8px;
}
.gcp-progress-bar {
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.gcp-progress-bar span {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.95), rgba(59, 130, 246, 0.85));
}
.gcp-progress-txt {
    margin-top: 6px;
    color: rgba(148, 163, 184, 0.92);
    font-size: 11px;
    font-weight: 750;
}
.gcp-muted {
    color: rgba(148, 163, 184, 0.92);
    font-size: 12px;
    line-height: 1.55;
}

.gcp-pill--btn {
    cursor: pointer;
    font: inherit;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
}

.gcp-pill--btn.is-active {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.18);
}

.gcp-select-cluster {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.gcp-select-cluster.is-select-mode {
    padding: 4px 6px;
    border-radius: 999px;
    border: 1px solid rgba(168, 85, 247, 0.28);
    background: rgba(168, 85, 247, 0.1);
}

.gcp-select-cluster.has-selection {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
}

.gcp-pill--danger {
    border-color: rgba(239, 68, 68, 0.45) !important;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(185, 28, 28, 0.88)) !important;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 800;
}

.gcp-pill--danger:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gcp-pill--ghost {
    background: rgba(255, 255, 255, 0.06) !important;
    color: rgba(226, 232, 240, 0.9) !important;
}

.gcp-game-grid--selectable.is-select-mode .gcp-progress-card {
    position: relative;
}

.gcp-progress-card {
    position: relative;
}

.gcp-progress-check {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
}

.gcp-progress-check-input {
    width: 16px;
    height: 16px;
    accent-color: #a855f7;
    cursor: pointer;
}

.gcp-progress-card.is-selected {
    outline: 2px solid rgba(168, 85, 247, 0.65);
    outline-offset: 2px;
    border-radius: 14px;
}

.gcp-bulk-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.gcp-bulk-modal[hidden] {
    display: none !important;
}

.gcp-bulk-modal-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(2, 6, 23, 0.72);
}

.gcp-bulk-modal-card {
    position: relative;
    z-index: 1;
    width: min(420px, 94vw);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(165deg, rgba(30, 27, 75, 0.98), rgba(15, 23, 42, 0.98));
    padding: 18px 16px 14px;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.gcp-bulk-modal-card h3 {
    margin: 0;
    font-size: 1rem;
    color: #f8fafc;
}

.gcp-bulk-modal-card p {
    margin: 10px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.82);
}

.gcp-bulk-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.gcp-bulk-modal-cancel,
.gcp-bulk-modal-confirm {
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gcp-bulk-modal-cancel {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
}

.gcp-bulk-modal-confirm {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.92), rgba(185, 28, 28, 0.92));
    color: #fff;
}

/* ——— Creator directory hub (aligned with /games explore) ——— */

.gcd-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 8px 14px 48px;
    color: rgba(226, 232, 240, 0.92);
}

.gcd-page--hub {
    padding-top: 8px;
}

/* Full-bleed hero: same footprint as /games event banner (.gge-event-hero) */
.gcd-hero--cinema {
    position: relative;
    overflow: hidden;
    height: clamp(240px, 30vw, 320px);
    margin-bottom: 14px;
    border: 2px solid rgba(168, 85, 247, 0.85);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.45), rgba(2, 6, 23, 0.95));
    box-shadow: 0 18px 60px rgba(124, 58, 237, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.gcd-hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: #0a0612;
}

.gcd-hero-media-el {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcd-hero-media-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 40%, rgba(168, 85, 247, 0.35), transparent 42%),
        radial-gradient(circle at 78% 55%, rgba(250, 204, 21, 0.12), transparent 38%),
        linear-gradient(145deg, #1a0f2e, #0a0612);
}

.gcd-hero-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 52% 48%, rgba(168, 85, 247, 0.12), transparent 24%),
        linear-gradient(90deg, rgba(3, 7, 18, 0.88), rgba(3, 7, 18, 0.34) 52%, rgba(3, 7, 18, 0.72));
}

.gcd-hero-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
    height: 100%;
    max-width: min(680px, 92%);
    padding: clamp(18px, 2.8vw, 34px);
    align-items: flex-start;
}

.gcd-hero-lead {
    margin: 8px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.5;
    max-width: 48ch;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

.gcd-hero--cinema .gcd-hero-kicker {
    margin-bottom: 10px;
}

.gcd-hero-kicker {
    display: inline-flex;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.92);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gcd-hero--cinema h2 {
    margin: 0;
    color: #fff;
    max-width: 680px;
    font-size: clamp(1.85rem, 3.6vw, 2.85rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1.08;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.gcd-hero-stats--tiles {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 12px;
}

.gcd-hero-stat-tile {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 10px;
    row-gap: 2px;
    align-items: center;
    padding: 8px 12px 8px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(3, 7, 18, 0.42);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.08), 0 8px 24px rgba(0, 0, 0, 0.25);
}

.gcd-hero-stat-tile .gcd-hero-stat-ico {
    grid-row: 1 / span 2;
}

.gcd-hero-stat-val {
    font-size: clamp(1.1rem, 2.1vw, 1.35rem);
    font-weight: 950;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.gcd-hero-stat-cap {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: rgba(226, 232, 240, 0.55);
}

.gcd-hero-stat-ico--lg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.28);
    border: 1px solid rgba(196, 181, 253, 0.45);
    color: #ede9fe;
    box-shadow:
        0 0 20px rgba(168, 85, 247, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.gcd-hero-stat-ico--lg svg {
    display: block;
}

.gcd-hero-stat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gcd-tools {
    flex-wrap: wrap;
}

.gcd-sort-form {
    flex: 0 0 auto;
    margin-inline-start: auto;
}

.gcd-section-title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 950;
    color: rgba(248, 250, 252, 0.95);
    letter-spacing: -0.02em;
}

.gcd-strip-block {
    margin-bottom: 22px;
}

.gcd-mini-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.gcd-mini {
    flex: 0 0 auto;
    scroll-snap-align: start;
    display: grid;
    justify-items: center;
    gap: 8px;
    width: 92px;
    padding: 10px 8px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.22);
    text-decoration: none;
    color: rgba(226, 232, 240, 0.92);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.gcd-mini:hover {
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
}

.gcd-mini-avatar {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.45);
    background: rgba(0, 0, 0, 0.3);
}

.gcd-mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcd-mini-ph {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 18px;
    font-weight: 950;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.35), rgba(59, 130, 246, 0.2));
}

.gcd-mini-name {
    font-size: 11px;
    font-weight: 850;
    text-align: center;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.gcd-layout {
    margin-top: 8px;
}

.gcd-featured {
    margin-bottom: 14px;
}

.gcd-featured-head {
    margin-bottom: 6px;
}

.gcd-featured-head h2 {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
    color: rgba(248, 250, 252, 0.92);
    letter-spacing: -0.02em;
}

.gcd-featured-card {
    position: relative;
    overflow: hidden;
    min-height: 0;
    border-radius: 16px;
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    background: #07050f;
}

.gcd-featured-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
    container-name: gcd-featured-media;
}

.gcd-featured-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcd-featured-media-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 35%, rgba(168, 85, 247, 0.28), transparent 45%),
        radial-gradient(circle at 88% 20%, rgba(59, 130, 246, 0.12), transparent 40%),
        linear-gradient(125deg, #120a22, #07050f);
}

.gcd-featured-media-grad {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(105deg, rgba(7, 5, 15, 0.08) 0%, rgba(7, 5, 15, 0.5) 40%, rgba(7, 5, 15, 0.9) 62%, rgba(0, 0, 0, 0.96) 100%),
        linear-gradient(180deg, rgba(7, 5, 15, 0.15) 0%, rgba(7, 5, 15, 0.65) 50%, rgba(0, 0, 0, 0.92) 86%, #000 100%);
}

.gcd-featured-inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
}

.gcd-featured-left {
    display: flex;
    gap: 12px;
    flex: 1 1 200px;
    min-width: 0;
    align-items: center;
}

.gcd-featured-avatar-wrap {
    position: relative;
    flex: 0 0 auto;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
    background: rgba(0, 0, 0, 0.35);
}

.gcd-featured-avatar-wrap .gcd-featured-avatar,
.gcd-featured-avatar-wrap .gcp-atlas-slice {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.gcd-featured-avatar {
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: cover;
    border: 0;
    box-shadow: none;
}

.gcd-featured-pro {
    position: absolute;
    left: 6px;
    bottom: -4px;
    font-size: 8px;
}

.gcd-featured-copy {
    min-width: 0;
}

.gcd-featured-name {
    font-size: 17px;
    font-weight: 950;
    color: #fff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.gcd-featured-name-link {
    text-decoration: none;
    color: inherit;
    display: inline-block;
}

.gcd-featured-name-link:hover .gcd-featured-name {
    color: #e9d5ff;
}

.gcd-featured-name-link:hover .gcd-featured-handle {
    color: rgba(196, 181, 253, 0.95);
}

.gcd-featured-handle {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(203, 213, 225, 0.95);
}

.gcd-featured-bio {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.85);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.gcd-featured-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(203, 213, 225, 0.95);
}

.gcd-featured-stat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gcd-featured-stat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.45);
    color: #d8b4fe;
    flex-shrink: 0;
}

.gcd-featured-stats strong {
    color: #fff;
}

.gcd-featured-games {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    flex: 0 1 auto;
    justify-content: flex-end;
}

.gcd-featured-game {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.16);
    flex-shrink: 0;
    box-shadow:
        0 10px 22px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
    background: rgba(15, 10, 28, 0.9);
}

.gcd-featured-game:hover {
    border-color: rgba(196, 181, 253, 0.45);
    transform: translateY(-2px);
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.gcd-featured-game img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcd-studios {
    margin-bottom: 24px;
}

.gcd-studios-head {
    margin-bottom: 10px;
}

.gcd-studios-head h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    color: #fff;
}

.gcd-studios-sub {
    margin: 4px 0 0;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.88);
}

.gcd-studios-rail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    scroll-snap-type: x mandatory;
}

.gcd-studio-card {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: 168px;
    padding: 14px 12px 12px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.gcd-studio-card:hover {
    border-color: rgba(168, 85, 247, 0.45);
    transform: translateY(-2px);
}

.gcd-studio-logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 10px;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(250, 204, 21, 0.25);
    box-shadow: 0 0 28px rgba(168, 85, 247, 0.2);
    background: rgba(0, 0, 0, 0.35);
}

.gcd-studio-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcd-studio-verified {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 950;
    color: #1a1204;
    background: linear-gradient(135deg, #fcd34d, #f59e0b);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.45);
}

.gcd-studio-name {
    text-align: center;
    font-weight: 950;
    font-size: 14px;
    color: #fff;
}

.gcd-studio-plays {
    text-align: center;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 750;
    color: rgba(148, 163, 184, 0.92);
}

.gcd-studio-thumbs {
    display: flex;
    gap: 4px;
    margin-top: 10px;
    justify-content: center;
}

.gcd-studio-thumb {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gcd-studio-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 18px;
    margin-top: 4px;
}

.gcd-card {
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.gcd-card:hover {
    border-color: rgba(168, 85, 247, 0.4);
    transform: translateY(-2px);
}

.gcd-card-link {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    border-radius: inherit;
    min-height: 220px;
}

/* Full-card banner + dark vignette (readable text; black at footer) */
.gcd-card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    container-type: size;
    background: linear-gradient(125deg, rgba(88, 28, 135, 0.55), rgba(15, 23, 42, 0.95));
}

.gcd-card-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gcd-card-media-fallback {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 22% 28%, rgba(168, 85, 247, 0.35), transparent 46%),
        radial-gradient(circle at 88% 18%, rgba(59, 130, 246, 0.14), transparent 42%),
        linear-gradient(125deg, rgba(88, 28, 135, 0.55), rgba(15, 23, 42, 0.96));
}

.gcd-card-media-grad {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(105deg, rgba(7, 5, 15, 0.1) 0%, rgba(7, 5, 15, 0.45) 42%, rgba(7, 5, 15, 0.88) 72%, rgba(0, 0, 0, 0.97) 100%),
        linear-gradient(180deg, rgba(7, 5, 15, 0.05) 0%, rgba(7, 5, 15, 0.55) 52%, rgba(0, 0, 0, 0.94) 88%, #000 100%);
}

.gcd-card-body {
    position: relative;
    z-index: 2;
    padding: 16px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gcd-card-rank {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 950;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.gcd-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(248, 250, 252, 0.92);
}

.gcd-pill--studio {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.2);
}

.gcd-pill--solo {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
}

.gcd-pill--verified {
    border-color: rgba(250, 204, 21, 0.55);
    background: linear-gradient(135deg, rgba(252, 211, 77, 0.35), rgba(245, 158, 11, 0.22));
    color: #fff7ed;
}

.gcd-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.gcd-card-top {
    display: flex;
    gap: 12px;
    align-items: center;
}

.gcd-avatar {
    width: 56px;
    height: 56px;
    margin-top: 0;
    border-radius: 999px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.55);
    box-shadow:
        0 0 0 3px rgba(168, 85, 247, 0.1),
        0 10px 28px rgba(0, 0, 0, 0.55);
    background: rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.gcd-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gcd-avatar-ph {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(168, 85, 247, 0.35), rgba(0, 0, 0, 0.15));
}

.gcd-meta {
    min-width: 0;
}

.gcd-name {
    font-weight: 900;
    color: rgba(226, 232, 240, 0.96);
    font-size: 15px;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.gcd-handle {
    margin-top: 3px;
    color: rgba(203, 213, 225, 0.95);
    font-size: 12px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.gcd-thumbs {
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.gcd-thumbs img,
.gcd-thumb-ph {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    object-fit: cover;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.gcd-thumb-ph {
    display: block;
}

@media (max-width: 900px) {
    .gcd-sort-form {
        margin-inline-start: 0;
        width: 100%;
    }

    .gcd-sort-form .gge-select {
        width: 100%;
    }
}

/* Studio /studio/edit — compact atlas picker + modal */
.gcp-atlas-mount--hidden {
    display: none !important;
}

.gcp-atlas-compact {
    margin-top: 14px;
}

.gcp-atlas-compact__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.gcp-atlas-compact__preview {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: rgba(24, 24, 32, 0.95);
    overflow: hidden;
}

.gcp-atlas-compact__preview--banner {
    width: 88px;
    height: 56px;
    border-radius: 12px;
}

.gcp-atlas-compact__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.gcp-atlas-compact__btn {
    align-self: flex-start;
    border: 1px solid rgba(168, 85, 247, 0.45);
    background: rgba(124, 58, 237, 0.18);
    color: rgba(233, 213, 255, 0.95);
    font-size: 12px;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 999px;
    cursor: pointer;
}

.gcp-atlas-compact__btn:hover {
    background: rgba(124, 58, 237, 0.32);
}

.gcp-atlas-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.gcp-atlas-modal[hidden] {
    display: none !important;
}

.gcp-atlas-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.gcp-atlas-modal__panel {
    position: relative;
    width: min(560px, 100%);
    max-height: min(82vh, 640px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(18, 18, 26, 0.98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.gcp-atlas-modal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gcp-atlas-modal__title {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: rgba(250, 250, 250, 0.95);
}

.gcp-atlas-modal__close {
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(228, 228, 231, 0.85);
    width: 32px;
    height: 32px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
}

.gcp-atlas-modal__body {
    padding: 12px 16px 16px;
    overflow: auto;
}

.gcp-atlas-modal__body .gcp-atlas-picker-grid {
    max-height: min(58vh, 420px);
}

body.gcp-atlas-modal-open {
    overflow: hidden;
}

.gcp-atlas-mount {
    margin-top: 6px;
}

.gcp-atlas-picker-label {
    margin: 14px 0 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(196, 181, 254, 0.88);
}

.gcp-atlas-picker-label:first-child {
    margin-top: 0;
}

.gcp-atlas-picker-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(44px, 1fr));
    gap: 6px;
    max-height: min(42vh, 320px);
    overflow: auto;
    padding: 8px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    overscroll-behavior: contain;
}

.gcp-atlas-picker-cell {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    min-height: 40px;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    cursor: pointer;
    overflow: hidden;
    background-color: rgba(24, 24, 32, 0.95);
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.gcp-atlas-picker-cell:hover {
    border-color: rgba(168, 85, 247, 0.55);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.25);
}

.gcp-atlas-picker-cell.is-selected {
    outline: 2px solid rgba(168, 85, 247, 0.95);
    outline-offset: 2px;
    border-color: rgba(196, 181, 254, 0.55);
}

.gcp-avatar-atlas,
.gcd-avatar-atlas {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: rgba(15, 15, 22, 0.9);
}

/**
 * Banner atlas: one sprite tile is square; wide rectangles would stretch the tile if the slice
 * filled the box directly. Cover wrapper + inner square sized to max(cqw,cqh) crops evenly.
 */
.gcd-atlas-banner-cover {
    overflow: hidden;
    container-type: size;
    container-name: gcd-atlas-banner;
}

.gcd-atlas-banner-cover > .gcd-atlas-banner-slice {
    position: absolute;
    left: 50%;
    top: 50%;
    translate: -50% -50%;
    width: max(100cqw, 100cqh);
    height: max(100cqw, 100cqh);
}

.gcd-card-media-atlas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #0f0f18;
}

.gcd-featured-media-atlas {
    background-color: #0a0a12;
}

.gcd-studio-logo-atlas {
    width: 100%;
    height: 100%;
    min-height: 48px;
    border-radius: 12px;
    background-color: rgba(15, 15, 22, 0.9);
}

.gcp-inbox-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gcp-inbox-item {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.gcp-inbox-item.is-unread {
    border-color: rgba(124, 58, 237, 0.35);
    background: rgba(124, 58, 237, 0.08);
}

.gcp-inbox-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.gcp-inbox-body {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(226, 232, 240, 0.78);
}

.gcp-inbox-time {
    display: block;
    margin-top: 8px;
    font-size: 11px;
    color: rgba(226, 232, 240, 0.45);
}

.gcp-pill-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    vertical-align: middle;
}

.gcp-pill.has-alert {
    box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.45);
}
