
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --tnf-bg:#061324;
  --tnf-bg2:#08192d;
  --tnf-panel:#0d223d;
  --tnf-panel2:#102945;
  --tnf-blue:#246bfd;
  --tnf-teal:#19d3c5;
  --tnf-white:#f7f9fc;
  --tnf-muted:#8fa2b6;
  --tnf-border:rgba(255,255,255,.08);
  --tnf-danger:#f04455;
  --tnf-warning:#ffb347;
}
html body.tnf-member-page,
html body.tnf-member-template-body{margin:0!important;padding:0!important;background:var(--tnf-bg)!important;min-height:100vh!important}
body.tnf-member-page *,body.tnf-member-template-body *{box-sizing:border-box}
.tnf-portal{min-height:100vh;display:grid;grid-template-columns:270px minmax(0,1fr);background:var(--tnf-bg);color:var(--tnf-white);font-family:Inter,Arial,sans-serif}
.tnf-portal a{text-decoration:none}
.tnf-portal-sidebar{position:sticky;top:0;height:100vh;padding:28px 18px;background:#07172a;border-right:1px solid var(--tnf-border);display:flex;flex-direction:column;z-index:30}
body.admin-bar .tnf-portal-sidebar{top:32px;height:calc(100vh - 32px)}
.tnf-portal-brand{display:flex;align-items:center;gap:0;padding:5px 10px 30px;color:#fff}
.tnf-brand-symbol{display:block;width:210px;height:52px;background:url('tnf-logo-full.png') left center/contain no-repeat;font-size:0;line-height:0}
.tnf-brand-symbol b,.tnf-brand-symbol i,.tnf-brand-copy{display:none!important}
.tnf-portal-nav{display:grid;gap:7px}
.tnf-nav-item{appearance:none;border:1px solid transparent;background:transparent;color:#8fa3b8;display:flex;align-items:center;gap:12px;padding:12px 13px;border-radius:12px;font-family:Inter;font-weight:700;text-align:left;cursor:pointer;transition:.2s}
.tnf-nav-item:hover,.tnf-nav-item.is-active{color:#fff;background:linear-gradient(135deg,rgba(36,107,253,.20),rgba(25,211,197,.07));border-color:rgba(36,107,253,.25)}
.tnf-nav-icon{width:26px;height:26px;border-radius:8px;display:grid;place-items:center;background:rgba(255,255,255,.04);font-size:12px}
.tnf-sidebar-footer{margin-top:auto;padding:18px 12px 2px;border-top:1px solid var(--tnf-border);display:grid;gap:5px}
.tnf-sidebar-footer small{color:#6f8499}.tnf-sidebar-footer strong{font-size:13px}.tnf-sidebar-footer a{color:#77a4ff;font-size:12px;margin-top:5px}
.tnf-portal-main{min-width:0}
.tnf-portal-topbar{height:88px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid var(--tnf-border);background:rgba(6,19,36,.88);backdrop-filter:blur(14px);position:sticky;top:0;z-index:20}
body.admin-bar .tnf-portal-topbar{top:32px}
.tnf-topbar-kicker{display:block;color:var(--tnf-teal);font-size:9px;letter-spacing:.15em;font-weight:800;margin-bottom:4px}.tnf-portal-topbar h1{font-family:Sora;margin:0;font-size:23px;color:#fff}
.tnf-topbar-user{display:flex;align-items:center;gap:12px;text-align:right}.tnf-topbar-user strong{display:block;font-size:13px}.tnf-topbar-user small{display:block;color:#7990a7;font-size:11px;margin-top:3px}.tnf-avatar{width:42px;height:42px;border-radius:13px;background:linear-gradient(135deg,var(--tnf-blue),#4e8aff);display:grid;place-items:center;font-weight:800}
.tnf-mobile-menu{display:none}
.tnf-portal-content{padding:34px}
.tnf-page{display:none}.tnf-page.is-active{display:block;animation:tnfFade .24s ease}@keyframes tnfFade{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.tnf-welcome{position:relative;overflow:hidden;padding:32px;border-radius:22px;background:radial-gradient(circle at 86% 20%,rgba(36,107,253,.35),transparent 27%),linear-gradient(135deg,#0c2340,#08182b);border:1px solid var(--tnf-border);display:flex;justify-content:space-between;gap:24px;align-items:center}
.tnf-kicker{color:var(--tnf-teal);font-size:10px;font-weight:800;letter-spacing:.14em}.tnf-welcome h2,.tnf-section-intro h2{font-family:Sora;color:#fff;margin:10px 0 10px}.tnf-welcome h2{font-size:30px;max-width:760px}.tnf-welcome p,.tnf-section-intro p{color:#90a4b8;line-height:1.6;margin:0}.tnf-welcome-mark{font-family:Sora;font-weight:800;font-size:62px;color:rgba(255,255,255,.08)}
.tnf-overview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:18px}.tnf-overview-card{padding:20px;border-radius:17px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}.tnf-overview-card small{display:block;color:#7f93a8;text-transform:uppercase;font-size:9px;letter-spacing:.1em}.tnf-overview-card strong{display:block;font-family:Sora;font-size:25px;margin:9px 0 5px}.tnf-overview-card span{color:#6f8498;font-size:11px}
.tnf-dashboard-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin-top:18px}.tnf-panel{padding:22px;border-radius:18px;background:linear-gradient(145deg,rgba(16,38,66,.82),rgba(8,24,43,.94));border:1px solid var(--tnf-border)}.tnf-panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px}.tnf-panel-head small{color:#73889d;font-size:9px;letter-spacing:.1em}.tnf-panel-head h3{font-family:Sora;margin:6px 0 0;color:#fff}.tnf-panel-head button{border:0;background:transparent;color:#78a5ff;cursor:pointer;font-weight:700}
.tnf-empty-state{padding:34px 18px;text-align:center}.tnf-empty-state.large{min-height:330px;display:grid;place-content:center;border:1px dashed rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.015)}.tnf-empty-state.compact{padding:22px 8px}.tnf-empty-icon{width:52px;height:52px;border-radius:15px;display:grid;place-items:center;margin:0 auto 14px;background:rgba(36,107,253,.12);color:#77a4ff}.tnf-empty-state h3,.tnf-empty-state h4{font-family:Sora;color:#fff;margin:0 0 8px}.tnf-empty-state p{color:#7e93a8;line-height:1.55;margin:0 auto;max-width:520px}
.tnf-mini-account-list,.tnf-activity-list{display:grid;gap:10px;margin-top:18px}.tnf-mini-account,.tnf-activity-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tnf-mini-account small,.tnf-activity-row small{display:block;color:#71869b;font-size:10px;margin-bottom:4px}.tnf-mini-account strong,.tnf-activity-row strong{color:#fff}
.tnf-section-intro{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:22px}.tnf-section-intro h2{font-size:30px}
.tnf-account-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.tnf-account-card-v2{padding:24px;border-radius:20px;background:linear-gradient(145deg,rgba(16,38,66,.9),rgba(7,18,31,.97));border:1px solid var(--tnf-border)}.tnf-account-card-top{display:flex;justify-content:space-between;gap:18px}.tnf-account-card-top small{color:#7c91a7}.tnf-account-card-top h3{font-family:Sora;color:#fff;margin:6px 0 0}.tnf-balance-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:20px 0}.tnf-balance-row div{padding:15px;border-radius:14px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tnf-balance-row small,.tnf-account-rules small{display:block;color:#71869b;font-size:10px;text-transform:uppercase}.tnf-balance-row strong{display:block;font-family:Sora;font-size:21px;margin-top:7px}.tnf-progress-block>div:first-child{display:flex;justify-content:space-between;color:#91a4b8;font-size:12px}.tnf-progress{height:7px;border-radius:999px;background:rgba(255,255,255,.07);margin-top:9px;overflow:hidden}.tnf-progress i{display:block;height:100%;background:linear-gradient(90deg,var(--tnf-blue),var(--tnf-teal));border-radius:inherit}.tnf-account-rules{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:18px}.tnf-account-rules div{padding:12px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tnf-account-rules strong{display:block;color:#fff;font-size:12px;margin-top:5px}
.tnf-challenge-table-wrap{overflow:auto;border:1px solid var(--tnf-border);border-radius:18px;background:rgba(255,255,255,.015)}.tnf-portal-table{width:100%;border-collapse:collapse;min-width:840px}.tnf-portal-table th,.tnf-portal-table td{padding:16px 18px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06)}.tnf-portal-table th{color:#7d91a6;font-size:10px;text-transform:uppercase;letter-spacing:.08em;background:rgba(36,107,253,.05)}.tnf-portal-table td{color:#b8c6d3;font-size:13px}.tnf-portal-table tr:last-child td{border-bottom:0}.tnf-table-empty{text-align:center;padding:34px;color:#7d91a6}
.tnf-certificate-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.tnf-certificate-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:16px;padding:20px;border-radius:17px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}.tnf-certificate-icon{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:rgba(25,211,197,.10);color:var(--tnf-teal);font-weight:800}.tnf-certificate-card small{color:#72879b;font-size:9px}.tnf-certificate-card h3{font-family:Sora;color:#fff;margin:5px 0}.tnf-certificate-card p{margin:0;color:#8fa2b6}.tnf-certificate-card a{padding:10px 13px;border-radius:10px;background:#246bfd;color:#fff;font-weight:800;font-size:12px}
.tnf-verification-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:20px;padding:26px;border-radius:19px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}.tnf-verification-icon{width:56px;height:56px;border-radius:16px;display:grid;place-items:center;background:rgba(255,179,71,.10);color:#ffbf64}.tnf-verification-card small{color:#71869b}.tnf-verification-card h3{font-family:Sora;color:#fff;margin:7px 0}.tnf-verification-card p{color:#8498ac;margin:0}
.tnf-profile-grid{display:grid;grid-template-columns:320px 1fr;gap:18px}.tnf-profile-card,.tnf-profile-details{padding:26px;border-radius:19px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}.tnf-profile-card{text-align:center}.tnf-profile-avatar{width:78px;height:78px;border-radius:22px;display:grid;place-items:center;margin:0 auto 16px;background:linear-gradient(135deg,var(--tnf-blue),#4d8cff);font-family:Sora;font-size:28px;font-weight:800}.tnf-profile-card h3{font-family:Sora;margin:0 0 7px}.tnf-profile-card p{color:#7e92a7}.tnf-profile-details{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tnf-profile-details div{padding:15px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}.tnf-profile-details small{display:block;color:#71869b;text-transform:uppercase;font-size:9px}.tnf-profile-details strong{display:block;margin-top:6px;color:#fff}
.tnf-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;background:#33465c;color:#c7d2df}.tnf-status-paid,.tnf-status-valid,.tnf-status-active,.tnf-status-passed,.tnf-status-approved{background:rgba(25,211,197,.12);color:#19d3c5}.tnf-status-pending,.tnf-status-review{background:rgba(255,179,71,.14);color:#ffcc7a}.tnf-status-failed,.tnf-status-rejected,.tnf-status-revoked{background:rgba(240,68,85,.13);color:#ff9aaa}.tnf-status-paused{background:rgba(255,255,255,.08);color:#aab8c6}
.tnf-login-required{min-height:100vh;background:#071426;color:#fff;display:grid;place-items:center;text-align:center;padding:30px;font-family:Inter}.tnf-login-required span{color:#19d3c5;letter-spacing:.15em;font-size:10px}.tnf-login-required h2{font-family:Sora;font-size:38px;margin:10px 0}
@media(max-width:1100px){.tnf-overview-grid{grid-template-columns:repeat(2,1fr)}.tnf-dashboard-grid{grid-template-columns:1fr}.tnf-account-grid{grid-template-columns:1fr}.tnf-profile-grid{grid-template-columns:1fr}.tnf-certificate-grid{grid-template-columns:1fr}}
@media(max-width:900px){
  .tnf-portal{grid-template-columns:1fr}
  .tnf-portal-sidebar{position:fixed;left:-285px;top:0!important;width:270px;height:100vh!important;transition:.25s;box-shadow:20px 0 60px rgba(0,0,0,.35)}
  .tnf-portal.is-menu-open .tnf-portal-sidebar{left:0}
  .tnf-mobile-menu{display:grid;place-items:center;border:1px solid var(--tnf-border);background:rgba(255,255,255,.04);color:#fff;width:42px;height:42px;border-radius:12px;cursor:pointer}
  .tnf-portal-topbar{padding:0 18px}
  .tnf-portal-content{padding:22px}
  .tnf-topbar-user>div{display:none}
}
@media(max-width:782px){body.admin-bar .tnf-portal-topbar{top:46px}}
@media(max-width:650px){
  .tnf-overview-grid{grid-template-columns:1fr}
  .tnf-account-rules{grid-template-columns:repeat(2,1fr)}
  .tnf-profile-details{grid-template-columns:1fr}
  .tnf-welcome{padding:24px}.tnf-welcome h2{font-size:24px}.tnf-welcome-mark{display:none}
  .tnf-certificate-card,.tnf-verification-card{grid-template-columns:1fr;text-align:left}
}


/* Operaciones */
.tnf-trade-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px}
.tnf-trade-summary article{padding:18px;border-radius:16px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}
.tnf-trade-summary small{display:block;color:#71869b;text-transform:uppercase;font-size:9px;letter-spacing:.08em}
.tnf-trade-summary strong{display:block;font-family:Sora;font-size:24px;margin-top:8px}
.tnf-positive-text{color:#19d3c5!important}
.tnf-negative-text{color:#ff8c9c!important}
.tnf-trade-status{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800}
.tnf-trade-status.open{background:rgba(36,107,253,.14);color:#8eb4ff}
.tnf-trade-status.closed{background:rgba(25,211,197,.12);color:#19d3c5}
@media(max-width:650px){.tnf-trade-summary{grid-template-columns:1fr}}


/* v1.4.0 — Dashboard avanzado y motor de reglas */
.tnf-overview-feature{position:relative;overflow:hidden}
.tnf-mini-line{
  position:absolute;right:18px;bottom:18px;width:92px;height:34px;
  background:
    linear-gradient(155deg,transparent 46%,#246BFD 47% 50%,transparent 51%) 0 20px/24px 18px repeat-x;
  opacity:.85
}
.tnf-account-summary-table-wrap{
  overflow:auto;
  margin-bottom:18px;
  border:1px solid var(--tnf-border);
  border-radius:17px;
  background:rgba(255,255,255,.018)
}
.tnf-account-summary-table{width:100%;min-width:1100px;border-collapse:collapse}
.tnf-account-summary-table th,.tnf-account-summary-table td{
  padding:14px 15px;text-align:left;border-bottom:1px solid rgba(255,255,255,.06)
}
.tnf-account-summary-table th{
  color:#7890a7;font-size:9px;text-transform:uppercase;letter-spacing:.08em;
  background:rgba(36,107,253,.045)
}
.tnf-account-summary-table td{font-size:12px;color:#c0cbd7}
.tnf-account-summary-table tr:last-child td{border-bottom:0}
.tnf-account-detail-list{display:grid;gap:18px}
.tnf-account-detail-card{
  border:1px solid var(--tnf-border);
  border-radius:20px;
  background:linear-gradient(145deg,rgba(16,38,66,.93),rgba(7,18,31,.98));
  overflow:hidden
}
.tnf-account-detail-head{
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:18px 20px;border-bottom:1px solid var(--tnf-border)
}
.tnf-account-title{display:flex;align-items:center;gap:11px}
.tnf-account-logo{
  width:36px;height:30px;border-radius:8px;display:grid;place-items:center;
  background:linear-gradient(135deg,#246BFD,#19D3C5);color:#fff;font-family:Sora;font-weight:800;font-size:12px
}
.tnf-account-title h3{font-family:Sora;color:#fff;margin:0;font-size:16px}
.tnf-account-title span{display:block;color:#7f94a9;font-size:11px;margin-top:4px}
.tnf-rule-alert{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
  margin:16px 20px 0;padding:13px 15px;border-radius:13px;font-size:12px
}
.tnf-rule-alert strong{font-family:Sora}
.tnf-rule-alert small{margin-left:auto}
.tnf-rule-alert.danger{background:rgba(240,68,85,.10);border:1px solid rgba(240,68,85,.25);color:#ff9aaa}
.tnf-rule-alert.success{background:rgba(25,211,197,.09);border:1px solid rgba(25,211,197,.22);color:#5de6d9}
.tnf-account-detail-body{display:grid;grid-template-columns:1fr 1.08fr;gap:26px;padding:24px}
.tnf-account-equity-panel small{color:#71869b;font-size:9px;letter-spacing:.1em}
.tnf-account-equity-panel>strong{display:inline-block;font-family:Sora;font-size:30px;margin:8px 8px 0 0}
.tnf-account-equity-panel>span{font-size:11px;font-weight:800}
.tnf-chart-shell{height:145px;margin-top:16px;border-radius:14px;background:linear-gradient(180deg,rgba(36,107,253,.04),transparent);overflow:hidden}
.tnf-equity-chart{display:block;width:100%;height:100%}
.tnf-chart-placeholder{height:100%;display:flex;align-items:flex-end;gap:9px;padding:18px}
.tnf-chart-placeholder i{flex:1;border-radius:4px 4px 0 0;background:linear-gradient(180deg,rgba(36,107,253,.65),rgba(36,107,253,.08))}
.tnf-chart-placeholder i:nth-child(1){height:25%}.tnf-chart-placeholder i:nth-child(2){height:36%}.tnf-chart-placeholder i:nth-child(3){height:50%}.tnf-chart-placeholder i:nth-child(4){height:63%}.tnf-chart-placeholder i:nth-child(5){height:78%}
.tnf-rule-progress-list{display:grid;align-content:center;gap:18px}
.tnf-rule-progress>div:first-child{display:flex;justify-content:space-between;gap:15px;color:#8da1b5;font-size:11px}
.tnf-rule-progress>div:first-child strong{color:#dce6f0;font-size:11px}
.tnf-progress.risk i{background:linear-gradient(90deg,#19D3C5,#FFB347)}
.tnf-progress.days i{background:linear-gradient(90deg,#246BFD,#7ca5ff)}
.tnf-account-meta{
  display:grid;grid-template-columns:repeat(4,1fr);gap:10px;
  padding:0 20px 20px
}
.tnf-account-meta div{padding:13px;border-radius:12px;background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.06)}
.tnf-account-meta small{display:block;color:#6f8499;font-size:8px;text-transform:uppercase;letter-spacing:.08em}
.tnf-account-meta strong{display:block;color:#dbe5ef;font-size:11px;margin-top:5px}
@media(max-width:1000px){
  .tnf-account-detail-body{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tnf-account-meta{grid-template-columns:repeat(2,1fr)}
  .tnf-rule-progress>div:first-child{display:grid}
}


/* v1.5.0 — Acceso, registro y perfil dentro del plugin */
.tnf-auth-shell{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(440px,.92fr);
  background:#061324;
  color:#F7F9FC;
  font-family:Inter,Arial,sans-serif
}
.tnf-auth-visual{
  position:relative;
  overflow:hidden;
  padding:54px 7vw;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  background:
    radial-gradient(circle at 72% 22%,rgba(36,107,253,.28),transparent 28%),
    radial-gradient(circle at 18% 84%,rgba(25,211,197,.10),transparent 25%),
    linear-gradient(145deg,#071426,#0B213B)
}
.tnf-auth-visual:after{
  content:"";
  position:absolute;
  width:760px;height:280px;
  border:2px solid rgba(36,107,253,.16);
  border-radius:50%;
  right:-260px;bottom:90px;
  transform:rotate(-13deg)
}
.tnf-auth-brand{position:relative;z-index:2;display:flex;align-items:center;gap:13px}
.tnf-auth-copy{position:relative;z-index:2;max-width:680px;margin:80px 0}
.tnf-auth-copy h1{font-family:Sora;color:#fff;font-size:48px;line-height:1.08;margin:13px 0 18px}
.tnf-auth-copy p{color:#9BB0C5;font-size:17px;line-height:1.7}
.tnf-auth-feature-grid{position:relative;z-index:2;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tnf-auth-feature-grid div{padding:16px;border-radius:14px;background:rgba(255,255,255,.035);border:1px solid rgba(255,255,255,.08)}
.tnf-auth-feature-grid strong{display:block;font-family:Sora;font-size:13px}
.tnf-auth-feature-grid span{display:block;color:#8297AC;font-size:10px;margin-top:6px}
.tnf-auth-panel{padding:34px;display:grid;place-items:center;background:#071426}
.tnf-auth-card{width:min(100%,570px);padding:30px;border-radius:22px;background:linear-gradient(145deg,rgba(16,38,66,.95),rgba(8,24,43,.98));border:1px solid rgba(255,255,255,.09);box-shadow:0 28px 75px rgba(0,0,0,.32)}
.tnf-auth-tabs{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;padding:5px;border-radius:13px;background:rgba(255,255,255,.035);margin-bottom:27px}
.tnf-auth-tabs button{border:0;border-radius:9px;padding:11px;background:transparent;color:#8499AE;font-weight:800;cursor:pointer}
.tnf-auth-tabs button.is-active{background:#246BFD;color:#fff}
.tnf-auth-form{display:none}.tnf-auth-form.is-active{display:block}
.tnf-auth-form h2{font-family:Sora;color:#fff;font-size:27px;margin:9px 0}
.tnf-auth-form>p{color:#8398AD;margin:0 0 22px;line-height:1.5}
.tnf-auth-form form{display:grid;gap:14px}
.tnf-auth-form label{display:grid;gap:7px;color:#B7C5D3;font-size:11px;font-weight:700}
.tnf-auth-form input[type="text"],
.tnf-auth-form input[type="email"],
.tnf-auth-form input[type="password"]{
  width:100%;min-height:45px;border-radius:11px;border:1px solid rgba(255,255,255,.10);
  background:#081A30;color:#fff;padding:0 13px;outline:none
}
.tnf-auth-form input:focus{border-color:rgba(36,107,253,.7);box-shadow:0 0 0 3px rgba(36,107,253,.12)}
.tnf-auth-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.tnf-auth-check{display:flex!important;grid-template-columns:auto 1fr!important;align-items:flex-start;gap:9px!important;line-height:1.45}
.tnf-auth-check input{margin-top:2px}
.tnf-auth-submit,.tnf-profile-save{
  border:0;border-radius:11px;min-height:46px;padding:0 18px;background:linear-gradient(135deg,#246BFD,#3F7BFF);
  color:#fff;font-family:Sora;font-weight:800;cursor:pointer
}
.tnf-auth-link{border:0;background:transparent;color:#77A4FF;cursor:pointer;font-weight:700;margin-top:17px;padding:0}
.tnf-front-notice,.tnf-portal-notice{padding:13px 15px;border-radius:12px;margin-bottom:16px;font-size:12px}
.tnf-front-notice.success,.tnf-portal-notice.success{background:rgba(25,211,197,.10);border:1px solid rgba(25,211,197,.22);color:#57E0D3}
.tnf-front-notice.error,.tnf-portal-notice.error{background:rgba(240,68,85,.11);border:1px solid rgba(240,68,85,.24);color:#FFA0AD}
.tnf-portal-notice{position:fixed;right:22px;top:22px;z-index:100;max-width:420px;box-shadow:0 18px 50px rgba(0,0,0,.34)}
body.admin-bar .tnf-portal-notice{top:54px}
.tnf-profile-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:18px}
.tnf-profile-forms{display:grid;gap:18px}
.tnf-profile-form{padding:24px;border-radius:19px;background:linear-gradient(145deg,rgba(16,38,66,.88),rgba(8,24,43,.96));border:1px solid var(--tnf-border)}
.tnf-profile-form-head small{color:#71869B;font-size:9px;letter-spacing:.1em}
.tnf-profile-form-head h3{font-family:Sora;color:#fff;margin:6px 0 18px}
.tnf-profile-form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}
.tnf-profile-form label{display:grid;gap:7px;color:#9CB0C3;font-size:10px;font-weight:700}
.tnf-profile-form input{min-height:43px;border-radius:10px;border:1px solid rgba(255,255,255,.09);background:#081A30;color:#fff;padding:0 12px}
.tnf-profile-form input:disabled{opacity:.55}
.tnf-profile-save{margin-top:17px}
.tnf-profile-state{display:inline-flex;margin-top:8px;padding:6px 9px;border-radius:999px;background:rgba(255,179,71,.12);color:#FFCC7A;font-size:10px;font-weight:800}
@media(max-width:980px){
  .tnf-auth-shell{grid-template-columns:1fr}
  .tnf-auth-visual{min-height:440px;padding:38px 7vw}
  .tnf-auth-copy{margin:45px 0}.tnf-auth-copy h1{font-size:36px}
  .tnf-profile-layout{grid-template-columns:1fr}
}
@media(max-width:650px){
  .tnf-auth-panel{padding:16px}.tnf-auth-card{padding:22px}
  .tnf-auth-grid,.tnf-profile-form-grid,.tnf-auth-feature-grid{grid-template-columns:1fr}
  .tnf-auth-visual{min-height:auto}.tnf-auth-copy h1{font-size:30px}
}


/* ================================================================
   v1.6.0 — PREMIUM PORTAL REDESIGN
   ================================================================ */
html body.tnf-member-page,
html body.tnf-member-template-body{
  background:
    radial-gradient(circle at 50% -15%,rgba(36,107,253,.11),transparent 32%),
    #03101f!important;
}
.tnf-portal{
  width:min(100%,1510px)!important;
  min-height:calc(100vh - 54px)!important;
  margin:26px auto!important;
  grid-template-columns:250px minmax(0,1fr)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:22px!important;
  overflow:hidden!important;
  box-shadow:0 32px 90px rgba(0,0,0,.35)!important;
  background:#061426!important;
}
.tnf-portal-sidebar{
  position:relative!important;
  top:0!important;
  height:auto!important;
  min-height:calc(100vh - 54px)!important;
  padding:26px 14px 18px!important;
  background:linear-gradient(180deg,#07182c,#061426)!important;
}
.tnf-portal-brand{padding:4px 13px 28px!important}
.tnf-brand-symbol{width:190px!important;height:46px!important;background-size:contain!important}
.tnf-portal-nav{gap:5px!important}
.tnf-nav-item{
  min-height:43px!important;
  padding:10px 12px!important;
  border-radius:10px!important;
  font-size:12px!important;
}
.tnf-nav-item.is-active{
  background:linear-gradient(135deg,rgba(36,107,253,.42),rgba(36,107,253,.13))!important;
  border-color:rgba(85,143,255,.36)!important;
  box-shadow:inset 3px 0 0 #246BFD!important;
}
.tnf-nav-icon{width:24px!important;height:24px!important;background:rgba(255,255,255,.035)!important}
.tnf-sidebar-actions{display:grid;gap:9px;margin-top:22px;padding:0 1px}
.tnf-buy-challenge{
  min-height:43px;display:grid;place-items:center;border-radius:9px;
  background:#246BFD;color:#fff!important;font-family:Sora;font-size:11px;font-weight:800;
  box-shadow:0 10px 24px rgba(36,107,253,.25)
}
.tnf-support-link{padding:11px 12px;color:#8EA2B6!important;font-size:11px;font-weight:700}
.tnf-support-link span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:7px;background:rgba(255,255,255,.04);margin-right:8px}
.tnf-sidebar-footer{
  margin-top:auto!important;
  display:grid!important;
  grid-template-columns:38px 1fr!important;
  gap:10px!important;
  padding:15px 10px 0!important;
}
.tnf-sidebar-avatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;background:#102846;border:1px solid rgba(255,255,255,.10);font-size:11px;font-weight:800}
.tnf-sidebar-user-copy{min-width:0}
.tnf-sidebar-user-copy strong{display:block;font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tnf-sidebar-user-copy small{display:inline;color:#3F82FF;font-size:9px}
.tnf-sidebar-user-copy span{display:block;color:#6F8499;font-size:8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:2px}
.tnf-sidebar-logout{grid-column:1/-1;padding:9px 10px;border-radius:8px;border:1px solid rgba(255,255,255,.09);color:#9CAFBE!important;font-size:10px}
.tnf-portal-topbar{
  height:88px!important;
  padding:0 28px!important;
  position:relative!important;
  top:0!important;
  background:#07182b!important;
}
.tnf-topbar-kicker{display:none!important}
.tnf-portal-topbar h1{font-size:24px!important}
.tnf-topbar-actions{display:flex;align-items:center;gap:10px}
.tnf-demo-badge{padding:7px 10px;border-radius:999px;background:rgba(25,211,197,.09);border:1px solid rgba(25,211,197,.25);color:#19D3C5;font-size:8px;font-weight:800;letter-spacing:.08em}
.tnf-topbar-actions>a{padding:9px 13px;border-radius:9px;border:1px solid rgba(255,255,255,.10);color:#D7E1EB!important;font-size:10px;font-weight:700}
.tnf-notification-button{position:relative;width:36px;height:36px;border-radius:10px;border:1px solid rgba(255,255,255,.09);background:#0A2039;color:#AFC0D1}
.tnf-notification-button i{position:absolute;right:-4px;top:-5px;width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:#F04455;color:#fff;font-size:8px;font-style:normal}
.tnf-topbar-user{padding-left:5px}
.tnf-portal-content{padding:26px!important}
.tnf-dashboard-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}
.tnf-dashboard-heading h2{font-family:Sora;color:#fff;font-size:28px;margin:0 0 6px}
.tnf-dashboard-heading p{color:#70869C;margin:0;font-size:11px}
.tnf-dashboard-date{padding:8px 11px;border-radius:9px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.07);color:#8FA4B8;font-size:10px}
.tnf-overview-grid{gap:12px!important;margin-top:0!important}
.tnf-overview-card{
  min-height:118px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  padding:18px!important;
  border-radius:14px!important;
  background:#071A30!important;
  border-color:rgba(119,156,196,.16)!important;
}
.tnf-overview-card small{font-size:9px!important}
.tnf-overview-card strong{font-size:25px!important;margin:11px 0 7px!important}
.tnf-overview-card a{display:block;color:#4085FF!important;font-size:9px;font-weight:700}
.tnf-overview-card span{font-size:9px!important}
.tnf-card-trend{font-size:50px!important;font-weight:400!important;transform:rotate(-8deg);background:none!important}
.tnf-card-trend.blue{color:#246BFD}.tnf-card-trend.teal{color:#19D3C5}
.tnf-overview-icon{width:42px;height:42px;border-radius:11px;display:grid!important;place-items:center;background:#0B2949!important;color:#5F96FF!important;font-size:16px!important}
.tnf-dashboard-grid{grid-template-columns:1.45fr .55fr!important;gap:12px!important;margin-top:12px!important}
.tnf-dashboard-bottom-grid{display:grid;grid-template-columns:1.45fr .55fr;gap:12px;margin-top:12px}
.tnf-panel{padding:0!important;border-radius:14px!important;background:#071A30!important;overflow:hidden}
.tnf-panel-head{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.07)}
.tnf-panel-head h3{font-size:13px!important}
.tnf-panel-head button{font-size:9px!important}
.tnf-mini-account-list,.tnf-activity-list{padding:0 12px 12px;margin-top:12px!important}
.tnf-mini-account,.tnf-activity-row{min-height:48px;padding:10px 11px!important;border-radius:8px!important;background:rgba(255,255,255,.018)!important}
.tnf-recent-activity{display:grid;padding:0 12px 12px}
.tnf-recent-activity>div{display:grid;grid-template-columns:26px 1fr auto;align-items:center;gap:10px;padding:11px;border-bottom:1px solid rgba(255,255,255,.06)}
.tnf-recent-activity>div:last-child{border-bottom:0}
.tnf-recent-activity>div>span{width:24px;height:24px;border-radius:7px;display:grid;place-items:center;background:rgba(25,211,197,.12);color:#19D3C5;font-size:10px}
.tnf-recent-activity strong{display:block;font-size:10px}
.tnf-recent-activity small{display:block;color:#6E8297;font-size:8px;margin-top:3px}
.tnf-recent-activity time{color:#60768B;font-size:8px}
.tnf-kyc-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;padding:25px 16px}
.tnf-kyc-steps div{text-align:center;color:#71869B;font-size:8px}
.tnf-kyc-steps div span{width:34px;height:34px;margin:0 auto 8px;border-radius:50%;display:grid;place-items:center;border:2px solid #38516A;color:#6F859A}
.tnf-kyc-steps div.done span{border-color:#19D3C5;color:#19D3C5;background:rgba(25,211,197,.06)}
.tnf-kyc-steps small{font-size:8px}

/* Premium profile */
.tnf-profile-premium-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(330px,.8fr);gap:14px}
.tnf-profile-hero-card,.tnf-profile-side-card{
  background:#071A30!important;border:1px solid rgba(119,156,196,.16)!important;border-radius:14px!important;overflow:hidden
}
.tnf-profile-cover{height:105px;background:linear-gradient(115deg,#143D79,#067B83 56%,#071A30)}
.tnf-profile-identity{display:flex;align-items:center;gap:15px;margin-top:-36px;padding:0 24px 18px}
.tnf-profile-large-avatar{width:76px;height:76px;border-radius:50%;display:grid;place-items:center;background:#102746;border:4px solid #071A30;color:#D5E0EA;font-family:Sora;font-size:22px}
.tnf-profile-identity h3{font-family:Sora;color:#fff;font-size:20px;margin:34px 0 4px}
.tnf-profile-identity p{color:#8196AA;font-size:10px;margin:0 0 4px}
.tnf-profile-identity span{color:#19D3C5;font-size:8px}
.tnf-profile-form.premium{padding:0 24px 24px!important;background:none!important;border:0!important;border-radius:0!important}
.tnf-profile-form-grid{gap:11px!important}
.tnf-profile-form label,.tnf-password-form label{
  color:#7890A6!important;font-size:9px!important;font-weight:700!important
}
.tnf-profile-form input,.tnf-password-form input{
  width:100%!important;
  min-height:43px!important;
  padding:0 12px!important;
  border:1px solid rgba(119,156,196,.17)!important;
  border-radius:9px!important;
  background:#081E36!important;
  color:#E6EDF4!important;
  box-shadow:none!important;
  outline:none!important
}
.tnf-profile-form input:focus,.tnf-password-form input:focus{border-color:#246BFD!important;box-shadow:0 0 0 3px rgba(36,107,253,.12)!important}
.tnf-profile-form input:disabled{background:#102338!important;color:#71869B!important}
.tnf-profile-save{
  min-height:41px!important;padding:0 16px!important;margin-top:14px!important;
  border:0!important;border-radius:9px!important;background:#246BFD!important;color:#fff!important;
  font-size:10px!important;font-family:Sora!important;font-weight:800!important
}
.tnf-profile-side-column{display:grid;gap:14px;align-content:start}
.tnf-profile-side-head{padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.07)}
.tnf-profile-side-head h3{font-family:Sora;color:#fff;font-size:12px;margin:0;text-transform:uppercase}
.tnf-setting-list{display:grid}
.tnf-setting-list>div{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 16px;border-bottom:1px solid rgba(255,255,255,.06)}
.tnf-setting-list>div:last-child{border-bottom:0}
.tnf-setting-list strong{display:block;color:#C9D5E0;font-size:10px}
.tnf-setting-list small{display:block;color:#647A90;font-size:8px;margin-top:4px}
.tnf-setting-list b{color:#19D3C5;font-size:8px;font-weight:700}
.tnf-password-form{display:grid;gap:11px;padding:16px}
.tnf-password-form label{display:grid;gap:6px}

@media(max-width:1500px){
  .tnf-portal{margin:0 auto!important;border-radius:0!important;min-height:100vh!important}
  .tnf-portal-sidebar{min-height:100vh!important}
}
@media(max-width:1100px){
  .tnf-profile-premium-grid{grid-template-columns:1fr}
  .tnf-dashboard-bottom-grid{grid-template-columns:1fr}
}
@media(max-width:900px){
  .tnf-portal{display:block!important}
  .tnf-portal-sidebar{position:fixed!important;left:-270px!important;width:250px!important;z-index:100!important}
  .tnf-portal.is-menu-open .tnf-portal-sidebar{left:0!important}
  .tnf-dashboard-grid{grid-template-columns:1fr!important}
}
@media(max-width:700px){
  .tnf-topbar-actions>a,.tnf-demo-badge,.tnf-topbar-user>div{display:none!important}
  .tnf-overview-grid{grid-template-columns:1fr!important}
  .tnf-profile-form-grid{grid-template-columns:1fr!important}
  .tnf-portal-content{padding:17px!important}
}


/* v1.6.1 emergency visual reset */
body.tnf-member-page,
body.tnf-member-template-body{
  background:#03101f!important;
  color:#f7f9fc!important;
}
body.tnf-member-page .tnf-portal,
body.tnf-member-template-body .tnf-portal{
  display:grid!important;
  grid-template-columns:250px minmax(0,1fr)!important;
  width:min(100%,1510px)!important;
  max-width:1510px!important;
  min-height:calc(100vh - 54px)!important;
  margin:26px auto!important;
  padding:0!important;
  border:1px solid rgba(255,255,255,.10)!important;
  border-radius:22px!important;
  overflow:hidden!important;
  background:#061426!important;
}
body.tnf-member-page .tnf-portal-sidebar,
body.tnf-member-template-body .tnf-portal-sidebar{
  position:relative!important;
  left:auto!important;
  top:0!important;
  width:auto!important;
  height:auto!important;
  min-height:calc(100vh - 54px)!important;
  display:flex!important;
  flex-direction:column!important;
}
body.tnf-member-page .tnf-portal-main,
body.tnf-member-template-body .tnf-portal-main{
  min-width:0!important;
  width:100%!important;
  background:#061426!important;
}
body.tnf-member-page .tnf-portal-content,
body.tnf-member-template-body .tnf-portal-content{
  width:100%!important;
  max-width:none!important;
  padding:26px!important;
}
body.tnf-member-page .tnf-overview-grid,
body.tnf-member-template-body .tnf-overview-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.tnf-member-page .tnf-dashboard-grid,
body.tnf-member-template-body .tnf-dashboard-grid{
  display:grid!important;
  grid-template-columns:1.45fr .55fr!important;
}
body.tnf-member-page .tnf-dashboard-bottom-grid,
body.tnf-member-template-body .tnf-dashboard-bottom-grid{
  display:grid!important;
  grid-template-columns:1.45fr .55fr!important;
}
body.tnf-member-page .tnf-profile-premium-grid,
body.tnf-member-template-body .tnf-profile-premium-grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.7fr) minmax(330px,.8fr)!important;
}
body.tnf-member-page .tnf-profile-form-grid,
body.tnf-member-template-body .tnf-profile-form-grid{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body.tnf-member-page input,
body.tnf-member-template-body input,
body.tnf-member-page select,
body.tnf-member-template-body select,
body.tnf-member-page textarea,
body.tnf-member-template-body textarea{
  box-sizing:border-box!important;
  max-width:100%!important;
}
@media(max-width:1100px){
  body.tnf-member-page .tnf-overview-grid,
  body.tnf-member-template-body .tnf-overview-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.tnf-member-page .tnf-profile-premium-grid,
  body.tnf-member-template-body .tnf-profile-premium-grid{grid-template-columns:1fr!important}
}
@media(max-width:900px){
  body.tnf-member-page .tnf-portal,
  body.tnf-member-template-body .tnf-portal{
    display:block!important;
    margin:0!important;
    border-radius:0!important;
    min-height:100vh!important;
  }
  body.tnf-member-page .tnf-portal-sidebar,
  body.tnf-member-template-body .tnf-portal-sidebar{
    position:fixed!important;
    left:-270px!important;
    width:250px!important;
    z-index:100!important;
  }
  body.tnf-member-page .tnf-portal.is-menu-open .tnf-portal-sidebar,
  body.tnf-member-template-body .tnf-portal.is-menu-open .tnf-portal-sidebar{
    left:0!important;
  }
  body.tnf-member-page .tnf-dashboard-grid,
  body.tnf-member-template-body .tnf-dashboard-grid,
  body.tnf-member-page .tnf-dashboard-bottom-grid,
  body.tnf-member-template-body .tnf-dashboard-bottom-grid{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:700px){
  body.tnf-member-page .tnf-overview-grid,
  body.tnf-member-template-body .tnf-overview-grid,
  body.tnf-member-page .tnf-profile-form-grid,
  body.tnf-member-template-body .tnf-profile-form-grid{
    grid-template-columns:1fr!important;
  }
}


/* ================================================================
   v1.7.0 — Visual match for Dashboard + Accounts pages
   ================================================================ */
.tnf-section-intro.no-margin-bottom{margin-bottom:14px!important}
.tnf-accounts-summary-strip{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:18px 16px;margin-bottom:14px;border-radius:14px;
  border:1px solid rgba(119,156,196,.16);background:#071A30;
}
.tnf-accounts-summary-strip strong{display:block;color:#fff;font-family:Sora;font-size:18px}
.tnf-accounts-summary-strip span{display:block;color:#73889d;font-size:11px;margin-top:5px}
.tnf-summary-cta{
  display:inline-grid;place-items:center;min-height:38px;padding:0 18px;border-radius:9px;
  background:#246BFD;color:#fff!important;font-family:Sora;font-size:11px;font-weight:800;
  box-shadow:0 12px 24px rgba(36,107,253,.18)
}
.tnf-account-summary-table-wrap{
  overflow:hidden!important;background:#071A30!important;border:1px solid rgba(119,156,196,.16)!important;
  border-radius:14px!important;margin-bottom:14px!important
}
.tnf-summary-table-head{
  padding:16px 16px 12px;color:#fff;font-family:Sora;font-size:12px;letter-spacing:.02em
}
.tnf-summary-table-scroll{overflow:auto}
.tnf-account-summary-table{min-width:1180px}
.tnf-account-summary-table th{font-size:10px!important;background:rgba(255,255,255,.01)!important;color:#7d91a6!important}
.tnf-account-summary-table td{font-size:12px!important}
.tnf-account-summary-table td .tnf-status{transform:translateY(-1px)}
.tnf-inline-size{display:inline-block;margin-left:8px;color:#fff;font-size:12px;font-weight:600}
.tnf-account-detail-card{border-radius:16px!important;background:#071A30!important;border-color:rgba(119,156,196,.16)!important}
.tnf-account-detail-head{padding:18px 18px 14px!important}
.tnf-account-title h3{font-size:14px!important}
.tnf-account-title span{font-size:10px!important;color:#97a9bb!important}
.tnf-account-logo{background:#fff!important;color:#246BFD!important;border-radius:4px!important}
.tnf-account-equity-panel>strong{font-size:22px!important}
.tnf-account-equity-panel>span{font-size:12px!important}
.tnf-rule-progress>div:first-child span{color:#dbe5ef!important}
.tnf-rule-progress>div:first-child strong{font-weight:700!important}
.tnf-account-meta strong{font-size:12px!important}
@media(max-width:780px){
  .tnf-accounts-summary-strip{flex-direction:column;align-items:flex-start}
  .tnf-summary-cta{width:100%}
}

/* v2.0.0 — Phase requests and operations by account */
.tnf-request-button{border:0;border-radius:9px;background:#246BFD;color:#fff;padding:9px 12px;font-size:10px;font-weight:800;cursor:pointer;white-space:nowrap}
.tnf-request-button:hover{filter:brightness(1.08)}
.tnf-request-pending{display:inline-flex;padding:7px 9px;border-radius:999px;background:rgba(255,179,71,.10);border:1px solid rgba(255,179,71,.25);color:#ffc56d;font-size:9px;font-weight:800;white-space:nowrap}
.tnf-muted-action{color:#64798e}
.tnf-inline-request-form{margin:0}
.tnf-account-trade-filter{display:grid;gap:7px;color:#8fa2b6;font-size:10px;font-weight:800;min-width:310px}
.tnf-account-trade-filter select{min-height:43px;border-radius:10px;border:1px solid rgba(255,255,255,.10);background:#081a30;color:#fff;padding:0 12px}
.tnf-account-trades-panel{margin-bottom:18px;padding:20px;border-radius:18px;background:linear-gradient(145deg,rgba(16,38,66,.82),rgba(8,24,43,.94));border:1px solid var(--tnf-border)}
.tnf-account-trades-panel[hidden]{display:none!important}
.tnf-account-trades-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:14px}
.tnf-account-trades-head small{color:#19D3C5;font-size:9px;letter-spacing:.12em;font-weight:800}
.tnf-account-trades-head h3{font-family:Sora;margin:6px 0 3px;color:#fff;font-size:20px}
.tnf-account-trades-head p{margin:0;color:#7f93a8;font-size:11px}
.tnf-account-trades-panel .tnf-trade-summary{grid-template-columns:repeat(4,1fr);margin-bottom:14px}
@media(max-width:900px){.tnf-account-trade-filter{min-width:0;width:100%}.tnf-section-intro{align-items:stretch;flex-direction:column}.tnf-account-trades-panel .tnf-trade-summary{grid-template-columns:repeat(2,1fr)}}

/* v2.1.0 WooCommerce purchase area */
.tnf-buy-challenge{border:0;cursor:pointer;width:100%}
.tnf-shop-group{margin:0 0 28px}.tnf-shop-group>h3{font-family:Sora;color:#fff;font-size:20px;margin:0 0 14px}
.tnf-shop-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tnf-shop-card{padding:22px;border-radius:18px;background:linear-gradient(145deg,rgba(16,38,66,.92),rgba(8,24,43,.98));border:1px solid rgba(255,255,255,.09);text-align:center}
.tnf-shop-card small{color:#8fa2b6;font-size:9px;letter-spacing:.14em}.tnf-shop-card h4{font-family:Sora;font-size:29px;color:#fff;margin:9px 0}.tnf-shop-card>strong{display:block;color:#19d3c5;font-family:Sora;font-size:22px;margin-bottom:10px}.tnf-shop-card>span{display:block;color:#9cb0c3;font-size:12px;margin-bottom:18px}.tnf-shop-card button{width:100%;min-height:43px;border:0;border-radius:10px;background:#246bfd;color:#fff;font-weight:800;cursor:pointer}
@media(max-width:1100px){.tnf-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:650px){.tnf-shop-grid{grid-template-columns:1fr}}
