/* ===== Migrated from inline <style> block in reseller.html (CSP compliance) ===== */

  .rs-main{ padding:0 18px 32px; max-width:480px; margin:0 auto; }
  .rs-title-row{ display:flex; align-items:center; gap:12px; margin:18px 0 20px; }
  .rs-back-btn{ width:38px; height:38px; border-radius:12px; background:var(--card); border:1px solid var(--card-border); display:flex; align-items:center; justify-content:center; color:var(--text); cursor:pointer; flex-shrink:0; }
  .rs-back-btn svg{ width:18px; height:18px; }
  .rs-card{ background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius); padding:20px; }
  .rs-card.is-reseller{ border-color:rgba(255,0,1,.5); box-shadow:0 0 0 1px rgba(255,0,1,.2), 0 16px 32px -16px rgba(255,0,1,.55); animation:reseller-pulse 2.6s ease-in-out infinite; }
  @media (prefers-reduced-motion: reduce){ .rs-card.is-reseller{ animation:none; } }
  .rs-card-head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
  .rs-card-head svg{ width:20px; height:20px; stroke:var(--red-glow); flex-shrink:0; }
  .rs-card-head b{ font-size:16.5px; color:var(--text); }
  .rs-sub{ font-size:12.5px; color:var(--text-faint); line-height:1.6; margin-bottom:18px; }
  .rs-result{ display:flex; flex-direction:column; gap:10px; }
  .rs-result-row{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-bottom:1px solid var(--card-border); font-size:13.5px; color:var(--text-dim); }
  .rs-result-row:last-child{ border-bottom:none; padding-bottom:0; }
  .rs-result-row b{ color:var(--text); font-weight:700; }
  .rs-need-login{ text-align:center; padding:30px 10px; }
  .rs-need-login p{ font-size:13.5px; color:var(--text-faint); margin:10px 0 18px; line-height:1.6; }

  /* ---- ແດຊບອດຕົວແທນ (ຫຼັງເປັນຕົວແທນແລ້ວ) ---- */
  .rs-quota-head{ display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:18px; }
  .rs-quota-label{ font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; margin-bottom:4px; }
  .rs-quota-tier{ font-size:16px; font-weight:800; color:var(--red-glow); }
  .rs-quota-expiry{ text-align:right; font-size:11.5px; color:var(--text-faint); }
  .rs-quota-expiry b{ display:block; color:var(--text-dim); font-size:12.5px; margin-top:2px; font-weight:700; }
  .rs-expiry-label{ font-size:9px; letter-spacing:.14em; text-transform:uppercase; color:var(--text-faint); margin-bottom:4px; display:flex; align-items:center; justify-content:flex-end; gap:4px; }
  .rs-expiry-time{ display:flex; align-items:baseline; justify-content:flex-end; gap:5px; font-family:'Rajdhani',sans-serif; font-weight:300; color:var(--text); font-variant-numeric:tabular-nums; line-height:1; }
  .rs-expiry-time.is-lifetime{ font-size:12.5px; font-weight:700; color:var(--text-dim); }
  .rs-eh-days{ font-size:12px; font-weight:600; color:var(--gold); }
  .rs-eh-days-lbl{ font-size:10px; color:var(--text-dim); font-weight:400; margin-right:1px; }
  .rs-eh-clock{ font-size:19px; letter-spacing:.01em; }
  .rs-eh-colon{ opacity:1; animation:rs-blink 1s steps(1) infinite; margin:0 .5px; }
  @keyframes rs-blink{ 0%,50%{ opacity:1; } 51%,100%{ opacity:.2; } }
  .rs-live-dot{ display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--green); box-shadow:0 0 6px var(--green); animation:rs-pulse 1.2s infinite; }
  @keyframes rs-pulse{ 0%,100%{ opacity:1; } 50%{ opacity:.35; } }

  .rs-hold-banner{ display:none; align-items:center; gap:8px; background:rgba(232,179,74,.1); border:1px solid rgba(232,179,74,.4); border-radius:10px; padding:9px 12px; margin-top:14px; font-size:12px; color:var(--gold); line-height:1.5; }
  .rs-hold-banner.show{ display:flex; }
  .rs-hold-banner b{ font-family:'Rajdhani',sans-serif; font-variant-numeric:tabular-nums; }
  .rs-ring-fg.is-held{ stroke:var(--gold); filter:drop-shadow(0 0 6px rgba(232,179,74,.7)); }

  .rs-quota-body{ display:flex; align-items:center; gap:18px; }
  .rs-ring-wrap{ position:relative; width:104px; height:104px; flex-shrink:0; }
  .rs-ring{ transform:rotate(-90deg); }
  .rs-ring-bg{ fill:none; stroke:var(--card-border); stroke-width:9; }
  .rs-ring-fg{ fill:none; stroke:var(--red-glow); stroke-width:9; stroke-linecap:round; filter:drop-shadow(0 0 6px rgba(255,0,1,.7)); transition:stroke-dashoffset .6s ease; }
  .rs-ring-mid{ position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; }
  .rs-ring-mid b{ font-size:20px; font-weight:800; color:var(--text); }
  .rs-ring-mid span{ font-size:9.5px; color:var(--text-faint); margin-top:2px; }
  .rs-quota-info{ flex:1; min-width:0; }
  .rs-quota-amount{ font-size:22px; font-weight:800; color:var(--text); }
  .rs-quota-amount small{ font-size:13px; color:var(--text-faint); font-weight:600; }
  .rs-quota-sub{ font-size:12px; color:var(--text-dim); margin-top:6px; line-height:1.6; }
  .rs-quota-sub b{ color:var(--text); }

  .rs-section-label{ font-size:12px; color:var(--text-faint); text-transform:uppercase; letter-spacing:.08em; margin:24px 0 10px; }
  .rs-stats-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .rs-stat-card{ background:var(--card); border:1px solid var(--card-border); border-radius:14px; padding:16px; }
  .rs-stat-icon{ width:30px; height:30px; border-radius:9px; display:flex; align-items:center; justify-content:center; margin-bottom:10px; }
  .rs-stat-icon svg{ width:16px; height:16px; }
  .rs-stat-icon.up{ background:rgba(46,204,113,.12); color:var(--green); }
  .rs-stat-icon.down{ background:rgba(255,0,1,.12); color:var(--red-glow); }
  .rs-stat-val{ font-size:18px; font-weight:800; color:var(--text); }
  .rs-stat-val small{ font-size:11px; color:var(--text-faint); font-weight:600; }
  .rs-stat-lbl{ font-size:11.5px; color:var(--text-dim); margin-top:4px; }

  .rs-cum-card{ background:var(--card); border:1px solid var(--card-border); border-radius:var(--radius); padding:6px 18px; }
  .rs-cum-row{ display:flex; justify-content:space-between; align-items:center; padding:14px 0; border-bottom:1px solid var(--card-border); font-size:13.5px; color:var(--text-dim); }
  .rs-cum-row:last-child{ border-bottom:none; }
  .rs-cum-row b{ color:var(--text); font-size:14px; font-weight:700; }
