/* /app/app/static/actress/research-hub.css */
.research-hub{
  margin:26px 0 38px;
  padding:22px 20px;
  border:1px solid rgba(165,141,202,.24);
  border-radius:18px;
  background:linear-gradient(155deg,rgba(56,41,78,.16),rgba(15,13,21,.4));
  color:#f5f1fb;
}
.rh-section-header{margin:0 0 16px}
.rh-section-header h2,.rh-section-header h3{
  margin:4px 0 6px;
  line-height:1.4;
}
.rh-section-header p{margin:0;color:#bcb4c9;font-size:12px}
.rh-eyebrow{
  font-size:10px!important;
  letter-spacing:.14em;
  color:#c3aaff!important;
  font-weight:750;
}
.rh-metrics{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  margin:0 0 9px;
}
.rh-metric{
  min-width:0;
  padding:14px 13px;
  border-radius:12px;
  background:rgba(255,255,255,.055);
}
.rh-metric dt{font-size:11px;color:#b9b1c6}
.rh-metric dd{
  margin:7px 0 0;
  font-size:clamp(18px,3vw,25px);
  font-weight:750;
  overflow-wrap:anywhere;
}
.rh-period{font-size:12px;color:#c6bfd0;margin:0 0 30px}
.rh-note{font-size:11px;color:#a9a2b6;line-height:1.6}
.rh-year-heading{margin-bottom:10px}
.rh-legend{display:flex;gap:15px;flex-wrap:wrap;margin:8px 0 15px}
.rh-legend span{
  display:flex;align-items:center;gap:6px;
  font-size:11px;color:#c6bfd0;
}
.rh-legend i{width:9px;height:9px;display:inline-block;border-radius:2px}
.rh-legend-solo,.rh-solo{background:#b08bfa}
.rh-legend-other,.rh-other{background:#50c2b8}
.rh-legend-unknown,.rh-unknown{background:#9996a3}
.rh-chart{
  display:flex;
  align-items:flex-end;
  gap:9px;
  overflow-x:auto;
  height:220px;
  padding:8px 5px 14px;
  margin:0 0 26px;
  border-bottom:1px solid rgba(255,255,255,.14);
}
.rh-year-bar{
  appearance:none;
  background:transparent;
  border:1px solid transparent;
  color:inherit;
  flex:1 0 46px;
  min-width:46px;
  max-width:90px;
  height:194px;
  display:flex;
  flex-direction:column-reverse;
  align-items:center;
  justify-content:flex-start;
  gap:6px;
  padding:6px 3px 4px;
  border-radius:10px;
  cursor:pointer;
  transition:background .15s,border-color .15s;
}
.rh-year-bar:hover{
  background:rgba(176,139,250,.08);
}
.rh-year-bar.is-selected{
  background:rgba(176,139,250,.1);
  border-color:rgba(176,139,250,.45);
}
.rh-bar-stack{
  display:flex;
  flex-direction:column;
  overflow:hidden;
  width:clamp(20px,55%,40px);
  min-height:4px;
  flex-shrink:0;
  border-radius:5px 5px 0 0;
}
.rh-segment{display:block;width:100%;flex-shrink:0}
.rh-bar-count{font-size:11px;font-weight:700}
.rh-bar-year{font-size:11px;color:#bdb4c9;font-variant-numeric:tabular-nums}
.rh-year-bar.is-selected .rh-bar-year{color:white;font-weight:800}
.rh-year-bar:focus-visible{
  outline:2px solid #ddcaff;
  outline-offset:2px;
}
.rh-explorer-heading{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  column-gap:14px;
  row-gap:3px;
}
.rh-filter{display:flex;gap:8px;flex-wrap:wrap;border:0;margin:0 0 17px;padding:0}
.rh-filter legend{font-size:11px;color:#bbb4c7;margin-bottom:9px}
.rh-filter label{
  display:flex;
  align-items:center;
  gap:5px;
  padding:7px 10px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:20px;
  font-size:12px;
  cursor:pointer;
}
.rh-filter label:has(input:checked){
  background:rgba(176,139,250,.16);
  border-color:rgba(176,139,250,.7);
}
.rh-filter input{accent-color:#ac8bff}
.rh-packages{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
}
.rh-package{min-width:0;text-decoration:none;color:inherit;display:block}
.rh-package-image{
  display:block;
  position:relative;
  aspect-ratio:3/4;
  overflow:hidden;
  background:#25212d;
  border-radius:9px;
}
.rh-package-image img{width:100%;height:100%;object-fit:cover;display:block}
.rh-no-image{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  font-size:11px;
  color:#aaa;
}
.rh-package-meta{
  display:flex;justify-content:space-between;
  gap:5px;margin-top:5px;font-size:10px;color:#d0c5df;
}
.rh-playable{display:inline-block;margin-top:4px;font-size:10px;color:#9ae9df}
.rh-more{display:inline-block;margin-top:17px;color:#d4baff;font-size:13px;font-weight:700}
.rh-methodology{
  margin-top:24px;
  font-size:11px;
  color:#aaa3b5;
}
.rh-methodology summary{cursor:pointer}
.rh-methodology p{line-height:1.7}
.rh-profile-heading{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.rh-profile-heading #actress-name{margin:0}
.rh-graph-link{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:9px 13px;
  border:1px solid rgba(184,143,255,.65);
  border-radius:11px;
  background:rgba(140,93,211,.2);
  color:#efdeff;
  font-size:12px;
  font-weight:750;
  text-decoration:none;
  white-space:nowrap;
}
.rh-graph-link:hover{
  background:rgba(151,100,220,.32);
}
.discovery-feature-group{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px 12px;
}
.discovery-feature-group + .discovery-feature-group{margin-top:9px!important}
.discovery-feature-group h3{
  margin:0!important;
  font-size:11px!important;
  flex-shrink:0;
  white-space:nowrap;
}
.discovery-feature-chips{gap:5px!important}
.discovery-feature-chip{
  padding:5px 9px!important;
  border-radius:18px!important;
}
.discovery-feature-chip strong{font-size:11px!important}
.discovery-feature-chip small{font-size:10px!important}
@media(min-width:680px){
  .research-hub{padding:25px 26px}
  .rh-packages{grid-template-columns:repeat(6,minmax(0,1fr))}
}
@media(max-width:440px){
  .research-hub{padding:15px 12px}
  .rh-metrics{gap:6px}
  .rh-metric{padding:12px 8px}
  .rh-metric dt{font-size:10px}
  .rh-metric dd{font-size:18px}
  .rh-chart{gap:3px}
  .rh-year-bar{min-width:42px;flex-basis:42px}
  .rh-profile-heading{align-items:flex-start;gap:8px}
  .rh-graph-link{font-size:11px;padding:7px 9px}
}

/* R885-10B-04R: selected-year playback */
.rh-playback-actions{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px;
  margin:4px 0 5px;
}
.rh-play-action{
  appearance:none;
  border:1px solid rgba(178,147,237,.48);
  border-radius:11px;
  background:rgba(143,103,207,.17);
  color:#f4ebff;
  font-weight:750;
  font-size:13px;
  padding:13px 10px;
  cursor:pointer;
}
.rh-play-action:hover:not(:disabled){
  background:rgba(143,103,207,.31);
}
.rh-play-action:disabled{opacity:.38;cursor:not-allowed}
.rh-play-action:focus-visible{outline:2px solid #ddcaff;outline-offset:2px}
.rh-play-shuffle{
  background:rgba(69,153,150,.13);
  border-color:rgba(88,190,182,.4);
}
.rh-playback-status{
  margin:0 0 16px;
  color:#afa5bb;
  font-size:11px;
  line-height:1.6;
}


/* R885-10C-02R: repaired year graph and mobile profile */

.rh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.research-hub .rh-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 211px;
  box-sizing: border-box;
  padding: 4px 4px 12px;
  margin-bottom: 24px;
  overflow-x: auto;
}

.research-hub .rh-year-bar {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 0 43px;
  min-width: 43px;
  max-width: 90px;
  height: 190px;
  box-sizing: border-box;
  padding: 5px 3px 7px;
  gap: 6px;
  border-radius: 10px;
}

.research-hub .rh-bar-stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 55%;
  min-width: 20px;
  max-width: 38px;
  min-height: 6px;
  flex: 0 0 auto;
  box-sizing: content-box;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  background: rgba(255,255,255,.06);
}

.research-hub .rh-bar-stack .rh-segment {
  display: block;
  width: 100%;
  flex: 0 0 auto;
  min-height: 0;
}

.research-hub .rh-bar-stack .rh-solo {
  background: #b08bfa;
}

.research-hub .rh-bar-stack .rh-other {
  background: #50c2b8;
}

.research-hub .rh-bar-stack .rh-unknown {
  background: #9996a3;
}

.research-hub .rh-playback-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 5px;
}

.research-hub .rh-play-action {
  flex: 0 1 auto;
  min-height: 44px;
  width: auto;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 800;
}

.research-hub .rh-play-ordered {
  background: #f5f5f5;
  color: #111;
  border: 1px solid #f5f5f5;
}

.research-hub .rh-play-shuffle {
  background: rgba(255,255,255,.055);
  color: #fff;
  border: 1px solid rgba(255,255,255,.27);
}

.research-hub .rh-play-ordered:hover:not(:disabled) {
  background: #fff;
  color: #111;
}

.research-hub .rh-play-shuffle:hover:not(:disabled) {
  background: rgba(255,255,255,.12);
}

@media (max-width: 620px) {
  #profile.profile-card {
    display: grid;
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
    grid-auto-rows: min-content;
    align-items: start;
    column-gap: 12px;
    row-gap: 8px;
    min-height: 0;
    padding: 15px;
  }

  #profile.profile-card > div:last-child {
    display: contents;
  }

  #profile.profile-card > :first-child {
    grid-column: 1;
    grid-row: 1 / 4;
    min-width: 0;
    max-width: 100%;
    align-self: start;
  }

  #profile .rh-profile-heading {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    min-width: 0;
  }

  #profile #actress-name {
    margin: 0;
    font-size: clamp(22px, 5.4vw, 29px);
    line-height: 1.3;
  }

  #profile .rh-graph-link {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.4;
    padding: 7px 9px;
    font-size: 11px;
  }

  #profile #actress-ruby {
    grid-column: 2;
    grid-row: 2;
    margin: 0;
  }

  #profile #actress-count {
    grid-column: 2;
    grid-row: 3;
    margin: 0;
  }

  #profile #actress-favorite,
  #profile .actress-player-cta,
  #profile .actress-share-cta,
  #profile #profile-status,
  #profile #profile-retry {
    grid-column: 1 / -1;
    box-sizing: border-box;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  #profile #actress-favorite {
    grid-row: 4;
    margin-top: 9px;
  }

  #profile .actress-player-cta {
    grid-row: 5;
    margin-top: 0;
  }

  #profile .actress-share-cta {
    grid-row: 6;
    margin-top: 0;
  }

  #profile #profile-status {
    grid-row: 7;
    margin: 0;
    font-size: 11px;
  }

  #profile #profile-retry {
    grid-row: 8;
  }

  #profile .profile-visual-gallery.has-package-viewer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    gap: 5px;
    align-items: center;
  }

  #profile .profile-visual-item.is-primary {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .research-hub .rh-playback-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .research-hub .rh-play-action {
    width: 100%;
    padding: 11px 7px;
    font-size: 12px;
  }
}


/* R885-10D-02R: shared playback, year bars, package presentation */

.research-hub .rh-year-bar {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  flex: 1 0 46px;
  min-width: 46px;
  height: 190px;
  box-sizing: border-box;
  gap: 6px;
  padding: 5px 3px 7px;
  background: transparent;
}

.research-hub .rh-year-bar.is-selected {
  background: rgba(176,139,250,.04);
  border-color: rgba(176,139,250,.35);
}

.research-hub .rh-bar-stack {
  position: relative !important;
  display: block !important;
  flex: 0 0 auto !important;
  width: 55%;
  min-width: 22px;
  max-width: 42px;
  min-height: 6px;
  overflow: hidden;
  padding: 0 !important;
  margin: 0 !important;
  background: rgba(255,255,255,.07);
  border-radius: 5px 5px 0 0;
}

.research-hub .rh-bar-stack .rh-segment {
  position: absolute !important;
  display: block !important;
  left: 0 !important;
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.research-hub .rh-bar-stack .rh-solo {
  background: #b08bfa !important;
}

.research-hub .rh-bar-stack .rh-other {
  background: #50c2b8 !important;
}

.research-hub .rh-bar-stack .rh-unknown {
  background: #9996a3 !important;
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 0 0 5px;
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: auto;
  min-height: 36px;
  padding: 7px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions button:first-child {
  background: rgba(255,255,255,.94);
  color: #0a0a0c;
  border: 1px solid rgba(255,255,255,.16);
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions button:last-child {
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.16);
}

.research-hub .rh-package.work-card {
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.research-hub .rh-package-image.work-image-wrap {
  display: block;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.research-hub .rh-package-image.work-image-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.research-hub .rh-package-meta span:not(:first-child) {
  display: none;
}

@media (max-width:560px) {
  .research-hub .rh-playback-actions.fzn-surface-playback-actions {
    justify-content: flex-end;
    gap: 6px;
  }

  .research-hub .rh-playback-actions.fzn-surface-playback-actions button {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 10px;
  }
}


/* R885-10E-01: mobile profile polish, reliable bars, package overlay */

.research-hub .rh-playback-actions.fzn-surface-playback-actions{
  justify-content:flex-start !important;
  gap:8px;
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions button{
  min-height:40px;
  padding:8px 14px;
  font-size:12px;
}

.research-hub .rh-package-image,
.research-hub .rh-package-image.work-image-wrap{
  position:relative;
  overflow:hidden;
}

.research-hub .rh-play-overlay{
  position:absolute;
  right:8px;
  bottom:8px;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(0,0,0,.72);
  color:#fff;
  font-size:13px;
  font-weight:800;
  line-height:1;
  box-shadow:0 2px 8px rgba(0,0,0,.35);
  pointer-events:none;
  z-index:2;
}

.research-hub .rh-bar-stack[data-rh-bar-repaired="1"]{
  background:var(--rh-bar-gradient, rgba(255,255,255,.08)) !important;
  position:relative;
}

.research-hub .rh-bar-stack[data-rh-bar-repaired="1"] .rh-segment{
  display:none !important;
}

@media (max-width:620px){
  #profile.profile-card{
    grid-template-columns:136px minmax(0,1fr) !important;
    column-gap:14px !important;
  }

  #profile .profile-visual-gallery.has-package-viewer{
    position:relative;
    display:block !important;
    width:136px;
    min-width:136px;
    max-width:136px;
  }

  #profile .profile-visual-item.is-primary{
    width:136px !important;
    max-width:136px !important;
    aspect-ratio:4 / 5;
    overflow:hidden;
    border-radius:18px;
  }

  #profile .profile-package-viewer{
    position:absolute !important;
    right:-4px;
    bottom:-4px;
    width:56px !important;
    max-width:56px !important;
    z-index:2;
  }

  #profile .rh-profile-heading{
    min-width:0;
  }

  #profile #actress-name{
    font-size:clamp(20px, 5.8vw, 28px);
    line-height:1.2;
    word-break:keep-all;
  }

  .research-hub .rh-playback-actions.fzn-surface-playback-actions{
    flex-wrap:wrap;
  }

  .research-hub .rh-playback-actions.fzn-surface-playback-actions button{
    min-height:38px;
    padding:8px 12px;
    font-size:11px;
  }
}


/* R885-10E-02B: SVG year chart with stable geometry */

.research-hub .rh-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 211px;
  box-sizing: border-box;
  padding: 4px 4px 12px;
  overflow-x: auto;
}

.research-hub .rh-year-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  flex: 1 0 46px;
  width: 46px;
  min-width: 46px;
  max-width: 90px;
  height: 190px;
  box-sizing: border-box;
  gap: 6px;
  padding: 5px 3px 7px;
}

.research-hub .rh-year-bar.is-selected {
  background: rgba(176,139,250,.055);
  border-color: rgba(176,139,250,.42);
}

.research-hub .rh-bar-svg {
  display: block !important;
  width: 36px !important;
  height: 140px !important;
  min-height: 140px !important;
  max-height: 140px !important;
  flex: 0 0 140px !important;
  overflow: visible;
  border: 0;
  padding: 0;
  margin: 0;
  background: transparent;
}

.research-hub .rh-bar-count,
.research-hub .rh-bar-year {
  display: block;
  flex: 0 0 auto;
  line-height: 15px;
  text-align: center;
}

.research-hub .rh-package-image.work-image-wrap {
  position: relative;
}

.research-hub .rh-play-overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0,0,0,.74);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  pointer-events: none;
  z-index: 3;
}

.research-hub .rh-playback-actions.fzn-surface-playback-actions {
  justify-content: flex-end !important;
  gap: 8px;
}

@media (max-width: 560px) {
  .research-hub .rh-chart {
    gap: 5px;
  }

  .research-hub .rh-year-bar {
    flex-basis: 44px;
    min-width: 44px;
  }

  .research-hub .rh-playback-actions.fzn-surface-playback-actions {
    justify-content: flex-end !important;
    gap: 6px;
  }
}

/* R885-10F-05B: independent portrait stack and unified action column */

@media (max-width: 620px) {
  #profile.profile-card {
    display: grid !important;
    grid-template-columns: minmax(0,39%) minmax(0,1fr) !important;
    grid-template-rows: auto !important;
    grid-auto-rows: min-content !important;
    align-items: start !important;
    column-gap: 12px !important;
    row-gap: 8px !important;
    min-height: 0 !important;
    padding: 13px !important;
  }

  #profile.profile-card > div:last-child {
    display: contents !important;
  }

  #profile.profile-card > :first-child {
    grid-column: 1 !important;
    grid-row: 1 / 6 !important;
    align-self: start !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  #profile .profile-visual-gallery,
  #profile .profile-visual-gallery.has-package-viewer {
    display: flex !important;
    position: relative !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: visible !important;
  }

  #profile .profile-visual-gallery.has-package-viewer > *,
  #profile .profile-visual-gallery > .profile-visual-item {
    position: relative !important;
    inset: auto !important;
    display: block !important;
    flex: 0 0 auto !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 !important;
    opacity: 1 !important;
    transform: none !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    border-radius: 11px !important;
  }

  #profile .profile-visual-gallery.has-package-viewer > .is-primary {
    order: 1 !important;
    aspect-ratio: 4 / 5 !important;
  }

  #profile .profile-visual-gallery.has-package-viewer > :not(.is-primary) {
    order: 2 !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 80px !important;
  }

  #profile .profile-visual-gallery.has-package-viewer > :not(.is-primary) img {
    display: block !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    opacity: 1 !important;
  }

  #profile .rh-profile-heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
    column-gap: 6px !important;
    row-gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  #profile #actress-name {
    flex: 0 1 auto !important;
    margin: 0 !important;
    font-size: clamp(20px,5.4vw,28px) !important;
    line-height: 1.22 !important;
    overflow-wrap: anywhere !important;
  }

  #profile #actress-ruby {
    display: block !important;
    flex: 0 1 auto !important;
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.4 !important;
    color: rgba(255,255,255,.58) !important;
    overflow-wrap: anywhere !important;
  }

  #profile .rh-graph-link {
    flex: 0 0 100% !important;
  }

  #profile .rh-graph-link,
  #profile #actress-favorite,
  #profile .actress-player-cta,
  #profile .actress-share-cta {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 5px !important;
    border-radius: 10px !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: normal !important;
  }

  #profile #actress-favorite {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }

  #profile .actress-player-cta {
    grid-column: 2 !important;
    grid-row: 3 !important;
  }

  #profile .actress-share-cta {
    grid-column: 2 !important;
    grid-row: 4 !important;
  }

  #profile #actress-count {
    display: none !important;
  }

  #profile #profile-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
  }

  #profile #profile-retry {
    grid-column: 2 !important;
    grid-row: 5 !important;
    width: 100% !important;
  }

  #profile #profile-retry[hidden] {
    display: none !important;
  }
}


/* R885-10F-06A: two visible metrics and accessible labels */
.research-hub .rh-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.research-hub .rh-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#profile #actress-count {
  display: none !important;
}

#profile #profile-status:empty {
  display: none !important;
}

@media (max-width: 620px) {
  #profile #profile-status:not(:empty) {
    position: static !important;
    display: block !important;
    grid-column: 2 !important;
    grid-row: auto !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    clip-path: none !important;
    white-space: normal !important;
    font-size: 11px !important;
    color: #ffb9c9 !important;
  }
}


/* R885-10F-08D: remove only year-package corner clipping */
.research-hub .rh-package.work-card {
  border-radius: 0 !important;
}

.research-hub .rh-package-image.work-image-wrap {
  border-radius: 0 !important;
}

.research-hub .rh-package-image.work-image-wrap > img {
  border-radius: 0 !important;
}
