/* TaskEarn — app-style theme. Mobile-first, clean at 360px.
   Light/dark are driven by html[data-theme], set before paint by a
   tiny script in functions.php (saved choice, else system preference)
   and flipped by the header toggle button. */
:root{
  --te-green:#0a7d4f; --te-green-dark:#065f46; --te-green-deep:#043f2e;
  --te-gold:#f5b301; --te-amber-bg:#fff6dd; --te-amber-border:#f0b429;
  --te-hl:#ffe45c;
  --te-radius:16px;
}
html[data-theme="light"]{
  --te-bg:#f2f7f4; --te-surface:#ffffff; --te-surface-2:#eef4f0;
  --te-text:#12211a; --te-muted:#5d6f66; --te-border:#dde8e1;
  --te-chip-bg:#eef2f0; --te-chip-text:#42524a;
  --te-header-bg:rgba(255,255,255,.9);
  --te-pay-amount:#8a5d00;
  --te-tint-green:#e2f4ea; --te-tint-blue:#e1ecfb; --te-tint-gold:#fdf0cd;
  --te-shadow:0 6px 22px rgba(6,60,40,.08);
  --te-shadow-sm:0 2px 10px rgba(6,60,40,.06);
  --te-header-shadow:0 2px 14px rgba(6,60,40,.07);
}
html[data-theme="dark"]{
  --te-bg:#081410; --te-surface:#0f2019; --te-surface-2:#132820;
  --te-text:#e9f5ee; --te-muted:#9db4a8; --te-border:#1e352a;
  --te-chip-bg:#1a2f26; --te-chip-text:#b9cdc2;
  --te-amber-bg:#2a2210; --te-amber-border:#a97a12;
  --te-hl:#8a6d00;
  --te-header-bg:rgba(11,24,18,.88);
  --te-pay-amount:#f5b301;
  --te-tint-green:#123528; --te-tint-blue:#12283d; --te-tint-gold:#33270a;
  --te-shadow:0 6px 22px rgba(0,0,0,.35);
  --te-shadow-sm:0 2px 10px rgba(0,0,0,.3);
  --te-header-shadow:0 2px 14px rgba(0,0,0,.4);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--te-bg);color:var(--te-text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  font-size:16px;line-height:1.5;padding-bottom:76px}
a{color:var(--te-green)}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- App bar ---------- */
.te-appbar{position:sticky;top:0;z-index:50;background:var(--te-header-bg);
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
  border-bottom:1px solid var(--te-border);box-shadow:var(--te-header-shadow)}
.te-appbar__inner{max-width:1080px;margin:0 auto;padding:11px 16px;
  display:flex;align-items:center;justify-content:space-between;gap:12px}
.te-brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--te-text);min-width:0}
.te-brand .custom-logo{width:40px;height:40px;border-radius:11px}
.te-logo{position:relative;flex:0 0 40px;width:40px;height:40px;border-radius:11px;
  background:linear-gradient(135deg,#0d9d63,#065f46);display:flex;align-items:center;justify-content:center;
  box-shadow:0 3px 10px rgba(6,95,70,.35)}
.te-logo svg{width:25px;height:25px}
.te-logo__dot{position:absolute;top:4px;right:4px;width:7px;height:7px;border-radius:50%;background:var(--te-gold)}
.te-brand__text{display:flex;flex-direction:column;line-height:1.12;min-width:0}
.te-brand__name{font-size:1.22rem;font-weight:800;letter-spacing:-.4px;white-space:nowrap}
.te-brand__earn{color:var(--te-green);font-weight:600}
.te-brand__sub{font-size:.6rem;font-weight:700;letter-spacing:2.4px;text-transform:uppercase;color:var(--te-muted)}
.te-topnav{margin-left:auto}
.te-topnav__list{display:flex;gap:4px;list-style:none;margin:0;padding:0}
.te-topnav__list a{display:block;padding:8px 12px;border-radius:999px;text-decoration:none;
  color:var(--te-text);font-weight:600;font-size:.95rem}
.te-topnav__list a:hover{background:var(--te-surface-2)}
@media (max-width:640px){ .te-topnav{display:none} }
.te-theme-toggle{flex:0 0 40px;width:40px;height:40px;border-radius:50%;cursor:pointer;
  border:1px solid var(--te-border);background:var(--te-surface-2);color:var(--te-text);
  display:flex;align-items:center;justify-content:center;padding:0;
  transition:background .15s ease,transform .1s ease}
.te-theme-toggle:active{transform:scale(.94)}
.te-theme-toggle svg{width:20px;height:20px}
html[data-theme="dark"] .te-theme-toggle .te-ic-moon{display:none}
html[data-theme="light"] .te-theme-toggle .te-ic-sun{display:none}

/* ---------- Layout ---------- */
.te-main{max-width:1080px;margin:0 auto;padding:0 16px 8px}
.te-section{margin:26px 0}
.te-empty{color:var(--te-muted);text-align:center;padding:22px 0}

/* ---------- Hero ---------- */
.te-hero{margin:16px 0 0;border-radius:26px;padding:34px 22px 28px;text-align:center;color:#fff;
  background:linear-gradient(150deg,#0d9d63 0%,#065f46 55%,#043f2e 100%);
  box-shadow:var(--te-shadow)}
.te-hero__title{margin:0 0 8px;font-size:2.1rem;line-height:1.15;font-weight:900;letter-spacing:-.5px}
.te-hero__hl{background:var(--te-gold);color:#231a00;border-radius:10px;padding:0 10px;
  box-decoration-break:clone;-webkit-box-decoration-break:clone}
.te-hero__line{margin:0 0 18px;font-size:1.05rem;opacity:.92}
.te-btn{display:inline-block;border:0;cursor:pointer;text-decoration:none;font-weight:800;
  border-radius:999px;padding:13px 26px;font-size:1rem}
.te-btn--gold{background:var(--te-gold);color:#231a00;box-shadow:0 8px 18px rgba(0,0,0,.25)}
.te-btn--ghost{background:var(--te-surface);color:var(--te-green);border:1.5px solid var(--te-border)}
.te-btn--start{display:block;text-align:center;background:linear-gradient(135deg,#0d9d63,#065f46);
  color:#fff;font-size:1.08rem;padding:16px 22px;margin-top:18px}
.te-hero__pills{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:20px}
.te-hero__pill{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.35);
  border-radius:999px;padding:6px 13px;font-size:.86rem;font-weight:700}

/* ---------- Trust cards ---------- */
.te-trust{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:16px 0 0}
.te-trust__card{background:var(--te-surface);border:1px solid var(--te-border);border-radius:var(--te-radius);
  padding:14px 8px 12px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:2px;
  box-shadow:var(--te-shadow-sm);min-width:0}
.te-trust__ic{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.te-trust__ic svg{width:22px;height:22px}
.te-trust__card--green .te-trust__ic{background:var(--te-tint-green);color:var(--te-green)}
.te-trust__card--blue .te-trust__ic{background:var(--te-tint-blue);color:#1565c0}
.te-trust__card--gold .te-trust__ic{background:var(--te-tint-gold);color:#a86e00}
.te-trust__card strong{font-size:.95rem;line-height:1.2}
.te-trust__card span:last-child{font-size:.8rem;color:var(--te-muted)}

/* ---------- Section headers ---------- */
.te-sec-head{display:flex;align-items:flex-start;flex-wrap:wrap;gap:12px;background:var(--te-surface);
  border:1px solid var(--te-border);border-radius:var(--te-radius);
  padding:14px 16px;margin-bottom:16px;box-shadow:var(--te-shadow-sm)}
.te-sec-head__ic{flex:0 0 44px;width:44px;height:44px;border-radius:13px;
  background:var(--te-green);color:#fff;display:flex;align-items:center;justify-content:center}
.te-sec-head__ic svg{width:25px;height:25px}
.te-sec-head__text{flex:1 1 0;min-width:0}
.te-sec-head__text h1,.te-sec-head__text h2{margin:0 0 2px;font-size:1.3rem;line-height:1.22;overflow-wrap:break-word;text-wrap:balance}
.te-sec-head__text p{margin:0;color:var(--te-muted);font-size:.92rem}
.te-hl{background:var(--te-hl);border-radius:6px;padding:0 5px;color:inherit}
.te-badge{flex:0 0 auto;align-self:flex-start;background:var(--te-surface-2);border:1px solid var(--te-border);
  color:var(--te-green);font-weight:800;font-size:.8rem;border-radius:999px;padding:5px 11px;white-space:nowrap}
@media (max-width:400px){
  .te-sec-head{row-gap:6px}
  .te-sec-head__text{flex-basis:calc(100% - 56px)}
  .te-badge{order:3;margin:2px 0 0 56px}
}

/* ---------- Filters & search ---------- */
.te-filters{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 12px;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.te-filters::-webkit-scrollbar{display:none}
.te-chip-btn{flex:0 0 auto;border:1.5px solid var(--te-border);background:var(--te-surface);
  color:var(--te-text);border-radius:999px;padding:8px 15px;font-weight:700;font-size:.9rem;cursor:pointer;
  transition:background .15s ease,border-color .15s ease,color .15s ease}
.te-chip-btn.is-active{background:var(--te-green);border-color:var(--te-green);color:#fff;
  box-shadow:0 3px 10px rgba(6,95,70,.3)}
.te-search{display:block;position:relative;margin:0 0 16px}
.te-search__ic{position:absolute;left:15px;top:50%;transform:translateY(-50%);
  width:19px;height:19px;color:var(--te-muted);pointer-events:none}
.te-search input{width:100%;padding:13px 16px 13px 44px;border-radius:999px;border:1.5px solid var(--te-border);
  background:var(--te-surface);color:var(--te-text);font-size:1rem;box-shadow:var(--te-shadow-sm)}
.te-search input::placeholder{color:var(--te-muted)}
.te-search input:focus{outline:2px solid var(--te-green);outline-offset:1px}

/* ---------- Job cards ---------- */
.te-jobs-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:680px){ .te-jobs-grid{grid-template-columns:1fr 1fr} }
.te-jobs-grid--single{grid-template-columns:1fr}
.te-job-card{background:var(--te-surface);border:1px solid var(--te-border);border-radius:var(--te-radius);
  box-shadow:var(--te-shadow-sm);overflow:hidden;
  transition:transform .15s ease,box-shadow .15s ease}
.te-job-card:hover{transform:translateY(-2px);box-shadow:var(--te-shadow)}
.te-job-card:active{transform:scale(.995)}
.te-job-card__link{display:flex;flex-direction:column;gap:11px;padding:16px;text-decoration:none;color:var(--te-text);height:100%}
.te-job-card__top{display:flex;align-items:flex-start;gap:12px}
.te-mark{flex:0 0 auto;border-radius:13px;color:#fff;display:flex;align-items:center;justify-content:center;
  box-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 2px 6px rgba(0,0,0,.12)}
.te-mark svg{width:58%;height:58%}
.te-job-card__head{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px;align-items:flex-start;padding-top:2px}
.te-job-card__partner{font-size:.76rem;font-weight:800;letter-spacing:1.3px;color:var(--te-muted)}
.te-pill{display:inline-block;border-radius:999px;padding:3px 10px;font-size:.75rem;font-weight:800}
.te-pill--partner{background:var(--te-green);color:#fff}
.te-pay{flex:0 0 auto;background:var(--te-amber-bg);border:1.5px solid var(--te-amber-border);
  border-radius:13px;padding:7px 12px;text-align:center;line-height:1.1}
.te-pay__amount{display:block;font-size:1.35rem;font-weight:900;color:var(--te-pay-amount)}
.te-pay__range{display:block;font-size:.72rem;font-weight:700;color:var(--te-muted);margin-top:2px}
.te-job-card__title{margin:0;font-size:1.14rem;line-height:1.3;font-weight:800}
.te-meta-row{display:flex;flex-wrap:wrap;gap:6px}
.te-chip{display:inline-flex;align-items:center;gap:5px;background:var(--te-chip-bg);color:var(--te-chip-text);
  border-radius:999px;padding:5px 11px;font-size:.8rem;font-weight:600}
.te-chip svg{width:13px;height:13px;flex:0 0 13px}
.te-job-card__foot{margin-top:auto;padding-top:2px;text-align:right}
.te-job-card__view{color:var(--te-green);font-weight:800;font-size:.9rem}
.te-jobs-note{text-align:center;color:var(--te-muted);font-size:.84rem;margin:14px 0 0}
.te-grid-ad{grid-column:1/-1}

/* ---------- Ads ---------- */
.te-ad{margin:18px 0;border:1.5px dashed var(--te-border);border-radius:var(--te-radius);
  background:var(--te-surface-2);padding:20px 16px;text-align:center}
.te-ad__label{display:block;font-size:.72rem;font-weight:700;letter-spacing:1.6px;
  text-transform:uppercase;color:var(--te-muted)}
.te-ad__slot{display:block;margin-top:4px;font-weight:800;color:var(--te-text)}
.te-ad--custom{border-style:solid;background:var(--te-surface);box-shadow:var(--te-shadow-sm)}
.te-ad--custom h3{margin:6px 0 4px;font-size:1.15rem}
.te-ad--custom p{margin:0 0 12px;color:var(--te-muted)}
.te-ad--custom .te-btn{background:var(--te-green);color:#fff;padding:10px 20px}
.te-guide .te-ad,.te-article .te-ad{margin:20px 0}

/* ---------- Logo tiles ---------- */
.te-logo-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
@media (min-width:680px){ .te-logo-grid{grid-template-columns:repeat(4,1fr)} }
.te-logo-grid--pay{grid-template-columns:1fr 1fr}
@media (min-width:680px){ .te-logo-grid--pay{grid-template-columns:repeat(4,1fr)} }
.te-logo-tile{background:var(--te-surface);border:1px solid var(--te-border);border-radius:var(--te-radius);
  box-shadow:var(--te-shadow-sm);padding:18px 10px 14px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0}
html[data-theme="dark"] .te-logo-tile{border-color:#26503c;box-shadow:0 2px 10px rgba(0,0,0,.35)}
.te-logo-tile__wm{font-size:1.25rem;line-height:1.15;max-width:100%;overflow-wrap:break-word}
.te-logo-tile__name{font-weight:700;font-size:.9rem;color:var(--te-text)}
.te-logo-tile__cat{font-size:.76rem;color:var(--te-muted)}
.te-logo-tile__label{font-size:.72rem;font-weight:700;letter-spacing:1.6px;text-transform:uppercase;color:var(--te-muted)}
.te-logo-tile--pay{padding:16px 8px 12px;justify-content:center;min-height:86px}
/* Dark mode: brighter per-brand wordmark variants so they stay readable on
   the dark tile (base colours are inline styles, hence !important). */
html[data-theme="dark"] .te-wm--clickworker{color:#2fd3c6 !important}
html[data-theme="dark"] .te-wm--sproutgigs{color:#6fbf73 !important}
html[data-theme="dark"] .te-wm--microworkers{color:#64b5f6 !important}
html[data-theme="dark"] .te-wm--utest{color:#9fa8da !important}
html[data-theme="dark"] .te-wm--telus{color:#8bc34a !important}
html[data-theme="dark"] .te-wm--gotranscript{color:#4dd0e1 !important}
html[data-theme="dark"] .te-wm--ysense{color:#82a9ff !important}
html[data-theme="dark"] .te-wm--freecash{color:#2ee56f !important}
html[data-theme="dark"] .te-br-paypal-1{color:#7db3ff !important}
html[data-theme="dark"] .te-br-paypal-2{color:#3ec1f3 !important}
html[data-theme="dark"] .te-br-airtm{color:#8fa5ff !important}
html[data-theme="dark"] .te-br-skrill{color:#d77fb4 !important}
html[data-theme="dark"] .te-br-gcash{color:#57a8ff !important}
html[data-theme="dark"] .te-br-jazz-1{color:#f0657f !important}
html[data-theme="dark"] .te-br-ovo{color:#a794ff !important}
html[data-theme="dark"] .te-br-upi{color:#9db9dd !important}
html[data-theme="dark"] .te-br-crypto{color:#c9c9c9 !important}

/* ---------- Steps ---------- */
.te-steps{display:flex;flex-direction:column;gap:10px}
.te-step{display:flex;align-items:center;gap:13px;background:var(--te-surface);
  border:1px solid var(--te-border);border-radius:var(--te-radius);padding:14px 16px;box-shadow:var(--te-shadow-sm)}
.te-step__ic{flex:0 0 52px;width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center}
.te-step__ic svg{width:28px;height:28px}
.te-step__ic--green{background:var(--te-tint-green);color:var(--te-green)}
.te-step__ic--blue{background:var(--te-tint-blue);color:#1565c0}
.te-step__ic--gold{background:var(--te-tint-gold);color:#a86e00}
.te-step__num{flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:var(--te-gold);
  color:#231a00;font-weight:900;display:flex;align-items:center;justify-content:center}
.te-step div{display:flex;flex-direction:column;min-width:0}
.te-step strong{font-size:1.02rem}
.te-step div span{color:var(--te-muted);font-size:.9rem}

/* ---------- FAQ / blog ---------- */
.te-faq{display:flex;flex-direction:column;gap:10px}
.te-faq__item{background:var(--te-surface);border:1px solid var(--te-border);border-radius:var(--te-radius);padding:16px;box-shadow:var(--te-shadow-sm)}
.te-faq__item h3{margin:0 0 4px;font-size:1.02rem}
.te-faq__item p{margin:0;color:var(--te-muted);font-size:.94rem}
.te-blog-grid{display:grid;grid-template-columns:1fr;gap:16px}
@media (min-width:680px){ .te-blog-grid{grid-template-columns:repeat(3,1fr)} }
.te-post-card{background:var(--te-surface);border:1px solid var(--te-border);border-radius:var(--te-radius);
  box-shadow:var(--te-shadow-sm);overflow:hidden;transition:transform .15s ease,box-shadow .15s ease}
.te-post-card:hover{transform:translateY(-2px);box-shadow:var(--te-shadow)}
.te-post-card__link{display:flex;flex-direction:column;text-decoration:none;color:var(--te-text);height:100%}
.te-post-card__cover{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;background:var(--te-surface-2)}
.te-post-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.te-post-card__cover--fallback{display:flex;align-items:center;justify-content:center;color:rgba(255,255,255,.92);
  background:
    radial-gradient(rgba(255,255,255,.16) 1.5px, transparent 1.6px) 0 0/18px 18px,
    repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 10px, transparent 10px 20px),
    linear-gradient(135deg,#0d9d63 0%,#065f46 55%,#043f2e 100%)}
.te-post-card__cover-ic{width:56px;height:56px;opacity:.92;filter:drop-shadow(0 4px 10px rgba(0,0,0,.25))}
.te-post-card__cover-chip{position:absolute;left:12px;bottom:12px;background:var(--te-gold);color:#231a00;
  font-size:.7rem;font-weight:800;letter-spacing:1.2px;text-transform:uppercase;
  border-radius:999px;padding:4px 10px;box-shadow:0 3px 8px rgba(0,0,0,.25)}
.te-post-card__body{display:flex;flex-direction:column;gap:7px;padding:16px;flex:1}
.te-post-card__date{align-self:flex-start;background:var(--te-surface-2);border:1px solid var(--te-border);
  color:var(--te-green);font-weight:800;font-size:.74rem;border-radius:999px;padding:4px 10px}
.te-post-card__title{margin:0;font-size:1.08rem;line-height:1.3;font-weight:800}
.te-post-card__excerpt{margin:0;color:var(--te-muted);font-size:.92rem;flex:1}
.te-post-card__read{color:var(--te-green);font-weight:800;font-size:.92rem}
.te-blog-more{text-align:center;margin:16px 0 0}
.te-pagination{margin-top:18px}
.te-pagination ul{display:flex;gap:6px;justify-content:center;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.te-pagination a,.te-pagination span{display:block;padding:8px 13px;border-radius:10px;background:var(--te-surface);
  border:1px solid var(--te-border);text-decoration:none;font-weight:700;color:var(--te-text)}
.te-pagination .current{background:var(--te-green);color:#fff;border-color:var(--te-green)}

/* ---------- Guide / article ---------- */
.te-guide,.te-article{background:var(--te-surface);border:1px solid var(--te-border);
  border-radius:22px;box-shadow:var(--te-shadow-sm);padding:20px;margin:16px 0}
.te-guide__back{display:inline-block;margin-bottom:14px;color:var(--te-green);font-weight:700;text-decoration:none}
.te-guide__head{display:flex;align-items:center;gap:13px}
.te-guide__headtext{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.te-guide__payout{font-size:.85rem;color:var(--te-muted);font-weight:600}
.te-guide__title,.te-article__title{font-size:1.55rem;line-height:1.25;margin:16px 0 12px;overflow-wrap:break-word}
.te-guide__intro p,.te-article__body p{color:var(--te-text)}
.te-guide__h2{font-size:1.2rem;margin:22px 0 10px}
.te-guide__steps{list-style:none;margin:0;padding:0;counter-reset:te-step;display:flex;flex-direction:column;gap:10px}
.te-guide__steps li{display:flex;gap:12px;align-items:flex-start;background:var(--te-surface-2);
  border-radius:14px;padding:12px 14px;font-weight:600}
.te-guide__stepnum{counter-increment:te-step;flex:0 0 28px;width:28px;height:28px;border-radius:50%;
  background:var(--te-green);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center}
.te-guide__stepnum::before{content:counter(te-step)}
.te-guide__whopays{background:var(--te-amber-bg);border:1px solid var(--te-amber-border);
  border-radius:14px;padding:13px 15px;margin:20px 0 0}
.te-article__thumb img{border-radius:16px;width:100%}
.te-article__body{font-size:1.02rem}
.te-article__body h2{font-size:1.3rem;margin:24px 0 8px}
.te-article__body h3{font-size:1.12rem;margin:20px 0 6px}
.te-related{margin-top:8px}

/* ---------- 404 ---------- */
.te-404__box{text-align:center;background:var(--te-surface);border:1px solid var(--te-border);
  border-radius:22px;padding:34px 20px;box-shadow:var(--te-shadow-sm)}
.te-404__code{font-size:3rem;font-weight:900;color:var(--te-green);display:block}

/* ---------- Footer (centred) ---------- */
.te-footer{border-top:1px solid var(--te-border);background:var(--te-surface);margin-top:34px}
.te-footer__inner{max-width:1080px;margin:0 auto;padding:36px 16px 24px;
  display:flex;flex-direction:column;align-items:center;text-align:center}
.te-footer__brand{display:flex;flex-direction:column;align-items:center;
  text-decoration:none;color:var(--te-text)}
.te-logo--footer{flex:0 0 56px;width:56px;height:56px;border-radius:16px;
  background:linear-gradient(135deg,#0d9d63,#065f46);
  box-shadow:0 8px 24px rgba(6,95,70,.45),0 0 0 6px rgba(10,125,79,.12)}
.te-logo--footer svg{width:35px;height:35px}
.te-logo--footer .te-logo__dot{top:6px;right:6px;width:9px;height:9px}
.te-footer__name{margin-top:14px;font-size:1.65rem;font-weight:800;letter-spacing:-.5px;line-height:1.1}
.te-footer__earn{color:var(--te-green);font-weight:600}
.te-footer__sub{margin-top:5px;font-size:.68rem;font-weight:700;letter-spacing:3px;
  text-transform:uppercase;color:var(--te-muted)}
.te-footer__tag{color:var(--te-muted);font-size:.94rem;margin:16px 0 0;line-height:1.6;max-width:420px}
.te-footer__divider{display:block;width:120px;height:3px;border-radius:999px;margin:22px 0 20px;
  background:linear-gradient(90deg,var(--te-green),var(--te-gold))}
.te-footer__links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;justify-content:center}
.te-footer__links li{display:inline-flex;align-items:center}
.te-footer__links li+li::before{content:"·";margin:0 11px;color:var(--te-muted)}
.te-footer__links a{color:var(--te-muted);text-decoration:none;font-weight:600;font-size:.88rem}
.te-footer__links a:hover{color:var(--te-green)}
.te-footer__copy{margin:22px 0 0;font-weight:700;font-size:.9rem}
.te-footer__note{margin:4px 0 0;color:var(--te-muted);font-size:.84rem}

/* ---------- Bottom tab bar ---------- */
.te-tabbar{--te-tab-bg:var(--te-surface);position:fixed;left:0;right:0;bottom:0;z-index:60;
  background:var(--te-surface);border-top:1px solid var(--te-border);
  display:flex;justify-content:space-around;padding:6px 4px calc(6px + env(safe-area-inset-bottom))}
.te-tab{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;
  text-decoration:none;color:var(--te-muted);font-size:.72rem;font-weight:700;padding:4px 0}
.te-tab svg{width:23px;height:23px}
.te-tab.is-active{color:var(--te-green)}
@media (min-width:900px){ .te-tabbar{max-width:520px;margin:0 auto;border-left:1px solid var(--te-border);border-right:1px solid var(--te-border);border-radius:16px 16px 0 0} }
