
/* Phase 140xt: welcome message UI, purchases, DM reel view, crop close visibility */
.sv-phase140Box{margin-top:14px;padding:14px;border:1px solid var(--sv-border);border-radius:18px;background:var(--sv-card)}
.sv-phase140Title{font-weight:900;font-size:15px}
.sv-phase140Note{margin-top:6px;color:var(--sv-muted,#768198);font-size:13px;line-height:1.45}
.sv-phase140Grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:10px}
.sv-phase140Item{position:relative;border:1px solid var(--sv-border);border-radius:16px;overflow:hidden;background:var(--sv-body);min-height:110px}
.sv-phase140Item input{position:absolute;left:10px;top:10px;z-index:2}
.sv-phase140Thumb{display:block;width:100%;height:110px;object-fit:cover;background:#000}
.sv-phase140ItemCap{padding:8px 10px;font-size:12px;line-height:1.35;max-height:44px;overflow:hidden}
.sv-phase140Row2{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:10px}
.sv-phase140Actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
.sv-phase140PillLink{display:inline-flex;align-items:center;justify-content:center;height:40px;padding:0 16px;border-radius:999px;border:1px solid var(--sv-border);background:var(--sv-card);color:var(--sv-fg);text-decoration:none;font-weight:800}
.sv-phase140PurchaseCard{display:grid;grid-template-columns:110px minmax(0,1fr);gap:12px;padding:12px;border:1px solid var(--sv-border);border-radius:18px;background:var(--sv-card);margin-bottom:12px}
.sv-phase140PurchaseMedia{width:110px;height:110px;border-radius:14px;overflow:hidden;background:#000;display:flex;align-items:center;justify-content:center}
.sv-phase140PurchaseMedia img,.sv-phase140PurchaseMedia video{width:100%;height:100%;object-fit:cover}
.sv-phase140PurchaseTitle{font-weight:900}
.sv-phase140PurchaseMeta{margin-top:5px;color:var(--sv-muted,#768198);font-size:13px;line-height:1.4}
.sv-phase140PurchaseCap{margin-top:8px;font-size:13px;line-height:1.5;max-height:64px;overflow:hidden}
.sv-phase140PurchaseBtns{display:flex;gap:10px;flex-wrap:wrap;margin-top:10px}
.sv-phase140DmView{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:18px;background:#000}
.sv-phase140DmCard{width:min(100%,620px);border-radius:24px;border:1px solid rgba(255,255,255,.12);background:rgba(10,10,10,.88);box-shadow:0 24px 84px rgba(0,0,0,.45);overflow:hidden}
.sv-phase140DmCard video,.sv-phase140DmCard img,.sv-phase140DmCard audio{display:block;width:100%;max-height:78vh;background:#000;object-fit:contain}
.sv-phase140DmHead{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.10);color:#fff}
.sv-phase140DmBody{padding:14px;color:#fff}
.sv-phase140DmAuthor{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}
.sv-phase140DmAuthor img{width:42px;height:42px;border-radius:999px;object-fit:cover}
.sv-phase140MiniBtn{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font-weight:800}
.sv-phase140CloseBtn{width:100%;margin-top:10px}
.sv-cropFS .sv-cropTopBtn,
.sv-cropFS .sv-cropTopBtn svg,
.sv-cropFS .sv-cropTopBtn .sv-ico,
.sv-cropFS #sv-crop-cancel,
.sv-cropFS #sv-crop-cancel svg,
.sv-cropFS #sv-crop-cancel .sv-ico{
  color:#fff !important;
  fill:currentColor !important;
  stroke:currentColor !important;
  opacity:1 !important;
}
html[data-theme="light"] .sv-cropFS .sv-cropTopBtn,
html[data-theme="light"] .sv-cropFS #sv-crop-cancel{
  color:#111 !important;
}
html[data-theme="dark"] .sv-cropFS .sv-cropTopBtn,
html[data-theme="dark"] .sv-cropFS #sv-crop-cancel{
  color:#fff !important;
}
@media (max-width:760px){
  .sv-phase140Grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sv-phase140Row2{grid-template-columns:1fr}
  .sv-phase140PurchaseCard{grid-template-columns:1fr}
  .sv-phase140PurchaseMedia{width:100%;height:180px}
}
