/*==================================================
    LANDS + EXPEDITIONS (14 Nov 2026) — js/lands.js
==================================================*/
#landsRoot{ display:flex; flex-direction:column; gap:12px; }
.ld-top{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; }
.ld-top > div{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:12px 8px; border-radius:14px; text-align:center;
    background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.1); }
.ld-top span{ font-size:11px; color:#9fb3d6; text-transform:uppercase; letter-spacing:.06em; }
.ld-top b{ font-family:Orbitron, sans-serif; font-size:20px; color:#fff; }
.ld-top small{ font-size:11px; color:#b7c0dd; }
.ld-tabs{ display:flex; gap:6px; overflow-x:auto; padding-bottom:2px; scrollbar-width:none; }
.ld-tabs::-webkit-scrollbar{ display:none; }
.ld-tabs button{ flex:0 0 auto; padding:9px 14px; border-radius:10px; cursor:pointer; font:inherit; font-size:13px; font-weight:700; white-space:nowrap;
    color:#cfd8ff; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); }
.ld-tabs button.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); border-color:#8b3fff; }
.ld-dot{ display:inline-block; min-width:18px; padding:0 5px; border-radius:999px; font-size:11px; background:#ff5e8a; color:#fff; }
.ld-note{ margin:0 0 4px; font-size:12px; line-height:1.45; }
.ld-chips{ display:flex; flex-wrap:wrap; gap:6px; margin:4px 0 8px; justify-content:center; }
.ld-loading{ text-align:center; padding:20px; }

/* land cards */
.ld-lands{ display:grid; grid-template-columns:repeat(auto-fill, minmax(330px, 1fr)); gap:10px; }
.ld-land{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center; gap:10px; padding:10px; border-radius:14px;
    background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.12); }
.ld-land-img{ width:64px; height:64px; border-radius:10px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.04); font-size:28px; }
.ld-land-img img{ width:100%; height:100%; object-fit:cover; }
.ld-land-info{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.ld-land-info b{ color:#fff; font-size:14px; } .ld-land-info b small{ color:#8c96b8; font-weight:600; }
.ld-land-info small{ font-size:11px; color:#9fb3d6; overflow-wrap:anywhere; }
.ld-price{ color:#ffd76a !important; font-weight:700; }
.ld-send{ width:auto !important; padding:8px 12px !important; font-size:12px !important; white-space:nowrap; }
.ld-mine .craft-btn, .ld-up .craft-btn, .ld-vault-add .craft-btn, .ld-set .craft-btn, .ld-row .craft-btn, .ld-exp .craft-btn{ width:auto !important; }
.ld-mine-ctl .pvp-secondary-btn{ width:auto; padding:6px 12px; min-height:0; }
.ld-dots{ display:flex; flex-wrap:wrap; gap:3px; }
.ld-dots i{ width:10px; height:10px; border-radius:3px; background:#7dffb0; box-shadow:0 0 6px rgba(125,255,176,.4); }
.ld-dots i.busy{ background:#ff7a8f; box-shadow:none; } .ld-dots i.resting{ background:#ffd76a; box-shadow:none; }
.r-common{ border-color:rgba(180,190,210,.4) !important; } .r-uncommon{ border-color:rgba(90,220,120,.5) !important; }
.r-rare{ border-color:rgba(80,160,255,.55) !important; } .r-epic{ border-color:rgba(190,100,255,.6) !important; }
.r-legendary{ border-color:rgba(255,190,70,.7) !important; box-shadow:0 0 14px rgba(255,190,70,.15); }

/* free slots rows */
.ld-rows{ display:flex; flex-direction:column; gap:6px; }
.ld-row{ display:grid; grid-template-columns:110px minmax(0,1fr) 54px 92px 64px auto; align-items:center; gap:8px; padding:8px 12px; border-radius:12px;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.1); font-size:13px; }
.ld-row-r{ font-weight:800; color:#fff; } .ld-row-o{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; color:#d7dcef; } .ld-row-o small{ color:#8c96b8; }
.ld-row-b{ color:#7dffb0; font-weight:700; text-align:right; } .ld-row-p{ color:#ffd76a; font-weight:700; text-align:right; } .ld-row-f{ color:#9fb3d6; text-align:right; }
.ld-row .craft-btn{ padding:7px 14px !important; font-size:12px !important; }

/* my lands */
.ld-mine{ display:flex; flex-direction:column; gap:10px; padding:12px; border-radius:16px; background:rgba(0,0,0,.22); border:1px solid rgba(255,255,255,.1); }
.ld-mine .ld-land{ background:none; border:none; padding:0; grid-template-columns:64px minmax(0,1fr); }
.ld-mine-ctl{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.ld-toggle{ display:flex; align-items:center; gap:6px; font-size:13px; font-weight:700; color:#d7dcef; cursor:pointer; }
.ld-toggle input{ width:18px; height:18px; accent-color:#8b3fff; }
.ld-priceset{ display:flex; align-items:center; gap:6px; font-size:13px; color:#d7dcef; }
.ld-priceset input{ width:76px; padding:6px 8px; border-radius:8px; border:1px solid rgba(255,255,255,.2); background:rgba(0,0,0,.35); color:#fff; font:inherit; }
.ld-up{ display:flex; flex-direction:column; gap:8px; padding:10px; border-radius:12px; background:rgba(107,59,255,.1); border:1px solid rgba(139,63,255,.35); }
.ld-up b{ color:#fff; font-size:14px; }
.ld-mats{ display:flex; flex-wrap:wrap; gap:6px; }
.ld-mat{ display:inline-flex; align-items:center; gap:4px; padding:4px 8px; border-radius:8px; font-size:12px; color:#d7dcef; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.12); }
.ld-mat img{ width:16px; height:16px; }
.ld-mat.ok b{ color:#7dffb0; } .ld-mat.no b{ color:#ff8fa3; } .ld-mat.bt b{ color:#ffd76a; }
.ld-up .craft-btn{ align-self:flex-start; }
.ld-max, .ld-wd{ margin:0; font-size:12px; }

/* sets */
.ld-sets{ display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:10px; }
.ld-set{ display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:14px; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.12); }
.ld-set.busy{ opacity:.85; border-color:rgba(255,215,106,.35); }
.ld-set.locked{ align-items:center; justify-content:center; text-align:center; min-height:150px; border-style:dashed; }
@media (max-width:640px){ .ld-set.locked{ min-height:90px; } }
.ld-set.locked p{ margin:0; color:#8c96b8; font-size:12px; }
.ld-set-head{ display:flex; justify-content:space-between; align-items:baseline; } .ld-set-head b{ color:#fff; } .ld-set-head span{ color:#7dffb0; font-weight:800; font-size:13px; }
.ld-set-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:5px; }
.ld-tile{ position:relative; aspect-ratio:1; border-radius:8px; overflow:hidden; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1);
    display:flex; align-items:flex-end; justify-content:center; }
.ld-tile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.ld-tile small{ position:relative; font-size:10px; font-weight:800; color:#fff; text-shadow:0 1px 2px #000; padding-bottom:5px; }
.ld-tile i{ position:absolute; left:0; bottom:0; height:2px; background:#7dffb0; }
.ld-tile.empty small{ color:#6f7898; text-shadow:none; }
.ld-set-state{ font-size:12px; color:#ffd76a; } .ld-set-state.ok{ color:#7dffb0; }

/* edit popup */
.ld-pgrid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px; }
.ld-ptile{ position:relative; aspect-ratio:1; border-radius:12px; cursor:pointer; overflow:hidden; font:inherit; color:#fff;
    background:rgba(255,255,255,.05); border:1px dashed rgba(255,255,255,.25); display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; }
.ld-ptile img{ position:absolute; inset:0; width:100%; height:100%; object-fit:contain; opacity:.9; }
.ld-ptile small, .ld-ptile em{ position:relative; font-style:normal; font-size:11px; font-weight:800; text-shadow:0 1px 3px #000; }
.ld-ptile em{ font-size:10px; color:#cfd8ff; }
.ld-ptile:not(.empty){ border-style:solid; }
.al-pick.ld-sel{ outline:3px solid #7dffb0; outline-offset:-3px; }

/* expeditions */
.ld-exps{ display:flex; flex-direction:column; gap:8px; }
.ld-exp{ display:flex; flex-direction:column; gap:8px; padding:12px; border-radius:14px; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.12); }
.ld-exp.claimed{ opacity:.8; }
.ld-exp-head{ display:flex; justify-content:space-between; gap:8px; flex-wrap:wrap; } .ld-exp-head b{ color:#fff; font-size:13px; } .ld-exp-head span{ color:#9fb3d6; font-size:12px; }
.ld-bar{ height:8px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
.ld-bar i{ display:block; height:100%; background:linear-gradient(90deg, #6B3BFF, #00e5ff); }
.ld-exp-foot{ display:flex; justify-content:space-between; align-items:center; gap:8px; flex-wrap:wrap; }
.ld-exp-foot small{ font-size:12px; color:#d7dcef; } .ld-exp-foot b{ color:#ffd76a; }

/* vault */
.ld-vault-add{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; }
.ld-vrow{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:10px; padding:8px 10px; margin-bottom:6px; border-radius:12px;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.1); }
.ld-vrow img, .ld-vimg{ width:44px; height:44px; border-radius:8px; object-fit:contain; background:rgba(255,255,255,.04); }
.ld-vrow b{ color:#fff; font-size:13px; display:block; } .ld-vrow small{ color:#9fb3d6; font-size:11px; }

/* quote popup */
.ld-quote{ display:grid; grid-template-columns:1fr 1fr; gap:8px; width:100%; }
.ld-quote > div{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px; border-radius:12px; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.12); text-align:center; }
.ld-quote span{ font-size:11px; color:#9fb3d6; text-transform:uppercase; letter-spacing:.05em; }
.ld-quote b{ font-size:20px; color:#fff; font-variant-numeric:tabular-nums; } .ld-quote small{ font-size:11px; color:#b7c0dd; }
.ld-tiers{ display:inline-flex; flex-wrap:wrap; gap:6px; } .ld-tiers span{ font-size:12px; } .ld-tiers b{ color:#ffd76a; }

/* history */
.ld-hrow{ display:flex; flex-direction:column; gap:2px; padding:8px 12px; margin-bottom:6px; border-radius:12px; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.08); }
.ld-hrow b{ color:#fff; font-size:13px; } .ld-hrow small{ color:#9fb3d6; font-size:12px; }

@media (max-width:640px){
    .ld-top{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .ld-top b{ font-size:17px; }
    .ld-lands{ grid-template-columns:1fr; }
    .ld-row{ display:flex; flex-wrap:wrap; align-items:center; gap:4px 10px; }
    .ld-row-o{ flex:1 1 100%; order:1; } .ld-row-r{ order:0; }
    .ld-row-b, .ld-row-p, .ld-row-f{ order:2; text-align:left; }
    .ld-row .craft-btn{ order:3; margin-left:auto; }
    .ld-quote b{ font-size:17px; }
}
.ld-nav-icon{ display:inline-flex; align-items:center; justify-content:center; font-size:18px; }

/* 15 Nov 2026: Shards tab (Beast / Equipment Shards, withdraw as NFTs) */
.ld-top-shards{ cursor:pointer; }
.ld-top-shards:hover{ border-color:#8b3fff !important; }
.ld-shards{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; margin:12px 0; }
.ld-shard{ display:grid; grid-template-columns:64px minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px; border-radius:16px;
    background:linear-gradient(135deg, rgba(20,24,48,.92), rgba(12,14,30,.92)); border:1px solid var(--sh, #8b3fff); box-shadow:0 0 18px -6px var(--sh, #8b3fff); }
.ld-shard-beast{ --sh:#b46bff; } .ld-shard-gear{ --sh:#00e5ff; }
/* 18 Nov 2026 (Jas): the shard crystal art (transparent, like the material icons) */
.ld-shard-gem{ width:64px; height:64px; margin:auto; background:center / contain no-repeat; filter:drop-shadow(0 0 10px color-mix(in srgb, var(--sh) 55%, transparent)); }
.ld-shard-beast .ld-shard-gem{ background-image:url("../assets/icons/shard-beast.svg"); }
.ld-shard-gear .ld-shard-gem{ background-image:url("../assets/icons/shard-gear.svg"); }
.ld-shard-info{ display:flex; flex-direction:column; gap:2px; min-width:0; }
.ld-shard-info span{ font-size:12px; color:#9fb3d6; text-transform:uppercase; letter-spacing:.08em; }
.ld-shard-info b{ font-family:Orbitron, sans-serif; font-size:26px; color:#fff; }
.ld-shard-info small{ font-size:12px; color:#b7c0dd; }
.ld-shard .craft-btn{ width:auto; white-space:nowrap; }
@media (max-width:640px){
    .ld-shards{ grid-template-columns:1fr; }
    .ld-shard{ grid-template-columns:48px minmax(0,1fr); }
    .ld-shard-gem{ width:48px; height:48px; }
    .ld-shard .craft-btn{ grid-column:1 / -1; width:100%; }
}

/*==================================================
    15 Nov 2026 (Jas): one clean look for the Lands page
    - the tabs fill one row, all the same size
    - every button one size, never wrapping text
==================================================*/
#landsRoot .ld-tabs{ display:grid; grid-template-columns:repeat(9, minmax(0, 1fr)); gap:6px; overflow:visible; padding:4px; border-radius:14px;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.08); }
#landsRoot .ld-tabs button{ display:flex; align-items:center; justify-content:center; gap:6px; min-width:0; min-height:42px; padding:8px 6px;
    border-radius:10px; font-size:13px; font-weight:800; letter-spacing:.2px; color:#b9c3e6; background:transparent; border:1px solid transparent;
    overflow:hidden; text-overflow:ellipsis; transition:background .15s, color .15s, border-color .15s; }
#landsRoot .ld-tabs button:hover{ color:#fff; background:rgba(139,63,255,.14); border-color:rgba(139,63,255,.35); }
#landsRoot .ld-tabs button.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); border-color:#8b3fff; box-shadow:0 4px 14px rgba(107,59,255,.35); }

/* main buttons */
#landsRoot .craft-btn, #craftRoot .craft-btn{ display:inline-flex !important; align-items:center; justify-content:center; gap:6px; width:auto !important;
    min-height:40px; padding:9px 18px !important; border:none; border-radius:10px; font-size:13px !important; font-weight:800; letter-spacing:.3px; line-height:1.15;
    white-space:nowrap; color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); box-shadow:0 4px 14px rgba(107,59,255,.32);
    cursor:pointer; transition:transform .12s, box-shadow .12s, filter .12s; }
#landsRoot .craft-btn:hover:not(:disabled), #craftRoot .craft-btn:hover:not(:disabled){ transform:translateY(-1px); filter:brightness(1.08); box-shadow:0 6px 18px rgba(107,59,255,.45); }
#landsRoot .craft-btn:disabled, #craftRoot .craft-btn:disabled{ background:rgba(255,255,255,.08); color:#7f8aa8; box-shadow:none; cursor:not-allowed; transform:none; filter:none; }
/* second buttons (Take out, Save, Check ...) */
#landsRoot .pvp-secondary-btn, #craftRoot .pvp-secondary-btn{ display:inline-flex; align-items:center; justify-content:center; width:auto; min-height:40px;
    padding:9px 16px; border-radius:10px; font-size:13px; font-weight:800; white-space:nowrap; color:#d9ccff; background:rgba(139,63,255,.08);
    border:1px solid rgba(139,63,255,.55); cursor:pointer; transition:background .12s, color .12s; }
#landsRoot .pvp-secondary-btn:hover:not(:disabled), #craftRoot .pvp-secondary-btn:hover:not(:disabled){ background:rgba(139,63,255,.22); color:#fff; }
#landsRoot .pvp-secondary-btn:disabled{ opacity:.45; cursor:not-allowed; }
#landsRoot .ld-row .craft-btn, #landsRoot .ld-send{ min-height:36px; padding:7px 16px !important; }
#landsRoot .ld-mine-ctl .pvp-secondary-btn{ min-height:36px; padding:6px 14px; }

/* vault: the three Add buttons in one row, the check line under it */
#landsRoot .ld-vault-add{ display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin:6px 0; }
#landsRoot .ld-vault-add .craft-btn{ min-width:150px; }
#landsRoot .ld-note .ld-recover{ margin-left:8px; min-height:34px; padding:6px 12px; font-size:12px; }
#landsRoot .ld-up .craft-btn{ align-self:flex-start; min-width:140px; }
#landsRoot .ld-vrow{ display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; padding:10px 12px; border-radius:12px;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.1); }
#landsRoot .ld-vrow b{ display:block; color:#fff; font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#landsRoot .ld-vrow small{ color:#9fb3d6; font-size:12px; }
#landsRoot .ld-shard-actions{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }

/* NFT picker: picked = glow, no re-render */
.al-pick.ld-sel{ outline:2px solid #8b3fff; box-shadow:0 0 0 3px rgba(139,63,255,.35), 0 0 16px rgba(139,63,255,.5); }
.ld-shpick-beast strong{ color:#7ff3ff; } .ld-shpick-gear strong{ color:#ffb36b; }

@media (max-width:760px){
    #landsRoot .ld-tabs{ display:flex; overflow-x:auto; scrollbar-width:none; }
    #landsRoot .ld-tabs::-webkit-scrollbar{ display:none; }
    #landsRoot .ld-tabs button{ flex:0 0 auto; padding:8px 14px; }
    #landsRoot .ld-vault-add .craft-btn{ flex:1 1 140px; min-width:0; }
    #landsRoot .ld-top{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}

/*==================================================
    15 Nov 2026 (Jas) part 2: card grids everywhere
==================================================*/
#landsRoot .ld-grid{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; }
#landsRoot .ld-grid > .guardians-list-empty{ grid-column:1 / -1; }
#landsRoot .ld-grid-v{ grid-template-columns:repeat(3, minmax(0, 1fr)); }

/* sub tabs (Vault, History) */
#landsRoot .ld-sub{ display:flex; gap:6px; padding:4px; border-radius:12px; background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.08); width:max-content; max-width:100%; overflow-x:auto; margin:0 auto; }
#landsRoot .ld-sub button{ min-height:38px; padding:7px 18px; border-radius:9px; font:inherit; font-size:13px; font-weight:800; white-space:nowrap; cursor:pointer;
    color:#b9c3e6; background:transparent; border:1px solid transparent; }
#landsRoot .ld-sub button:hover{ color:#fff; background:rgba(139,63,255,.14); }
#landsRoot .ld-sub button.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); box-shadow:0 4px 12px rgba(107,59,255,.3); }

/* land card */
#landsRoot .ld-card{ display:flex; flex-direction:column; border-radius:16px; overflow:hidden; min-width:0;
    background:linear-gradient(170deg, rgba(22,26,52,.96), rgba(10,12,26,.96)); border:1px solid color-mix(in srgb, var(--rc) 50%, transparent);
    box-shadow:0 0 22px -12px var(--rc); transition:transform .15s, box-shadow .15s; }
#landsRoot .ld-card:hover{ transform:translateY(-2px); box-shadow:0 8px 26px -10px var(--rc); }
#landsRoot .ld-card-art{ position:relative; height:230px; display:flex; align-items:center; justify-content:center; font-size:46px;
    background:radial-gradient(ellipse at 50% 120%, color-mix(in srgb, var(--rc) 40%, transparent), rgba(0,0,0,.35) 70%); }
#landsRoot .ld-card-art img{ width:100%; height:100%; object-fit:cover; }
/* 18 Nov 2026 (Jas): the land NFT card art, shown whole */
#landsRoot .ld-card-art img.ld-land-art, #landsRoot .ld-vcard-art img.ld-land-art{ object-fit:contain; padding:8px 0; filter:drop-shadow(0 6px 14px rgba(0,0,0,.55)); }
#landsRoot .ld-card-rar{ position:absolute; left:10px; top:10px; padding:3px 9px; border-radius:999px; font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase;
    color:#0a0d18; background:var(--rc); }
#landsRoot .ld-card-lv{ position:absolute; right:10px; top:10px; padding:3px 9px; border-radius:999px; font-size:11px; font-weight:800; color:#fff; background:rgba(0,0,0,.55); border:1px solid rgba(255,255,255,.2); }
#landsRoot .ld-card-body{ display:flex; flex-direction:column; gap:8px; padding:12px 14px 4px; flex:1 1 auto; }
#landsRoot .ld-card-title{ color:#fff; font-size:15px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#landsRoot .ld-card-title small{ color:#8c96b8; font-weight:600; font-size:12px; }
#landsRoot .ld-card-owner{ color:#9fb3d6; font-size:12px; margin-top:-4px; }
#landsRoot .ld-stats{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:6px; }
#landsRoot .ld-stats > div{ display:flex; flex-direction:column; align-items:center; gap:1px; padding:7px 4px; border-radius:10px; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.08); }
#landsRoot .ld-stats span{ font-size:10px; color:#8c96b8; text-transform:uppercase; letter-spacing:.06em; white-space:nowrap; }
#landsRoot .ld-stats b{ font-size:14px; color:#fff; white-space:nowrap; } #landsRoot .ld-stats b em{ font-style:normal; font-size:11px; color:#c9b88a; margin-left:1px; }
#landsRoot .ld-stats b.ld-price{ color:#ffd76a !important; }
#landsRoot .ld-card .ld-dots{ justify-content:center; padding-bottom:4px; }
#landsRoot .ld-card-btn{ width:auto !important; margin:10px 14px 14px; }

/* my land: card + controls */
#landsRoot .ld-grid-mine{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
#landsRoot .ld-mcard{ display:flex; flex-direction:column; gap:10px; padding:10px; border-radius:18px; background:rgba(0,0,0,.22); border:1px solid color-mix(in srgb, var(--rc) 35%, transparent); }
#landsRoot .ld-mcard > .ld-card:hover{ transform:none; }
#landsRoot .ld-mcard-box{ display:flex; flex-direction:column; gap:10px; padding:12px; border-radius:12px; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.08); }
#landsRoot .ld-mcard-box .ld-card-btn{ margin:0; }
#landsRoot .ld-toggle span{ color:#e4e8f8; }
#landsRoot .ld-priceset{ display:flex; flex-wrap:wrap; align-items:center; gap:8px; font-size:13px; color:#c9d1ec; }
#landsRoot .ld-priceset input{ width:84px; min-height:38px; }
#landsRoot .ld-mcard .ld-up{ border-radius:12px; }
#landsRoot .ld-mcard .ld-up .ld-card-btn{ margin:0; align-self:stretch; }
#landsRoot .ld-mcard .ld-mats{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:6px; }
#landsRoot .ld-mcard .ld-mat{ justify-content:space-between; }

/* expeditions */
#landsRoot .ld-ecard{ display:flex; flex-direction:column; gap:10px; padding:14px; border-radius:16px; min-width:0;
    background:linear-gradient(170deg, rgba(22,26,52,.96), rgba(10,12,26,.96)); border:1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
#landsRoot .ld-ecard.ready{ border-color:#7dffb0; box-shadow:0 0 22px -8px rgba(125,255,176,.6); }
#landsRoot .ld-ecard-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
#landsRoot .ld-ecard-head small{ color:#9fb3d6; font-size:12px; text-align:right; }
#landsRoot .ld-estate{ padding:4px 10px; border-radius:999px; font-size:11px; font-weight:900; letter-spacing:.05em; text-transform:uppercase; white-space:nowrap; }
#landsRoot .ld-estate.out{ color:#7ff3ff; background:rgba(0,229,255,.1); border:1px solid rgba(0,229,255,.4); }
#landsRoot .ld-estate.ready{ color:#06210f; background:#7dffb0; }
#landsRoot .ld-estate.done{ color:#b9c3e6; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.15); }
#landsRoot .ld-thumbs{ display:flex; gap:6px; flex-wrap:wrap; }
#landsRoot .ld-thumb{ width:40px; height:50px; border-radius:7px; overflow:hidden; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.15); font-size:16px; }
#landsRoot .ld-thumb img{ width:100%; height:100%; object-fit:cover; }
#landsRoot .ld-bar{ height:8px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
#landsRoot .ld-bar i{ display:block; height:100%; border-radius:999px; background:linear-gradient(90deg, #00e5ff, #8b3fff); }
#landsRoot .ld-ecard-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; }
#landsRoot .ld-ecard-foot small{ color:#c9d1ec; }
#landsRoot .ld-rew{ display:flex; flex-wrap:wrap; gap:5px; }
#landsRoot .ld-rew span{ padding:4px 8px; border-radius:8px; font-size:12px; color:#e4e8f8; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.1); }

/* vault */
#landsRoot .ld-vault-bar{ display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:10px; }
#landsRoot .ld-vault-bar span{ color:#9fb3d6; font-size:12px; }
#landsRoot .ld-vcard{ display:flex; flex-direction:column; border-radius:16px; overflow:hidden; min-width:0;
    background:linear-gradient(170deg, rgba(22,26,52,.96), rgba(10,12,26,.96)); border:1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
#landsRoot .ld-vcard-art{ position:relative; height:150px; display:flex; align-items:center; justify-content:center; font-size:44px; background:rgba(0,0,0,.35); }
#landsRoot .ld-vcard-art img{ height:100%; width:100%; object-fit:contain; }
#landsRoot .ld-vcard-body{ display:flex; flex-direction:column; gap:4px; padding:10px 12px 4px; }
#landsRoot .ld-vcard-body b{ color:#fff; font-size:14px; }
#landsRoot .ld-vcard-body small{ color:#8c96b8; font-size:12px; display:flex; flex-direction:column; gap:6px; }
#landsRoot .ld-vcard-btns{ display:flex; gap:8px; padding:8px 12px 12px; margin-top:auto; }
#landsRoot .ld-vcard-btns > *{ flex:1 1 0; }
#landsRoot .ld-dur{ position:relative; height:16px; border-radius:999px; background:rgba(255,255,255,.08); overflow:hidden; }
#landsRoot .ld-dur i{ display:block; height:100%; background:linear-gradient(90deg, #2ee59d, #7dffb0); }
#landsRoot .ld-dur.mid i{ background:linear-gradient(90deg, #ffb347, #ffd76a); } #landsRoot .ld-dur.low i{ background:linear-gradient(90deg, #ff5e7e, #ff8fa3); }
#landsRoot .ld-dur span{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; color:#0a0d18; }
#landsRoot .ld-noimg{ opacity:.85; }

/* history */
#landsRoot .ld-hcard{ display:flex; flex-direction:column; gap:6px; padding:14px; border-radius:14px; background:rgba(0,0,0,.28); border:1px solid color-mix(in srgb, var(--rc) 40%, transparent); }
#landsRoot .ld-hcard b{ color:#fff; font-size:14px; } #landsRoot .ld-hcard small{ color:#9fb3d6; font-size:12px; }
#landsRoot .ld-hgot{ font-weight:900; color:#7dffb0; font-size:16px; }

/* shards: two buttons the same size */
#landsRoot .ld-shard-actions .craft-btn, #landsRoot .ld-shard-actions .pvp-secondary-btn{ flex:0 0 auto; width:auto !important; min-width:220px; }

@media (max-width:1100px){
    #landsRoot .ld-grid, #landsRoot .ld-grid-v{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
    #landsRoot .ld-grid-mine{ grid-template-columns:1fr; }
}
@media (max-width:640px){
    #landsRoot .ld-grid, #landsRoot .ld-grid-v{ grid-template-columns:1fr; }
    #landsRoot .ld-shard-actions .craft-btn, #landsRoot .ld-shard-actions .pvp-secondary-btn{ flex:1 1 100%; min-width:0; }
    #landsRoot .ld-vcard-art{ height:130px; }
}
#landsRoot .ld-vault-bar > *, #landsRoot .ld-priceset > *{ flex:0 0 auto; }
#landsRoot .ld-priceset input{ height:38px; min-height:38px; padding:6px 10px; }
#landsRoot .ld-priceset .pvp-secondary-btn{ min-height:38px; padding:6px 16px; }
#landsRoot .ld-vcard-btns > *{ margin:0 !important; min-height:40px; height:40px; padding:0 12px !important; }
#landsRoot .ld-dur span{ color:#fff; text-shadow:0 1px 2px rgba(0,0,0,.8); }

/*==================================================
    15 Nov 2026 (Jas) part 3
==================================================*/
/* filters look like real buttons: one segmented bar */
#landsRoot .ld-chips{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); gap:4px; padding:4px; margin:4px 0 6px; border-radius:12px;
    background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.08); }
#landsRoot .ld-chips .mk-chip{ display:flex; align-items:center; justify-content:center; min-height:36px; padding:6px 8px; margin:0; border-radius:9px; font:inherit; font-size:12.5px; font-weight:800;
    color:#b9c3e6; background:rgba(255,255,255,.03); border:1px solid rgba(255,255,255,.07); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; cursor:pointer; transition:background .15s, color .15s; }
#landsRoot .ld-chips .mk-chip:hover{ color:#fff; background:rgba(139,63,255,.16); border-color:rgba(139,63,255,.35); }
#landsRoot .ld-chips .mk-chip.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); border-color:#8b3fff; box-shadow:0 3px 10px rgba(107,59,255,.3); }

/* sub tabs: full width, one row */
#landsRoot .ld-sub{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0, 1fr); width:100%; margin:0; }
#landsRoot .ld-sub button{ min-height:42px; }

/* vault: Add on the left, the check on the right */
#landsRoot .ld-vault-bar{ justify-content:flex-start; padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.2); border:1px solid rgba(255,255,255,.07); }
#landsRoot .ld-vault-bar span{ margin-left:auto; }
#landsRoot .ld-vault-bar .craft-btn{ min-width:160px; }

/* sets: 8 slots, 4 per row, all the same height */
#landsRoot .ld-sets{ grid-template-columns:repeat(4, minmax(0, 1fr)); grid-auto-rows:1fr; gap:12px; }
#landsRoot .ld-set{ min-height:300px; height:100%; }
#landsRoot .ld-set.locked{ min-height:300px; }

/* tables (history, withdraws) */
#landsRoot .ld-table{ display:flex; flex-direction:column; gap:4px; }
#landsRoot .ld-thead, #landsRoot .ld-trow{ display:grid; align-items:center; gap:10px; padding:10px 14px; border-radius:10px; font-size:13px; }
#landsRoot .ld-thead{ font-size:11px; font-weight:800; color:#8c96b8; text-transform:uppercase; letter-spacing:.06em; padding-top:4px; padding-bottom:4px; }
#landsRoot .ld-trow{ color:#e4e8f8; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.07); }
#landsRoot .ld-trow:nth-child(odd){ background:rgba(255,255,255,.035); }
#landsRoot .ld-trow-m{ grid-template-columns:150px 170px 70px 120px minmax(0, 1fr); }
#landsRoot .ld-trow-o{ grid-template-columns:150px minmax(0, 1fr) 170px 70px 150px; }
#landsRoot .ld-trow-s{ grid-template-columns:150px minmax(0, 1fr) 90px 160px; }
#landsRoot .ld-trow small{ color:#8c96b8; }
#landsRoot .ld-tname{ font-weight:800; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
#landsRoot .ld-rpill{ display:inline-block; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:900; color:#0a0d18; background:var(--rc); }
#landsRoot .ld-trow .ld-rew span{ padding:2px 7px; font-size:11.5px; }
#landsRoot .ld-wst{ font-weight:800; } #landsRoot .ld-wst.done{ color:#7dffb0; } #landsRoot .ld-wst.failed{ color:#ff8fa3; } #landsRoot .ld-wst.minting{ color:#ffd76a; }
#landsRoot .ld-pager{ display:flex; justify-content:center; align-items:center; gap:6px; margin-top:8px; flex-wrap:wrap; }
#landsRoot .ld-pager button{ min-width:38px; min-height:36px; padding:6px 12px; border-radius:9px; font:inherit; font-size:13px; font-weight:800; cursor:pointer;
    color:#b9c3e6; background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); }
#landsRoot .ld-pager button.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); border-color:#8b3fff; }
#landsRoot .ld-pager button:disabled{ opacity:.4; cursor:not-allowed; }
#landsRoot .ld-pager span{ color:#8c96b8; }
#landsRoot .ld-tnote{ text-align:center; font-size:11px; margin:2px 0 0; }

/* shards tab */
#landsRoot .ld-info{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:10px; }
#landsRoot .ld-info > div{ display:flex; flex-direction:column; gap:4px; padding:12px 14px; border-radius:12px; background:rgba(0,0,0,.25); border:1px solid rgba(255,255,255,.08); }
#landsRoot .ld-info b{ color:#7ff3ff; font-size:12px; text-transform:uppercase; letter-spacing:.08em; }
#landsRoot .ld-info span{ color:#c9d1ec; font-size:12.5px; line-height:1.45; }
#landsRoot .ld-shard-actions{ display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-start; gap:10px; padding:10px 12px; border-radius:12px; background:rgba(0,0,0,.2); border:1px solid rgba(255,255,255,.07); }
#landsRoot .ld-shard-actions .craft-btn, #landsRoot .ld-shard-actions .pvp-secondary-btn{ min-width:200px; height:42px; min-height:42px; padding:0 18px !important; margin:0; }
#landsRoot .ld-limits{ margin-left:auto; color:#9fb3d6; font-size:12px; }

/* claim popup: reward tiles (the popup is outside #landsRoot) */
.ld-rpop{ display:flex; flex-direction:column; gap:12px; margin-top:4px; }
.ld-rgrid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(96px, 1fr)); gap:8px; }
.ld-rtile{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:10px 6px; border-radius:12px; text-align:center;
    background:linear-gradient(170deg, rgba(255,255,255,.06), rgba(0,0,0,.3)); border:1px solid var(--tc, rgba(255,255,255,.2)); box-shadow:0 0 14px -6px var(--tc, transparent);
    animation:ldPop .4s ease both; }
.ld-rtile:nth-child(2){ animation-delay:.06s } .ld-rtile:nth-child(3){ animation-delay:.12s } .ld-rtile:nth-child(4){ animation-delay:.18s } .ld-rtile:nth-child(5){ animation-delay:.24s } .ld-rtile:nth-child(n+6){ animation-delay:.3s }
@keyframes ldPop{ from{ opacity:0; transform:scale(.7) translateY(8px); } to{ opacity:1; transform:none; } }
.ld-rtile-ic{ width:40px; height:40px; display:flex; align-items:center; justify-content:center; }
.ld-rtile-ic img{ width:36px; height:36px; object-fit:contain; }
.ld-rtile b{ font-size:18px; color:#fff; }
.ld-rtile span{ font-size:11.5px; color:#d7dcef; font-weight:700; line-height:1.2; }
.ld-rtile small{ font-size:9.5px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; color:var(--tc, #9fb3d6); }
.ld-rtile.t-common{ --tc:#b8c2d6; } .ld-rtile.t-uncommon{ --tc:#3dff8a; } .ld-rtile.t-rare{ --tc:#3d8bff; } .ld-rtile.t-epic{ --tc:#a259ff; }
.ld-rtile.t-legendary{ --tc:#ffb800; } .ld-rtile.t-mythic{ --tc:#ff6a00; } .ld-rtile.t-shard-beast{ --tc:#b46bff; } .ld-rtile.t-shard-gear{ --tc:#00e5ff; }
.ld-rsum{ display:flex; justify-content:space-between; gap:10px; padding:8px 12px; border-radius:10px; font-size:12px; color:#b9c3e6; background:rgba(0,0,0,.3); }
.ld-rnone{ text-align:center; color:#b9c3e6; margin:6px 0; }

@media (max-width:900px){
    #landsRoot .ld-sets{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
    #landsRoot .ld-trow-m, #landsRoot .ld-trow-o, #landsRoot .ld-trow-s{ grid-template-columns:1fr 1fr; }
    #landsRoot .ld-thead{ display:none; }
    #landsRoot .ld-info{ grid-template-columns:1fr; }
}
@media (max-width:640px){
    #landsRoot .ld-chips{ grid-auto-flow:row; grid-template-columns:repeat(3, minmax(0, 1fr)); grid-auto-columns:auto; }
    #landsRoot .ld-sub{ grid-auto-flow:row; grid-template-columns:1fr; }
    #landsRoot .ld-sets{ grid-template-columns:1fr; grid-auto-rows:auto; }
    #landsRoot .ld-set, #landsRoot .ld-set.locked{ min-height:0; }
    #landsRoot .ld-vault-bar span{ margin-left:0; }
    #landsRoot .ld-limits{ margin-left:0; }
    #landsRoot .ld-shard-actions .craft-btn, #landsRoot .ld-shard-actions .pvp-secondary-btn{ flex:1 1 100%; min-width:0; }
}

/* 16 Nov 2026 (Jas): bars move every second (smooth), set state box, take-out x, filter bar */
#landsRoot .ld-bar i, .ld-bar i{ transition: width 1s linear; }
#landsRoot .ld-sst{ display:grid; grid-template-columns:auto 1fr; align-items:center; column-gap:8px; row-gap:6px; padding:10px 12px; border-radius:12px;
    background:rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); }
#landsRoot .ld-sst b{ font-size:13px; color:#fff; }
#landsRoot .ld-sst span{ grid-column:1 / -1; font-size:12px; color:#9fb3d6; }
#landsRoot .ld-sst span em{ font-style:normal; font-family:Orbitron, sans-serif; font-weight:800; color:#fff; }
#landsRoot .ld-sst span a{ color:#7dffb0; font-weight:800; }
#landsRoot .ld-sst .ld-bar{ grid-column:1 / -1; height:6px; }
#landsRoot .ld-sst-dot{ width:10px; height:10px; border-radius:50%; background:#8c96b8; }
#landsRoot .ld-sst.ready{ border-color:rgba(125,255,176,.4); background:rgba(125,255,176,.07); }
#landsRoot .ld-sst.ready .ld-sst-dot{ background:#7dffb0; box-shadow:0 0 10px #7dffb0; }
#landsRoot .ld-sst.rest{ border-color:rgba(255,215,106,.4); background:rgba(255,215,106,.06); }
#landsRoot .ld-sst.rest .ld-sst-dot{ background:#ffd76a; box-shadow:0 0 10px #ffd76a; animation:ldPulse 1.6s ease-in-out infinite; }
#landsRoot .ld-sst.rest .ld-bar i{ background:linear-gradient(90deg, #ffb800, #ffd76a); }
#landsRoot .ld-sst.out{ border-color:rgba(0,229,255,.4); background:rgba(0,229,255,.06); }
#landsRoot .ld-sst.out .ld-sst-dot{ background:#00e5ff; box-shadow:0 0 10px #00e5ff; animation:ldPulse 1.6s ease-in-out infinite; }
#landsRoot .ld-sst.out.back{ border-color:rgba(125,255,176,.5); }
#landsRoot .ld-sst.out.back .ld-sst-dot{ background:#7dffb0; box-shadow:0 0 10px #7dffb0; }
@keyframes ldPulse{ 0%,100%{ opacity:1; transform:scale(1); } 50%{ opacity:.5; transform:scale(.8); } }
#landsRoot .ld-set-warn{ font-size:11px; color:#ff8a8a; }

.ld-ptile-wrap{ position:relative; }
.ld-ptile-wrap .ld-ptile{ width:100%; }
.ld-ptile-x{ position:absolute; top:-6px; right:-6px; width:24px; height:24px; border-radius:50%; border:1px solid rgba(255,255,255,.35);
    background:#2a1240; color:#fff; font-size:12px; font-weight:900; line-height:1; cursor:pointer; display:grid; place-items:center; padding:0; z-index:2;
    box-shadow:0 2px 8px rgba(0,0,0,.6); }
.ld-ptile-x:hover{ background:#ff4d6d; border-color:#ff4d6d; }

.ld-fbar{ display:flex; flex-wrap:nowrap; gap:3px; padding:4px; margin:0 0 8px; border-radius:12px; background:rgba(0,0,0,.35);
    border:1px solid rgba(255,255,255,.1); overflow-x:auto; scrollbar-width:none; }
.ld-fbar::-webkit-scrollbar{ display:none; }
.ld-fbar button{ flex:1 1 auto; min-width:0; min-height:32px; padding:6px 4px; border-radius:9px; border:1px solid transparent; background:transparent;
    color:#b7c0dd; font:inherit; font-size:11px; font-weight:800; white-space:nowrap; cursor:pointer; letter-spacing:0; }
.ld-fbar button:hover{ color:#fff; background:rgba(139,63,255,.16); }
.ld-fbar button.active{ color:#fff; background:linear-gradient(100deg, #6B3BFF, #8b3fff); border-color:#8b3fff; box-shadow:0 3px 10px rgba(107,59,255,.3); }
.ld-fbar button.fr-common:not(.active){ color:#c9d3e8; } .ld-fbar button.fr-uncommon:not(.active){ color:#3dff8a; }
.ld-fbar button.fr-rare:not(.active){ color:#3d8bff; } .ld-fbar button.fr-epic:not(.active){ color:#b26bff; }
.ld-fbar button.fr-legendary:not(.active){ color:#ffb800; } .ld-fbar button.fr-mythic:not(.active){ color:#ff4d6d; }
.ld-fbar button.fr-ultimate:not(.active){ color:#00e5ff; }
.ld-fbar button[data-none]:not(.active){ opacity:.4; }
.ld-add-count{ display:block; text-align:center; margin:-2px 0 6px; }
@media (max-width:480px){
    .ld-fbar{ gap:2px; padding:3px; }
    .ld-fbar button{ flex:0 0 auto; min-width:auto; padding:6px 7px; font-size:10.5px; }
}
/* 16 Nov 2026: the popup box is a flex column that shrinks its children: the filter bars must keep their height */
.ld-fbar, .ld-add-count{ flex-shrink:0 !important; }
.ld-fbar{ min-height:42px; }

/* 16 Nov 2026 (Jas): Send expedition, one popup */
.ld-sx{ display:flex; flex-direction:column; gap:10px; width:100%; text-align:left; flex-shrink:0; }
.ld-sx-land{ display:flex; gap:12px; align-items:center; padding:10px; border-radius:14px; background:linear-gradient(120deg, color-mix(in srgb, var(--rc) 18%, transparent), rgba(0,0,0,.35));
    border:1px solid color-mix(in srgb, var(--rc) 55%, transparent); }
.ld-sx-art{ width:64px; height:64px; flex:0 0 64px; border-radius:12px; overflow:hidden; background:rgba(0,0,0,.4); display:grid; place-items:center; font-size:28px; }
.ld-sx-art img{ width:100%; height:100%; object-fit:cover; }
.ld-sx-art:has(img.ld-land-art){ height:80px; background:transparent; }
.ld-sx-art img.ld-land-art{ object-fit:contain; }
.ld-sx-linfo{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.ld-sx-linfo b{ color:#fff; font-size:14px; }
.ld-sx-linfo span{ display:flex; flex-wrap:wrap; gap:4px; }
.ld-sx-tag{ font-style:normal; font-size:10.5px; font-weight:800; padding:2px 7px; border-radius:999px; background:rgba(0,0,0,.4); color:var(--rc); border:1px solid color-mix(in srgb, var(--rc) 50%, transparent); }
.ld-sx-linfo small{ color:#b7c0dd; font-size:11.5px; }
.ld-sx-label{ font-size:11px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; color:#9fb3d6; margin-top:2px; }
.ld-sx-sets{ display:flex; gap:8px; overflow-x:auto; padding-bottom:2px; scrollbar-width:thin; }
.ld-sx-set{ flex:0 0 150px; display:flex; flex-direction:column; gap:6px; padding:9px; border-radius:12px; cursor:pointer; text-align:left; font:inherit; color:#fff;
    background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.12); transition:border-color .15s, box-shadow .15s, transform .15s; }
.ld-sx-set:hover{ border-color:rgba(139,63,255,.6); transform:translateY(-1px); }
.ld-sx-set.active{ border-color:#8b3fff; box-shadow:0 0 0 1px #8b3fff, 0 6px 18px rgba(107,59,255,.35); background:rgba(107,59,255,.16); }
.ld-sx-set-top{ display:flex; justify-content:space-between; align-items:baseline; }
.ld-sx-set-top b{ font-size:13px; } .ld-sx-set-top em{ font-style:normal; font-weight:900; color:#7dffb0; font-size:13px; }
.ld-sx-set small{ font-size:10.5px; color:#9fb3d6; }
.ld-sx-thumbs{ display:grid; grid-template-columns:repeat(7, 1fr); gap:2px; }
.ld-sx-thumbs i{ aspect-ratio:3/4; border-radius:4px; overflow:hidden; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); }
.ld-sx-thumbs i.empty{ opacity:.35; }
.ld-sx-thumbs i img{ width:100%; height:100%; object-fit:cover; display:block; }
.ld-sx-thumbs i.r-uncommon{ border-color:#3dff8a; } .ld-sx-thumbs i.r-rare{ border-color:#3d8bff; } .ld-sx-thumbs i.r-epic{ border-color:#b26bff; }
.ld-sx-thumbs i.r-legendary{ border-color:#ffb800; } .ld-sx-thumbs i.r-mythic{ border-color:#ff4d6d; } .ld-sx-thumbs i.r-ultimate{ border-color:#00e5ff; }
.ld-sx-hours{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; }
.ld-sx-h{ display:flex; flex-direction:column; align-items:center; gap:2px; padding:9px 4px; border-radius:12px; cursor:pointer; font:inherit; color:#fff;
    background:rgba(0,0,0,.35); border:1px solid rgba(255,255,255,.12); }
.ld-sx-h b{ font-size:14px; } .ld-sx-h small{ font-size:10.5px; color:#ffd76a; font-weight:700; }
.ld-sx-h:hover{ border-color:rgba(139,63,255,.6); }
.ld-sx-h.active{ border-color:#8b3fff; background:linear-gradient(140deg, #6B3BFF, #8b3fff); box-shadow:0 4px 14px rgba(107,59,255,.4); }
.ld-sx-h.active small{ color:#fff; }
.ld-sx-prev{ min-height:150px; padding:10px; border-radius:14px; background:rgba(0,0,0,.3); border:1px solid rgba(255,255,255,.1); }
.ld-sx-load{ display:grid; place-items:center; min-height:130px; color:#9fb3d6; font-size:12px; }
.ld-sx-load.err{ color:#ff8a8a; }
.ld-sx-stats{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; }
.ld-sx-stats > div{ display:flex; flex-direction:column; align-items:center; text-align:center; gap:1px; padding:8px 4px; border-radius:10px; background:rgba(255,255,255,.04); }
.ld-sx-stats span{ font-size:10px; text-transform:uppercase; letter-spacing:.06em; color:#9fb3d6; }
.ld-sx-stats b{ font-size:18px; color:#fff; font-variant-numeric:tabular-nums; }
.ld-sx-stats small{ font-size:10px; color:#b7c0dd; line-height:1.25; }
.ld-sx-odds{ margin-top:10px; }
.ld-sx-oddbar{ display:flex; height:8px; border-radius:999px; overflow:hidden; background:rgba(255,255,255,.06); }
.ld-sx-oddbar i{ display:block; height:100%; min-width:2px; }
.ld-sx-oddleg{ display:flex; flex-wrap:wrap; gap:4px 10px; margin-top:6px; font-size:10.5px; color:#b7c0dd; }
.ld-sx-oddleg span{ display:inline-flex; align-items:center; gap:4px; } .ld-sx-oddleg i{ width:8px; height:8px; border-radius:2px; display:inline-block; }
.ld-sx-oddleg b{ color:#fff; }
.ld-sx-foot{ display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px; margin-top:10px; font-size:11px; color:#9fb3d6; }
.ld-sx-foot b{ color:#fff; }
@media (max-width:480px){
    .ld-sx-stats{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .ld-sx-set{ flex-basis:136px; }
    .ld-sx-h b{ font-size:13px; }
}
.ld-sx-h small{ display:inline-flex; align-items:center; gap:3px; } .ld-sx-h small img{ width:13px; height:13px; }

/* 17 Nov 2026 (Jas): loading screen (floating island + the page shape) */
#landsRoot .ld-loader{ display:flex; flex-direction:column; align-items:center; gap:6px; padding:26px 0 18px; }
.ld-loader-art{ position:relative; width:150px; height:130px; display:grid; place-items:center; }
.ld-loader-ring{ position:absolute; inset:0; border-radius:50%; border:2px dashed rgba(0,229,255,.35); animation:ldSpin 9s linear infinite; }
.ld-loader-ring::after{ content:""; position:absolute; top:-5px; left:50%; width:10px; height:10px; margin-left:-5px; border-radius:50%; background:#00e5ff; box-shadow:0 0 12px #00e5ff; }
.ld-loader-isle{ position:relative; width:90px; height:70px; animation:ldFloat 2.8s ease-in-out infinite; }
.ld-isle-top{ position:absolute; left:5px; right:5px; top:26px; height:20px; border-radius:50%; background:linear-gradient(180deg, #5cff9d, #1f9e5a); box-shadow:0 0 18px rgba(92,255,157,.5); }
.ld-isle-rock{ position:absolute; left:16px; right:16px; top:36px; height:34px; clip-path:polygon(0 0, 100% 0, 62% 100%, 40% 100%); background:linear-gradient(180deg, #7a5cff, #2a1260); }
.ld-isle-tree{ position:absolute; left:50%; top:0; width:26px; height:30px; margin-left:-13px; clip-path:polygon(50% 0, 100% 100%, 0 100%); background:linear-gradient(180deg, #b2ffd6, #2bd17a); filter:drop-shadow(0 0 8px rgba(92,255,157,.6)); }
.ld-loader-shadow{ position:absolute; bottom:4px; width:70px; height:10px; border-radius:50%; background:rgba(0,0,0,.45); filter:blur(3px); animation:ldShadow 2.8s ease-in-out infinite; }
.ld-loader-title{ font-family:Orbitron, sans-serif; font-size:18px; letter-spacing:.06em; background:linear-gradient(90deg, #00e5ff, #b26bff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.ld-loader-sub{ font-size:12px; color:#9fb3d6; }
.ld-loader-dots{ display:flex; gap:6px; margin-top:4px; }
.ld-loader-dots i{ width:7px; height:7px; border-radius:50%; background:#8b3fff; animation:ldDot 1.2s ease-in-out infinite; }
.ld-loader-dots i:nth-child(2){ animation-delay:.2s; } .ld-loader-dots i:nth-child(3){ animation-delay:.4s; }
@keyframes ldSpin{ to{ transform:rotate(360deg); } }
@keyframes ldFloat{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-9px); } }
@keyframes ldShadow{ 0%,100%{ transform:scale(1); opacity:.6; } 50%{ transform:scale(.75); opacity:.35; } }
@keyframes ldDot{ 0%,100%{ opacity:.3; transform:scale(.8); } 50%{ opacity:1; transform:scale(1.15); } }
.ld-skel{ opacity:.55; }
.ld-skel-top{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:10px; margin-bottom:12px; }
.ld-skel-top div, .ld-skel-tabs, .ld-skel-card{ border-radius:14px; border:1px solid rgba(255,255,255,.07);
    background:linear-gradient(100deg, rgba(255,255,255,.03) 30%, rgba(178,107,255,.12) 50%, rgba(255,255,255,.03) 70%); background-size:220% 100%; animation:ldShim 1.6s linear infinite; }
.ld-skel-top div{ height:74px; }
.ld-skel-tabs{ height:48px; margin-bottom:12px; }
.ld-skel-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(230px, 1fr)); gap:12px; }
.ld-skel-card{ height:210px; }
.ld-skel-card i, .ld-skel-card b, .ld-skel-card span{ display:none; }
@keyframes ldShim{ from{ background-position:120% 0; } to{ background-position:-120% 0; } }
@media (max-width:600px){ .ld-skel-top{ grid-template-columns:repeat(2, minmax(0,1fr)); } }

/* 17 Nov 2026: Shard stats (the whole game) */
.ld-sstats{ margin-top:16px; }
.ld-ss{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:12px; }
.ld-ss-col{ padding:12px 14px; border-radius:14px; background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.1); }
.ld-ss-beast{ border-color:rgba(178,107,255,.4); } .ld-ss-gear{ border-color:rgba(0,229,255,.35); }
.ld-ss-head{ display:flex; align-items:center; gap:8px; font-weight:800; font-size:14px; margin-bottom:6px; color:#fff; }
.ld-ss-gem{ width:22px; height:22px; background:url("../assets/icons/shard-beast.svg") center / contain no-repeat; }
.ld-ss-gear .ld-ss-gem{ background-image:url("../assets/icons/shard-gear.svg"); }
.ld-ss-row{ display:flex; justify-content:space-between; gap:10px; padding:4px 0; font-size:12.5px; color:#b7c0dd; border-bottom:1px dashed rgba(255,255,255,.06); }
.ld-ss-row b{ color:#fff; font-variant-numeric:tabular-nums; }
.ld-ss-row.big{ font-size:14px; color:#fff; } .ld-ss-row.big b{ font-size:18px; color:#ffd76a; }
.ld-ss-row.sep{ margin-top:6px; border-top:1px solid rgba(255,255,255,.1); padding-top:8px; }
.ld-ss-row.burn b{ color:#ff8a5c; }
@media (max-width:600px){ .ld-ss{ grid-template-columns:1fr; } }
.blend-ins-note{ color:#7dffb0; font-weight:700; }

/* ===== 18 Nov 2026 (Jas) ===== */
/* Vault: why a land can't leave yet, as text (a tooltip is not seen on a phone) */
#landsRoot .ld-vcard-btns{ flex-wrap:wrap; }
#landsRoot .ld-wd-why{ display:block; flex:1 0 100%; margin-top:2px; font-size:11.5px; line-height:1.35; color:#ffcf7a; }
/* My sets: Feed / Repair right on the set */
#landsRoot .ld-care{ display:flex; flex-wrap:wrap; gap:6px; margin-top:4px; }
#landsRoot .ld-care button{ min-height:30px; padding:4px 10px; border-radius:9px; font:inherit; font-size:12px; font-weight:800; cursor:pointer; color:#fff;
    background:linear-gradient(100deg, #6B3BFF, #8b3fff); border:1px solid #8b3fff; }
#landsRoot .ld-care button em{ font-style:normal; opacity:.8; font-weight:700; margin-left:4px; }
/* History: what the owner got from a renter */
#landsRoot .ld-hgot{ display:flex; flex-wrap:wrap; gap:4px 8px; align-items:center; }
#landsRoot .ld-hgot small{ color:#9fb3d6; font-weight:600; }
#landsRoot .ld-hgot .ld-hmat{ display:inline-flex; align-items:center; gap:3px; color:#d7def3; font-weight:700; font-size:12px; }
#landsRoot .ld-hgot .ld-hmat img{ width:16px; height:16px; object-fit:contain; }
@media (max-width:640px){ #landsRoot .ld-card-art{ height:260px; } }
#landsRoot .ld-vcard-btns > .ld-wd-why{ flex:1 0 100% !important; height:auto !important; min-height:0 !important; padding:0 !important; }

/* ===== 18 Nov 2026 (Jas): Mailbox notes from Lands / Blend / Shards / Craft (js/mailNotes.js) ===== */
.mail-note-src .mail-note-img img{ max-width:46px; max-height:46px; }
.mail-note-src .mail-note-tag{ color:var(--mt, #b9c3e6) !important; border-color:color-mix(in srgb, var(--mt, #b9c3e6) 55%, transparent) !important; background:color-mix(in srgb, var(--mt, #b9c3e6) 14%, transparent) !important; }
.mail-src-blend{ --mt:#c084ff; } .mail-src-lands{ --mt:#3dff8a; } .mail-src-shards{ --mt:#22d3ee; } .mail-src-craft{ --mt:#ffb84d; }
.mail-note-src p b{ color:#fff; }
/* 18 Nov 2026 (Jas): land cards: the land picture without the frame, filling the box */
/* 18 Nov 2026 (Jas): the picture fills the box like before; the box keeps the picture's shape (4:3),
   so on a wide card (My lands) it gets taller and the island is not cut at the top */
#landsRoot .ld-card-art:has(img.ld-land-scene){ height:auto; aspect-ratio:4 / 3; min-height:210px; max-height:320px; background:#05060f; overflow:hidden; }
#landsRoot .ld-card-art img.ld-land-scene{ width:100%; height:100%; object-fit:cover; object-position:50% 45%; }
#landsRoot .ld-card-art:has(img.ld-land-scene)::after{ content:""; position:absolute; inset:auto 0 0 0; height:46px; pointer-events:none;
    background:linear-gradient(to bottom, transparent, rgba(10,12,26,.9)); }

.ld-lost{ margin:8px 0 0; padding:8px 12px; border-radius:10px; font-size:12.5px; line-height:1.4; color:#ffd2a6; background:rgba(255,140,60,.12); border:1px solid rgba(255,140,60,.4); }
#landsRoot .ld-hgot small.ld-lost-s{ color:#ffb27a; }

/* ===== 18 Nov 2026 (Jas): send popup: set rarity + match bonus ===== */
.ld-sx-qual{ display:grid; grid-template-columns:repeat(auto-fit, minmax(150px, 1fr)); gap:8px; margin-top:10px; }
.ld-sx-qual > div{ display:flex; flex-direction:column; gap:2px; padding:8px 10px; border-radius:10px; background:rgba(0,0,0,.28); border:1px dashed rgba(255,255,255,.14); }
.ld-sx-qual > div.on{ border:1px solid rgba(61,255,138,.5); background:rgba(61,255,138,.08); }
.ld-sx-qual b{ color:#fff; font-size:13px; } .ld-sx-qual small{ color:#9fb3d6; font-size:11.5px; line-height:1.35; }
.ld-sx-qual > div.on b{ color:#3dff8a; }
.ld-rmatch{ margin:0 0 8px; padding:8px 12px; border-radius:10px; font-size:12.5px; color:#c9ffe0; background:rgba(61,255,138,.1); border:1px solid rgba(61,255,138,.4); }

/* ===== 18 Nov 2026 (Jas): Land Pack card (Lands + Shop) ===== */
.ld-pack{ display:grid; grid-template-columns:minmax(0, 260px) minmax(0, 1fr); gap:18px; align-items:center; padding:16px; border-radius:18px; margin-bottom:14px;
    background:radial-gradient(ellipse at 20% 40%, rgba(255,184,0,.14), transparent 60%), linear-gradient(150deg, rgba(26,22,58,.96), rgba(10,12,26,.96)); border:1px solid rgba(255,184,0,.35); box-shadow:0 0 30px -14px rgba(255,184,0,.6); }
.ld-pack-art img{ width:100%; height:auto; display:block; filter:drop-shadow(0 10px 22px rgba(0,0,0,.6)); animation:ldFloat 6s ease-in-out infinite; }
.ld-pack-info{ display:flex; flex-direction:column; gap:8px; min-width:0; }
.ld-pack-kicker{ font-size:11px; font-weight:900; letter-spacing:.14em; text-transform:uppercase; color:#ffcf5a; }
.ld-pack-info > b{ font-family:Orbitron, sans-serif; font-size:22px; color:#fff; }
.ld-pack-info > small{ color:#b9c3e6; font-size:13px; }
.ld-poddrow{ display:flex; flex-wrap:wrap; gap:6px; }
.ld-podd{ display:inline-flex; align-items:center; gap:5px; padding:4px 9px; border-radius:999px; font-size:12px; color:#d7def3; background:rgba(0,0,0,.3); border:1px solid color-mix(in srgb, var(--rc) 45%, transparent); }
.ld-podd i{ width:8px; height:8px; border-radius:50%; background:var(--rc); box-shadow:0 0 6px var(--rc); } .ld-podd b{ color:#fff; }
.ld-pbtns{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:4px; }
.ld-pbtn-col{ display:flex; flex-direction:column; gap:4px; min-width:0; }
.ld-pbtn-col .craft-btn, .ld-pbtn-col .pvp-secondary-btn{ width:100%; margin:0; min-height:44px; display:flex; align-items:center; justify-content:center; text-decoration:none; }
.ld-pstock{ color:#9fb3d6; font-size:11.5px; text-align:center; }
@media (max-width:700px){ .ld-pack{ grid-template-columns:1fr; } .ld-pack-art{ max-width:280px; margin:0 auto; } .ld-pbtns{ grid-template-columns:1fr; } }
.ld-pack-shop{ margin:0; }
.ld-mypacks{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding:12px 14px; border-radius:14px; margin-bottom:14px;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.1); }
.ld-mypacks > div:first-child{ display:flex; flex-direction:column; gap:2px; } .ld-mypacks b{ color:#fff; } .ld-mypacks small{ color:#9fb3d6; }
.ld-mypacks-btns{ display:flex; gap:8px; } .ld-mypacks-btns > *{ width:auto; margin:0; min-height:40px; padding:0 18px; }
#landsRoot .ld-trow-p{ grid-template-columns:150px 90px minmax(0, 1fr); }
/* blend */
.ld-blend{ display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:12px; }
@media (max-width:760px){ .ld-blend{ grid-template-columns:1fr; } }
.ld-brow{ display:flex; flex-direction:column; gap:10px; padding:14px; border-radius:16px; background:linear-gradient(160deg, rgba(22,26,52,.96), rgba(10,12,26,.96));
    border:1px solid color-mix(in srgb, var(--rc2) 45%, transparent); }
.ld-brow-head{ display:flex; align-items:center; gap:10px; }
.ld-bimg{ position:relative; width:52px; flex:0 0 52px; } .ld-bimg img{ width:100%; height:auto; display:block; border-radius:6px; }
.ld-bimg em{ position:absolute; right:-6px; bottom:-6px; font-style:normal; font-size:11px; font-weight:900; color:#fff; padding:1px 6px; border-radius:999px; background:#6B3BFF; }
.ld-barrow{ font-style:normal; color:#9fb3d6; font-size:20px; }
.ld-brow-txt{ display:flex; flex-direction:column; gap:2px; min-width:0; margin-left:6px; } .ld-brow-txt b{ color:#fff; } .ld-brow-txt small{ color:#9fb3d6; font-size:12px; }
.ld-brow .craft-btn{ margin-top:auto; }
/* reveal (pack opening + blend result) */
.ld-reveals{ display:flex; justify-content:center; flex-wrap:wrap; gap:12px; margin:6px 0; }
.ld-reveal{ display:flex; flex-direction:column; align-items:center; gap:6px; width:130px; opacity:0; animation:ldReveal .55s ease-out forwards; }
.ld-reveal img{ width:100%; height:auto; border-radius:8px; filter:drop-shadow(0 0 14px color-mix(in srgb, var(--rc) 70%, transparent)); }
.ld-reveal b{ color:var(--rc); font-size:13px; letter-spacing:.06em; text-transform:uppercase; }
@keyframes ldReveal{ from{ opacity:0; transform:translateY(14px) scale(.9) rotateY(70deg); } to{ opacity:1; transform:none; } }
.ld-blpick img{ width:100%; height:auto; border-radius:6px; }
/* 18 Nov 2026 (Jas): Expeditions tab count (purple = out, red = some are back to claim); sale countdown */
#landsRoot .ld-dot.ld-dot-run{ background:#6B3BFF; }
.ld-psoon{ display:flex; align-items:baseline; flex-wrap:wrap; gap:6px 10px; padding:10px 14px; border-radius:12px; background:rgba(0,0,0,.32); border:1px solid rgba(255,207,90,.35); }
.ld-psoon span{ color:#ffcf5a; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.ld-psoon b{ font-family:Orbitron, sans-serif; font-size:22px; color:#fff; } .ld-psoon small{ color:#9fb3d6; font-size:12px; }
/* 18 Nov 2026: 9 tabs: each as wide as its text (a count badge never cuts the name) */
#landsRoot .ld-tabs{ display:flex; overflow-x:auto; scrollbar-width:none; }
#landsRoot .ld-tabs button{ flex:1 1 auto; padding:8px 10px; white-space:nowrap; }

/* ===== 18 Nov 2026 (Jas): Neon Coin supplies in the Send popup ===== */
.ld-sups{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
@media (max-width:560px){ .ld-sups{ grid-template-columns:1fr; } }
.ld-sup{ display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:12px; text-align:left; cursor:pointer; font:inherit; color:#d7def3;
    background:rgba(0,0,0,.28); border:1px solid rgba(255,255,255,.12); }
.ld-sup.on{ border-color:#00e5ff; background:rgba(0,229,255,.08); box-shadow:0 0 14px -6px #00e5ff; }
.ld-sup > i{ flex:0 0 20px; width:20px; height:20px; border-radius:6px; border:2px solid rgba(255,255,255,.35); display:grid; place-items:center; font-style:normal; font-size:12px; font-weight:900; color:#00141a; }
.ld-sup.on > i{ background:#00e5ff; border-color:#00e5ff; }
.ld-sup > div{ display:flex; flex-direction:column; gap:2px; min-width:0; flex:1; } .ld-sup b{ color:#fff; font-size:13px; } .ld-sup small{ color:#9fb3d6; font-size:11.5px; line-height:1.3; }
.ld-sup > span{ display:inline-flex; align-items:center; gap:4px; font-weight:800; color:#7ff3ff; white-space:nowrap; }
.ld-sup > span img{ width:16px; height:16px; } .ld-sup > span.low{ color:#ff6b81; }
.ld-rcrate{ color:#c9f7ff; background:rgba(0,229,255,.1); border-color:rgba(0,229,255,.4); }
.ld-sups{ margin-bottom:4px; } .ld-sx-prev .ld-sx-label{ margin-top:12px; }

/* 18 Nov 2026 (Jas): the whole land picture shows on every rarity (the 4:3 box cut the top and the bottom
   of the big islands); the art is almost square, so the box is square too - phone and desktop */
#landsRoot .ld-card-art:has(img.ld-land-scene){ aspect-ratio:1 / 1; min-height:0; max-height:none; }
#landsRoot .ld-card-art img.ld-land-scene{ object-position:50% 50%; }

/* 18 Nov 2026 (Jas): My lands - the Upgrade buttons of two cards side by side sit on one line */
#landsRoot .ld-mcard .ld-up{ flex:1 1 auto; }
#landsRoot .ld-mcard .ld-up .ld-mats{ align-content:start; }
#landsRoot .ld-mcard .ld-up .ld-card-btn{ margin-top:auto; }
#landsRoot .ld-mcard .ld-max{ flex:1 1 auto; }

/* 18 Nov 2026 (Jas): Supplies right under "How long" in the Send popup */
.ld-sx-supbox{ margin-top:12px; }
.ld-sx-supbox .ld-sx-label{ margin-top:0; }
.ld-sups-wait .ld-sup{ min-height:52px; cursor:default; opacity:.4; }

/* 18 Nov 2026 (Jas): Build set / Edit is one size on every set card; the spare space stays above it */
#landsRoot .ld-set > .pvp-secondary-btn{ flex:0 0 auto; width:100%; height:44px; min-height:44px; max-height:44px; margin-top:auto; padding:0 14px; }

/* 18 Nov 2026 (Jas): the Land Pack card in Inventory > Packs */
#packsInventoryGrid .ld-inv-pack .ld-inv-btns{ display:flex; gap:8px; width:100%; margin-top:auto; }
#packsInventoryGrid .ld-inv-pack .ld-inv-btns button{ flex:1 1 0; min-height:40px; border:none; border-radius:10px; cursor:pointer; color:#fff; font:inherit; font-weight:800;
    background:linear-gradient(135deg, #6B3BFF, #8b3fff); }
#packsInventoryGrid .ld-inv-pack .ld-inv-btns button:disabled{ opacity:.5; cursor:default; }
#packsInventoryGrid .ld-inv-pack .pack-card-img{ object-fit:contain; }

/* 20 Nov 2026 (Jas): mainnet launch - the countdown on the Lands / Craft menu links */
.ld-soon{ margin-left:auto; padding:2px 8px; border-radius:999px; font-size:11px; font-weight:800; line-height:1.5; white-space:nowrap;
    color:#fff; background:linear-gradient(135deg, #6B3BFF, #8b3fff); box-shadow:0 0 10px rgba(139,63,255,.45); font-variant-numeric:tabular-nums; }
.sidebar-nav-link:has(.ld-soon){ opacity:.85; }

/* 20 Nov 2026 (Jas): on phones the 9 tabs were squeezed into one row and cut ("ll land", "ee slo").
   Now 3 per row, every tab fully visible, no hidden scrolling. */
@media (max-width:760px){
    #landsRoot .ld-tabs{ display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); overflow:visible; }
    #landsRoot .ld-tabs button{ flex:none; min-width:0; min-height:40px; padding:8px 2px; gap:4px; font-size:12px; letter-spacing:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; position:relative; }
    #landsRoot .ld-tabs button .ld-dot{ position:absolute; top:3px; right:3px; transform:scale(.85); transform-origin:top right; }
}

/* 20 Nov 2026 (Jas): Lands vault picker: NFTs that are hunting / in the Arena set */
.al-pick .ld-inuse{ display:block; margin-top:4px; padding:2px 6px; border-radius:6px; font-style:normal; font-size:10.5px; font-weight:800; letter-spacing:.02em;
    color:#ffcf5a; background:rgba(255,207,90,.12); border:1px solid rgba(255,207,90,.35); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
/* 21 Nov 2026 (Jas): the send preview in clear groups (js/lands.js previewHTML) */
.ld-pv-title{ margin:10px 2px 6px; font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#9fb3d6; }
.ld-pv-title:first-child{ margin-top:0; }
.ld-pv-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:6px; }
.ld-pv-grid > div{ display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; gap:2px; min-width:0; padding:9px 6px; border-radius:10px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.06); }
.ld-pv-grid span{ font-size:10px; text-transform:uppercase; letter-spacing:.05em; color:#9fb3d6; }
.ld-pv-grid b{ font-size:18px; line-height:1.15; color:#fff; font-variant-numeric:tabular-nums; white-space:nowrap; }
.ld-pv-grid small{ font-size:10.5px; color:#b7c0dd; line-height:1.3; overflow-wrap:anywhere; }
.ld-pv-guard{ margin:8px 0 0 !important; }
.ld-pv-chips{ display:flex; flex-wrap:wrap; gap:6px; }
.ld-pv-chip{ display:inline-flex; align-items:center; gap:6px; padding:5px 10px; border-radius:999px; font-size:12px; color:#b7c0dd; background:rgba(0,0,0,.28); border:1px dashed rgba(255,255,255,.16); }
.ld-pv-chip b{ color:#fff; font-variant-numeric:tabular-nums; }
.ld-pv-chip.on{ border:1px solid rgba(61,255,138,.5); background:rgba(61,255,138,.08); }
.ld-pv-chip.on b{ color:#3dff8a; }
.ld-pv-note{ margin:6px 2px 0; font-size:11.5px; line-height:1.4; color:#9fb3d6; }
@media (max-width:560px){
    .ld-pv-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
    .ld-pv-grid b{ font-size:17px; }
    .ld-pv-chip{ font-size:11.5px; padding:4px 9px; }
    .ld-sx-foot{ flex-direction:column; align-items:flex-start; }
}
/* 21 Nov 2026: 3 supplies (Treasure Map added): the third takes the full row */
.ld-sups > .ld-sup:nth-child(3):last-child{ grid-column:1 / -1; }
/* 21 Nov 2026 (Jas): value check in the send preview, rent cap note, level bonus tag */
.ld-pv-value{ display:grid; grid-template-columns:1fr 1fr; gap:6px; margin-top:8px; }
.ld-pv-value > div{ display:flex; flex-direction:column; gap:2px; padding:9px 10px; border-radius:10px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.08); }
.ld-pv-value span{ font-size:10px; text-transform:uppercase; letter-spacing:.05em; color:#9fb3d6; }
.ld-pv-value b{ font-size:16px; color:#fff; font-variant-numeric:tabular-nums; }
.ld-pv-value small{ font-size:10.5px; color:#b7c0dd; line-height:1.3; }
.ld-pv-value.good > div:last-child{ border-color:rgba(61,255,138,.5); background:rgba(61,255,138,.08); }
.ld-pv-value.good > div:last-child small{ color:#3dff8a; }
.ld-pv-value.bad > div:last-child{ border-color:rgba(255,90,90,.55); background:rgba(255,90,90,.1); }
.ld-pv-value.bad > div:last-child small{ color:#ff8a8a; }
.ld-capnote{ display:block; margin:4px 2px 0; font-size:11px; line-height:1.35; }
.ld-stats .ld-lvb{ display:block; font-size:10px; color:#3dff8a; }
