/* PC header review, shared by the three languages. */
body .topbar #pcTopbarActions { align-self: center !important; margin-bottom: 0 !important; padding-bottom: 12px !important; }
body .topbar #pcTopbarActionMain { gap: 7px !important; }
body .topbar #pcTopbarActionMain :is(.review-language-toggle,#pcPremiumThemeButton,#pcContactAuthorButton) {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 40px !important;
  height: 40px !important;
  width: auto !important;
  padding-inline: 10px !important;
  border-radius: 12px !important;
  font-size: 10.5px !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}
/* 2.6 uses neutral glass for language and palette, with localized theme accents. */
body .topbar #pcTopbarActionMain :is(.review-language-toggle,#pcPremiumThemeButton) {
  border: 1px solid rgba(255,255,255,.10) !important;
  background: linear-gradient(180deg,rgba(255,255,255,.058),rgba(255,255,255,.018)) !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.050) !important;
  backdrop-filter: blur(18px) saturate(118%) !important;
}
body .topbar #pcTopbarActionMain :is(.review-language-toggle,#pcPremiumThemeButton):hover {
  border-color: rgba(var(--pc-atmo-rgb),.18) !important;
  background: linear-gradient(180deg,rgba(255,255,255,.075),rgba(255,255,255,.026)) !important;
}
body .topbar #pcTopbarActionMain #pcPremiumThemeButton { width: 43px !important; padding: 0 !important; }
body .topbar #pcTopbarActionMain #pcContactAuthorButton {
  min-width: 0 !important;
  border: 1px solid rgba(var(--pc-atmo-rgb),.11) !important;
  background: linear-gradient(180deg,rgba(255,255,255,.034),rgba(255,255,255,.012)) !important;
  box-shadow: 0 8px 22px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.045) !important;
}
body .topbar #pcTopbarActionMain #pcContactAuthorButton:hover {
  border-color: rgba(var(--pc-atmo-rgb),.22) !important;
  background: rgba(var(--pc-atmo-rgb),.035) !important;
}
.english-review-languages.review-language {
  position: relative;
  display: inline-flex;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  order: -1;
}
.review-language-toggle { position: relative; gap: 5px; color: #d9c27f !important; }
.review-language-toggle::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%,rgba(var(--pc-atmo-rgb),.16),transparent 66%);
}
.review-language-toggle > :is(svg,span) { position: relative; }
.review-language[data-placement="desktop"] .review-language-menu {
  width:11rem;
  padding:8px;
  border:1px solid rgba(var(--pc-atmo-rgb),.12);
  border-radius:14px;
  background:linear-gradient(180deg,rgba(var(--pc-panel),.985),rgba(var(--pc-panel-2),.995));
  box-shadow:0 24px 64px #0007,inset 0 1px 0 #ffffff06;
  backdrop-filter:blur(18px) saturate(118%);
}
.review-language[data-placement="desktop"] .review-language-menu button {
  min-height:44px;
  padding:6px 8px;
  border-radius:10px;
  background:transparent;
  color:#c7ced3;
}
.review-language[data-placement="desktop"] .review-language-menu button:hover { background:#ffffff06; }
.review-language[data-placement="desktop"] .review-language-menu button[aria-pressed="true"] {
  background:rgba(var(--pc-gold-rgb),.055);
  box-shadow:inset 0 0 0 1px rgba(var(--pc-gold-rgb),.065);
}
.review-language[data-placement="desktop"] .review-language-menu button b { color:#d6bd76; }
.review-language[data-placement="desktop"] .review-language-menu button:focus-visible {
  outline:1px solid rgba(var(--pc-atmo-rgb),.48);
  outline-offset:-1px;
}
#pcContactAuthorPanel :is(.pc-contact-head,.pc-contact-foot) { display: none; }
body #cloud-account-toggle, body .pc-admin-entry { min-height: 35px !important; }
html body > #cloud-account-popover {
  border-color: rgba(var(--pc-atmo-rgb),.24) !important;
  background: linear-gradient(180deg,rgba(var(--pc-atmo-rgb),.10),transparent),rgb(var(--pc-panel)) !important;
}
html body > .pc-account-version.version { font-size: 8.5px !important; }
@media (min-width: 1600px) {
  html body .topbar #pcTopbarActions {
    align-self: flex-end !important;
    margin-bottom: var(--pc-tools-bottom-gap,0px) !important;
    padding-bottom: 0 !important;
  }
}
html body .main>.editor-view-tabs:not([hidden]) {
  overflow-y: hidden !important;
  scrollbar-width: none !important;
}
html body .main>.editor-view-tabs::-webkit-scrollbar { display: none !important; }
@media (min-width: 1181px) {
  html body .main>.editor-view-tabs:not([hidden]) {
    box-sizing: border-box;
    height: 54px !important;
    min-height: 54px !important;
    padding-block: 3px !important;
    margin-bottom: 5px !important;
  }
  html body .main>.editor-view-tabs :is(.editor-view-tab,.editor-view-action) {
    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;
  }
}
.review-feedback .gl-modal-actions { display: flex; justify-content: flex-end; padding: 0 16px 16px; }
.review-feedback-link {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  padding-inline: 14px;
  border: 1px solid rgba(var(--pc-atmo-rgb),.35);
  border-radius: 8px;
  color: #e1c77d;
  background: rgba(var(--pc-atmo-rgb),.08);
  text-decoration: none;
  font-weight: 750;
}

/* English-only reading sizes for the reviewed PC surfaces. */
body[data-english-preview] #playstylesPanel .ps-page-k6 #psHoverDetail .ps-action-note span {
  color: #b5c2cb !important;
  font-size: 11px !important;
  line-height: 1.35 !important;
}
body[data-english-preview] #specializationCards :is(.spec-card-status,.spec-player-label-v2,.spec-inline-note,.spec-perk-top b,.spec-info-block>label,.spec-requirements>label,.spec-requirement em,.spec-base-visual>span) {
  font-size: 11px !important;
  line-height: 1.3 !important;
}
body[data-english-preview] #specializationCards :is(.spec-inline-note,.spec-info-block>label,.spec-requirements>label,.spec-requirement em) { color: #a2afb8 !important; }
body[data-english-preview] #specializationCards .spec-perk-row.rich.is-expanded :is(.spec-perk-desc,.spec-reward-desc) {
  font-size: 12px !important;
  line-height: 1.42 !important;
  color: #aab6bf !important;
}
body[data-english-preview] .global-archetype-overview-card #overviewBodyPlot :is(#overviewBodyTop,#overviewBodyBottom,#overviewBodyLeft,#overviewBodyRight),
body[data-english-preview] .global-archetype-overview-card #overviewBodyMods :is(span,b,strong) {
  font-size: 11px !important;
  line-height: 1.2 !important;
}
body[data-english-preview] .global-archetype-overview-card #overviewBodyPlot :is(#overviewBodyTop,#overviewBodyBottom,#overviewBodyLeft,#overviewBodyRight) { color: #d2bc83 !important; }
body[data-english-preview] :is(.attr-price-tier,.mastery-node-level) { font-size: 10.5px !important; }

/* The English selector has narrower type, flexible card heights and less chrome. */
body[data-english-preview] #facilityDrawer.facility-selector-modal {
  width: min(1056px, calc(100vw - 28px)) !important;
  max-width: calc(100vw - 28px) !important;
  min-width: 0 !important;
  height: min(700px, calc(100dvh - 28px)) !important;
  max-height: calc(100dvh - 28px) !important;
  min-height: 0 !important;
}
body[data-english-preview] #facilityDrawer :is(.ai-selector-headline h3,.facility-selector-title) { font-size: 20px !important; }
body[data-english-preview] #facilityDrawer #facilityDrawerBudgetText { font-size: 11px !important; white-space: nowrap; }
body[data-english-preview] #facilityDrawer .facility-selector-grid { grid-auto-rows: minmax(82px,auto) !important; align-content: start; gap: 8px !important; }
body[data-english-preview] #facilityDrawer .facility-picker-tile { min-height: 82px !important; height: auto !important; padding: 10px 11px !important; }
body[data-english-preview] #facilityDrawer .facility-picker-copy>strong { font-size: 13px !important; line-height: 1.18 !important; }
body[data-english-preview] #facilityDrawer .facility-picker-copy>span { font-size: 11.5px !important; line-height: 1.45 !important; }
body[data-english-preview] #facilityDrawer .facility-detail-empty>p { display: none !important; }
body[data-english-preview] #facilityDrawer .facility-level-card {
  grid-template-columns: 44px minmax(0,1fr) minmax(55px,auto) !important;
  column-gap: 8px !important;
  padding: 10px 11px !important;
  min-height: 76px !important;
}
body[data-english-preview] #facilityDrawer .facility-level-title { font-size: 16px !important; }
body[data-english-preview] #facilityDrawer .facility-level-separator { display: none; }
body[data-english-preview] #facilityDrawer .facility-level-current { display: block; margin-top: 3px; font-size: 11px; }
body[data-english-preview] #facilityDrawer .facility-level-boost { gap: 4px !important; font-size: 11.5px !important; }
body[data-english-preview] #facilityDrawer .facility-level-boost span { white-space: normal !important; word-break: normal !important; }
body[data-english-preview] #facilityDrawer .facility-level-boost b { font-size: 13px !important; }
body[data-english-preview] #facilityDrawer .facility-level-cost b { font-size: 16px !important; }
body[data-english-preview] #facilityDrawer :is(.facility-level-cost span,.facility-level-delta,.facility-level-reward small) { font-size: 11px !important; }
body[data-english-preview] #facilityDrawer :is(.facility-detail-levels:not(:has(.facility-level-card.current)),.facility-level-card.current) .facility-level-delta { display: none !important; }
@media (max-width: 1050px) {
  body[data-english-preview] #facilityDrawer .facility-selector-grid { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}

/* Desktop rarity treatments for community rows and both Gallery shelves. */
#fcCloudCommunityRoot [data-review-rarity="common"] { --review-community-tint: rgba(177,136,65,.065); }
#fcCloudCommunityRoot [data-review-rarity="rare"] { --review-community-tint: rgba(129,82,178,.09); }
#fcCloudCommunityRoot [data-review-rarity="legendary"] { --review-community-tint: rgba(185,158,99,.08); }
#fcCloudCommunityRoot [data-review-rarity="collector"] { --review-community-tint: rgba(102,152,154,.065); }
#fcCloudCommunityRoot .fc-r3-community-row[data-review-rarity]:not([data-review-rarity=""]) {
  /* The desktop title column occupies just over half the table. */
  background-image: linear-gradient(90deg,var(--review-community-tint,transparent),transparent 22%) !important;
}
#glGalleryPanel .gl-collection-card[data-review-rarity] { --review-rarity: 166,177,185; }
#glGalleryPanel .gl-collection-card[data-review-rarity="rare"] { --review-rarity: 197,160,229; }
#glGalleryPanel .gl-collection-card[data-review-rarity="legendary"] { --review-rarity: 231,200,136; }
#glGalleryPanel .gl-collection-card[data-review-rarity="collector"] { --review-rarity: 188,220,226; }
#glGalleryPanel .gl-collection-card[data-review-rarity] .gl-nine-rarity-badge { display: none !important; }
#glGalleryPanel .gl-collection-card[data-review-rarity] .gl-collection-info {
  gap: 5px 8px !important;
}
#glGalleryPanel .gl-collection-card[data-review-rarity] .gl-collection-info > strong { flex: 0 0 auto; max-width: 47%; }
#glGalleryPanel .gl-collection-card[data-review-rarity] .gl-collection-info > span {
  min-width: 0;
  overflow-wrap: anywhere;
  margin-left: auto;
  padding: 3px 7px;
  border: 1px solid rgba(var(--review-rarity),.32);
  border-radius: 999px;
  background: rgba(var(--review-rarity),.075);
  color: rgb(var(--review-rarity)) !important;
  white-space: normal;
}
#glGalleryPanel .gl-collection-card[data-review-rarity]:is(:hover,:focus-within) { background: none !important; }
#glGalleryPanel .gl-collection-card[data-review-rarity] :is(.gl-thumb-wrap:hover .gl-thumb,.gl-thumb:focus-visible)::before {
  border-color: rgba(var(--review-rarity),.46) !important;
  box-shadow: 0 0 0 1px rgba(var(--review-rarity),.15),0 0 17px rgba(var(--review-rarity),.34) !important;
}
#glGalleryPanel .gl-collection-card[data-review-rarity] .gl-thumb-hover {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 10px;
}
