/* Public Explore / Play — matches GAMME dark + violet accents */

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

/* Hub só com sidebar — sem header global por cima */
.gge-page--hub {
    padding-top: 8px;
}

.gge-head {
    margin-bottom: 24px;
}

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

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

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

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

.gge-search {
    display: flex;
    gap: 8px;
    flex: 0 0 min(360px, 36%);
    min-width: 280px;
}

/* Pill search + subtle magnifying glass (Explore) */
.gge-search--pill {
    position: relative;
    flex: 1 1 min(420px, 44%);
    min-width: min(100%, 220px);
    gap: 0;
}

.gge-search--pill .gge-search-input {
    height: 44px;
    border-radius: 999px;
    padding: 0 18px 0 44px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.045);
}

.gge-search-ico {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 1;
    display: flex;
    color: rgba(226, 232, 240, 0.38);
    pointer-events: none;
    transform: translateY(-50%);
}

.gge-search-input {
    width: 100%;
    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;
}

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

.gge-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;
}

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

.gge-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;
}

.gge-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.gge-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1 1 auto;
    max-width: 100%;
    margin: 0;
    justify-content: flex-end;
}

.gge-pill {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: rgba(226, 232, 240, 0.72);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.gge-pill:hover {
    border-color: rgba(168, 85, 247, 0.35);
    color: #fff;
}

.gge-pill.is-active {
    border-color: rgba(168, 85, 247, 0.55);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.22), rgba(124, 58, 237, 0.12));
    color: #fff;
}

.gge-empty {
    padding: 48px 20px;
    text-align: center;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    color: rgba(226, 232, 240, 0.45);
    font-size: 14px;
}

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

.gge-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

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

.gge-card-media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    background: rgba(0, 0, 0, 0.4);
}

.gge-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gge-card-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, rgba(88, 28, 135, 0.35), rgba(15, 15, 22, 0.9));
}

.gge-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: rgba(168, 85, 247, 0.92);
    color: #fff;
}

/* Platform badge: translucent dark tile + purple glyph (top-right on card media) */
.gge-card-platform {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
    pointer-events: auto;
    line-height: 0;
}

.gge-card-platform__stack {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.gge-card-platform__box {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(12, 10, 18, 0.38);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 2px 12px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        transform 0.18s ease;
}

.gge-card-platform:hover .gge-card-platform__box {
    background: rgba(24, 20, 36, 0.55);
    border-color: rgba(196, 181, 253, 0.45);
    box-shadow:
        0 0 0 1px rgba(167, 139, 250, 0.25),
        0 6px 18px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.gge-card-platform__tip {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    padding: 0 11px;
    margin: 0;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: none;
    white-space: nowrap;
    color: #e9d5ff;
    background: rgba(10, 8, 16, 0.96);
    border: 1px solid rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
    transform: translateY(4px);
    transition:
        opacity 0.16s ease,
        visibility 0.16s ease,
        transform 0.16s ease,
        max-height 0.22s ease,
        padding 0.22s ease;
    pointer-events: none;
}

.gge-card-platform:hover .gge-card-platform__tip {
    max-height: 48px;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    padding: 5px 11px;
    margin-top: 6px;
}

.gge-card-platform__svg {
    width: 19px;
    height: 19px;
    color: #c4b5fd;
    flex-shrink: 0;
}

.gge-card-platform--web .gge-card-platform__svg {
    color: #a78bfa;
}

.gge-card-platform--ar .gge-card-platform__svg {
    color: #e879f9;
}

.gge-card-platform--vr .gge-card-platform__svg {
    color: #818cf8;
}

.gge-card-platform--android .gge-card-platform__svg {
    color: #86efac;
}

.gge-card-platform--ios .gge-card-platform__svg {
    color: #93c5fd;
}

.gge-card-platform--windows .gge-card-platform__svg {
    color: #7dd3fc;
}

.gge-card-platform--macos .gge-card-platform__svg {
    color: #d8b4fe;
}

.gge-card-body {
    padding: 12px 12px 14px;
}

.gge-card-studio{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin:-2px 0 10px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,255,255,.05);
    color:rgba(226,232,240,.82);
    text-decoration:none;
    font-size:12px;
    font-weight:800;
    border:1px solid rgba(255,255,255,.08);
}
.gge-card-studio:hover{
    background:rgba(168,85,247,.14);
    border-color:rgba(168,85,247,.28);
    color:#fff;
}
.gge-card-studio--admin{
    background:rgba(245,158,11,.12);
    border-color:rgba(245,158,11,.35);
    color:#fde68a;
}
.gge-card-studio--admin:hover{
    background:rgba(245,158,11,.22);
    border-color:rgba(245,158,11,.5);
    color:#fff;
}

.gge-card-title {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    line-height: 1.35;
    margin-bottom: 8px;
}

.gge-card-title:hover {
    color: rgba(196, 181, 253, 1);
}

.gge-card-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.45);
}

.gge-mini-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(226, 232, 240, 0.55);
}

.gge-mini-stat svg {
    flex-shrink: 0;
    opacity: 0.85;
}

.gh-stat-ico--remix svg {
    opacity: 0.92;
}

.gge-remix-btn {
    margin-left: auto;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gge-remix-btn:hover {
    filter: brightness(1.08);
    color: #fff;
}

.gge-play-remix-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #7c3aed, #6366f1);
}

.gge-play-remix-btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: rgba(100, 116, 139, 0.45);
}

.gge-play-remix-cost {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.9;
}

.gge-play-flash {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1.45;
}

.gge-play-flash--err {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.35);
    border: 1px solid rgba(248, 113, 113, 0.35);
}

.gge-play-remix-recharge {
    color: #c4b5fd;
    font-weight: 700;
    text-decoration: underline;
}

.gge-play-remix-hint {
    margin: 8px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.55);
}

.gge-pager {
    margin-top: 28px;
}

.gge-pager nav[role="navigation"] {
    display: flex;
    justify-content: center;
}

.gge-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 14px;
    align-items: start;
}

.gge-layout--games {
    align-items: start;
}

.gge-feed {
    min-width: 0;
}

.gge-event-hero {
    position: relative;
    display: block;
    height: clamp(240px, 30vw, 320px);
    margin-bottom: 14px;
    overflow: hidden;
    border: 2px solid rgba(168, 85, 247, 0.85);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.5), 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);
    color: inherit;
    text-decoration: none;
}

.gge-event-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gge-event-media--fallback {
    background:
        radial-gradient(circle at 15% 50%, rgba(250, 204, 21, 0.28), transparent 20%),
        radial-gradient(circle at 85% 35%, rgba(168, 85, 247, 0.38), transparent 26%),
        linear-gradient(120deg, #10111d, #201047 45%, #08111f);
}

.gge-event-shade {
    position: absolute;
    inset: 0;
    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));
}

.gge-event-content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: clamp(24px, 3.4vw, 42px);
}

.gge-event-copy {
    max-width: min(620px, 66%);
}

.gge-event-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    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;
}

.gge-event-content h2 {
    margin: 0;
    color: #fff;
    max-width: 680px;
    font-size: clamp(2rem, 4.2vw, 3.4rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.65);
}

.gge-event-content p {
    max-width: 560px;
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.55;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.gge-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 16px;
    margin-top: 18px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 12px;
    font-weight: 750;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.gge-event-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.gge-event-action {
    display: flex;
    min-width: 220px;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.gge-event-countdown {
    display: grid;
    min-width: 210px;
    gap: 4px;
    border: 1px solid rgba(216, 180, 254, 0.26);
    border-radius: 18px;
    background: rgba(3, 7, 18, 0.58);
    padding: 14px 16px;
    text-align: right;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.34);
    backdrop-filter: blur(10px);
}

.gge-event-countdown span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gge-event-countdown strong {
    color: #fff;
    font-size: clamp(1.6rem, 3.1vw, 2.65rem);
    font-weight: 950;
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow: 0 0 24px rgba(168, 85, 247, 0.55);
}

.gge-event-cta {
    display: inline-flex;
    min-width: max-content;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid rgba(216, 180, 254, 0.35);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(88, 28, 135, 0.95));
    color: #fff;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 12px 32px rgba(88, 28, 135, 0.38);
}

.gge-explore-tools {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 22px 0 24px;
}

.gge-side {
    display: grid;
    gap: 12px;
    position: sticky;
    top: 12px;
}

.gge-adsense-slot {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    overflow: hidden;
    min-height: 0;
}

.gge-adsense-slot--explore-sidebar,
.gge-adsense-slot--play-sidebar {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.gge-adsense-slot iframe,
.gge-adsense-slot ins {
    display: block;
    max-width: 100%;
    margin: 0 auto;
}

.gge-play-aside .gge-adsense-slot--play-sidebar {
    margin-bottom: 12px;
    min-height: 200px;
}

.gge-side-card,
.gge-join-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
    padding: 16px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.gge-side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gge-side-head h3 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 900;
}

.gge-side-head .gge-side-head__title {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gge-side-head a {
    color: rgba(196, 181, 253, 0.85);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
}

.gge-side-list {
    display: grid;
    gap: 12px;
}

.gge-creator-row,
.gge-upcoming-row,
.gge-tournament-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(226, 232, 240, 0.86);
    text-decoration: none;
}

.gge-rank {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;
    border-radius: 999px;
    color: rgba(226, 232, 240, 0.74);
    font-weight: 950;
    font-size: 11px;
}

.gge-rank.is-medal {
    background: rgba(250, 204, 21, 0.13);
    color: rgba(250, 204, 21, 0.98);
    box-shadow: 0 0 22px rgba(250, 204, 21, 0.14);
}

.gge-avatar,
.gge-upcoming-thumb {
    display: inline-grid;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    place-items: center;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.25);
    color: #fff;
    font-weight: 900;
}

.gge-upcoming-thumb {
    border-radius: 10px;
}

.gge-creator-preview {
    width: 48px;
    height: 36px;
    flex: 0 0 48px;
    overflow: hidden;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.14);
    margin-left: auto;
}

.gge-avatar img,
.gge-upcoming-thumb img,
.gge-creator-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.gge-creator-copy,
.gge-upcoming-row span:last-child,
.gge-tournament-row > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.gge-creator-copy strong,
.gge-upcoming-row strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gge-tournament-row strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gge-creator-copy small,
.gge-upcoming-row small,
.gge-tournament-row small,
.gge-side-empty {
    color: rgba(226, 232, 240, 0.48);
    font-size: 11px;
}

.gge-tournament-row em {
    margin-left: auto;
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.18);
    color: rgba(216, 180, 254, 0.95);
    padding: 4px 7px;
    font-size: 9px;
    font-style: normal;
    font-weight: 950;
}

.gge-tournament-row em.is-live {
    background: rgba(239, 68, 68, 0.16);
    color: rgba(252, 165, 165, 0.98);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.18);
}

.gge-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gge-tags span {
    border-radius: 999px;
    background: rgba(168, 85, 247, 0.12);
    color: rgba(226, 232, 240, 0.72);
    padding: 6px 9px;
    font-size: 11px;
    font-weight: 800;
}

.gge-hot-tags {
    display: grid;
    gap: 10px;
}

.gge-hot-tag {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border-radius: 14px;
    background: rgba(168, 85, 247, 0.075);
    color: rgba(226, 232, 240, 0.88);
    padding: 9px 10px;
    text-decoration: none;
}

.gge-hot-tag span {
    display: grid;
    min-width: 0;
}

.gge-hot-tag strong {
    overflow: hidden;
    color: #fff;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gge-hot-tag small {
    color: rgba(226, 232, 240, 0.46);
    font-size: 10px;
}

.gge-hot-tag em {
    color: rgba(74, 222, 128, 0.95);
    font-size: 11px;
    font-style: normal;
    font-weight: 950;
}

.gge-join-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin: 20px 0;
}

.gge-join-card h2 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 18px;
}

.gge-join-card p {
    margin: 0;
    color: rgba(226, 232, 240, 0.58);
}

.gge-join-form {
    display: flex;
    gap: 10px;
}

.gge-join-form select {
    min-width: 240px;
    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 12px;
}

.gge-join-form button {
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: rgba(168, 85, 247, 0.88);
    color: #fff;
    padding: 0 16px;
    font-weight: 900;
}

.gge-event-toolbar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
}

@media (max-width: 1180px) {
    .gge-layout {
        grid-template-columns: 1fr;
    }

    .gge-explore-tools {
        flex-wrap: wrap;
    }

    .gge-search {
        flex-basis: 100%;
    }

    .gge-side {
        position: static;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 720px) {
    .gge-event-content {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 16px;
    }

    .gge-event-copy {
        max-width: 100%;
    }

    .gge-event-action {
        min-width: 0;
        align-items: flex-start;
        gap: 10px;
    }

    .gge-event-countdown {
        min-width: min(210px, 100%);
        text-align: left;
    }

    .gge-join-form,
    .gge-event-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .gge-event-hero {
        height: 360px;
    }

    .gge-explore-tools {
        align-items: stretch;
    }

    .gge-search {
        min-width: 0;
    }

    .gge-join-form select {
        min-width: 0;
        width: 100%;
    }
}

.gge-back-wrap {
    margin-top: 36px;
    text-align: center;
}

.gge-back {
    color: rgba(168, 85, 247, 0.95);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.gge-back:hover {
    text-decoration: underline;
}

/* Play page */
/* ── Play page landscape expand ─────────────────────────────────────────── */
.gge-play-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.gge-play-landscape-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.05);
    color: rgba(255,255,255,.45);
    cursor: pointer;
    flex-shrink: 0;
    transition: background .13s, color .13s, border-color .13s;
}
.gge-play-landscape-btn:hover {
    background: rgba(139,92,246,.22);
    color: #c4b5fd;
    border-color: rgba(139,92,246,.4);
}
.gge-play-landscape-btn svg { display: block; }
.gge-play-landscape-btn .ico-landscape { display: block; }
.gge-play-landscape-btn .ico-portrait  { display: none; }
.gge-play.is-landscape .gge-play-landscape-btn .ico-landscape { display: none; }
.gge-play.is-landscape .gge-play-landscape-btn .ico-portrait  { display: block; }

/* bottom bar (gift + credits) — visible only in landscape */
.gge-play-bottom-bar {
    display: none;
    align-items: center;
    justify-content: space-between;
    padding: 8px 4px 0;
    gap: 8px;
}
.gge-play.is-landscape .gge-play-bottom-bar {
    display: flex;
}
/* In landscape, gift dock inside bottom bar takes full width */
.gge-play.is-landscape .gge-play-bottom-bar .gge-play-gift-dock {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 0;
}
/* In landscape, hide gift dock that remains in aside */
.gge-play.is-landscape .gge-play-aside .gge-play-gift-dock {
    display: none;
}

/* landscape grid: game takes most, aside becomes compact */
.gge-play.is-landscape .gge-play-grid {
    grid-template-columns: 1fr minmax(180px, 220px);
    gap: 12px;
}
.gge-play.is-landscape .gge-play-aside {
    position: sticky;
    top: 12px;
}
/* taller iframe in landscape */
.gge-play.is-landscape .gge-play--studio .gge-play-iframe,
.gge-play.is-landscape.gge-play--studio .gge-play-iframe {
    height: min(calc(100vh - 120px), 860px);
}

.gge-play {
    max-width: 920px;
    margin: 0 auto;
    padding: 22px 16px 40px;
    color: rgba(226, 232, 240, 0.92);
}

.gge-play--studio {
    max-width: min(1320px, 100%);
    padding: 12px 12px 36px;
}

.gge-play-toolbar {
    margin-bottom: 14px;
}

.gge-play-grid {
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    align-items: start;
}

@media (max-width: 960px) {
    .gge-play-grid {
        grid-template-columns: 1fr;
    }

    .gge-play-main {
        order: -1;
    }
}

.gge-play-main {
    min-width: 0;
}

.gge-play-aside {
    position: sticky;
    top: 12px;
    align-self: start;
}

.gge-play-aside--compact {
    max-height: min(calc(100vh - 140px), 760px);
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.gge-play-aside-scroll {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.55) rgba(0, 0, 0, 0.35);
}

.gge-play-aside-scroll::-webkit-scrollbar {
    width: 6px;
}

.gge-play-aside-scroll::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

.gge-play-aside-scroll::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 999px;
}

@media (max-width: 960px) {
    .gge-play-aside {
        position: relative;
        top: auto;
    }

    .gge-play-aside--compact {
        max-height: none;
        overflow: visible;
    }

    .gge-play-aside-scroll {
        overflow: visible;
        padding-right: 0;
    }
}

.gge-play-thumb-ph {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(88, 28, 135, 0.35), rgba(15, 15, 22, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Stats à vertical — ícones maiores (página pública play) */
.gge-public-stats {
    flex-direction: column !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    gap: 16px !important;
    margin-top: 14px !important;
}

.gge-stat-row {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 16px;
    font-weight: 780;
    color: rgba(226, 232, 240, 0.92);
}

.gh-game-stats.gge-public-stats .gh-stat.gge-stat-row {
    font-size: 16px;
    gap: 14px;
}

/* Sobrepõe gamme-home (.gh-game-stats .gh-stat-ico): sem caixa roxa nos ícones */
.gh-game-stats.gge-public-stats .gh-stat-ico svg {
    stroke: currentColor;
    fill: none;
}

.gh-game-stats.gge-public-stats .gh-stat-ico--fill svg {
    fill: rgba(168, 85, 247, 0.9) !important;
    stroke: none !important;
}

/* Sem moldura: só ícone + número */
.gge-public-stats .gh-stat-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    flex-shrink: 0;
    color: rgba(226, 232, 240, 0.72);
}

.gge-public-stats .gh-stat-ico svg {
    display: block;
    width: 28px !important;
    height: 28px !important;
}

.gh-game-stats.gge-public-stats .gh-stat-ico--like .gge-heart-outline {
    fill: none !important;
    stroke: currentColor !important;
}

.gh-game-stats.gge-public-stats .gh-stat-ico--like .gge-heart-filled path {
    fill: currentColor !important;
    stroke: none !important;
}

/* Like: mesma linha que views/users — sem caixa grande */
button.gge-like-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: rgba(226, 232, 240, 0.92);
    transition: opacity 0.15s ease;
}

button.gge-share-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    width: auto;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: rgba(226, 232, 240, 0.92);
    transition: opacity 0.15s ease;
}

button.gge-like-stat:disabled,
button.gge-share-stat:disabled {
    opacity: 0.45;
    cursor: wait;
}

button.gge-like-stat:not(:disabled):hover,
button.gge-share-stat:not(:disabled):hover {
    opacity: 0.88;
}

.gge-public-stats .gh-stat-ico--share {
    color: rgba(226, 232, 240, 0.72);
}

button.gge-share-stat:not(:disabled):hover .gh-stat-ico--share {
    color: rgba(96, 165, 250, 0.95);
}

/* Contorno vs cheio — coração roxo quando já deu like */
.gge-like-stat .gh-stat-ico--like .gge-heart-filled {
    display: none;
}

.gge-like-stat.is-liked .gh-stat-ico--like .gge-heart-outline {
    display: none;
}

.gge-like-stat.is-liked .gh-stat-ico--like .gge-heart-filled {
    display: block;
}

.gge-like-stat.is-liked .gh-stat-ico--like {
    color: rgba(168, 85, 247, 0.98);
}

.gge-like-stat:not(.is-liked) .gh-stat-ico--like {
    color: rgba(226, 232, 240, 0.62);
}

.gge-like-stat:not(.is-liked):not(:disabled):hover .gh-stat-ico--like {
    color: rgba(236, 72, 153, 0.85);
}

.gge-play-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.gge-play-back {
    font-size: 13px;
    font-weight: 750;
    color: rgba(168, 85, 247, 0.95);
    text-decoration: none;
}

.gge-play-back:hover {
    text-decoration: underline;
}

.gge-like {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: rgba(226, 232, 240, 0.85);
    font-size: 13px;
    font-weight: 750;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gge-like:disabled {
    opacity: 0.45;
    cursor: wait;
}

.gge-like.is-liked {
    border-color: rgba(236, 72, 153, 0.45);
    background: rgba(236, 72, 153, 0.12);
    color: rgba(251, 207, 232, 0.98);
}

.gge-play-title {
    margin: 0;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 900;
    color: #fff;
}

.gge-play-cat {
    margin: 8px 0 0;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.45);
}

.gge-play-how {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.62);
}

.gge-play-frame {
    position: relative;
    margin-top: 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #3a3a3a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.gge-play-made-splash {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #3a3a3a;
    pointer-events: none;
    transition: opacity 0.28s ease;
}

.gge-play-made-splash[hidden],
.gge-play-made-splash.is-done {
    display: none !important;
    opacity: 0;
}

.gge-play-made-splash img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: clamp(64px, 11vw, 96px);
    max-width: 96px;
    height: auto;
    margin: 0;
    object-fit: contain;
    opacity: 0.7;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    animation: gge-made-pulse 1.5s ease-in-out infinite;
}

.gge-play-boot-ui {
    position: absolute;
    left: 50%;
    bottom: 18%;
    transform: translateX(-50%);
    width: min(52vw, 220px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.gge-play-boot-bar {
    width: 100%;
    height: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.gge-play-boot-bar > i {
    display: block;
    height: 100%;
    width: 8%;
    border-radius: 999px;
    background: linear-gradient(90deg, #a78bfa, #60a5fa);
    transition: width 0.25s ease;
}

.gge-play-boot-status,
.gge-play-boot-hint {
    margin: 0;
    max-width: 100%;
    text-align: center;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    font-weight: 600;
    line-height: 1.3;
}

.gge-play-boot-status {
    font-size: 12px;
    color: rgba(226, 232, 240, 0.9);
}

.gge-play-boot-hint {
    font-size: 11px;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.92);
}

@keyframes gge-made-pulse {
    0%,
    100% {
        opacity: 0.45;
    }
    50% {
        opacity: 0.82;
    }
}

.gge-play--studio .gge-play-iframe {
    height: min(calc(100vh - 140px), 760px);
}

.gge-play-iframe {
    display: block;
    width: 100%;
    height: min(78vh, 720px);
    border: 0;
    background: #3a3a3a;
}

/* Play page — gift dock + toast (hub /games/{id}/play) */
.gge-play-main {
    position: relative;
}

.gge-play-toast-host {
    position: absolute;
    left: 0;
    right: 0;
    top: -6px;
    z-index: 30;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.gge-play-toast {
    pointer-events: none;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: min(420px, 92vw);
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(168, 85, 247, 0.45);
    background: linear-gradient(135deg, rgba(30, 20, 48, 0.96), rgba(12, 10, 20, 0.98));
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
    animation: gge-toast-in 0.28s ease-out;
}

@keyframes gge-toast-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gge-play-toast-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.gge-play-toast-msg {
    margin: 0;
    font-size: 14px;
    font-weight: 750;
    color: #fff;
    line-height: 1.35;
}

.gge-play-gift-dock {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gge-play-gift-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.gge-play-gift-trigger.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.gge-play-gift-trigger.is-disabled:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
}

.gge-play-gift-trigger:hover:not(.is-disabled) {
    background: rgba(168, 85, 247, 0.22);
    border-color: rgba(196, 181, 254, 0.45);
}

.gge-play-toast--textonly {
    padding: 12px 18px;
}

.gge-play-gift-credits {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(0, 0, 0, 0.25);
    color: rgba(255, 255, 255, 0.92);
    font-size: 15px;
    font-weight: 800;
}

.gge-play-gift-credits-ico {
    display: inline-flex;
    color: rgba(196, 181, 254, 0.95);
}

.gge-gift-sheet[hidden],
.gge-gift-backdrop[hidden] {
    display: none !important;
}

.gge-gift-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
}

.gge-gift-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    pointer-events: none;
}

.gge-gift-sheet-inner {
    pointer-events: auto;
    width: 100%;
    max-width: 560px;
    max-height: min(78vh, 640px);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 0;
    background: #121214;
    box-shadow: 0 -18px 60px rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.gge-gift-sheet-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gge-gift-sheet-title {
    margin: 0;
    font-size: 17px;
    font-weight: 850;
    color: #fff;
}

.gge-gift-sheet-sub {
    margin: 6px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(226, 232, 240, 0.62);
}

.gge-gift-sheet-close {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.65);
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    padding: 4px 8px;
}

.gge-gift-sheet-close:hover {
    color: #fff;
}

.gge-gift-sheet-body {
    padding: 14px 16px 22px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.gge-gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
    gap: 10px;
}

.gge-gift-tile {
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    color: #fff;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gge-gift-tile:hover {
    border-color: rgba(168, 85, 247, 0.45);
    background: rgba(168, 85, 247, 0.12);
}

.gge-gift-tile img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin: 0 auto 8px;
    display: block;
}

.gge-gift-tile-name {
    font-size: 11px;
    font-weight: 750;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gge-gift-tile-price {
    margin-top: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(196, 181, 254, 0.95);
}

.gge-gift-sec-title {
    margin: 14px 0 8px;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.gge-gift-sec-title:first-child {
    margin-top: 0;
}

.gge-event-hero--ended {
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}

.gge-event-hero--ended .gge-event-winner-inline a {
    pointer-events: auto;
    color: rgba(250, 204, 21, 0.98);
    font-weight: 800;
    text-decoration: underline;
}

.gge-event-winner-inline {
    margin: 12px 0 0;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.88);
}

.gge-event-cta--muted {
    opacity: 0.85;
    border-color: rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
}

.gge-event-winner-bar {
    margin: 0 0 18px;
    border-radius: 16px;
    border: 1px solid rgba(250, 204, 21, 0.35);
    background: linear-gradient(135deg, rgba(250, 204, 21, 0.12), rgba(168, 85, 247, 0.08));
    padding: 14px 18px;
}

.gge-event-winner-bar__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
}

.gge-event-winner-bar__badge {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: rgba(250, 204, 21, 0.95);
}

.gge-event-winner-bar__title {
    font-size: 16px;
    font-weight: 850;
    color: #fff;
    text-decoration: none;
}

.gge-event-winner-bar__title:hover {
    text-decoration: underline;
}

.gge-event-winner-bar__hint {
    flex: 1 1 100%;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.55);
}

@media (min-width: 720px) {
    .gge-event-winner-bar__hint {
        flex: 1 1 auto;
    }
}

.gge-past-events {
    margin: 32px 0 8px;
    padding-top: 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gge-past-events h2 {
    margin: 0 0 6px;
    font-size: 1.25rem;
    font-weight: 900;
    color: #fff;
}

.gge-past-events__sub {
    margin: 0 0 18px;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.5);
}

.gge-past-events__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.gge-past-event-card {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.gge-past-event-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.gge-past-event-card__media {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.gge-past-event-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gge-past-event-card__body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.gge-past-event-card__body strong {
    font-size: 14px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gge-past-event-card__body small {
    font-size: 11px;
    color: rgba(226, 232, 240, 0.45);
}

.gge-past-event-card__body em {
    font-style: normal;
    font-size: 12px;
    color: rgba(250, 204, 21, 0.9);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gge-event-hero--modal-cta {
    cursor: default;
    text-decoration: none;
}

body.gge-modal-open {
    overflow: hidden;
}

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

.gge-modal:not([hidden]) {
    display: flex;
    position: fixed;
    inset: 0;
    z-index: 12050;
    align-items: flex-start;
    justify-content: center;
    padding: 24px 16px 48px;
    overflow-y: auto;
}

.gge-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gge-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    margin-top: min(6vh, 48px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(24, 24, 35, 0.98), rgba(12, 10, 22, 0.98));
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65);
    padding: 20px 20px 16px;
}

.gge-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.gge-modal__title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
}

.gge-modal__event-name {
    color: rgba(196, 181, 253, 0.98);
}

.gge-modal__lede {
    margin: 8px 0 0;
    font-size: 13px;
    color: rgba(226, 232, 240, 0.55);
    line-height: 1.45;
}

.gge-modal__x {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.gge-modal__x:hover {
    border-color: rgba(168, 85, 247, 0.35);
}

.gge-modal__guest,
.gge-modal__empty {
    padding: 12px 4px 8px;
    font-size: 14px;
    color: rgba(226, 232, 240, 0.65);
}

.gge-modal__primary {
    display: inline-flex;
    margin-top: 12px;
    padding: 10px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(124, 58, 237, 0.85));
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.gge-modal__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    max-height: min(52vh, 520px);
    overflow-y: auto;
    padding: 4px 2px 12px;
}

.gge-modal-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.gge-modal-card:hover:not(.is-joined) {
    border-color: rgba(168, 85, 247, 0.35);
}

.gge-modal-card.is-joined {
    opacity: 0.55;
    cursor: not-allowed;
}

.gge-modal-card:has(.gge-modal-card__check:checked:not(:disabled)) {
    border-color: rgba(168, 85, 247, 0.65);
    box-shadow: 0 0 0 1px rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.08);
}

.gge-modal-card__check {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}

.gge-modal-card__media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: rgba(0, 0, 0, 0.45);
}

.gge-modal-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gge-modal-card__ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(88, 28, 135, 0.35), rgba(15, 23, 42, 0.9));
}

.gge-modal-card__ribbon {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: rgba(15, 23, 42, 0.88);
    color: rgba(226, 232, 240, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.gge-modal-card__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gge-modal-card__title {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gge-modal-card__meta {
    font-size: 11px;
    color: rgba(226, 232, 240, 0.45);
}

.gge-modal-card__stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: rgba(226, 232, 240, 0.62);
    margin-top: 4px;
}

.gge-modal__foot {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gge-modal__btn {
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    border: 1px solid transparent;
}

.gge-modal__btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(226, 232, 240, 0.85);
}

.gge-modal__btn--primary {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(124, 58, 237, 0.85));
    color: #fff;
}

button.gge-event-cta {
    font: inherit;
    cursor: pointer;
}

/* —— Play page: compact info panel + similar games rail —— */
.gge-play-aside--compact .gge-play-info-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 18, 0.72);
}

.gge-play-info-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.gge-play-info-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    display: block;
}

.gge-play-info-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gge-play-info-title {
    margin: 0;
    font-size: 17px;
    font-weight: 820;
    line-height: 1.25;
    color: rgba(248, 250, 252, 0.96);
    align-self: center;
    min-width: 0;
}

.gge-play-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.gge-play-platform-inline {
    display: inline-flex;
    align-items: center;
    line-height: 0;
}

.gge-play-platform-inline .gge-card-platform {
    position: static;
    top: auto;
    right: auto;
}

.gge-play-platform-inline .gge-card-platform__box {
    width: 30px;
    height: 30px;
    border-radius: 8px;
}

.gge-play-platform-inline .gge-card-platform__svg {
    width: 17px;
    height: 17px;
}

.gge-play-platform-inline .gge-card-platform__tip {
    display: none;
}

.gge-play-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.02em;
    color: rgba(216, 180, 254, 0.95);
    background: rgba(168, 85, 247, 0.16);
    border: 1px solid rgba(168, 85, 247, 0.28);
}

.gge-play-tag--muted {
    color: rgba(226, 232, 240, 0.62);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
}

.gge-play-info-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.62);
}

.gge-play-creator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2px;
}

.gge-play-creator-avatar {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid rgba(168, 85, 247, 0.35);
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.gge-play-creator-label {
    text-decoration: none;
    color: rgba(226, 232, 240, 0.72);
    font-size: 12px;
}

.gge-play-creator-label:hover {
    color: rgba(248, 250, 252, 0.92);
}

.gge-play-creator-img,
.gge-play-creator-atlas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.gge-play-creator-label strong {
    color: rgba(248, 250, 252, 0.92);
    font-weight: 780;
}

.gge-play-stats-row.gge-public-stats {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 4px !important;
}

.gge-play-stats-row .gge-stat-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 780;
    color: rgba(226, 232, 240, 0.88);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.gge-play-stats-row button.gge-stat-chip {
    cursor: pointer;
    font: inherit;
    margin: 0;
    text-align: left;
}

.gge-play-stats-row .gh-stat-ico svg {
    width: 16px !important;
    height: 16px !important;
}

.gge-play-stats-row button.gge-like-stat,
.gge-play-stats-row button.gge-share-stat {
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.gge-play-similar {
    margin-top: 20px;
    padding-top: 4px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.gge-play-similar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    min-width: 0;
}

.gge-play-similar-title {
    margin: 0;
    font-size: 16px;
    font-weight: 820;
    color: rgba(248, 250, 252, 0.94);
}

.gge-play-similar-more {
    font-size: 13px;
    font-weight: 750;
    color: rgba(168, 85, 247, 0.95);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.gge-play-similar-more:hover {
    text-decoration: underline;
}

.gge-play-similar-rail {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.45) rgba(0, 0, 0, 0.35);
    cursor: grab;
    user-select: none;
    width: 100%;
    max-width: 100%;
}

.gge-play-similar-rail.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
}

.gge-play-similar-rail.is-dragging .gge-play-similar-card {
    pointer-events: none;
}

.gge-play-similar-rail::-webkit-scrollbar {
    height: 6px;
}

.gge-play-similar-rail::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 999px;
}

.gge-play-similar-rail::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.5);
    border-radius: 999px;
}

.gge-play-similar-card {
    flex: 0 0 172px;
    width: 172px;
    height: 220px;
    scroll-snap-align: start;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-radius: 14px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.15s ease, background 0.15s ease;
    box-sizing: border-box;
    overflow: hidden;
}

.gge-play-similar-card:hover {
    border-color: rgba(168, 85, 247, 0.35);
    background: rgba(168, 85, 247, 0.08);
}

.gge-play-similar-card-media {
    display: block;
    flex-shrink: 0;
    width: 100%;
    height: 114px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.35);
}

.gge-play-similar-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gge-play-similar-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}

.gge-play-similar-card-title {
    font-size: 12px;
    font-weight: 780;
    color: rgba(248, 250, 252, 0.92);
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
    max-height: 2.7em;
}

.gge-play-similar-card-cat {
    font-size: 10px;
    font-weight: 700;
    color: rgba(168, 85, 247, 0.85);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 14px;
    flex-shrink: 0;
}

.gge-play-similar-card-stat {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.55);
    margin-top: auto;
    flex-shrink: 0;
}

@media (max-width: 960px) {
    .gge-play-similar {
        margin-top: 16px;
    }
}

/* Public Community feed on play page */
.gge-play-community {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 12, 18, 0.72);
}

.gge-play-aside .gge-adsense-slot--play-sidebar + .gge-play-info-card {
    margin-top: 0;
}

.gge-play-community-title {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: 0.04em;
    color: rgba(248, 250, 252, 0.94);
}

.gge-play-community-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gge-play-feed-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(0, 0, 0, 0.18);
}

.gge-play-feed-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(168, 85, 247, 0.28);
    background: rgba(0, 0, 0, 0.25);
}

.gge-play-feed-avatar-img,
.gge-play-feed-avatar-atlas {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    display: block;
}

.gge-play-feed-avatar-ph {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    font-size: 12px;
    font-weight: 900;
    color: rgba(248, 250, 252, 0.9);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.38), rgba(59, 130, 246, 0.22));
}

.gge-play-feed-body {
    flex: 1;
    min-width: 0;
}

.gge-play-feed-name {
    font-weight: 850;
    font-size: 12px;
    color: rgba(248, 250, 252, 0.96);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gge-play-feed-action {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    font-size: 11px;
    font-weight: 650;
    color: rgba(148, 163, 184, 0.92);
    min-width: 0;
}

.gge-play-feed-action-txt {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gge-play-feed-ico {
    flex-shrink: 0;
    color: #a855f7;
}

.gge-play-feed-time {
    flex-shrink: 0;
    font-size: 10px;
    font-weight: 650;
    color: rgba(148, 163, 184, 0.72);
    white-space: nowrap;
}

.gge-play-community-empty {
    margin: 0;
    font-size: 12px;
    color: rgba(148, 163, 184, 0.75);
}

/* ── Netflix-style explore rows ── */
.gge-page--netflix {
    max-width: 1440px;
}

.gge-layout--full {
    grid-template-columns: minmax(0, 1fr);
}

.gge-cats--netflix {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.42) rgba(0, 0, 0, 0.32);
}

.gge-cats--netflix::-webkit-scrollbar {
    height: 5px;
}

.gge-cats--netflix::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.32);
    border-radius: 999px;
}

.gge-cats--netflix::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.42);
    border-radius: 999px;
}

.gge-cats--netflix::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.58);
}

.gge-cats--netflix .gge-pill {
    flex: 0 0 auto;
}

.gge-netflix {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-top: 8px;
}

.gge-row-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 4px;
}

.gge-row-title {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gge-row-ico {
    font-size: 1.1em;
    line-height: 1;
}

.gge-row-more {
    font-size: 13px;
    font-weight: 650;
    color: rgba(196, 181, 253, 0.88);
    text-decoration: none;
    white-space: nowrap;
}

.gge-row-more:hover {
    color: #e9d5ff;
}

.gge-row-track-wrap {
    position: relative;
    margin: 0 -6px;
}

.gge-row-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 6px 14px;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: rgba(168, 85, 247, 0.42) rgba(0, 0, 0, 0.32);
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x;
}

.gge-row-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.gge-row-track.is-dragging .gge-pcard-link {
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.gge-row-track .gge-pcard-link,
.gge-row-track .gge-pcard-media img {
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.gge-row-track ::selection {
    background: transparent;
}

.gge-row-track::-webkit-scrollbar {
    height: 5px;
}

.gge-row-track::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.32);
    border-radius: 999px;
}

.gge-row-track::-webkit-scrollbar-thumb {
    background: rgba(168, 85, 247, 0.42);
    border-radius: 999px;
}

.gge-row-track::-webkit-scrollbar-thumb:hover {
    background: rgba(168, 85, 247, 0.58);
}

.gge-pcard {
    flex: 0 0 168px;
    width: 168px;
    scroll-snap-align: start;
}

.gge-pcard-link {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gge-pcard-link:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.gge-pcard-media {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gge-pcard-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gge-pcard-ph {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(160deg, rgba(88, 28, 135, 0.45), rgba(10, 10, 18, 0.95));
}

.gge-pcard-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 42%,
        rgba(0, 0, 0, 0.35) 68%,
        rgba(0, 0, 0, 0.82) 100%
    );
    pointer-events: none;
}

.gge-pcard-staff {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.95), rgba(99, 102, 241, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.gge-pcard-media .gge-card-platform {
    top: 10px;
    right: 10px;
}

.gge-pcard-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 12px 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.gge-pcard-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
}

.gge-pcard-creator {
    font-size: 11px;
    font-weight: 600;
    color: rgba(226, 232, 240, 0.72);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gge-pcard-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
    font-size: 11px;
    font-weight: 700;
    color: rgba(226, 232, 240, 0.88);
}

.gge-pcard-stats span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.gge-rows-sentinel {
    height: 1px;
}

.gge-row.is-loading .gge-row-track {
    opacity: 0.72;
}

@media (min-width: 900px) {
    .gge-pcard {
        flex: 0 0 188px;
        width: 188px;
    }
}

@media (max-width: 640px) {
    .gge-pcard {
        flex: 0 0 148px;
        width: 148px;
    }

    .gge-row-track {
        gap: 10px;
    }
}
