/* Holder staking, live mode (staking-live.js). Shown only while the service answers GET /api/staking; the preview
   (#st-preview) is hidden then. Monochrome portal tokens only (no blue, no bright colours on the site). */
body.staking .stl{display:grid;gap:18px}
body.staking .stl[hidden],body.staking .stl [hidden]{display:none}
body.staking.st-is-opening .stl-grid{grid-template-columns:1fr}
body.staking .stl-notice{padding:20px 24px;border:2px solid var(--ink);border-radius:12px;background:var(--bg-base);display:grid;gap:8px}
body.staking .stl-notice strong{font-size:clamp(18px,2.2vw,24px);font-weight:800;line-height:1.2;letter-spacing:-.02em}
body.staking .stl-notice p{margin:0;color:var(--ink-secondary);font-size:15px;line-height:1.6;max-width:80ch}
body.staking .stl-notice a{color:var(--ink);text-decoration:underline}
body.staking .stl-amount-note{margin:0}
body.staking .stl-rules-changed{padding:10px 12px;border:1px solid var(--ink);border-radius:6px;font-size:13px;line-height:1.5}
body.staking .stl-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);border:1px solid var(--line);border-radius:12px;overflow:hidden;background:var(--bg-base)}
body.staking .stl-hero-copy{padding:32px;display:grid;align-content:center;gap:14px}
body.staking .stl-hero-copy h2{margin:0;font-size:clamp(30px,4vw,54px);font-weight:800;line-height:.95;letter-spacing:-.045em;text-transform:uppercase}
body.staking .stl-hero-copy p{margin:0;max-width:56ch;color:var(--ink-secondary);font-size:15px;line-height:1.6}
body.staking .stl-pool-line{padding:12px 14px;border:1px solid var(--line);border-left:3px solid var(--accent);border-radius:6px;font-size:13px!important}
body.staking .stl-pool-line strong{color:var(--ink);text-transform:uppercase;letter-spacing:.06em;font-size:12px;margin-right:6px}
body.staking .stl-hero-art{width:100%;height:100%;min-height:260px;object-fit:cover;display:block}

body.staking .stl-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0}
body.staking .stl-stats>div{padding:18px 20px;border:1px solid var(--line);border-radius:12px;background:var(--bg-base);display:grid;gap:6px;min-width:0}
body.staking .stl-stats dt{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
body.staking .stl-stats dd{margin:0;display:flex;align-items:baseline;gap:6px;min-width:0}
body.staking .stl-stats dd strong{font-size:clamp(20px,2.2vw,30px);font-weight:800;letter-spacing:-.03em;overflow-wrap:anywhere}
body.staking .stl-stats dd span{color:var(--muted);font-size:12px;font-weight:700}
body.staking .stl-stats small{color:var(--muted);font-size:12px}

body.staking .stl-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:18px;align-items:start}
body.staking .stl .st-panel{padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--bg-base)}
body.staking .stl .st-panel-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}
body.staking .stl .st-panel-heading h2{margin:0;font-size:16px}
body.staking #stl-me-body{display:grid;gap:14px}
body.staking #stl-me-body h3{margin:0;font-size:18px;font-weight:800}
body.staking #stl-me-body p{margin:0}
body.staking #stl-me-body .button{justify-self:start}
body.staking .stl-me-head{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
body.staking .stl-in{background:var(--ink);color:var(--bg-deepest);border-color:var(--ink)}
body.staking .stl-nfts{list-style:none;margin:0;padding:0;display:grid;gap:6px;max-height:320px;overflow:auto}
body.staking .stl-nft{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px}
body.staking .stl-nft-name{min-width:0;overflow-wrap:anywhere}
body.staking .stl-nft-state{flex-shrink:0;font-weight:700;font-size:12px;text-transform:uppercase;letter-spacing:.05em}
body.staking .stl-nft.listed{border-style:dashed;color:var(--muted)}
body.staking .stl-nft-empty{color:var(--muted);font-size:13px}
body.staking .stl-agree{display:flex;gap:10px;align-items:flex-start;font-size:13px;line-height:1.5;color:var(--ink-secondary)}
body.staking .stl-agree input{width:20px;height:20px;margin:1px 0 0;flex-shrink:0;accent-color:var(--ink)}
body.staking .stl .button:disabled{display:inline-flex;opacity:.45;cursor:not-allowed}

body.staking .stl-weights{display:grid;gap:8px;margin-bottom:12px}
body.staking .stl-weight-row{display:flex;justify-content:space-between;align-items:center;padding:14px 16px;border:1px solid var(--line);border-radius:8px}
body.staking .stl-weight-name{font-weight:800;text-transform:uppercase;letter-spacing:.04em;font-size:13px}
body.staking .stl-weight-value{font-size:22px;font-weight:800;letter-spacing:-.02em}

body.staking .stl-last-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 10px}
body.staking .stl-last-grid dt{color:var(--muted);font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
body.staking .stl-last-grid dd{margin:4px 0 0;font-size:18px;font-weight:800}
body.staking .stl-history .st-history-table{width:100%;border-collapse:collapse;font-size:13px}
body.staking .stl-history td,body.staking .stl-history th{padding:10px 8px;border-bottom:1px solid var(--line);text-align:left}
body.staking .stl-history a{color:var(--ink);text-decoration:underline}
body.staking .stl-rule-list{margin:0;padding-left:20px;display:grid;gap:10px;color:var(--ink-secondary);font-size:14px;line-height:1.6}
body.staking .stl-rule-list strong{color:var(--ink)}
body.staking .stl-rule-list a{color:var(--ink)}

body.staking .stl-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;counter-reset:stl-step}
body.staking .stl-steps li{counter-increment:stl-step;padding:16px;border:1px solid var(--line);border-radius:8px;display:grid;gap:6px;align-content:start}
body.staking .stl-steps li::before{content:counter(stl-step);font-size:28px;font-weight:800;line-height:1}
body.staking .stl-steps strong{text-transform:uppercase;letter-spacing:.04em;font-size:13px}
body.staking .stl-steps span{color:var(--ink-secondary);font-size:13px;line-height:1.55}
body.staking .stl-example p{margin:0 0 10px;color:var(--ink-secondary);font-size:14px;line-height:1.6}
body.staking .stl-example .stl-formula{color:var(--ink);font-size:18px;font-weight:800;letter-spacing:-.01em}
body.staking .stl-faq details{border-top:1px solid var(--line);padding:12px 0}
body.staking .stl-faq summary{cursor:pointer;font-weight:700;font-size:14px;min-height:24px}
body.staking .stl-faq details p{margin:8px 0 0;color:var(--ink-secondary);font-size:14px;line-height:1.6}
@media(max-width:1100px){body.staking .stl-stats{grid-template-columns:repeat(2,minmax(0,1fr))}body.staking .stl-grid{grid-template-columns:1fr}}
@media(max-width:750px){
  body.staking .stl-hero{grid-template-columns:1fr}
  body.staking .stl-hero-art{min-height:0;max-height:220px;order:-1}
  body.staking .stl-hero-copy{padding:20px}
  body.staking .stl-stats{grid-template-columns:1fr 1fr;gap:8px}
  body.staking .stl-stats>div{padding:14px}
  body.staking .stl-last-grid{grid-template-columns:1fr 1fr}
  body.staking .stl .st-panel{padding:16px}
  body.staking .stl-steps{grid-template-columns:1fr}
}

/* Your NFTs as cards (Connor 2026-11-04): picture, FOR SALE tag, TAKE OFF SALE. */
body.staking .stl-cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px;max-height:560px;overflow:auto}
body.staking .stl-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:10px;overflow:hidden;min-width:0}
body.staking .stl-card.is-for-sale,body.staking .stl-card.is-listed{border-style:dashed}
body.staking .stl-card-art{position:relative;aspect-ratio:1;background:var(--bg-elevated);display:grid;place-items:center}
body.staking .stl-card-art img{width:100%;height:100%;object-fit:cover;display:block}
body.staking .stl-card.is-for-sale .stl-card-art img,body.staking .stl-card.is-listed .stl-card-art img{opacity:.55}
body.staking .stl-card-blank{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted);padding:8px;text-align:center}
body.staking .stl-tag{position:absolute;top:6px;left:6px;padding:3px 7px;border-radius:999px;font-size:10px;font-weight:800;letter-spacing:.06em;background:var(--ink);color:var(--bg-base);border:1px solid var(--line-strong)}
body.staking .stl-tag-for-sale{background:var(--bg-base);color:var(--ink);border-color:var(--ink)}
body.staking .stl-card-body{display:grid;gap:4px;padding:8px 9px 10px;font-size:12px}
body.staking .stl-card-name{font-weight:700;overflow-wrap:anywhere}
body.staking .stl-card-state{font-weight:700;font-size:11px;text-transform:uppercase;letter-spacing:.05em}
body.staking .stl-card:not(.is-counts) .stl-card-state{color:var(--muted)}
body.staking .stl-card-button{margin-top:4px;min-height:36px;font-size:11px;padding:6px 8px;width:100%}
body.staking .stl-card-link{font-size:11px;text-decoration:underline}
body.staking .stl-sale-note{border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:13px;line-height:1.45;margin:0 0 10px}
body.staking .stl-delist{margin-top:12px;border:1px solid var(--line);border-radius:10px;padding:12px;display:grid;gap:8px;justify-items:start;font-size:13px}
body.staking .stl-delist p{margin:0}
body.staking .stl-qr{width:180px;height:180px;background:var(--ink);border-radius:8px}
body.staking .stl-delist-actions{display:flex;gap:8px;flex-wrap:wrap}
@media (max-width:520px){body.staking .stl-cards{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none}}
/* Add to rewards (Connor 2026-11-04). */
body.staking .stl-add-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}
body.staking .stl-add-all{min-height:38px;font-size:12px}
body.staking .stl-add-message:empty{display:none}
body.staking .stl-tag-added{background:var(--bg-base);color:var(--ink);border-color:var(--line-strong)}
body.staking .stl-card.is-not-added .stl-card-art img{opacity:.75}
body.staking .stl-card-remove{background:none;border:0;padding:2px 0;color:var(--muted);font:inherit;font-size:11px;text-decoration:underline;cursor:pointer;justify-self:start}
/* Rough share + test entry (Connor 2026-11-05). */
body.staking .stl-rough{display:grid;gap:4px;border:1px solid var(--line);border-radius:10px;padding:12px 14px;margin:10px 0}
body.staking .stl-rough-label{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}
body.staking .stl-rough-value{font-size:22px;line-height:1.1}
body.staking .stl-test-entry{font-size:12px;color:var(--muted);margin:0 0 8px}
