/* Rank information is readable before acquisition, in the collection and its popover. */
.bonus-trigger { display:inline-flex; align-items:center; justify-content:center; padding:0; border:1px solid transparent; color:inherit; font:inherit; cursor:help; }
.bonus-trigger:hover { border-color:#d2a568; background-color:#80603b55; }
.bonus-trigger:focus-visible,[data-bonus-preview]:focus-visible { outline:2px solid #efc27d; outline-offset:3px; }
.bonus-trigger[aria-expanded="true"] { border-color:#c59a5e; }
.bonus-trigger.arsenal-mini { background:#3f3126; }
.bonus-trigger.sidebar-talent-icon { min-width:32px; min-height:32px; }
.bonus-trigger.talent-detail-icon { width:38px; height:38px; flex:none; border-radius:5px; background:#372b2155; }
.bonus-trigger.talent-detail-icon img { width:34px; height:34px; object-fit:contain; }
.bonus-trigger.choice-bonus-preview,.bonus-trigger.choice-weapon { flex:none; border-radius:6px; background:transparent; }
.bonus-trigger.choice-bonus-preview { width:62px; height:62px; }
.bonus-trigger.choice-weapon .weapon-icon { margin:0; }
.bonus-preview { position:fixed; z-index:140; width:min(450px,calc(100vw - 20px)); max-height:calc(100dvh - 20px); padding:18px; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; scrollbar-color:#af864f #32261e; border:1px solid #b68a53; border-radius:10px; background:linear-gradient(135deg,#53402e,#362b23 65%); color:#e9d5b7; box-shadow:0 12px 36px #160e0bbf,0 2px 0 #e0b2762b inset; }
.bonus-preview[hidden] { display:none; }
.bonus-preview:focus-visible { outline:2px solid #f1c886; outline-offset:2px; }
.bonus-preview-heading { display:flex; align-items:center; gap:11px; padding-bottom:12px; border-bottom:1px solid #b98b5344; }
.bonus-preview-heading>div { min-width:0; flex:1; }
.bonus-preview-heading .eyebrow { display:block; font-size:9px; line-height:1.5; color:#d7b684; letter-spacing:.06em; }
.bonus-preview h2 { margin:4px 0 0; color:#f5dfb9; font:700 23px/1.15 var(--display); overflow-wrap:anywhere; }
.bonus-preview-icon { width:47px; height:47px; flex:none; object-fit:contain; }
.bonus-preview-icon.is-weapon { width:58px; height:48px; }
.bonus-preview-close { display:grid; place-items:center; flex:none; width:30px; height:30px; padding:0; align-self:flex-start; border:1px solid #aa82514d; border-radius:5px; color:#edcfa2; background:#2b211a66; font-size:23px; cursor:pointer; }
.bonus-preview-close:hover { color:#fff0d7; background:#775436; }
.bonus-preview-close:focus-visible { outline:2px solid #f1c886; outline-offset:2px; }
.bonus-preview-description { margin:12px 0; color:#dbc4a3; font-size:12px; line-height:1.65; }
.bonus-preview-footnote { margin:13px 0 0; color:#d6b88e; font-size:10px; line-height:1.6; }
.bonus-preview-chance { margin:11px 0 0; color:#d5bc99; font-size:11px; line-height:1.5; }
.bonus-preview-chance strong { color:#f1cf94; font-variant-numeric:tabular-nums; }
.bonus-preview-chance small { display:block; margin-top:3px; color:#b9a084; font-size:9px; }
.bonus-preview-keyboard { margin:9px 0 0; color:#b8a087; font-size:9px; line-height:1.5; }
.bonus-ranks { margin:16px 0 12px; min-width:0; }
.bonus-ranks h3,.bonus-ranks h4 { color:#e8c793; font-size:12px; line-height:1.4; margin:0 0 9px; }
.bonus-ranks-table { width:100%; table-layout:fixed; border-collapse:separate; border-spacing:0; color:#e2ccac; font-size:11px; line-height:1.45; }
.bonus-ranks-table caption { margin-bottom:7px; color:#bfa88a; font-size:10px; text-align:left; }
.bonus-ranks-table th,.bonus-ranks-table td { padding:6px 5px; border-bottom:1px solid #a8804e33; overflow-wrap:anywhere; vertical-align:middle; }
.bonus-ranks-table thead th { padding-top:9px; padding-bottom:9px; background:#28211bd9; color:#e8be79; font-weight:700; text-align:center; }
.bonus-ranks-table thead th:first-child { width:43%; border-radius:5px 0 0 0; text-align:left; }
.bonus-ranks-table thead th:last-child { border-radius:0 5px 0 0; }
.bonus-ranks-table tbody th { text-align:left; font-weight:500; color:#d6bfa0; }
.bonus-ranks-table td { text-align:center; font-variant-numeric:tabular-nums; }
.bonus-ranks-table tbody tr:nth-child(even) { background:#a2733d0d; }
.bonus-ranks-table .current-tier { background:#a8773533; color:#ffdfa4; font-weight:700; box-shadow:inset 1px 0 #cc9f544d,inset -1px 0 #cc9f544d; }
.bonus-ranks-table thead .current-tier { background:#7b542e; }
.bonus-rank-current { display:block; margin-top:3px; color:#ffdfa4; font-size:8px; font-weight:500; }
.bonus-rank-condition { margin:9px 0 0; color:#cfb696; font-size:10px; line-height:1.65; }
.bonus-ranks-table th .bonus-rank-condition { display:block; margin-top:4px; color:#bda88e; font-size:9px; font-weight:400; line-height:1.45; }
.bonus-rank-note { margin:10px 0 0; color:#cfb696; font-size:10px; line-height:1.65; }
.bonus-rank-context { margin:8px 0 0; color:#ddc5a2; font-size:10px; line-height:1.5; }
.bonus-rank-explanations { margin-top:10px; border:1px solid #a17a474d; border-radius:5px; background:#2b231d55; }
.bonus-rank-explanations>summary { padding:8px 10px; color:#dfbd89; font-size:11px; cursor:pointer; }
.bonus-rank-explanations>summary:focus-visible { outline:2px solid #efc27d; outline-offset:2px; border-radius:4px; }
.bonus-rank-explanations[open]>summary { border-bottom:1px solid #a17a474d; }
.bonus-rank-explanations>ul { list-style:none; display:grid; gap:9px; padding:10px; margin:0; color:#cbb191; font-size:10px; line-height:1.55; }
.bonus-rank-explanations li strong { color:#e3c18e; }
.bonus-rank-explanations>.bonus-rank-note { padding:0 10px 10px; }
.bonus-rank-condition strong { color:#e6c592; }
.collection-detail .detail-copy { min-width:0; width:100%; }
.collection-detail .bonus-ranks { margin-top:15px; }
.collection-detail .bonus-ranks-table { font-size:10px; }
.collection-detail .bonus-ranks-table th,.collection-detail .bonus-ranks-table td { padding:7px 4px; }
.collection-detail .bonus-ranks-table thead th:first-child { width:42%; }
@media(max-width:580px) {
  .bonus-preview { padding:14px; }
  .bonus-preview h2 { font-size:21px; }
  .bonus-preview-heading { gap:9px; }
  .bonus-preview-icon { width:40px; height:40px; }
  .bonus-preview-icon.is-weapon { width:49px; height:42px; }
  .bonus-ranks-table { font-size:10px; }
  .bonus-ranks-table th,.bonus-ranks-table td { padding:7px 4px; }
  .bonus-preview-description { font-size:11px; }
  .collection-detail:not(.pet-detail) { flex-direction:column; }
  .collection-detail:not(.pet-detail)>.detail-icon { align-self:flex-start; width:40px; height:40px; }
  .collection-detail .bonus-ranks-table thead th:first-child { width:40%; }
}
