﻿/* 旧界面 + 新工厂：细节补充 */
.tcard{cursor:pointer}
.tcard--empty{cursor:default}
.gcard__mk img{width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}
.idxbtn__s{font-family:var(--mono);font-size:10px}
.bm-hint{margin:8px 0 0;font-size:11.5px;line-height:1.7;color:var(--txt-3)}
/* 工具卡片：固定高度 + 持有人独立滚动（人数再多也不撑长卡片） */
#toolModal .modal__panel--tool{height:min(90vh,880px);max-height:min(90vh,880px)}
#toolModal .tk-holders{height:clamp(150px,21vh,224px);max-height:none;overflow:auto;overscroll-behavior:contain;padding-right:6px}
#toolModal .tk-holders>*{flex:0 0 auto}
#toolModal .tk-holders:has(.tk-hd__empty){height:auto}
#toolModal .tk-quote b,#toolModal .tk-swap__q b{color:#eafcff}
@media (max-width:1060px){
  #toolModal .modal__panel--tool{height:min(93vh,940px);max-height:min(93vh,940px)}
  #toolModal .tk-holders{height:clamp(138px,20vh,200px)}
}
/* 空状态：跨满整行 + 居中（原来只占网格第 1 列，所以看着靠左） */
#grid > .tk-hd__empty{grid-column:1 / -1;width:100%;text-align:center;padding:34px 16px}
#grid > .tk-hd__empty span{display:inline-block;margin-top:6px;opacity:.75}
/* 分页区在空状态下不占位 */
#grid:empty{min-height:0}

/* V2 认购面板 */
.ps-bar{height:8px;border-radius:99px;background:rgba(255,255,255,.07);overflow:hidden;margin:8px 0 12px}
.ps-bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#3fe0ff,#8a92ff 60%,#2fe0a0);box-shadow:0 0 14px rgba(63,224,255,.6);transition:width .5s var(--nxv-ease)}
.ps-rows{display:flex;flex-direction:column;gap:7px;font-size:12px}
.ps-rows>div{display:flex;justify-content:space-between;gap:10px;padding:7px 10px;border-radius:10px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.ps-rows span{color:var(--txt-3)}
.ps-rows b{color:#eaf6ff;font-weight:500}

/* 实时赎回：把累计分红按 DEX 实时价卖回 USDC */
.tk-redeem{display:flex;flex-direction:column;align-items:stretch;gap:6px;margin-top:10px}
.tk-redeem__btn{width:100%;padding:9px 12px;border:1px solid rgba(63,224,255,.35);border-radius:10px;background:linear-gradient(135deg,rgba(63,224,255,.16),rgba(138,146,255,.16));color:#eafcff;font:600 12.5px/1.2 system-ui;cursor:pointer;transition:filter .2s,transform .2s,opacity .2s}
.tk-redeem__btn:hover:not(:disabled){filter:brightness(1.14)}
.tk-redeem__btn:active:not(:disabled){transform:translateY(1px)}
.tk-redeem__btn:disabled{opacity:.55;cursor:not-allowed}
.tk-redeem__tip{color:var(--txt-3);font-size:11px;font-style:normal;line-height:1.5}
