/* TikFlick dark theme.
   Layout of this file:
     1. Legacy base + page rules (shell, forms, auth, packages, team, profile...)
     2. Dark-theme overrides of those base rules
     3. Components rebuilt in the refinement pass (each owns its rules, no stacked overrides):
        APP CHROME, DASHBOARD, WALLET, WATCH & EARN, MOBILE
*/
@import url('/vendor/gf/644609c8c2.css');
:root{--ink:#eef7ff;--muted:#a8b6ca;--line:#28384d;--surface:#121e31;--canvas:#07111e;--mint:#47e1eb;--green:#12253a;--orange:#fb639c}
*{box-sizing:border-box}
body{font-family:'DM Sans',sans-serif!important;background:var(--canvas)!important;color:var(--ink)!important}
h1,h2,h3,h4{font-family:'Space Grotesk',sans-serif;letter-spacing:-.04em}
a{text-decoration:none!important}
button,a,input,select{transition:.2s ease}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #a8d94b;outline-offset:2px}
.tf-shell{min-height:100vh;display:grid;grid-template-columns:256px 1fr}
.tf-sidebar{background:#0b1829;color:#121e31;padding:34px 18px;display:flex;flex-direction:column;min-height:100vh}
.tf-brand{display:flex;align-items:center;gap:12px;color:#121e31!important;font:700 25px 'Space Grotesk',sans-serif;padding:0 15px 60px}
.tf-brand small{display:block;font:700 9px 'DM Sans',sans-serif;letter-spacing:.2em;color:#a7b9cd}
.tf-accent{color:var(--mint)}
.tf-nav-label{font-size:10px;letter-spacing:.2em;color:#829ab4;padding:0 15px 14px}
.tf-nav a{display:flex;gap:15px;align-items:center;padding:13px 16px;margin-bottom:5px;color:#a7b9cd;border-radius:11px;font-weight:600}
.tf-nav a span{font-size:22px;width:25px;text-align:center}
.tf-nav a:hover,.tf-nav a.active{background:#1c3047;color:#121e31}
.tf-sidebar-bottom{margin-top:auto}
.tf-support{background:#14243a;padding:22px;border-radius:17px;margin:20px 0}
.tf-support-icon{color:var(--mint);font-size:24px}
.tf-support strong{display:block;margin-top:8px}
.tf-support p{color:#a7b9cd;font-size:12px;line-height:1.5;margin:5px 0 16px}
.tf-support a{color:var(--mint);font-size:12px;font-weight:700}
.tf-nav-profile{border-top:1px solid #416052;padding:20px 4px 0;display:flex;align-items:center;gap:11px;color:#121e31!important}
.tf-nav-profile strong,.tf-nav-profile small{display:block}
.tf-nav-profile small{font-size:11px;color:#a6c0b3}
.tf-nav-profile>span:last-child{margin-left:auto}
.tf-avatar{flex:none;background:#d7f4a1;color:#31503d;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;font-weight:700}
.tf-main{min-width:0;display:flex;flex-direction:column}
.tf-topbar{height:77px;background:#121e31;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 5%;gap:15px}
.tf-top-label{font-size:13px;color:var(--muted)}
.tf-online{color:#64bd7b;padding-left:8px}
.tf-top-actions{display:flex;align-items:center;gap:18px}
.tf-logout{border:1px solid var(--line);background:#121e31;padding:10px 15px;border-radius:9px;font-size:12px;font-weight:700;color:var(--ink)}
.tf-content{width:100%;max-width:1270px;margin:auto;padding:46px 5% 75px;flex:1}
.tf-footer{padding:25px 5%;border-top:1px solid var(--line);display:flex;justify-content:space-between;color:#9aa8a0;font-size:12px}
.tf-eyebrow{font-size:11px;font-weight:700;letter-spacing:.19em;color:#51dce9}
.tf-page-head{margin-bottom:30px}
.tf-page-head h1{font-size:clamp(36px,5vw,54px);font-weight:700;margin:9px 0}
.tf-page-head p,.tf-muted{color:var(--muted);margin:0}
.tf-dot{color:#fb639c}
.tf-hero{background:#14253e;color:#121e31;min-height:310px;padding:50px;display:flex;justify-content:space-between;overflow:hidden;position:relative;border-radius:24px}
.tf-hero>div:first-child{z-index:1}
.tf-hero-kicker{font-size:11px;color:var(--mint);letter-spacing:.18em;font-weight:700}
.tf-hero h2{font-size:clamp(34px,4vw,54px);line-height:1.1;margin:15px 0}
.tf-hero em{color:var(--mint);font-style:normal}
.tf-hero p{color:#b8d0c3;max-width:380px;margin-bottom:25px}
.tf-btn{display:inline-flex;align-items:center;justify-content:center;gap:18px;border:0;border-radius:10px;padding:13px 20px;font-weight:700;font-size:13px;cursor:pointer}
.tf-btn:hover{transform:translateY(-2px)}
.tf-btn-light{background:var(--mint);color:#0b1829!important}
.tf-btn-primary{background:#147789;color:#121e31!important}
.tf-btn-secondary{background:#1a2b40;color:#47e1eb!important}
.tf-hero-graphic{width:300px;position:relative;flex:none}
.tf-ring{position:absolute;border:1px solid #83ab7b;border-radius:50%;width:300px;height:300px;top:-42px;right:-10px}
.tf-ring-two{width:215px;height:215px;top:0;right:32px}
.tf-hero-star{position:absolute;font-size:120px;color:var(--mint);top:8px;right:105px}
.tf-floating-card{position:absolute;right:-10px;bottom:0;background:#121e31;color:#147789;border-radius:15px;padding:15px 22px;font-size:24px;transform:rotate(9deg)}
.tf-floating-card small{font-size:10px;display:block;letter-spacing:.13em}
.tf-section-title{display:flex;align-items:end;justify-content:space-between;margin:44px 0 20px}
.tf-section-title h2{font-size:25px;margin:5px 0 0}
.tf-section-title .tf-muted{font-size:12px}
.tf-shortcut-grid,.tf-package-grid,.tf-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tf-shortcut,.tf-package-card,.tf-metric,.tf-form-panel,.tf-detail-grid>div{background:#121e31;border:1px solid var(--line);border-radius:17px}
.tf-shortcut{padding:23px;min-height:200px;color:var(--ink)!important;display:flex;flex-direction:column}
.tf-shortcut:hover,.tf-package-card:hover{border-color:#8ebc7b;box-shadow:0 12px 30px #1d49331c;transform:translateY(-3px)}
.tf-shortcut-icon{font-size:25px;width:47px;height:47px;border-radius:13px;display:grid;place-items:center}
.coral{background:#452a45;color:#e76b4c}
.mint{background:#153849;color:#558a39}
.violet{background:#302849;color:#8468bf}
.yellow{background:#eef7ff;color:#bd8832}
.tf-shortcut small{font-size:10px;color:#8a9b90;letter-spacing:.14em;font-weight:700;margin-top:21px}
.tf-shortcut strong{font:700 18px 'Space Grotesk',sans-serif;margin-top:4px}
.tf-shortcut>span:last-child{font-size:12px;color:var(--muted);margin-top:auto;display:flex;justify-content:space-between}
.tf-shortcut b{color:var(--green)}
.tf-banner,.tf-team-banner,.tf-profile-header{display:flex;align-items:center;gap:20px;background:#121e31;border:1px solid var(--line);border-radius:17px;padding:24px;margin-top:20px}
.tf-banner-icon{font-size:32px;color:#47e1eb}
.tf-banner strong,.tf-team-banner strong{font:700 18px 'Space Grotesk',sans-serif}
.tf-banner p,.tf-team-banner p,.tf-profile-header p{color:var(--muted);font-size:13px;margin:4px 0 0}
.tf-banner .tf-btn,.tf-team-banner .tf-btn{margin-left:auto}
.tf-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.tf-package-card{text-align:left;padding:25px;cursor:pointer;color:var(--ink);display:flex;flex-direction:column;min-height:270px}
.tf-plan-index{letter-spacing:.15em;color:var(--muted);font-size:10px;font-weight:700}
.tf-plan-icon{font-size:30px;color:#47e1eb;margin:15px 0}
.tf-package-card strong{font:700 22px 'Space Grotesk',sans-serif}
.tf-plan-price{font:700 27px 'Space Grotesk',sans-serif;margin:8px 0}
.tf-plan-price small{font-size:14px}
.tf-plan-description{color:var(--muted);font-size:12px;line-height:1.5;flex:1}
.tf-plan-action{border-top:1px solid var(--line);margin-top:22px;padding-top:17px;font-weight:700;font-size:13px;display:flex;justify-content:space-between}
.tf-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}
.tf-metric{padding:25px;min-height:145px}
.tf-metric-primary{background:#147789;color:#121e31}
.tf-metric>span{font-size:10px;font-weight:700;letter-spacing:.13em;color:#8da699}
.tf-metric strong{display:block;font:700 26px 'Space Grotesk',sans-serif;margin:20px 0 5px}
.tf-metric small{font-size:11px;color:var(--muted)}
.tf-metric-primary small{color:#acc7b8}
.tf-table-wrap{background:#121e31;border:1px solid var(--line);border-radius:16px;overflow-x:auto}
.tf-table{width:100%;border-collapse:collapse;text-align:left;min-width:500px}
.tf-table th{font-size:10px;color:#91a197;letter-spacing:.15em;background:#111d2f;padding:19px 25px}
.tf-table td{padding:20px 25px;border-top:1px solid var(--line);font-size:13px}
.tf-empty{text-align:center;color:var(--muted)}
.tf-table td.tf-empty{padding:32px 16px}
.tf-badge{display:inline-block;padding:7px 10px;border-radius:7px;font-size:11px;font-weight:700}
.tf-badge.approved{background:#e8f5df;color:#4d8154}
.tf-badge.pending{background:#a8b6ca;color:#a27b2c}
.tf-badge.rejected{background:#ffebea;color:#ba5b54}
.tf-member{display:flex;align-items:center;gap:10px}
.tf-member .tf-avatar{width:32px;height:32px}
.tf-form-panel{max-width:650px;padding:35px}
.tf-panel-heading{display:flex;gap:17px;align-items:center;margin-bottom:22px}
.tf-panel-heading h2{margin:0;font-size:22px}
.tf-panel-heading p{color:var(--muted);margin:4px 0 0;font-size:13px}
.tf-form{display:flex;flex-direction:column;gap:10px}
.tf-form label{font-size:12px;font-weight:700;margin-top:10px}
.tf-form input:not([type=checkbox]),.tf-form select{width:100%;border:1px solid #dce5df!important;background:#121e31!important;color:var(--ink)!important;border-radius:10px!important;padding:12px 14px!important;font-size:14px!important;min-height:47px}
.tf-form input:not([type=checkbox]):focus,.tf-form select:focus{border-color:#7ba865!important;box-shadow:0 0 0 3px #bbde9c66!important}
.tf-form .tf-btn{margin-top:15px}
.tf-btn-wide{width:100%}
.tf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.tf-form-grid>div{display:flex;flex-direction:column;gap:9px}
.tf-back{display:block;color:#51dce9!important;font-size:13px;margin-bottom:20px}
.tf-alert{padding:12px 16px;border-radius:10px;background:#e8f5df;color:#3d7546;margin:15px 0}
.tf-alert-error,.tf-error{color:#ae544b!important;background:#ffefeb}
.tf-error{font-size:12px;padding:7px}
.tf-profile-header{margin-top:0}
.tf-profile-photo{width:80px;height:80px;flex:none;border-radius:18px;background:#d9edc3;display:grid;place-items:center;font:700 30px 'Space Grotesk';overflow:hidden}
.tf-profile-photo img{width:100%;height:100%;object-fit:cover}
.tf-profile-header h2{font-size:24px;margin:0}
.tf-profile-header .tf-badge{margin-top:9px}
.tf-profile-header form{margin-left:auto}
.tf-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}
.tf-detail-grid>div{padding:22px}
.tf-detail-grid small{display:block;color:#91a197;letter-spacing:.12em;font-size:10px;margin-bottom:12px}
.tf-detail-grid strong{overflow-wrap:anywhere}
.tf-status-wrap{text-align:center;max-width:750px;background:#121e31;border:1px solid var(--line);border-radius:25px;padding:65px 40px;margin:20px auto}
.tf-status-icon{width:70px;height:70px;background:#eaf5de;display:grid;place-items:center;border-radius:20px;font-size:31px;margin:0 auto 22px}
.tf-status-wrap h1{font-size:48px;margin:10px 0}
.tf-status-wrap p{color:var(--muted)}
.tf-status-line{display:flex;justify-content:space-between;gap:10px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:20px 0;margin:35px 0;color:#729279;font-size:12px}
.tf-modal[hidden]{display:none}
.tf-modal{position:fixed;z-index:40;inset:0;display:grid;place-items:center;padding:16px}
.tf-modal-backdrop{position:absolute;inset:0;background:#0b1e19b3}
.tf-modal-panel{position:relative;background:#121e31;border-radius:21px;padding:35px;width:min(100%,520px);max-height:90vh;overflow:auto}
.tf-modal-panel h2{font-size:27px;margin:10px 0}
.tf-close{position:absolute;right:20px;top:14px;background:none;border:0;font-size:30px;cursor:pointer}
.tf-payment-detail{background:#f5f8f2;border-radius:12px;padding:16px;margin:20px 0}
.tf-payment-detail span{display:flex;justify-content:space-between;gap:20px;padding:7px 0;color:var(--muted);font-size:13px}
.tf-payment-detail strong{color:var(--ink)}
.tf-modal-open{overflow:hidden}
.tf-guest{background:#121e31!important}
.tf-auth-layout{min-height:100vh;display:grid;grid-template-columns:48% 52%}
.tf-auth-story{background:#14253e;color:#121e31;padding:40px 8%;display:flex;flex-direction:column;overflow:hidden}
.tf-auth-story .tf-brand{padding:0}
.tf-story-content{margin:auto 0;position:relative}
.tf-story-content h1{font-size:clamp(43px,5vw,70px);line-height:1.05;margin:18px 0}
.tf-story-content h1 em{font-style:normal;color:var(--mint)}
.tf-story-content p{color:#c7d9ce;max-width:410px}
.tf-story-art{height:180px;position:relative;margin-top:35px}
.tf-orbit{font-size:160px;color:var(--mint);line-height:1}
.tf-art-card{position:absolute;left:140px;top:20px;background:#121e31;color:#14253e;border-radius:17px;transform:rotate(10deg);padding:18px 25px;font-size:25px;box-shadow:0 20px 30px #0b261a55}
.tf-art-card small,.tf-art-card strong{display:block;font-size:11px}
.tf-art-card strong{font-size:18px}
.tf-story-foot{font-size:11px;color:#98b9a8}
.tf-auth-side{display:grid;place-items:center;padding:35px}
.tf-auth-card{width:min(100%,440px)}
.tf-auth-logo{margin-bottom:28px}
.tf-auth-wordmark{color:var(--green)!important;font:700 25px 'Space Grotesk',sans-serif}
.tf-auth-title{font-size:35px;margin:8px 0}
.tf-auth-card>.tf-muted{font-size:14px;margin-bottom:26px}
.tf-form-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;margin:8px 0}
.tf-form-row a,.tf-auth-switch a{color:#367e55!important;font-weight:700}
.tf-checkbox{display:flex;align-items:center;gap:7px!important;margin:0!important}
.tf-checkbox input{width:auto;min-height:0}
.tf-auth-switch{text-align:center;font-size:13px;color:var(--muted);margin-top:25px}
@media(max-width:1050px){
  .tf-shortcut-grid,.tf-metrics{grid-template-columns:repeat(2,1fr)}
  .tf-package-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .tf-shell{display:block}
  .tf-sidebar{display:none}
  .tf-top-label{display:none}
  .tf-topbar{height:65px;padding:0 20px}
  .tf-content{padding:30px 18px 100px}
  .tf-footer{display:none}
  .tf-hero{padding:30px;min-height:310px}
  .tf-hero-graphic{display:none}
  .tf-shortcut-grid,.tf-metrics,.tf-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tf-banner,.tf-team-banner{align-items:flex-start;flex-direction:column}
  .tf-banner .tf-btn,.tf-team-banner .tf-btn{margin-left:0}
  .tf-auth-layout{display:block}
  .tf-auth-story{min-height:180px;padding:28px}
  .tf-story-content,.tf-story-foot{display:none}
  .tf-auth-side{padding:35px 22px}
  .tf-auth-logo{display:none}
}
@media(max-width:480px){
  .tf-shortcut-grid,.tf-metrics,.tf-package-grid,.tf-detail-grid,.tf-form-grid{grid-template-columns:1fr}
  .tf-shortcut{min-height:165px}
  .tf-page-head h1{font-size:38px}
  .tf-status-line{flex-direction:column}
  .tf-profile-header{flex-wrap:wrap}
  .tf-profile-header form{margin-left:0;width:100%}
  .tf-section-title .tf-muted{display:none}
  .tf-top-actions{gap:8px}
  .tf-logout{padding:8px}
  .tf-form-panel{padding:22px}
}
.tf-guest .tf-auth-card .tf-form ul{color:#b75149}
:root{color-scheme:dark;--cyan:#47e1eb;--pink:#fb639c;--purple:#9b77fa;--bg:#07111e;--panel:#121e31;--panel2:#17243a;--stroke:#28384d;--text:#eef7ff;--sub:#a8b6ca}
html{scroll-behavior:smooth}
body,.tf-body{background:var(--bg)!important;color:var(--text)!important}
a{color:inherit}
a:hover{color:var(--cyan)}
.tf-shell{background:radial-gradient(circle at 65% -25%,#162c47 0,transparent 55%),var(--bg)}
.tf-sidebar{background:#0c1728;border-right:1px solid var(--stroke)}
.tf-brand,.tf-nav-profile{color:var(--text)!important}
.tf-nav a:hover,.tf-nav a.active{background:#17334c;color:#f5fcff;box-shadow:inset 3px 0 var(--cyan)}
.tf-topbar{background:#0d1929;border-bottom-color:var(--stroke)}
.tf-logout{background:#17263b;border-color:var(--stroke);color:var(--text)}
.tf-content{max-width:1390px}
.tf-page-head h1{font-size:clamp(30px,4vw,46px);line-height:1.12}
.tf-page-head{margin-bottom:24px}
.tf-eyebrow{color:var(--cyan)}
.tf-dot,.tf-accent{color:var(--cyan)}
.tf-hero{background:radial-gradient(circle at 80% 45%,#21446b,transparent 43%),linear-gradient(125deg,#142943,#172038);border:1px solid #35516d;min-height:250px;padding:34px 38px}
.tf-hero h2{font-size:clamp(29px,3vw,42px);margin:10px 0}
.tf-hero em{color:var(--cyan)}
.tf-hero p{color:var(--sub)}
.tf-btn-light,.tf-btn-primary{background:linear-gradient(115deg,#26bed2,#8389f4);color:#07111e!important;box-shadow:0 8px 22px #18b7cd25}
.tf-btn-secondary{background:#1b2b42;color:var(--text)!important;border:1px solid #334b67}
.tf-btn:hover,.tf-shortcut:hover,.tf-package-card:hover{filter:brightness(1.1)}
.tf-shortcut,.tf-package-card,.tf-metric,.tf-form-panel,.tf-detail-grid>div,.tf-banner,.tf-team-banner,.tf-profile-header,.tf-table-wrap,.tf-status-wrap,.tf-modal-panel{background:var(--panel);border-color:var(--stroke);color:var(--text)}
.tf-shortcut:hover,.tf-package-card:hover{border-color:#4ac3d7;box-shadow:0 8px 30px #1ca5c31a}
.tf-shortcut{min-height:146px;padding:18px}
.tf-shortcut small{margin-top:10px}
.tf-shortcut strong{font-size:16px}
.tf-shortcut>span:last-child{font-size:12px}
.tf-shortcut-icon{width:42px;height:42px;font-size:20px}
.tf-shortcut .tf-shortcut-icon i{font-size:19px}
.tf-shortcut-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.tf-metric-primary,.tf-wallet-hero{background:radial-gradient(circle at 95% 0%,#1f6686,transparent 40%),linear-gradient(120deg,#133c59,#18253d);border-color:#36667d}
.tf-metric strong{font-size:23px}
.tf-metric>span,.tf-detail-grid small{color:#b4c5da}
.tf-metric small,.tf-table td,.tf-package-card,.tf-plan-description,.tf-detail-grid strong{color:var(--text)}
.tf-table th{background:#17243a;color:#aebfd4}
.tf-table td{border-color:var(--stroke)}
.tf-badge.approved{background:#143a40;color:#65e4d3}
.tf-badge.pending{background:#3b3043;color:#ffc477}
.tf-badge.rejected{background:#42263b;color:#ffa2b5}
.tf-form input:not([type=checkbox]),.tf-form select,.tf-auth-card input:not([type=checkbox]),.tf-auth-card select{background:#0c192a!important;color:#eef7ff!important;border:1px solid #354961!important}
.tf-form input:not([type=checkbox])::placeholder,.tf-auth-card input:not([type=checkbox])::placeholder{color:#8293ac}
.tf-form input:not([type=checkbox]):focus,.tf-form select:focus{border-color:var(--cyan)!important;box-shadow:0 0 0 3px #47e1eb25!important}
.tf-payment-detail{background:#0e1b2d}
.tf-payment-detail strong{color:var(--text)}
.tf-modal-backdrop{background:#020812c9}
.tf-modal-panel{box-shadow:0 25px 90px #0009}
.tf-guest{background:#07111e!important}
.tf-auth-layout{grid-template-columns:48% 52%;background:#07111e}
.tf-auth-story{background:radial-gradient(circle at 70% 68%,#2c2762,transparent 35%),radial-gradient(circle at 18% 10%,#15435b,transparent 45%),#0b1729}
.tf-auth-side{background:#0a1424}
.tf-auth-card{max-width:470px;background:#111f33;border:1px solid #2d4059;border-radius:22px;padding:38px;box-shadow:0 25px 80px #0005}
.tf-auth-wordmark{color:var(--text)!important}
.tf-auth-card .tf-muted{color:var(--sub)}
.tf-story-content h1 em{background:linear-gradient(90deg,var(--cyan),var(--pink));background-clip:text;color:transparent}
.tf-story-art{opacity:.65}
.tf-orbit{color:var(--purple)}
.tf-art-card{background:#1f3150;color:var(--text);border:1px solid #4c6181}
.tf-form-row a,.tf-auth-switch a{color:var(--cyan)!important}
.tf-auth-card a{color:var(--cyan)}
.tf-auth-card h2{color:var(--text)}
.tf-status-icon,.tf-profile-photo{background:#143c53;color:var(--cyan)}
.tf-status-line{color:var(--sub)}
.tf-back{color:var(--cyan)!important}
.tf-summary{display:flex;align-items:center;gap:16px;background:linear-gradient(115deg,#15384e,#1b2344);border:1px solid #3a5e78;border-radius:18px;padding:22px;margin-bottom:18px}
.tf-summary .tf-avatar{width:56px;height:56px;border-radius:16px;background:#42d9e6;color:#08111e}
.tf-summary h2{margin:0;font-size:21px}
.tf-summary p{margin:4px 0 0;color:var(--sub);font-size:13px}
.tf-summary-money{margin-left:auto;text-align:right}
.tf-summary-money small{display:block;color:#b3c9d9;font-size:11px}
.tf-summary-money strong{font:700 26px 'Space Grotesk';color:#fff}
.tf-summary .tf-btn{flex:none}
.tf-mini-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.tf-mini-stats>div{background:var(--panel);border:1px solid var(--stroke);border-radius:14px;padding:14px 17px}
.tf-mini-stats small{display:block;color:var(--sub);font-size:11px}
.tf-mini-stats strong{display:block;font:700 18px 'Space Grotesk';margin-top:6px}
.tf-plan-price{color:var(--text)}
.tf-plan-action{border-color:var(--stroke);color:var(--cyan)}
.tf-plan-icon{color:var(--cyan)}
.tf-package-card.selected{border:2px solid var(--cyan);box-shadow:0 0 28px #47e1eb20}
.tf-payment-detail span{color:var(--sub)}
.tf-profile-header .tf-btn{cursor:pointer}
.tf-reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.tf-reward{background:var(--panel);border:1px solid var(--stroke);border-radius:18px;padding:20px;color:var(--text);cursor:pointer;text-align:left}
.tf-reward:hover{border-color:var(--cyan)}
.tf-reward img{height:90px;width:100%;object-fit:contain;margin:10px 0}
.tf-reward strong,.tf-reward small{display:block}
.tf-reward small{color:var(--sub)}
.tf-copy-row{display:flex;gap:10px;align-items:center;background:#0e192b;border:1px solid var(--stroke);border-radius:12px;padding:12px;overflow:hidden}
.tf-copy-row code{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1;color:var(--cyan)}
.tf-copy-row button{flex:none}
.tf-loading{opacity:.72;pointer-events:none}
.tf-loading:after{content:'  ···';animation:pulse .8s infinite alternate}
@keyframes pulse{
  to{opacity:.25}
}
@media(prefers-reduced-motion:reduce){
  *,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media(max-width:1050px){
  .tf-reward-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .tf-content{padding:22px 16px calc(100px + env(safe-area-inset-bottom))}
  .tf-topbar{background:#0c192a}
  .tf-auth-layout{display:block}
  .tf-auth-story{display:none}
  .tf-auth-side{min-height:100vh;align-items:start;padding:38px 17px}
  .tf-auth-card{padding:20px;border:0;background:transparent;box-shadow:none}
  .tf-auth-logo{display:block;margin-bottom:36px}
  .tf-hero{padding:24px;min-height:0}
  .tf-hero-graphic{display:none}
  .tf-summary{flex-wrap:wrap;padding:17px}
  .tf-summary-money{width:100%;margin-left:0;text-align:left}
  .tf-summary .tf-btn{margin-left:auto}
  .tf-mini-stats{grid-template-columns:repeat(2,1fr)}
  .tf-reward-grid{grid-template-columns:repeat(2,1fr)}
  .tf-table{min-width:0}
  .tf-table th,.tf-table td{padding:13px 10px}
  .tf-package-grid{grid-template-columns:1fr}
  .tf-package-card{min-height:0}
  .tf-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:390px){
  .tf-mini-stats strong{font-size:16px}
  .tf-profile-header{gap:12px}
  .tf-form-grid{grid-template-columns:1fr}
}
.tf-checkout-amount{background:#142a40;border:1px solid #326075;border-radius:12px;display:flex;justify-content:space-between;padding:14px;margin:15px 0;color:var(--sub)}
.tf-checkout-amount strong{color:var(--cyan)}
.tf-reward-lock{height:110px;display:grid;place-items:center;font-size:33px;color:#8492a9}
.tf-password-toggle{position:relative;align-self:flex-end;margin:-43px 8px 0 0;background:none;border:0;color:var(--sub);height:36px;min-width:36px;z-index:1}
.tf-auth-old-logo{width:130px;height:auto;max-height:75px;object-fit:contain}
.tf-auth-context{margin-bottom:20px}
.tf-auth-card .text-gray-900,.tf-auth-card .text-gray-600,.tf-auth-card .text-gray-700,.tf-profile-edit .text-gray-900,.tf-profile-edit .text-gray-600{color:var(--text)!important}
.tf-auth-card .bg-white,.tf-edit-panel.bg-white{background:var(--panel)!important}
.tf-auth-card input:not([type=checkbox]),.tf-profile-edit input:not([type=checkbox]){background:#0c192a!important;color:var(--text)!important;border-color:#354961!important}
.tf-profile-edit .tf-edit-panel{background:var(--panel)!important;border:1px solid var(--stroke);border-radius:18px;margin-bottom:18px}
.tf-profile-edit .max-w-7xl{max-width:900px}
.tf-profile-edit h2{color:var(--text)}
.tf-profile-edit label{color:var(--sub)}
.tf-profile-edit .bg-gray-100{background:var(--bg)!important}
@media(max-width:760px){
  .tf-summary-money strong{font-size:23px}
  .tf-auth-card{max-width:100%}
  .tf-auth-card .tf-form-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:390px){
  .tf-auth-card .tf-form-grid{grid-template-columns:1fr}
}
.tf-nav i{width:24px;text-align:center;font-size:17px}
.tf-top-actions .tf-logout{display:flex;gap:7px;align-items:center}
.tf-auth-card .tf-form input:not([type=checkbox]):focus-visible{outline:2px solid var(--cyan)}
.tf-auth-card .tf-form label{color:#d9e6f1}
.tf-auth-card .tf-form-row label{color:var(--sub)}
.tf-package-card{min-height:250px}
.tf-metric,.tf-mini-stats>div{min-width:0}
.tf-table td,.tf-table th{overflow-wrap:anywhere}
@media(max-width:760px){
  .tf-top-actions .tf-logout span{display:none}
  .tf-top-actions .tf-logout{min-width:40px;min-height:40px;justify-content:center}
  .tf-team-banner .tf-btn{margin-left:0}
}
.tf-page-head{margin-bottom:18px}
.tf-page-head h1{font-size:clamp(28px,3vw,38px);margin:6px 0}
.tf-page-head p{font-size:13px}
.tf-section-title{margin:28px 0 14px}
.tf-section-title h2{font-size:20px}
.tf-metric,.tf-form-panel{padding:20px}
.tf-table th,.tf-table td{padding:13px 15px}
.tf-form-panel .tf-panel-heading h2{font-size:20px}
.tf-form input:not([type=checkbox]),.tf-form select{min-height:42px;padding:9px 12px!important}
@media(max-width:760px){
  .tf-content{padding:14px 14px calc(88px + env(safe-area-inset-bottom))}
  .tf-topbar{height:57px;padding:0 16px}
  .tf-metrics{gap:8px}
  .tf-metric{min-height:105px;padding:15px}
  .tf-wallet-hero{padding:17px}
  .tf-wallet-hero h2{font-size:23px}
}
.tf-table th{padding:11px 16px;font-size:9px}
.tf-table td{padding:12px 16px;font-size:12px}
@media(max-width:760px){
  .tf-table th,.tf-table td{padding:9px 12px}
}
.tf-auth-wordmark{display:inline-flex;align-items:center;gap:8px}
.tf-auth-old-logo-mark{width:30px;height:30px;display:inline-flex;vertical-align:middle;margin-right:8px}
.tf-auth-old-logo-text{color:var(--text,#eef7ff);font:700 22px 'Space Grotesk',sans-serif;vertical-align:middle}
@media(max-width:760px){
  .tf-profile-header{padding:16px;gap:12px}
  .tf-profile-photo{width:60px;height:60px;border-radius:15px;font-size:22px}
  .tf-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .tf-detail-grid>div{padding:13px}
  .tf-detail-grid small{margin-bottom:6px;font-size:9px}
  .tf-detail-grid strong{font-size:14px}
}
@media(max-width:760px){
  .tf-page-head{margin-bottom:12px}
  .tf-section-title{margin:16px 0 10px}
  .tf-profile-header{padding:12px;gap:10px}
  .tf-profile-photo{width:50px;height:50px;border-radius:13px;font-size:18px}
  .tf-detail-grid{gap:8px}
  .tf-detail-grid>div{padding:10px}
  .tf-detail-grid small{margin-bottom:4px}
  .tf-detail-grid strong{font-size:13px}
  .tf-badge{padding:5px 8px;font-size:10px}
}
@media(max-width:760px){
  .tf-page-head h1{font-size:22px;margin:3px 0}
  .tf-page-head p{font-size:12px}
  .tf-section-title h2{font-size:16px}
  .tf-profile-header h2{font-size:16px;margin:0}
  .tf-profile-header p{font-size:12px;margin:2px 0 0}
  .tf-profile-header .tf-btn{padding:8px 12px;font-size:12px}
}

/* ==========================================================================
   APP CHROME  (brand mark, top bar, mobile bottom navigation)
   ========================================================================== */

/* Brand: the real TikFlick tick asset + wordmark (no placeholder icon). */
.tf-mark{width:38px;height:38px;padding:0;background:none;display:grid;place-items:center}
.tf-mark-img{width:100%;height:100%;object-fit:contain;display:block}
.tf-mark-img-mobile{width:26px;height:26px}
.tf-mobile-brand{display:none;align-items:center;gap:8px;font:700 20px 'Space Grotesk',sans-serif;color:var(--text)}

.tf-top-balance{font-size:12px;color:var(--muted)}
.tf-top-balance strong{margin-left:8px;font-size:14px;color:var(--cyan)}

.tf-mobile-nav{display:none}

/* ==========================================================================
   DASHBOARD  (account card, quick actions, WhatsApp channel)
   ========================================================================== */
.tf-dashboard{max-width:1060px;margin:auto}
.tf-home-top{margin-bottom:14px}
.tf-home-top h1{font:700 clamp(22px,2.5vw,30px)/1.18 'Space Grotesk',sans-serif;margin:0}

.tf-home-balance{
  display:block;margin:0;padding:18px 20px;border-radius:20px;
  background:radial-gradient(circle at 88% 8%,rgba(71,225,235,.28),transparent 46%),linear-gradient(130deg,#173d5c,#232653);
  border:1px solid rgba(96,200,230,.32);
  box-shadow:0 24px 48px -30px rgba(36,190,220,.7),inset 0 1px 0 rgba(255,255,255,.07);
}
.tf-home-identity{display:flex;align-items:center;gap:12px}
.tf-home-identity .tf-avatar{width:44px;height:44px;border-radius:14px;font-size:18px;background:linear-gradient(140deg,#2fd6e2,#9679f7);color:#061523}
.tf-home-who{min-width:0;flex:1}
.tf-home-who strong{display:block;font:700 16px 'Space Grotesk',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-home-who small{display:block;margin-top:2px;font-size:12px;color:#c3d2e4}
.tf-status-pill{display:inline-flex;align-items:center;gap:6px;flex:none;padding:4px 10px;border-radius:999px;font-size:11px;font-weight:700;color:#6ff0c4;background:rgba(52,211,153,.13);border:1px solid rgba(52,211,153,.28)}
.tf-status-pill i{width:6px;height:6px;border-radius:50%;background:currentColor;box-shadow:0 0 8px currentColor}

.tf-home-balance-bottom{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.09)}
.tf-home-balance-bottom small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.1em;color:#a9cbd9}
.tf-home-balance-bottom strong{display:block;margin-top:3px;font:700 clamp(23px,3vw,28px) 'Space Grotesk',sans-serif;letter-spacing:-.01em}
.tf-home-balance-bottom .tf-btn{gap:8px;padding:10px 14px;font-size:12px}

.tf-home-actions-title{margin:28px 0 12px}
.tf-home-actions-title h2{font-size:18px}

.tf-tile-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.tf-tile{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:0;padding:6px 2px 10px;border-radius:14px;text-align:center;font-size:12px;font-weight:600;line-height:1.2;color:#dce8f5}
.tf-tile:hover{color:#fff;background:#16243b;transform:translateY(-2px)}
.tf-tile-icon{display:grid;place-items:center;width:56px;height:56px;border-radius:18px;box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 20px -8px var(--tile-glow,rgba(0,0,0,.4))}
.tf-tile-icon i{font-size:22px;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,.18))}
.tf-icon-cyan{background:linear-gradient(145deg,#3aeaf3,#0fb2dd);--tile-glow:rgba(53,230,240,.55)}
.tf-icon-pink{background:linear-gradient(145deg,#ff8ab6,#f0459b);--tile-glow:rgba(240,69,155,.5)}
.tf-icon-violet{background:linear-gradient(145deg,#ad90ff,#7c4ef2);--tile-glow:rgba(124,78,242,.55)}
.tf-icon-teal{background:linear-gradient(145deg,#3fe8c8,#0a9fae);--tile-glow:rgba(10,190,180,.5)}
.tf-icon-amber{background:linear-gradient(145deg,#ffd274,#f2932f);--tile-glow:rgba(242,147,47,.5)}
.tf-icon-rose{background:linear-gradient(145deg,#ff8aa4,#ec4c78);--tile-glow:rgba(236,76,120,.5)}
.tf-icon-blue{background:linear-gradient(145deg,#76c6ff,#3f8ff0);--tile-glow:rgba(63,143,240,.55)}
.tf-icon-purple{background:linear-gradient(145deg,#cd8dff,#9354e8);--tile-glow:rgba(147,84,232,.5)}

.tf-home-channel{display:flex;align-items:center;gap:12px;margin-top:22px;padding:12px 16px;border-radius:17px;color:var(--text);background:linear-gradient(120deg,#133042,#172640);border:1px solid rgba(37,211,102,.28)}
.tf-home-channel:hover{color:var(--text);border-color:rgba(37,211,102,.55)}
.tf-home-channel strong{display:block;font-size:13px}
.tf-home-channel small{display:block;margin-top:2px;font-size:11px;color:#abbcd0}
.tf-whatsapp-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:13px;font-size:24px;color:#fff;background:linear-gradient(145deg,#39e57f,#13b85c);box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 8px 18px -8px rgba(37,211,102,.75)}
.tf-channel-follow{margin-left:auto;display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#5ff0a4;white-space:nowrap}

/* ==========================================================================
   WALLET  (balance card, four stats, compact history)
   ========================================================================== */
.tf-wallet-title{margin:0 0 12px;font-size:clamp(22px,3vw,30px)}
.tf-wallet-card{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border-radius:20px;
  background:radial-gradient(circle at 92% 0%,rgba(71,225,235,.26),transparent 46%),linear-gradient(130deg,#173d5c,#232653);
  border-color:rgba(96,200,230,.32);
  box-shadow:0 24px 48px -30px rgba(36,190,220,.7),inset 0 1px 0 rgba(255,255,255,.07);
}
.tf-wallet-hero-balance small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.1em;color:#a9cbd9}
.tf-wallet-hero-balance strong{display:block;margin-top:4px;font:700 clamp(26px,4vw,32px) 'Space Grotesk',sans-serif;letter-spacing:-.01em}
.tf-wallet-hero-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;flex:none}
.tf-wallet-hero-actions .tf-btn{margin:0;gap:6px;padding:11px 14px;font-size:12px;line-height:1.2;text-align:center}

.tf-wallet-stat-title{margin:20px 0 10px}
.tf-wallet-stat-title h2{font-size:16px}
.tf-wallet-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
.tf-wallet-stats>div{min-width:0;padding:12px 14px;border-radius:14px;background:#142238;border:1px solid #2c3c53}
.tf-wallet-stats small{display:block;font-size:11px;line-height:1.3;color:#aebed0}
.tf-wallet-stats strong{display:block;margin-top:6px;font:700 16px 'Space Grotesk',sans-serif;overflow-wrap:anywhere}

.tf-history{margin:0;padding:0;list-style:none;overflow:hidden;border-radius:14px;background:var(--panel);border:1px solid var(--stroke)}
.tf-history>li{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 14px}
.tf-history>li+li{border-top:1px solid var(--stroke)}
.tf-history>li.tf-empty{justify-content:center;padding:18px 14px;font-size:13px}
.tf-history-main strong{display:block;font-size:14px}
.tf-history-main small{display:block;margin-top:1px;font-size:11px;color:var(--sub)}

/* ==========================================================================
   WATCH & EARN  (task list)
   ========================================================================== */
.tf-tasks-head{margin-bottom:14px}
.tf-tasks-head h1{margin:0;font-size:clamp(20px,2.4vw,26px)}
.tf-ads-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tf-ad-card{display:flex;align-items:center;gap:12px;width:100%;height:64px;padding:0 14px 0 12px;border-radius:16px;text-align:left;cursor:pointer;color:var(--text);background:var(--panel);border:1px solid var(--stroke)}
.tf-ad-card:hover{border-color:#4ac3d7;box-shadow:0 8px 30px rgba(28,165,195,.12);transform:translateY(-2px)}
.tf-ad-copy{flex:1;min-width:0}
.tf-ad-copy strong{display:block;margin:0;font:700 14px 'Space Grotesk',sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-ad-copy>span{display:block;margin-top:2px;font-size:11px;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-ad-arrow{display:grid;place-items:center;flex:none;width:32px;height:32px;border-radius:50%;font-size:13px;color:var(--cyan);background:rgba(71,225,235,.12)}
.tf-platform-icon{display:grid;place-items:center;flex:none;width:42px;height:42px;border-radius:13px;font-size:20px;color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.28)}
.tf-platform-tiktok{background:#0b0f17;border:1px solid #2a3547;text-shadow:-1.5px -1px 0 #25f4ee,1.5px 1px 0 #fe2c55}
.tf-platform-instagram{background:linear-gradient(45deg,#f9a03f,#e1306c 55%,#833ab4)}
.tf-platform-youtube{background:linear-gradient(145deg,#ff5a5a,#e02424)}
.tf-platform-facebook{background:linear-gradient(145deg,#3b8bff,#1662d6)}
.tf-platform-generic{background:linear-gradient(145deg,#3aeaf3,#0fb2dd)}
.tf-empty-card{padding:32px 16px;border-radius:16px;background:var(--panel)}
.tf-ads-grid>.tf-empty-card{grid-column:1/-1}

/* ==========================================================================
   WITHDRAW FORMS  (withdraw_form, withdrow_insta) - compact
   ========================================================================== */
.tf-withdraw{max-width:560px}
.tf-withdraw-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.tf-withdraw-head h1{margin:0;font-size:clamp(20px,3vw,26px)}
.tf-withdraw-head .tf-back{margin:0;font-size:13px;white-space:nowrap;order:2}
.tf-withdraw-balance{padding:12px 16px;margin-bottom:12px}
.tf-withdraw-balance .tf-wallet-hero-balance strong{margin-top:2px;font-size:24px}
.tf-withdraw-panel{max-width:none;padding:14px 16px}
.tf-form-compact{gap:4px}
.tf-form-compact label{margin-top:8px;font-size:12px}
.tf-form-compact label:first-child{margin-top:0}
.tf-form-compact .tf-btn{margin-top:14px}

/* ==========================================================================
   TEAM  (compact banner + member list)
   ========================================================================== */
.tf-team-banner{flex-direction:row;align-items:center;margin-top:0;padding:12px 14px;gap:12px;border-radius:16px}
.tf-team-banner>div{flex:1;min-width:0}
.tf-team-banner strong{font-size:15px;line-height:1.25}
.tf-team-banner p{margin:2px 0 0;font-size:12px}
.tf-team-banner .tf-shortcut-icon{width:40px;height:40px;font-size:17px;flex:none}
.tf-team-banner .tf-btn{margin:0;flex:none;gap:6px;padding:9px 12px;font-size:12px}
.tf-members>li{justify-content:flex-start}
.tf-members .tf-avatar{width:34px;height:34px;font-size:14px}
.tf-member-info{flex:1;min-width:0}
.tf-member-info strong,.tf-member-info small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tf-member-info strong{font-size:14px}
.tf-member-info small{margin-top:1px;font-size:11px;color:var(--sub)}
.tf-members>li.tf-empty{justify-content:center}

/* ==========================================================================
   SHARE & EARN
   ========================================================================== */
.tf-share{max-width:560px}
.tf-share-card{max-width:none;padding:14px 16px;margin-bottom:12px}
.tf-share-top{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.tf-share-top .tf-shortcut-icon{width:40px;height:40px;font-size:17px;flex:none}
.tf-share-top strong{font:700 15px 'Space Grotesk',sans-serif}
.tf-share-top p{margin:2px 0 0;font-size:12px;color:var(--muted)}
.tf-share-card .tf-copy-row{padding:8px 8px 8px 12px}
.tf-share-card .tf-copy-row .tf-btn{margin:0;padding:9px 14px;font-size:12px;gap:6px}
.tf-share-status{margin:0;font-size:12px}
.tf-share-status:not(:empty){margin-top:8px}

/* ==========================================================================
   ACHIEVEMENTS  (gift boxes: closed until the member milestone is reached)
   ========================================================================== */
.tf-ach-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:4px}
.tf-ach-head .tf-wallet-title{margin:0}
.tf-ach-team{display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;font-size:12px;font-weight:700;color:var(--cyan);background:rgba(71,225,235,.1);border:1px solid rgba(71,225,235,.25)}
.tf-gift-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.tf-gift{display:flex;flex-direction:column;align-items:center;min-width:0;padding:8px 4px 10px;border-radius:16px;cursor:pointer;color:var(--text);background:var(--panel);border:1px solid var(--stroke)}
.tf-gift:hover{border-color:#4ac3d7}
.tf-gift strong{margin-top:6px;font:700 13px 'Space Grotesk',sans-serif}
.tf-gift small{margin-top:1px;font-size:10.5px;color:var(--sub)}
.tf-gift.is-open{border-color:rgba(255,196,90,.45);background:linear-gradient(180deg,rgba(255,196,90,.09),var(--panel) 65%)}
.tf-gift.is-open small{color:#ffc477;font-weight:700}
.tf-gift-stage{position:relative;display:block;width:84px;height:92px}
.tf-gift-box{position:absolute;left:50%;bottom:2px;width:50px;height:32px;margin-left:-25px;border-radius:4px 4px 8px 8px;background:linear-gradient(160deg,#ff5a7d,#c81e4a);box-shadow:0 8px 14px -6px rgba(255,60,110,.55)}
.tf-gift-box:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:9px;margin-left:-4.5px;background:linear-gradient(#ffe9a6,#ffc94d)}
.tf-gift-lid{position:absolute;z-index:1;left:-4px;right:-4px;top:-12px;height:14px;border-radius:5px;background:linear-gradient(160deg,#ff7090,#d92a58);transition:transform .35s}
.tf-gift-lid:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:9px;margin-left:-4.5px;background:linear-gradient(#fff2c2,#ffd66b)}
.tf-gift-lid:after{content:"";position:absolute;left:50%;top:-9px;width:16px;height:10px;margin-left:-8px;border:3px solid #ffd66b;border-bottom:0;border-radius:10px 10px 0 0}
.tf-gift.is-open .tf-gift-lid{transform:translate(22px,-14px) rotate(24deg)}
.tf-gift.is-open .tf-gift-stage:before{content:"";position:absolute;left:50%;bottom:24px;width:74px;height:60px;margin-left:-37px;background:radial-gradient(closest-side,rgba(255,196,90,.4),transparent);pointer-events:none}
/* Prize: clipped exactly at the box rim so it rises out of the box without overlapping it. */
.tf-gift-prize{position:absolute;z-index:2;left:50%;bottom:34px;width:64px;height:46px;margin-left:-32px;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.tf-gift-prize img{display:block;width:auto;height:auto;max-width:58px;max-height:44px;object-fit:contain;border-radius:4px;filter:drop-shadow(0 2px 6px rgba(0,0,0,.45))}
.tf-ach-tabs{display:flex;gap:6px;margin:12px 0 8px;padding:4px;border-radius:14px;background:#0f1b2e;border:1px solid var(--stroke)}
.tf-ach-tab{flex:1;min-width:0;padding:9px 4px;border-radius:10px;font-size:13px;font-weight:700;color:var(--sub);background:none;border:0;cursor:pointer;transition:background .2s,color .2s}
.tf-ach-tab.active{color:#07111e;background:linear-gradient(115deg,#26bed2,#8389f4)}
.tf-ach-hint{margin:0 0 10px;font-size:12px;color:var(--sub)}
.tf-ach-hint strong{color:var(--cyan)}
.tf-progress{display:block;width:78%;height:5px;margin-top:6px;border-radius:99px;background:#22324a;overflow:hidden}
.tf-progress i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#26bed2,#8389f4)}
.tf-gift.is-unlocked .tf-progress i,.tf-gift.is-claimed .tf-progress i{background:linear-gradient(90deg,#ffc75f,#ff9f43)}
.tf-gift.is-claimed{opacity:.9;border-color:rgba(52,211,153,.4);background:linear-gradient(180deg,rgba(52,211,153,.08),var(--panel) 65%)}
.tf-gift.is-claimed .tf-gift-state{color:#5fd3a0;font-weight:700}
.tf-gift-check{position:absolute;right:6px;top:4px;z-index:3;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;font-size:10px;color:#07111e;background:#5fd3a0}
.tf-gift{position:relative}
.tf-reward-modal{text-align:center}
.tf-reward-modal-img[hidden],.tf-reward-modal #rewardClaim[hidden]{display:none}
.tf-reward-modal-img{display:grid;place-items:center;margin:4px auto 10px;min-height:120px;padding:10px;border-radius:16px;background:radial-gradient(circle,rgba(255,196,90,.18),transparent 70%)}
.tf-reward-modal-img img{max-width:100%;max-height:200px;object-fit:contain;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.45)}
.tf-reward-modal h2{margin:2px 0 4px;font-size:22px}
.tf-reward-modal .tf-muted{margin:0 0 14px;font-size:13px}
@media(min-width:761px){.tf-gift-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.tf-gift-lid{transition:none}}

/* ==========================================================================
   AUTH  (login / register / invite) - compact
   ========================================================================== */
.tf-auth-title{margin:6px 0 4px;font-size:clamp(24px,3vw,30px);line-height:1.15}
.tf-auth-card>.tf-muted{margin-bottom:16px;font-size:13px}
.tf-auth-card .tf-form{gap:4px}
.tf-auth-card .tf-form label{margin-top:12px;font-size:12px}
.tf-auth-card .tf-form label:first-child{margin-top:0}
.tf-auth-card .tf-form-grid{margin-top:12px;gap:12px}
.tf-auth-card .tf-form-grid>div{gap:4px}
.tf-form-row{margin:10px 0 4px}
.tf-checkbox{gap:8px;font-size:12px}
.tf-story-content h1{color:var(--text)}
.tf-checkbox input[type=checkbox]{color-scheme:dark;flex:none;width:16px;height:16px;min-height:0;margin:0;padding:0;accent-color:var(--cyan)}
.tf-auth-card .tf-form .tf-btn{margin-top:10px}
.tf-auth-switch{margin-top:16px}

.tf-payment-note{margin:6px 0 0;padding-top:6px;border-top:1px dashed rgba(52,211,153,.25);text-align:center;font-size:11px;font-weight:600;letter-spacing:.02em;color:#5fd3a0;opacity:.9;user-select:none}

/* ==========================================================================
   PLAN COLOURS  (each plan gets its own theme shade via --plan / --plan-rgb)
   ========================================================================== */
.tf-package-card{--plan:#47e1eb;--plan-rgb:71,225,235;border-color:rgba(var(--plan-rgb),.28);background:radial-gradient(circle at 100% 0%,rgba(var(--plan-rgb),.16),transparent 55%),var(--panel)}
.tf-package-card:nth-child(6n+1){--plan:#9fb4cf;--plan-rgb:159,180,207}
.tf-package-card:nth-child(6n+2){--plan:#ffc75f;--plan-rgb:255,199,95}
.tf-package-card:nth-child(6n+3){--plan:#a98bff;--plan-rgb:169,139,255}
.tf-package-card:nth-child(6n+4){--plan:#5db6ff;--plan-rgb:93,182,255}
.tf-package-card:nth-child(6n+5){--plan:#ff7eb0;--plan-rgb:255,126,176}
.tf-package-card:nth-child(6n){--plan:#3fe8c8;--plan-rgb:63,232,200}
.tf-package-card .tf-plan-icon{color:var(--plan);background:rgba(var(--plan-rgb),.14);box-shadow:inset 0 0 0 1px rgba(var(--plan-rgb),.25)}
.tf-package-card .tf-plan-price{color:var(--plan)}
.tf-package-card .tf-plan-action{color:var(--plan);border-color:rgba(var(--plan-rgb),.4);background:rgba(var(--plan-rgb),.1)}
.tf-package-card:hover,.tf-package-card.selected{border-color:var(--plan);box-shadow:0 8px 30px rgba(var(--plan-rgb),.18)}

/* ==========================================================================
   MOBILE  (<= 760px)
   ========================================================================== */
@media(max-width:760px){
  .tf-main{min-height:100vh;min-height:100dvh}
  .tf-mobile-brand{display:flex}
  .tf-top-balance{display:none}
  .tf-content{padding:14px 14px calc(96px + env(safe-area-inset-bottom))}

  /* Floating glass bottom nav: Home / Wallet / Profile */
  .tf-mobile-nav{
    display:flex;justify-content:space-between;gap:4px;
    position:fixed;z-index:20;left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));
    max-width:420px;margin:0 auto;padding:6px;border-radius:22px;
    background:rgba(17,31,52,.72);border:1px solid rgba(130,180,225,.26);
    -webkit-backdrop-filter:blur(18px) saturate(140%);backdrop-filter:blur(18px) saturate(140%);
    box-shadow:0 12px 32px rgba(0,0,0,.5),inset 0 1px 0 rgba(255,255,255,.06);
  }
  .tf-mobile-nav a{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:8px 4px;border-radius:16px;color:#a7b9cd;transition:background .2s,color .2s}
  .tf-mobile-nav a.active{color:var(--cyan);background:rgba(71,225,235,.14);box-shadow:inset 0 0 0 1px rgba(71,225,235,.22)}
  .tf-mobile-nav i{font-size:18px}
  .tf-mobile-nav small{font-size:11px;font-weight:600}

  /* Dashboard: the WhatsApp card sits low in normal flow, clear of the nav */
  .tf-dashboard{
    display:flex;flex-direction:column;max-width:100%;
    min-height:calc(100vh - 57px - 14px - 96px - env(safe-area-inset-bottom));
    min-height:calc(100dvh - 57px - 14px - 96px - env(safe-area-inset-bottom));
  }
  .tf-home-balance{padding:16px;border-radius:18px}
  .tf-home-actions-title{margin:28px 0 12px}
  .tf-tile-grid{gap:6px 4px}
  .tf-tile{padding:4px 0 8px;font-size:11px}
  .tf-tile-icon{width:54px;height:54px;border-radius:17px}
  .tf-home-channel{margin-top:auto}
  .tf-dashboard .tf-tile-grid{margin-bottom:24px}

  /* Wallet */
  .tf-wallet-card{flex-direction:column;align-items:stretch;gap:14px;padding:16px}
  .tf-wallet-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tf-wallet-stats>div{padding:11px 12px}
  .tf-wallet-stats strong{font-size:15px}

  /* Tasks */
  .tf-ads-grid{grid-template-columns:1fr}

  /* Plans (package.blade.php): compact card per plan */
  .tf-package-grid{gap:10px}
  .tf-package-card{display:grid;grid-template-columns:auto 1fr auto;grid-template-areas:"icon name action" "icon price action" "desc desc desc";align-items:center;column-gap:12px;row-gap:2px;min-height:0;padding:14px}
  .tf-plan-index{display:none}
  .tf-plan-icon{grid-area:icon;display:grid;place-items:center;width:44px;height:44px;margin:0;border-radius:14px;font-size:20px;background:rgba(71,225,235,.12)}
  .tf-package-head{margin-bottom:12px}
  .tf-package-head h1{margin:0;font-size:22px}
  .tf-package-head p{margin:2px 0 0;font-size:12px}
  .tf-package-card>strong{grid-area:name;min-width:0;font-size:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .tf-plan-price{grid-area:price;margin:0;font-size:20px}
  .tf-plan-action{grid-area:action;margin:0;padding:8px 10px;gap:6px;border:1px solid rgba(71,225,235,.3);border-radius:10px;background:rgba(71,225,235,.08);font-size:12px}
  .tf-plan-description{grid-area:desc;flex:none;margin-top:10px;padding-top:10px;border-top:1px solid var(--stroke);font-size:11px;line-height:1.45;color:var(--sub);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}

  /* Payment modal: compact bottom-friendly sheet */
  .tf-modal{padding:12px}
  .tf-modal-panel{padding:16px;border-radius:20px}
  .tf-modal-panel .tf-eyebrow{font-size:10px}
  .tf-modal-panel h2{margin:2px 0 6px;font-size:20px}
  .tf-close{top:8px;right:12px;font-size:26px}
  #paymentDescription{margin:0 0 8px;padding:7px 10px;border-radius:10px;font-size:10.5px;line-height:1.4;color:var(--sub);background:rgba(255,255,255,.03);border-left:2px solid var(--cyan)}
  .tf-modal-panel .tf-checkout-amount{margin:0 0 8px;padding:10px 12px;font-size:13px}
  .tf-modal-panel .tf-payment-detail{margin:0 0 8px;padding:8px 12px}
  .tf-modal-panel .tf-payment-detail span{padding:4px 0;font-size:12px}
  .tf-modal-panel .tf-form{gap:3px}
  .tf-modal-panel .tf-form label{margin-top:6px;font-size:12px}
  .tf-modal-panel .tf-form input,.tf-modal-panel .tf-form select{min-height:40px}
  .tf-modal-panel .tf-form .tf-btn{margin-top:12px}
  /* Status page (waiting.blade.php) */
  .tf-status-wrap{margin:0;padding:22px 16px;border-radius:20px}
  .tf-status-icon{width:52px;height:52px;margin:0 auto 10px;border-radius:16px;font-size:22px}
  .tf-status-wrap h1{margin:6px 0;font-size:24px;line-height:1.2}
  .tf-status-wrap p{margin:0 0 14px;font-size:13px;line-height:1.5}
  .tf-status-wrap .tf-payment-detail{margin:0 0 12px;padding:8px 12px}
  .tf-status-wrap .tf-payment-detail span{padding:5px 0;font-size:12px}
  .tf-status-line{flex-direction:row;align-items:flex-start;justify-content:space-between;gap:6px;margin:0 0 14px;padding:12px 0;font-size:11px;text-align:center}
  .tf-status-line span{flex:1;display:flex;flex-direction:column;align-items:center;gap:4px;line-height:1.25}
  .tf-status-wrap .tf-btn{width:100%;padding:11px}
  /* Auth */
  .tf-auth-side{position:relative;align-items:center;min-height:100vh;min-height:100dvh;padding:68px 16px 24px}
  .tf-auth-card{padding:8px 4px}
  /* Logo stays pinned at the top; the form is centred in the remaining space */
  .tf-auth-logo{position:absolute;top:18px;left:20px;margin:0}
}
@media(max-width:380px){
  .tf-tile{font-size:10.5px}
  .tf-tile-icon{width:50px;height:50px}
  .tf-wallet-hero-actions .tf-btn{padding:10px 8px;font-size:11.5px}
  .tf-home-balance-bottom .tf-btn{padding:9px 11px}
}
@media(prefers-reduced-motion:reduce){.tf-tile,.tf-ad-card,.tf-mobile-nav a{transition:none}}

/* ==========================================================================
   FLOATING WHATSAPP  (login / register / plans / waiting only; hidden while a modal is open)
   ========================================================================== */
.tf-wa-float{position:fixed;z-index:15;right:16px;bottom:calc(16px + env(safe-area-inset-bottom));display:grid;place-items:center;width:54px;height:54px;border-radius:50%;font-size:30px;color:#fff;background:linear-gradient(145deg,#39e57f,#13b85c);box-shadow:0 10px 24px -6px rgba(37,211,102,.7),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .2s}
.tf-wa-float:hover{color:#fff;transform:scale(1.06)}
.tf-modal-open .tf-wa-float{display:none}
@media(max-width:760px){.tf-wa-float.with-nav{bottom:calc(92px + env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){.tf-wa-float{transition:none}}

/* ==========================================================================
   WATCH & EARN  (TikTok-style vertical video feed)
   ========================================================================== */
.tf-feed-wrap{display:flex;justify-content:center}
.tf-feed{position:relative;width:min(100%,380px);height:calc(100vh - 77px - 46px - 75px - 70px);height:calc(100dvh - 77px - 46px - 75px - 70px);min-height:420px;max-height:760px;overflow:hidden;border-radius:26px;background:#04090f;border:3px solid #2a7fc4;box-shadow:0 0 0 1px rgba(71,225,235,.35),0 0 28px rgba(38,190,210,.28),0 24px 60px -28px rgba(36,190,220,.6)}
.tf-feed-scroll{height:100%;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.tf-feed-scroll::-webkit-scrollbar{display:none}
.tf-reel{position:relative;height:100%;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden;background:#000}
.tf-reel video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#000}
.tf-reel:after{content:"";position:absolute;inset:auto 0 0 0;height:32%;background:linear-gradient(transparent,rgba(0,0,0,.55));pointer-events:none}
.tf-reel-tap{position:absolute;inset:0;z-index:1;width:100%;border:0;background:none;cursor:pointer}
.tf-reel-flash{position:absolute;z-index:2;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;display:grid;place-items:center;border-radius:50%;font-size:26px;color:#fff;background:rgba(0,0,0,.45);opacity:0;pointer-events:none}
.tf-reel-flash.show{animation:tfFlash .6s ease-out}
@keyframes tfFlash{0%{opacity:.95;transform:scale(.8)}100%{opacity:0;transform:scale(1.25)}}
.tf-reel-actions{position:absolute;z-index:3;right:10px;top:54%;display:flex;flex-direction:column;align-items:center;gap:14px}
.tf-act{display:flex;flex-direction:column;align-items:center;gap:3px;width:48px;padding:0;border:0;background:none;color:#fff;cursor:pointer;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.tf-act i{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;font-size:19px;background:rgba(17,31,52,.55);border:1px solid rgba(255,255,255,.18);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .15s,background .2s,color .2s}
.tf-act small{font-size:10px;font-weight:600}
.tf-act:not(:disabled):active i{transform:scale(.88)}
.tf-act:disabled{opacity:.45;cursor:not-allowed}
.tf-reel>.tf-mute{position:absolute;z-index:3;right:10px;top:12px;width:auto}
.tf-reel>.tf-mute i{width:36px;height:36px;font-size:15px}
.tf-act.liked i{color:#ff3b6b;background:rgba(255,59,107,.2);border-color:rgba(255,59,107,.5);animation:tfPop .35s ease-out}
@keyframes tfPop{0%{transform:scale(.7)}60%{transform:scale(1.25)}100%{transform:scale(1)}}
.tf-reel-badge{position:absolute;z-index:3;left:12px;bottom:18px;display:inline-flex;align-items:center;gap:6px;padding:6px 11px;border-radius:999px;font-size:12px;font-weight:700;color:#5fd3a0;background:rgba(6,20,16,.65);border:1px solid rgba(95,211,160,.4)}
.tf-reel-badge[hidden]{display:none}
.tf-reel-end{display:grid;place-items:center;text-align:center;padding:24px;background:radial-gradient(circle at 50% 40%,#12304a,#07111e)}
.tf-reel-end:after{display:none}
.tf-reel-end i{display:block;margin:0 auto 12px;font-size:38px;color:var(--cyan)}
.tf-reel-end strong{display:block;font:700 22px 'Space Grotesk',sans-serif}
.tf-reel-end small{display:block;margin-top:6px;font-size:13px;color:var(--sub)}
.tf-feed-hint{position:absolute;z-index:4;left:50%;top:14px;max-width:calc(100% - 70px);transform:translateX(-50%);display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;font-size:12px;font-weight:600;color:#fff;white-space:nowrap;background:rgba(10,20,34,.7);border:1px solid rgba(255,255,255,.16);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);pointer-events:none;transition:opacity .5s}
.tf-feed-hint i{animation:tfBob 1.2s ease-in-out infinite}
@keyframes tfBob{50%{transform:translateY(-3px)}}
.tf-feed-hint.gone{opacity:0}
.tf-content:has(.tf-feed-wrap){overflow:hidden}
@media(max-width:760px){
  .tf-feed{height:calc(100vh - 57px - 14px - 96px - env(safe-area-inset-bottom));height:calc(100dvh - 57px - 14px - 96px - env(safe-area-inset-bottom));max-height:none;min-height:0}
  .tf-content:has(.tf-feed-wrap){padding-top:14px}
}
@media(prefers-reduced-motion:reduce){.tf-feed-hint i,.tf-reel-flash.show,.tf-act.liked i{animation:none}}

/* Free Box card (achievements page) */
.tf-freebox{width:100%;flex-direction:row;align-items:center;gap:14px;margin:12px 0 4px;padding:12px 16px;text-align:left;border-color:rgba(255,196,90,.35);background:radial-gradient(circle at 0% 0%,rgba(255,196,90,.16),transparent 55%),linear-gradient(120deg,#1a2136,#15202f)}
.tf-freebox.is-open{border-color:rgba(255,196,90,.6)}
.tf-freebox .tf-gift-stage{flex:none;transform:scale(.9);transform-origin:left center;margin-right:-6px}
.tf-freebox-copy{display:block;min-width:0}
.tf-freebox-tag{display:block;font-size:10px;font-weight:700;letter-spacing:.14em;color:#ffc477}
.tf-freebox strong{margin:2px 0 0;font:700 18px 'Space Grotesk',sans-serif}
.tf-freebox small{display:block;margin-top:2px;font-size:12px}
.tf-freebox.is-locked{opacity:.85;filter:saturate(.7)}
@media(min-width:761px){
  /* Watch & Earn on desktop: the feed fills the viewport, the page itself never scrolls (sidebar scrolls on its own) */
  .tf-shell:has(.tf-feed-wrap){height:100dvh;min-height:0;overflow:hidden;grid-template-rows:minmax(0,1fr)}
  .tf-shell:has(.tf-feed-wrap) .tf-sidebar{min-height:0;height:100dvh;overflow-y:auto}
  .tf-shell:has(.tf-feed-wrap) .tf-main{min-height:0;height:100dvh}
  .tf-shell:has(.tf-feed-wrap) .tf-content{min-height:0}
}

/* Sidebar support card title was inheriting the dark sidebar text colour */
.tf-support strong{color:var(--text)}

/* ==========================================================================
   TIKFLICK BALANCE WITHDRAWAL  (wallet card + withdraw page)
   ========================================================================== */
.tf-tfw{margin-top:12px;padding:14px 16px;border-radius:18px;background:radial-gradient(circle at 100% 0%,rgba(131,137,244,.2),transparent 55%),linear-gradient(120deg,#17233a,#1a2244);border:1px solid rgba(131,137,244,.35)}
.tf-tfw.is-locked{opacity:.92}
.tf-tfw-top{display:flex;align-items:center;justify-content:space-between;gap:12px}
.tf-tfw-top small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.1em;color:#b9c3f2}
.tf-tfw-top strong{display:block;margin-top:2px;font:700 24px 'Space Grotesk',sans-serif}
.tf-tfw-top .tf-btn{margin:0;padding:10px 14px;font-size:12px;text-align:center}
.tf-tfw-lock{display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:999px;font-size:12px;font-weight:700;color:#ffc477;background:rgba(255,196,90,.1);border:1px solid rgba(255,196,90,.3)}
.tf-tf-limits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0 0;padding:0;list-style:none}
.tf-tf-limits li{display:flex;flex-direction:column;gap:1px;padding:8px 10px;border-radius:11px;background:rgba(7,17,30,.45);border:1px solid rgba(255,255,255,.07)}
.tf-tf-limits span{font-size:10.5px;color:var(--sub)}
.tf-tf-limits b{font:700 13.5px 'Space Grotesk',sans-serif}
.tf-withdraw-balance .tf-tf-limits{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:10px}
.tf-withdraw-balance{display:block}
.tf-src-badge{display:inline-block;margin-left:6px;padding:2px 7px;border-radius:6px;font-size:10px;font-weight:700;color:#b9c3f2;background:rgba(131,137,244,.18);vertical-align:middle}
@media(max-width:360px){.tf-tfw-top{flex-direction:column;align-items:stretch}.tf-withdraw-balance .tf-tf-limits{grid-template-columns:1fr 1fr}}

/* ==========================================================================
   SALARY  (dashboard tile + info page); dashboard grid is now 3 x 3
   ========================================================================== */
.tf-icon-emerald{background:linear-gradient(145deg,#4ee8a2,#0aa06a);--tile-glow:rgba(16,185,129,.55)}
.tf-tile-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 10px}
.tf-tile-icon{width:58px;height:58px}
@media(max-width:760px){.tf-tile-grid{gap:0 8px}.tf-tile-icon{width:52px;height:52px;border-radius:16px}.tf-tile{padding:3px 0 5px;gap:6px;font-size:11.5px}.tf-home-actions-title{margin-top:22px}}
@media(min-width:761px){.tf-tile-grid{max-width:520px;margin-inline:auto}}
.tf-salary{max-width:640px;margin:0 auto}
.tf-sal-hero{padding:16px;border-radius:20px;background:radial-gradient(circle at 92% 0%,rgba(78,232,162,.2),transparent 50%),linear-gradient(130deg,#173d5c,#232653);border:1px solid rgba(96,200,230,.32);box-shadow:0 24px 48px -30px rgba(36,190,220,.7),inset 0 1px 0 rgba(255,255,255,.07)}
.tf-sal-req{display:flex;gap:12px;align-items:center}
.tf-sal-icon{display:grid;place-items:center;flex:none;width:48px;height:48px;border-radius:15px;font-size:22px;color:#fff;background:linear-gradient(145deg,#4ee8a2,#0aa06a);box-shadow:inset 0 1px 0 rgba(255,255,255,.3),0 10px 20px -8px rgba(16,185,129,.6)}
.tf-sal-req small{display:block;font-size:10.5px;font-weight:700;letter-spacing:.12em;color:#a9cbd9}
.tf-sal-req strong{display:block;font:700 22px 'Space Grotesk',sans-serif;line-height:1.15}
.tf-sal-req p{margin:3px 0 0;font-size:12px;color:#c3d2e4}
.tf-sal-you{display:flex;align-items:center;gap:8px;margin-top:12px;padding:8px 12px;border-radius:12px;font-size:12px;font-weight:600;color:#ffc477;background:rgba(255,196,90,.09);border:1px solid rgba(255,196,90,.28)}
.tf-sal-you.ok{color:#5fd3a0;background:rgba(52,211,153,.1);border-color:rgba(52,211,153,.32)}
.tf-sal-stats{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.tf-sal-stats>div{padding:10px 12px;border-radius:14px;background:rgba(7,17,30,.45);border:1px solid rgba(255,255,255,.08)}
.tf-sal-stats small{display:block;font-size:11px;color:var(--sub)}
.tf-sal-stats strong{display:block;margin-top:2px;font:700 19px 'Space Grotesk',sans-serif;color:#7cf0c0}
.tf-sal-stats em{font-style:normal;font-size:10.5px;color:var(--sub)}
.tf-sal-rule{margin:0 0 10px;font-size:12.5px;line-height:1.5;color:var(--sub)}
.tf-sal-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:0;list-style:none}
.tf-sal-steps li{position:relative;padding:9px 10px;border-radius:14px;background:var(--panel);border:1px solid var(--stroke)}
.tf-sal-month{display:block;font-size:10.5px;font-weight:700;letter-spacing:.06em;color:var(--sub)}
.tf-sal-steps strong{display:block;margin-top:2px;font:700 14px 'Space Grotesk',sans-serif}
.tf-sal-steps em{position:absolute;right:8px;top:8px;font-style:normal;font-size:9px;font-weight:700;letter-spacing:.06em;padding:2px 6px;border-radius:6px;color:#07111e;background:linear-gradient(115deg,#26bed2,#8389f4)}
.tf-sal-steps li.is-max{border-color:rgba(255,196,90,.6);background:linear-gradient(160deg,rgba(255,196,90,.14),var(--panel))}
.tf-sal-steps li.is-max strong{color:#ffc477}
.tf-sal-steps li.is-max em{background:linear-gradient(115deg,#ffc75f,#ff9f43)}
.tf-sal-steps li:nth-child(3n+2){border-color:rgba(71,225,235,.25)}
.tf-sal-note{display:flex;align-items:center;gap:8px;margin:12px 0 0;padding:10px 12px;border-radius:12px;font-size:12.5px;font-weight:600;color:#7cf0c0;background:rgba(52,211,153,.08);border:1px solid rgba(52,211,153,.25)}
@media(max-width:400px){.tf-sal-steps li{padding:8px}.tf-sal-steps strong{font-size:12.5px}.tf-sal-steps em{right:5px;top:6px;padding:1px 5px}}
.tf-wallet-hero-actions.is-single{grid-template-columns:1fr}
.tf-hist-type{display:inline;font-size:11px;color:var(--sub)}
.tf-hist-type.is-tf{color:#b9c3f2;font-weight:700}
.tf-withdraw-balance .tf-tf-limits{grid-template-columns:repeat(2,minmax(0,1fr))}

/* dashboard: floating WhatsApp button sits above the WhatsApp channel card (never covers it) */
@media(max-width:760px){body:has(.tf-home-channel) .tf-wa-float.with-nav{bottom:calc(92px + 80px + env(safe-area-inset-bottom))}}
@media(min-width:761px){.tf-content:has(.tf-home-channel){padding-bottom:96px}}
