/* Add after the existing V1.2 homepage CSS. Scoped to the upgraded live cards. */
.activity-badge.is-inactive {
    color: #c8cdd2;
    border-color: rgba(184, 191, 198, .22);
    background: rgba(110, 119, 128, .10);
}

.xur-item {
    position: relative;
}
.xur-item.is-exotic {
    border-color: rgba(229, 199, 123, .30);
    background: linear-gradient(145deg, rgba(94, 75, 29, .18), rgba(15, 22, 31, .80));
}
.xur-item.is-exotic::after {
    content: "EXOTIC";
    position: absolute;
    top: 8px;
    right: 8px;
    color: #ead597;
    font-size: .52rem;
    font-weight: 900;
    letter-spacing: .12em;
}
.xur-item-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background: rgba(85, 184, 200, .10);
    color: #8edce7;
    font-weight: 900;
}
.xur-item-copy small {
    display: block;
    margin-top: 2px;
    color: #6f7e8b;
    font-size: .64rem;
}

.trials-card-v13 .trials-content {
    min-height: 530px;
}
.trials-rotation-section {
    margin-top: 22px;
}
.trials-rotation-section:first-of-type {
    margin-top: auto;
    padding-top: 54px;
}
.trials-rotation-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
    color: #a8b5bf;
    font-size: .69rem;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
}
.trials-rotation-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}
.trials-rotation-map {
    position: relative;
    min-height: 112px;
    overflow: hidden;
    border: 1px solid rgba(155, 205, 224, .15);
    border-radius: 11px;
    background-image: var(--trials-map-image, none);
    background-position: center;
    background-size: cover;
    isolation: isolate;
}
.trials-rotation-map.is-unknown {
    background: linear-gradient(135deg, #090c11, #151b24);
}
.trials-rotation-map.is-unknown::after {
    content: "?";
    position: absolute;
    z-index: 1;
    right: 12px;
    top: 7px;
    color: rgba(255,255,255,.13);
    font-size: 3.2rem;
    font-weight: 950;
    line-height: 1;
}
.trials-rotation-map-shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(6, 10, 15, .18), rgba(6, 10, 15, .90));
}
.trials-rotation-map-copy {
    position: absolute;
    z-index: 2;
    inset: auto 11px 10px;
}
.trials-rotation-map-copy span {
    display: block;
    margin-bottom: 2px;
    color: #93a1ad;
    font-size: .56rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.trials-rotation-map-copy strong {
    display: block;
    color: #f4f7fa;
    font-size: .98rem;
    line-height: 1.05;
    text-shadow: 0 2px 12px rgba(0,0,0,.55);
}
.trials-previous .trials-rotation-map {
    min-height: 86px;
    opacity: .78;
}
.trials-previous .trials-rotation-map-copy strong {
    font-size: .84rem;
}

@media (max-width: 720px) {
    .trials-card-v13 .trials-content { min-height: 500px; }
    .trials-rotation-grid { grid-template-columns: 1fr; }
    .trials-rotation-map { min-height: 92px; }
    .trials-previous .trials-rotation-map { min-height: 76px; }
}

/* V1.3.5 — interactive Destiny-style Xûr inspection panel + map artwork overlay */
.xur-item{cursor:pointer;outline:none;transition:border-color .14s ease,transform .14s ease,background .14s ease,box-shadow .14s ease}
.xur-item:hover,.xur-item:focus-visible,.xur-item.is-tooltip-open{transform:translateY(-1px);border-color:rgba(142,220,231,.52);background-color:rgba(85,184,200,.09)}
.xur-item:focus-visible,.xur-item.is-tooltip-open{box-shadow:0 0 0 2px rgba(142,220,231,.17),0 10px 28px rgba(0,0,0,.24)}

.xur-hover-card{position:fixed;z-index:1000;max-height:calc(100vh - 20px);overflow:auto;overscroll-behavior:contain;border:1px solid rgba(187,210,218,.30);border-radius:3px;background:linear-gradient(180deg,rgba(18,25,33,.995),rgba(8,12,18,.995));box-shadow:0 28px 90px rgba(0,0,0,.72),0 0 0 1px rgba(255,255,255,.025) inset;color:#eef5f8;pointer-events:auto;scrollbar-width:thin;scrollbar-color:rgba(229,199,123,.48) rgba(255,255,255,.05);user-select:text}
.xur-hover-card[hidden]{display:none}
.xur-hover-card::before{content:"";position:absolute;top:0;bottom:0;width:16px;background:transparent}
.xur-hover-card[data-side="right"]::before{right:100%}
.xur-hover-card[data-side="left"]::before{left:100%}
.xur-hover-card.is-exotic{border-color:rgba(229,199,123,.60);box-shadow:0 28px 90px rgba(0,0,0,.74),0 0 0 1px rgba(229,199,123,.10) inset}
.xur-hover-card.is-exotic .xur-hover-topbar{background:linear-gradient(90deg,rgba(138,105,34,.98),rgba(83,64,25,.97));border-bottom-color:rgba(255,230,160,.22)}
.xur-hover-card.is-exotic .xur-hover-item-header{background:linear-gradient(110deg,rgba(101,78,27,.34),rgba(14,20,28,.96) 64%)}
.xur-hover-card.is-exotic .xur-hover-kicker,.xur-hover-card.is-exotic .xur-hover-section-label{color:#e7d28e}

.xur-hover-topbar{position:sticky;top:0;z-index:5;display:flex;align-items:center;gap:8px;min-height:34px;padding:7px 10px 7px 13px;border-bottom:1px solid rgba(158,220,230,.16);background:linear-gradient(90deg,rgba(35,105,116,.98),rgba(18,48,56,.98));color:#f7fbfc;font-size:.58rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.xur-hover-pin-state{margin-left:auto;color:rgba(255,255,255,.62);font-size:.52rem;letter-spacing:.12em}
.xur-hover-close{display:grid;place-items:center;width:26px;height:26px;margin-left:2px;border:1px solid rgba(255,255,255,.16);background:rgba(0,0,0,.18);color:#fff;font:700 1.15rem/1 Arial,sans-serif;cursor:pointer}
.xur-hover-close:hover,.xur-hover-close:focus-visible{background:rgba(255,255,255,.12);outline:1px solid rgba(255,255,255,.28)}

.xur-hover-item-header{display:grid;grid-template-columns:74px minmax(0,1fr);gap:14px;align-items:center;padding:14px 16px;background:linear-gradient(110deg,rgba(42,116,126,.22),rgba(14,20,28,.96) 64%);border-bottom:1px solid rgba(255,255,255,.07)}
.xur-hover-item-icon{width:74px;height:74px;border:1px solid rgba(255,255,255,.20);background:rgba(255,255,255,.045);box-shadow:0 0 0 2px rgba(0,0,0,.22) inset;display:grid;place-items:center;color:#8edce7;font-weight:900;overflow:hidden}
.xur-hover-item-icon img{width:100%;height:100%;object-fit:cover;display:block}
.xur-hover-heading{min-width:0}
.xur-hover-kicker{color:#91e5ee;font-size:.61rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.xur-hover-title{display:block;margin-top:4px;color:#fff;font-size:1.48rem;line-height:1.03;letter-spacing:-.02em;text-shadow:0 2px 14px rgba(0,0,0,.45)}
.xur-hover-subtitle{margin-top:6px;color:#a7b5bf;font-size:.72rem;line-height:1.3}
.xur-hover-shot{height:148px;background-size:cover;background-position:center;border-bottom:1px solid rgba(255,255,255,.07);box-shadow:inset 0 -50px 60px rgba(4,7,11,.28)}
.xur-hover-body{padding:16px 17px 15px}
.xur-hover-flavor{margin:0;padding:0 0 15px;border-bottom:1px solid rgba(255,255,255,.08);color:#c7d1d8;font-size:.79rem;font-style:italic;line-height:1.5}
.xur-hover-section-label{margin-top:16px;padding-bottom:5px;border-bottom:1px solid rgba(154,210,220,.16);color:#8edce7;font-size:.61rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.xur-hover-section-note{margin-top:5px;color:#7f8e99;font-size:.62rem}

.xur-hover-perks{display:grid;gap:5px;margin-top:8px}
.xur-hover-perk{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:start;padding:8px 7px;border-bottom:1px solid rgba(255,255,255,.055);background:linear-gradient(90deg,rgba(255,255,255,.025),transparent)}
.xur-hover-perk-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:rgba(255,255,255,.045);border:1px solid rgba(255,255,255,.10);overflow:hidden}
.xur-hover-perk-icon:empty::after{content:"✦";color:rgba(255,255,255,.30);font-size:.9rem}
.xur-hover-perk-icon img{width:100%;height:100%;object-fit:cover}
.xur-hover-perk>div{min-width:0;padding-top:2px}
.xur-hover-perk strong{display:block;color:#f1f5f7;font-size:.75rem;line-height:1.15}
.xur-hover-perk span{display:block;margin-top:4px;color:#a5b2bb;font-size:.67rem;line-height:1.4}

.xur-hover-stats{display:grid;gap:5px;margin-top:9px}
.xur-hover-stat{display:grid;grid-template-columns:105px minmax(80px,1fr) 28px;gap:9px;align-items:center;padding:2px 0;font-size:.67rem}
.xur-hover-stat-name{color:#a7b3bc;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.xur-hover-stat-track{position:relative;height:5px;background:rgba(255,255,255,.11);overflow:hidden}
.xur-hover-stat-fill{display:block;height:100%;background:#d8e1e6;box-shadow:0 0 8px rgba(216,225,230,.24)}
.xur-hover-card.is-exotic .xur-hover-stat-fill{background:#e5c77b;box-shadow:0 0 8px rgba(229,199,123,.26)}
.xur-hover-stat>strong{text-align:right;color:#f3f7f9;font-size:.7rem}
.xur-hover-stat-total{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin-top:7px;padding-top:7px;border-top:1px solid rgba(255,255,255,.08);font-size:.7rem}
.xur-hover-stat-total span{color:#8d9aa4;font-size:.58rem;font-weight:900;letter-spacing:.12em}
.xur-hover-stat-total strong{color:#f4f7f8;font-size:1rem}

.xur-hover-costs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;margin-top:9px}
.xur-hover-cost{display:inline-grid;grid-template-columns:24px auto;grid-template-rows:auto auto;column-gap:7px;align-items:center;min-width:132px;padding:7px 9px;border-left:2px solid #d7ba70;background:linear-gradient(90deg,rgba(229,199,123,.12),rgba(229,199,123,.035));color:#e8d99d}
.xur-hover-cost img{grid-row:1/3;width:24px;height:24px;border-radius:2px}
.xur-hover-cost strong{font-size:.8rem;line-height:1}
.xur-hover-cost span{font-size:.61rem;color:#b7aa7d;line-height:1.15}
.xur-hover-meta-row{display:flex;justify-content:space-between;gap:10px;margin-top:12px;color:#7e8d99;font-size:.7rem}.xur-hover-meta-row strong{color:#cbd5dc}
.xur-hover-lore{margin-top:9px;padding:10px 11px 11px;border-left:2px solid rgba(229,199,123,.55);background:linear-gradient(90deg,rgba(229,199,123,.07),transparent);color:#b9c4cb}
.xur-hover-lore strong{display:block;color:#e0cf95;font-size:.75rem}.xur-hover-lore>span{display:block;margin-top:2px;color:#8f9da6;font-size:.64rem}.xur-hover-lore p{margin:7px 0 0;color:#b7c1c8;font-size:.69rem;line-height:1.45}
.xur-hover-footer-hint{margin:15px -17px -15px;padding:9px 13px;border-top:1px solid rgba(255,255,255,.055);background:rgba(0,0,0,.20);color:#697984;text-align:center;font-size:.58rem;letter-spacing:.04em}

.trials-rotation-map[href]{display:block;text-decoration:none;cursor:pointer;transition:transform .14s ease,border-color .14s ease}
.trials-rotation-map[href]:hover,.trials-rotation-map[href]:focus-visible{transform:translateY(-2px);border-color:rgba(142,220,231,.42);outline:none}
.trials-rotation-map.has-image::before{content:none}
.trials-rotation-map.has-image .trials-rotation-map-shade{z-index:2;background:linear-gradient(180deg,rgba(6,10,15,.04),rgba(6,10,15,.80))}
.trials-rotation-map.has-image .trials-rotation-map-copy{z-index:3}
.trials-map-actions{display:flex;justify-content:flex-end;margin-top:13px}.trials-browse-button{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid rgba(85,184,200,.27);border-radius:8px;background:rgba(85,184,200,.08);color:#c9f3f7;text-decoration:none;font-size:.69rem;font-weight:850;letter-spacing:.04em}.trials-browse-button:hover,.trials-browse-button:focus-visible{background:rgba(85,184,200,.16);border-color:rgba(142,220,231,.46)}

@media(max-width:720px){
  .xur-hover-card{left:10px!important;right:10px!important;top:auto!important;bottom:10px;width:auto!important;max-height:70vh}
  .xur-hover-card::before{display:none}
  .xur-hover-item-header{grid-template-columns:60px minmax(0,1fr);gap:11px;padding:12px}
  .xur-hover-item-icon{width:60px;height:60px}
  .xur-hover-title{font-size:1.25rem}
  .xur-hover-shot{height:105px}
  .xur-hover-stat{grid-template-columns:92px minmax(60px,1fr) 26px}
}

/* D2LFG_XUR_PIN_STYLE_V136 */
.d2lfg-xur-pin-control {
    width: auto !important;
    min-width: 50px !important;
    height: 28px !important;
    padding: 0 10px !important;
    border-radius: 4px !important;
    font-size: 0.67rem !important;
    font-weight: 900 !important;
    line-height: 26px !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
}
