.english-review-languages {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  border: 1px solid #91a3ad33;
  border-radius: 10px;
  background: #11171c;
}
.english-review-languages button {
  border: 0;
  padding: 0 7px;
  min-width: 28px;
  min-height: 32px;
  border-radius: 6px;
  background: transparent;
  color: #b3bdc6;
  cursor: pointer;
  font: 700 12px/1 system-ui, sans-serif;
}
.english-review-languages button[aria-pressed="true"] { background: #d6bd7620; color: #efd38c; }
.english-review-languages button:focus-visible { outline: 2px solid #d6bd76; outline-offset: -2px; }
[data-english-preview] #attributeDesktopToolbar [data-attribute-mode] { white-space: nowrap; }
.amp-mobile[data-english-preview] .pool-head .segments button {
  padding-inline: 7px !important;
  font-size: 12px !important;
}
.amp-mobile[data-english-preview] .pool-actions { gap: 5px; }
.amp-mobile[data-english-preview] .pool-actions > button { height: 36px !important; }
.amp-mobile[data-english-preview] .slot-label { white-space: normal; }
.amp-mobile[data-english-preview] .slot-empty span { white-space: normal; }
.amp-mobile[data-english-preview] .add-card b { text-wrap: balance; }
@media (max-width: 355px) {
  .amp-mobile[data-english-preview] .pool-head { column-gap: 4px !important; padding-inline: 7px !important; }
  .amp-mobile[data-english-preview] .pool-head .segments button { padding-inline: 4px !important; }
  .amp-mobile[data-english-preview] .pool-actions > button,
  .amp-mobile[data-english-preview] .pool-head #filterStyleButton { min-width: 46px !important; width: 46px !important; }
}
.english-preview-original-switch { display: none !important; }
html body .page-lang-btn.english-preview-original-switch,
html body #languageBtn.english-preview-original-switch { display:none !important; }
.review-language-toggle svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5; }
.review-language[data-placement="mobile"] { display:contents; }
.review-language[data-placement="my"] { position:relative;padding:0;border:0;background:transparent; }
.review-language .review-language-toggle.page-lang-btn { color:#d9c27f!important; }
.review-language .review-language-toggle.page-lang-btn svg { width:20px;height:20px; }
.review-language-menu {
  position:absolute;
  z-index:500;
  top:calc(100% + 7px);
  right:0;
  width:11rem;
  padding:6px;
  border:1px solid rgba(var(--pc-atmo-rgb,var(--global-atmo-rgb,188,165,104)),.24);
  border-radius:13px;
  background:linear-gradient(180deg,rgba(var(--pc-atmo-rgb,var(--global-atmo-rgb,188,165,104)),.10),transparent),rgb(var(--pc-panel,18,26,32));
  box-shadow:0 14px 38px #0008;
}
.review-language[data-placement="mobile"] .review-language-menu {
  top:calc(100% - 2px);
  right:calc(var(--mobile-page-gutter,10px) + 8px);
}
.review-language-menu[hidden] { display:none!important; }
.review-language-menu button {
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  min-height:36px;
  padding:6px 9px;
  border-radius:7px;
  text-align:left;
  font-size:13px;
}
.review-language-menu button:hover { background:#ffffff0d; }
.review-language-menu button:not([aria-pressed="true"]) b { visibility:hidden; }
[data-english-preview] .ps-hover-detail-head > div > span { display: none; }
[data-english-preview] .pc-lang-dialog { max-width: min(100% - 24px, 28rem); }
[data-english-preview] .ovc-body-actions,
[data-english-preview] .ovc-body-quick { gap: 3px !important; }
[data-english-preview] .ovc-body-actions button { padding-inline: 7px !important; }
[data-english-preview] #overviewUnitSwitch .opt { font-size: 10px !important; }
[data-english-preview] #playstylesPanel .ps-page-k6 #psHoverDetail .ps-action-btn {
  white-space: normal !important;
  overflow-wrap: anywhere;
  line-height: 1.25 !important;
  padding: 6px 8px !important;
}
[data-english-preview] #psHoverDetail .ps-action-note {
  white-space: normal !important;
  overflow-wrap: anywhere;
}
[data-english-preview] .ovc-model-action-label { white-space: normal; line-height: 1.15; text-align: center; }
[data-english-preview] .ovc-model-action { min-width: 0; }
/* Shared PC review corrections. */
@media (min-width: 761px) {
  body.attributes-workspace-compact #attributes .attr-name { line-height: 18px !important; }
}
body[data-english-preview].attributes-workspace-compact #attributes .attr-main {
  grid-template-columns: 128px minmax(36px, 1fr) 86px !important;
}
body[data-english-preview].attributes-workspace-compact #attributes .attr-name-wrap { width: 128px !important; }
body[data-english-preview].attributes-workspace-compact #attributes .attr-name {
  white-space: nowrap !important; overflow: visible !important; text-overflow: clip !important;
  flex-shrink: 0;
}
@media (max-width: 760px) {
  body[data-english-preview].attributes-workspace-compact #attributes {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
html[data-pc-dialogs] body .accel-rule-popover {
  padding: 11px 13px !important; font-size: 11px !important; line-height: 1.6 !important;
}
html[data-pc-dialogs] body .accel-rule-popover::before {
  margin-bottom: 6px !important; font-size: 11px !important; line-height: 1.6 !important;
}
html body[data-english-preview] .accel-rule-popover::before { content: "Acceleration Type Guide"; }
body[data-english-preview] :is(#overviewControllerModelEnglish,.ovc-model-option small,.spec-card-title > span,.mastery-model-copy > small,.ps-category-name > small) {
  display: none !important;
}
body[data-english-preview] .mastery-model-copy strong,
body[data-english-preview] .ovc-model-option strong,
body[data-english-preview] #playstylesPanel .ps-hover-detail-head > div > strong {
  white-space: normal !important; text-overflow: clip !important; overflow: visible !important;
}
.mastery-node-stats:has(.mastery-boost-pair) {
  white-space: normal !important;
}
body:not([data-english-preview]) .mastery-boost-pair { display: inline-flex; align-items: baseline; gap: 4px; white-space: nowrap; }
body:not([data-english-preview]) .mastery-boost-pair + .mastery-boost-pair::before { content: '·'; margin-left: 4px; }
body[data-english-preview] .mastery-node-stats:has(.mastery-boost-pair) {
  display: grid !important; gap: 2px; white-space: normal !important;
}
.mastery-boost-pair b { color: #e0d098; font-weight: 750; white-space: nowrap; }
body[data-english-preview] #advancedPanel #masteryList.mastery-list.mastery-groups {
  overflow-y: auto !important;
}
body[data-english-preview] #advancedPanel #masteryList.mastery-list .mastery-row {
  grid-template-columns: minmax(100px, .85fr) minmax(130px, 1.1fr) repeat(2, minmax(127px, 1fr)) !important;
  height: auto !important;
}
body[data-english-preview] #advancedPanel #masteryList.mastery-list .mastery-node {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center !important;
  align-items: center !important;
  align-self: stretch;
  gap: 5px !important;
  padding-block: 6px !important;
}
body[data-english-preview] #advancedPanel #masteryList .mastery-node-level { justify-self: start; }
body[data-english-preview] #advancedPanel #masteryList .mastery-node-stats {
  width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}
body[data-english-preview] #advancedPanel #masteryList .mastery-boost-pair {
  display: flex;
  justify-content: flex-start;
  gap: 4px;
  white-space: nowrap;
}
@media (max-width: 1440px) {
  body[data-english-preview] #advancedPanel #masteryList.mastery-list.mastery-groups {
    flex-direction: column !important;
  }
  body[data-english-preview] #advancedPanel #masteryList > .mastery-column {
    flex: none !important;
    width: 100% !important;
  }
}
@media (max-width: 780px) {
  body[data-english-preview] #advancedPanel #masteryList.mastery-list .mastery-row {
    grid-template-columns: minmax(85px, .85fr) minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)) !important;
  }
  body[data-english-preview] #advancedPanel #masteryList.mastery-list .mastery-node {
    grid-template-columns: minmax(0, 1fr);
  }
}
#specializationCards .spec-perk-row.rich.is-expanded :is(.spec-perk-desc,.spec-reward-desc) {
  font-size: calc(var(--spec-type-meta, 10px) + 1px) !important; line-height: 1.45 !important;
}
body[data-english-preview] :is(#diyImportArchetypeBtn,#diyCalculateBtn) > small { display: none !important; }
body[data-english-preview] #login-form .inline > .helper { display: none !important; }
body[data-english-preview] #login-form .inline { justify-content: flex-start !important; }
body[data-english-preview] #forgot-link { white-space: nowrap; }
#overviewGenderSwitch .opt:has(svg) { font-size: 0!important; }
#overviewGenderSwitch .opt svg {
  width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.55;
  stroke-linecap: round; stroke-linejoin: round;
}
body[data-english-preview] #overviewUnitSwitch { min-width: 78px; }
#editor .affinity-group label:focus-within { outline: none !important; }
#editor .affinity-group label:has(input:focus-visible) {
  outline: 2px solid #d9b5d9 !important; outline-offset: 2px !important;
}
body[data-english-preview] .ps-category-name > span { display: none !important; }
body[data-english-preview] #overviewUnitSwitch:not([data-unit-symbols]) {
  width: 86px !important; min-width: 86px !important;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr) !important;
}
body[data-english-preview] #overviewUnitSwitch[data-state="right"]:not([data-unit-symbols]) {
  grid-template-columns: minmax(0, 35fr) minmax(0, 65fr) !important;
}
body[data-english-preview] #overviewUnitSwitch:not([data-unit-symbols])::before {
  width: calc((100% - 6px) * .65) !important; max-width: none !important;
}
body[data-english-preview] #overviewUnitSwitch[data-state="right"]:not([data-unit-symbols])::before {
  left: auto !important; right: 3px !important; transform: none !important;
}
#diyImportArchetypeMenu .diy-import-note{margin:0 0 4px;padding:5px 8px;font-size:11px;color:#83919b;line-height:1.4}

/* Mobile English review */
body[data-english-preview] :is(.archcopy > .archen,.psm-spec-card-copy > span,.psm-detail-id > span:not(.psm-badge),.psm-category-head > span,.aptool-import-copy > span,.aptool-result-english-name,#myThemeMenu .my-theme-head > span,#myThemeMenu .my-theme-copy > strong,.mastery-titleline > strong,.facility-mobile-head > strong,.main-head-title > .main-head-name,[data-review-ap-blocked],[data-psm-status]:empty){display:none!important}
body[data-english-preview] :is(.mastery-titleline > span:not(.mastery-expand-btn),.facility-mobile-head > span){font-size:1rem;letter-spacing:.045em}
body[data-english-preview] #myThemeMenu .my-theme-copy > span{font-size:inherit;font-weight:650;color:var(--text,#dce4ed)}
body[data-english-preview] .bottom-dock .context-toolbar .mode{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-width:132px;width:clamp(132px,38vw,158px);flex-shrink:0}
body[data-english-preview] .bottom-dock .context-toolbar .mode button{width:100%;white-space:nowrap;min-width:0;padding-inline:7px!important}
@media(max-width:360px){
  html body[data-english-preview]:not(.psm-view,.enh-view,.aptool-view) .bottom-dock .context-toolbar.review-workspace-toolbar{padding-inline:max(10px,env(safe-area-inset-left)) max(10px,env(safe-area-inset-right))!important}
}
body[data-english-preview] .bodyrow #unitSeg button{white-space:nowrap;min-width:24px}
body[data-english-preview] #bonus > div{min-width:0}
body[data-english-preview].amp-mobile #equipment .slot[data-slot="0"] .card-bonuses{min-width:0}
body[data-english-preview].amp-mobile :is(#equipment .slot[data-slot="0"],#details) .capsules{display:flex;flex-wrap:wrap}
body[data-english-preview].amp-mobile :is(#equipment .slot[data-slot="0"],#details) .capsule{white-space:nowrap}
body[data-english-preview].amp-mobile #details .capsule{font-size:13px}
body[data-english-preview].amp-mobile #details .capsule b{font-size:14px}

body[data-english-preview] :is(.aptool-ps-group-head,.aptool-ps-title) > span{display:none!important}
body[data-english-preview].amp-mobile #equipment .slot[data-slot="0"]:has(.amp-card),body[data-english-preview].amp-mobile #equipment .slot[data-slot="0"] .amp-card{height:auto!important;min-height:84px!important}
body[data-english-preview].amp-mobile #equipment .slot[data-slot="0"] .amp-card{grid-template-columns:minmax(0,1fr)!important;align-content:center}
body[data-english-preview].amp-mobile #filterStyleButton:before{content:"Style"}
body[data-english-preview].amp-mobile #filterModelButton:before{content:"Affinity"}
body[data-english-preview] :is(#dropdown,#enhDropdown,#psmDropdown) .opt .e{display:none!important}

body[data-english-preview] :is(.mobile-context-title,.aptool-page-title,.my-page-title,.mobile-shared-head) > .cn{display:none!important}
body[data-english-preview] :is(.mobile-context-title,.aptool-page-title,.my-page-title,.mobile-shared-head) > .en{white-space:nowrap;flex:none}
body.mobile3-live .mobile-shared-head .review-language[data-placement="my"]{display:contents}
body.mobile3-live .mobile-shared-head .review-language-menu{top:calc(100% - 2px);right:18px}
