/*
 * G&C REV10W FIX42 — premium theme coverage + text-safety completion.
 * Applies only when a premium theme is selected. Path of the Wolf V3 loads
 * after this file and adds the stronger personality treatment.
 */
html[data-gc-theme] :is(.gcPushPanel,.gcPushHeader,.gcPushTabs,.gcPushSection,.gcPushDeviceCard,.gcPushInboxItem,.gcPushPreferenceList,.gcPushPreferenceRow,.gcPushQuietCard,.gcPushDevice){border-color:var(--gc38-line)!important}
html[data-gc-theme] .gcPushPanel{background:linear-gradient(155deg,color-mix(in srgb,var(--gc38-surface) 96%,black),color-mix(in srgb,var(--gc38-canvas) 97%,black) 68%)!important;color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcPushHeader,.gcPushTabs){background:color-mix(in srgb,var(--gc38-canvas) 94%,black)!important}
html[data-gc-theme] :is(.gcPushHeader small,.gcPushSectionHead small,.gcPushInboxCategory,.gcPushTextButton,.gcPushCount,.gcPushRequiredText){color:var(--gc38-accent-2)!important}
html[data-gc-theme] .gcPushTabs button{border-color:color-mix(in srgb,var(--gc38-line) 75%,transparent)!important;background:color-mix(in srgb,var(--gc38-surface-2) 72%,transparent)!important;color:var(--gc38-muted)!important}
html[data-gc-theme] .gcPushTabs button:is(.isActive,.active,[aria-selected="true"]){border-color:var(--gc38-line)!important;background:color-mix(in srgb,var(--gc38-accent) 12%,var(--gc38-surface-2))!important;color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcPushSection,.gcPushDeviceCard,.gcPushInboxItem,.gcPushPreferenceList,.gcPushPreferenceRow,.gcPushQuietCard,.gcPushDevice){background:color-mix(in srgb,var(--gc38-surface) 92%,transparent)!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcPushInboxItem.isUnread{border-color:color-mix(in srgb,var(--gc38-accent) 36%,var(--gc38-line))!important;background:color-mix(in srgb,var(--gc38-accent) 8%,var(--gc38-surface))!important}
html[data-gc-theme] .gcPushInboxItem.isUnread:before{background:var(--gc38-accent)!important}
html[data-gc-theme] :is(.gcPushInboxItem p,.gcPushInboxItem small,.gcPushSection p,.gcPushQuietToggle small,.gcPushDevice small,.gcPushPreferenceCopy small){color:var(--gc38-muted)!important}
html[data-gc-theme] :is(.gcPushButton,.gcPushInboxMarkRead,.gcPushSavePreferences,.gcPushDeliverySave){border-color:var(--gc38-line)!important;background:color-mix(in srgb,var(--gc38-accent) 9%,var(--gc38-surface-2))!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcPushButtonPrimary{background:linear-gradient(135deg,color-mix(in srgb,var(--gc38-accent) 76%,#fff),var(--gc38-accent))!important;color:var(--gc38-accent-ink)!important}

/* Home Community Events + live actions. */
html[data-gc-theme] :is(.gcHomeEventsSection,.gcHomeEventCard,.gcHomeEventCountdown,.gcHomeEventScheduleRow){border-color:var(--gc38-line)!important}
html[data-gc-theme] .gcHomeEventCard{background:color-mix(in srgb,var(--gc38-surface) 94%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcHomeEventTitle{color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcHomeEventDescription,.gcHomeEventMeta,.gcHomeEventCountdown span,.gcHomeEventScheduleRow span){color:var(--gc38-muted)!important}
html[data-gc-theme] :is(.gcHomeEventCountdown,.gcHomeEventScheduleRow){background:color-mix(in srgb,var(--gc38-surface-2) 88%,black)!important}
html[data-gc-theme] :is(.gcHomeEventTimerIcon,.gcHomeEventBellIcon){stroke:var(--gc38-accent-2)!important}
html[data-gc-theme] .gcHomeEventLiveButton{border-color:var(--gc38-line)!important;background:color-mix(in srgb,var(--gc38-surface-2) 90%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcHomeEventLiveButton.primary{background:linear-gradient(135deg,color-mix(in srgb,var(--gc38-accent) 24%,var(--gc38-surface-2)),color-mix(in srgb,var(--gc38-accent-2) 16%,var(--gc38-surface-2)))!important;box-shadow:var(--gc38-control-shadow)!important}
html[data-gc-theme] .gcEventLiveBadge{border-color:var(--gc38-line)!important;background:color-mix(in srgb,var(--gc38-surface-2) 90%,black)!important;color:var(--gc38-text)!important}

/* Event Room / Livestream. */
html[data-gc-theme] :is(html.gcEventRoomPage,body.gcEventRoomPage){background:var(--gc38-canvas)!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcEventRoomShell{background:radial-gradient(circle at 14% 0,color-mix(in srgb,var(--gc38-accent) 8%,transparent),transparent 34%),var(--gc38-canvas)!important}
html[data-gc-theme] :is(.gcEventStage,.gcEventChat,.gcEventRoomBack,.gcEventRoomAction,.gcEventScheduleRow,.gcEventChatInput,.gcEventSend,.gcEventModPanel,.gcEventModActions button){border-color:var(--gc38-line)!important}
html[data-gc-theme] :is(.gcEventStage,.gcEventChat,.gcEventModPanel){background:color-mix(in srgb,var(--gc38-surface) 96%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcEventRoomBack,.gcEventRoomAction,.gcEventScheduleRow,.gcEventChatInput,.gcEventModActions button){background:color-mix(in srgb,var(--gc38-surface-2) 91%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcEventRoomEyebrow,.gcEventMessageId){color:var(--gc38-accent-2)!important}
html[data-gc-theme] :is(.gcEventPresence,.gcEventTimeText,.gcEventDesc,.gcEventMessageTime,.gcEventChatNotice,.gcEventScheduleLabel,.gcEventScheduleValues small){color:var(--gc38-muted)!important}
html[data-gc-theme] .gcEventMessageText{color:var(--gc38-text)!important}
html[data-gc-theme] .gcEventChatComposer{background:color-mix(in srgb,var(--gc38-canvas) 95%,black)!important;border-color:var(--gc38-line)!important}
html[data-gc-theme] .gcEventSend{background:linear-gradient(135deg,color-mix(in srgb,var(--gc38-accent) 26%,var(--gc38-surface-2)),color-mix(in srgb,var(--gc38-accent-2) 15%,var(--gc38-surface-2)))!important}
html[data-gc-theme] .gcEventMessages{scrollbar-color:var(--gc38-accent) color-mix(in srgb,var(--gc38-canvas) 86%,black)!important}

/* Members Hub including discovery panels added after the older theme sheets. */
html[data-gc-theme] :is(.gcMembersDiscoveryBlock,.gcMembersDiscoveryGameCard,.gcMembersDiscoveryPerson,.gcMemberHubCard,.gcMemberHubWishlistLead,.gcMemberHubWishlistRow,.gcMemberHubPill,.gcMemberHubBadge){border-color:var(--gc38-line)!important}
html[data-gc-theme] .gcMembersDiscoveryBlock{background:linear-gradient(150deg,color-mix(in srgb,var(--gc38-surface) 96%,black),color-mix(in srgb,var(--gc38-canvas) 96%,black))!important}
html[data-gc-theme] :is(.gcMembersDiscoveryGameCard,.gcMemberHubCard){background:color-mix(in srgb,var(--gc38-surface) 94%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcMembersDiscoveryHeading small,.gcMembersDiscoveryArrow,.gcMemberHubHandle,.gcMemberHubOpen,.gcMemberHubSeeMore){color:var(--gc38-accent-2)!important}
html[data-gc-theme] :is(.gcMembersDiscoveryHeading h2,.gcMembersDiscoveryGameHead strong,.gcMembersDiscoveryPersonCopy strong,.gcMemberHubName,.gcMemberHubWishlistTitle,.gcMemberHubWishlistRow strong){color:var(--gc38-text)!important}
html[data-gc-theme] :is(.gcMembersDiscoveryHeading p,.gcMembersDiscoveryGameHead small,.gcMemberHubSectionLabel,.gcMemberHubWishlistDate,.gcMemberHubWishlistRow span){color:var(--gc38-muted)!important}
html[data-gc-theme] :is(.gcMemberHubPill,.gcMemberHubBadge,.gcMemberHubWishlistLead,.gcMemberHubWishlistRow,.gcMembersDiscoveryPerson){background:color-mix(in srgb,var(--gc38-surface-2) 76%,transparent)!important}

/* Global overflow/text safety for themed layouts. */
html[data-gc-theme] :is(.gcGoldRankTable,.gcGoldRankTable tbody,.gcGoldRankTable tr,.gcGoldRankTable td,.gcGoldMemberIdentity,.gcGoldMemberLink,.gcMemberHubIdentity,.gcMemberHubHandle,.gcMemberHubName,.gcMembersDiscoveryPersonCopy,.gcPushInboxOpen,.gcPushInboxItem button){min-width:0}
html[data-gc-theme] .gcGoldRankTable{table-layout:auto!important}
html[data-gc-theme] .gcGoldRankTable th:nth-child(2),html[data-gc-theme] .gcGoldRankTable td:nth-child(2){width:100%;min-width:12ch!important}
html[data-gc-theme] .gcGoldMemberIdentity{width:100%;max-width:none!important;overflow:visible!important}
html[data-gc-theme] .gcGoldMemberLink{display:inline-block!important;max-width:none!important;overflow:visible!important;text-overflow:clip!important;white-space:nowrap!important;line-height:1.3!important}
html[data-gc-theme] :is(.gcGoldMemberLink,.gcMemberHubHandle,.gcMemberHubName,.gcMembersDiscoveryPersonCopy strong,.gcMembersDiscoveryPersonCopy span){padding-block:1px}

/* Remove accidental "highlight strips" behind pure metadata text. */
html[data-gc-theme] :is(#profileHero .gcProfileJoinDate,.gcProfileReviewDate,.gameReviewDate,[class*="PublishedDate"],[class*="JoinDate"]){display:block!important;width:max-content!important;max-width:100%!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;background-image:none!important;box-shadow:none!important;outline:0!important}

/* Common expand / continuation controls across the app. */
html[data-gc-theme] :is(.showMoreBtn,.gcQotdSeeMore,.gcProfileReviewExpandButton,.gcMemberHubSeeMore,.gcGamePlatformMoreToggle,.gcProfileLibraryLoadMore,.gc35More,.gc36SecondaryBtn){border:1px solid var(--gc38-line)!important;border-radius:10px!important;background:color-mix(in srgb,var(--gc38-accent) 7%,var(--gc38-surface-2))!important;color:var(--gc38-accent-2)!important;box-shadow:var(--gc38-control-shadow)!important;text-decoration:none!important}
html[data-gc-theme] :is(.showMoreBtn,.gcQotdSeeMore,.gcProfileReviewExpandButton,.gcMemberHubSeeMore,.gcGamePlatformMoreToggle,.gcProfileLibraryLoadMore,.gc35More,.gc36SecondaryBtn):hover{border-color:color-mix(in srgb,var(--gc38-accent) 48%,var(--gc38-line))!important;background:color-mix(in srgb,var(--gc38-accent) 12%,var(--gc38-surface-2))!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gcGamePlatformMoreToggle{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:5px 10px!important}

/* Game Detail status + Collection baseline for all premium themes. */
html[data-gc-theme] .gameDetailPage .gameHeroStatusItem .gameStatus{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:5px 10px!important;border:1px solid var(--gc38-line)!important;border-radius:8px!important;background:color-mix(in srgb,var(--gc38-surface-2) 92%,black)!important;color:var(--gc38-text)!important;box-shadow:var(--gc38-control-shadow)!important;font-weight:900!important;line-height:1.1!important}
html[data-gc-theme] .gameDetailPage .gameHeroCollectionSection .gameActionBtn{border-color:var(--gc38-line)!important;background:color-mix(in srgb,var(--gc38-surface-2) 92%,black)!important;color:var(--gc38-text)!important}
html[data-gc-theme] .gameDetailPage .gameHeroCollectionSection .gameActionBtn .gameActionIcon{border-color:color-mix(in srgb,var(--gc38-line) 78%,transparent)!important;background:color-mix(in srgb,var(--gc38-accent) 7%,var(--gc38-surface))!important}
html[data-gc-theme] .gameDetailPage .gameHeroCollectionSection .gameActionBtn .collectionSvg{stroke:var(--gc38-accent-2)!important}
html[data-gc-theme] .gameDetailPage .gameHeroCollectionSection .gameActionBtn.active{border-color:color-mix(in srgb,var(--gc38-accent) 55%,var(--gc38-line))!important;background:color-mix(in srgb,var(--gc38-accent) 13%,var(--gc38-surface-2))!important}

@media(max-width:680px){
  html[data-gc-theme] .gcGoldRankTable th:nth-child(2),html[data-gc-theme] .gcGoldRankTable td:nth-child(2){min-width:10ch!important}
  html[data-gc-theme] .gcGoldMemberLink{font-size:12px!important}
}
