/* VooSquare Affiliates, live app additions on top of the approved preview styles (aff.css): loading and error states,
 * the lifetime RevShare health meter, sub-affiliates, contest cards, KYC, back office extras. Same tokens, same look. */
.aff-root { min-height: 100vh; }
.nojs { padding: 24px; }

/* loading, error, dimming */
.skl { display: grid; gap: 14px; }
.skl i { display: block; border-radius: var(--r3); background: linear-gradient(90deg, var(--bg3) 0%, #F8FBF9 40%, var(--bg3) 80%); background-size: 200% 100%; animation: skl 1.3s linear infinite; }
@keyframes skl { to { background-position: -200% 0; } }
.pg.loading { min-height: 60vh; }
.dim { opacity: .45; pointer-events: none; transition: opacity .2s; }
.err-box .ico { color: var(--danger); }
.err { color: var(--danger); font-size: 13.5px; font-weight: 600; }
.nowrap { white-space: nowrap; }
.dev-hint { display: flex; gap: 8px; align-items: center; background: var(--bg2); border: 1px dashed var(--line2); border-radius: 14px; padding: 10px 12px; font-size: 13px; }
.dev-hint .ico { width: 16px; height: 16px; color: var(--muted); }
.lnk:disabled { opacity: .5; }

/* public header: Log in and Join stay visible on phones */
.snav-r .btn-l .ico { width: 16px; height: 16px; }
.hero-small a { color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.fin-cta { justify-content: center; }
@media (max-width: 720px) {
  .snav-r .snav-login { display: inline-flex; padding: 8px 12px; font-size: 13.5px; }
  .snav-r .snav-join, .snav-r .btn-l { display: inline-flex; padding: 8px 14px; font-size: 13.5px; }
  .hide-s { display: none; }
  .snav-in { gap: 10px; }
  .snav .lg span { font-size: 17px; } .snav .lg em { display: none; }
}

/* sidebar foot links (back office, log out) */
.sb-foot { display: grid; gap: 2px; border-top: 1px solid rgba(255,255,255,.06); padding: 10px 0 0; margin-top: 4px; }
.sb-lnk { display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 12px; color: #8FA59A; font-weight: 600; font-size: 13.5px; text-align: left; width: 100%; }
.sb-lnk:hover { background: rgba(255,255,255,.05); color: #fff; }
.sb-lnk .ico { width: 17px; height: 17px; }
.more-g button { display: grid; justify-items: center; gap: 6px; font-weight: 700; font-size: 13px; }

/* balance extras */
.owe-chip { display: inline-flex; gap: 6px; align-items: center; background: rgba(217,54,46,.16); color: #FFB4AE; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; }
.owe-chip .ico { width: 14px; height: 14px; }
.hint-l.warn { color: var(--amb); } .hint-l.warn .ico { color: var(--amb); }

/* ---------- lifetime RevShare health ---------- */
.hl-chip { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.hl-chip .live-dot { width: 6px; height: 6px; }
.hl-g { background: var(--tint); color: var(--deep); } .hl-amb { background: var(--amb-t); color: var(--amb); } .hl-r { background: var(--danger-tint); color: var(--danger); }
.hl-b { background: var(--blue-t); color: var(--blue); } .hl-w { background: var(--bg2); color: var(--muted); border: 1px solid var(--line); }
.hl-bar { position: relative; height: 14px; border-radius: 999px; background: var(--bg3); margin: 26px 0 10px; }
.hl-bar > i { position: absolute; inset: 0 auto 0 0; width: calc(var(--p) * 100%); border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand2)); transform-origin: left; animation: hlgrow 1.1s var(--ease) both; }
.hc-amb .hl-bar > i { background: linear-gradient(90deg, #E8A317, #F5C542); } .hc-r .hl-bar > i { background: linear-gradient(90deg, var(--danger), #F07167); } .hc-b .hl-bar > i { background: linear-gradient(90deg, var(--blue), #5B86FF); }
@keyframes hlgrow { from { transform: scaleX(0); } }
.hl-th { position: absolute; top: -8px; bottom: -8px; left: calc(var(--t) * 100%); width: 2px; background: var(--ink); border-radius: 2px; }
.hl-th em { position: absolute; bottom: calc(100% + 2px); left: 50%; transform: translateX(-50%); font-style: normal; font-size: 11px; font-weight: 800; background: var(--ink); color: #fff; padding: 1px 6px; border-radius: 6px; white-space: nowrap; }
.hcard { position: relative; }
.hc-line { font-size: 15px; } .hc-line b { font-size: 20px; letter-spacing: -.03em; }
.hc-need { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; font-weight: 600; color: var(--ink2); }
.hc-need .ico { width: 17px; height: 17px; color: var(--brand); margin-top: 1px; }
.hc-amb .hc-need .ico { color: var(--amb); } .hc-r .hc-need .ico { color: var(--danger); }
.hc-days { position: absolute; right: 20px; bottom: 18px; text-align: right; line-height: 1; }
.hc-days b { font-size: 30px; letter-spacing: -.05em; } .hc-days small { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.hcard .hc-need { padding-right: 70px; }
.hrow { align-items: start; }
.subs-mini p { margin: 4px 0 14px; }

/* landing: health section */
.hlth { background: var(--bg2); }
.hl-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: start; }
.hl-meter { padding: 24px; }
.hl-mh { display: flex; justify-content: space-between; align-items: center; } .hl-mh b { font-size: 18px; letter-spacing: -.03em; }
.hl-meter .hl-bar > i { animation: none; transform: scaleX(0); transition: transform 1.4s var(--ease); }
.hl-meter.inview .hl-bar > i { transform: scaleX(1); }
.hl-ax { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); font-weight: 700; }
.hl-steps { list-style: none; padding: 0; margin: 18px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; counter-reset: hs; }
.hl-steps li { background: var(--bg2); border-radius: 16px; padding: 12px; display: grid; gap: 2px; }
.hl-steps b { font-size: 17px; letter-spacing: -.03em; } .hl-steps span { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.hl-states { display: grid; gap: 10px; }
.hl-s { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 14px 16px; display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; }
.hl-s .hl-chip { justify-self: start; } .hl-s p { font-size: 14px; color: var(--ink2); }

/* landing: sub-affiliates */
.subsx-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.subsx h2 { font-size: clamp(30px, 3.4vw, 44px); margin-bottom: 14px; }
.subsx-r { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 22px 0 12px; }
.subsx-r > div { border: 1px solid var(--line); border-radius: 20px; padding: 16px; display: grid; gap: 4px; }
.subsx-r b { font-size: 34px; letter-spacing: -.05em; color: var(--deep); } .subsx-r span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.subsx-r .up { background: var(--night); border-color: var(--night); } .subsx-r .up b { color: var(--lime); } .subsx-r .up span { color: #B9C9C1; }
.subsx .btn { margin-top: 14px; }
.netw { position: relative; background: radial-gradient(400px 260px at 50% 45%, #164531, var(--night) 70%); border-radius: 32px; padding: 20px; }
.netw svg { width: 100%; height: auto; display: block; }
.nw-e line { stroke: rgba(201,246,91,.35); stroke-width: 2; stroke-dasharray: 3 6; animation: nwdash 1.6s linear infinite; }
@keyframes nwdash { to { stroke-dashoffset: -18; } }
.nw-n { animation: nwpop .6s var(--ease) both; animation-delay: calc(var(--j) * .12s); transform-box: fill-box; }
@keyframes nwpop { from { opacity: 0; } }
.nw-tag { position: absolute; right: 18px; top: 18px; background: var(--lime); color: #14200A; font-weight: 800; font-size: 13px; padding: 6px 12px; border-radius: 999px; }

/* filters as selects and inputs */
.fsel { position: relative; padding: 0 10px; }
.fsel select { appearance: none; -webkit-appearance: none; border: 0; background: transparent; font-weight: 700; font-size: 13px; padding: 8px 2px; max-width: 170px; cursor: pointer; }
.fsel select:focus-visible { outline: none; } .fsel:focus-within { outline: 3px solid var(--brand); outline-offset: 1px; }
.fin { padding: 0 0 0 12px; gap: 4px; }
.fin input { border: 0; background: transparent; width: 84px; font-family: var(--f-m); font-size: 12px; padding: 8px 8px 8px 4px; }
.fin input:focus { outline: none; } .fin:focus-within { outline: 3px solid var(--brand); outline-offset: 1px; }
.fin input.bad { color: var(--danger); }
.sumrow.one { grid-template-columns: repeat(3, 1fr); }

/* links page */
.dl-list { display: grid; gap: 6px; max-height: 240px; overflow: auto; margin-top: 10px; }
.dl-list .lb-out, .cpn-l .lb-out { margin-top: 0; }
.lb-out .pi { flex: none; }
.lb-out code { background: none; border: 0; color: inherit; padding: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; min-width: 0; }
.lb-out small { color: #8FA59A; font-size: 11.5px; white-space: nowrap; }
.cpn-l { display: grid; gap: 6px; margin: 10px 0; }
.qr-box img { display: block; border-radius: 12px; }

/* postbacks */
.pb-i { flex-wrap: wrap; }
.pb-a { display: flex; gap: 4px; margin-left: auto; }
.tg-off { display: flex; gap: 12px; align-items: flex-start; background: var(--amb-t); border-radius: 18px; padding: 14px 16px; color: var(--ink2); margin: 10px 0; }
.tg-off .ico { color: var(--amb); margin-top: 2px; } .tg-off b { display: block; }

/* creatives */
.cr-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-prev { position: relative; overflow: hidden; }
.kl-png { max-height: 40px; width: auto; }
.kit-icons a, .kit-logos a { display: grid; justify-items: center; gap: 6px; }
.kl small { font-size: 11.5px; font-weight: 700; opacity: .7; }

/* contests */
.ct-tabs { margin: 18px 0 14px; }
.ct-tabs .tc { font-style: normal; font-size: 11.5px; background: var(--bg3); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.cc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.ccard { background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.cc-art { position: relative; height: 140px; background: radial-gradient(300px 160px at 30% 80%, color-mix(in srgb, var(--cacc) 40%, transparent), transparent 70%), linear-gradient(135deg, #10301F, var(--night)); display: flex; align-items: flex-end; gap: 0; padding: 0 18px 16px; }
.cc-art > span { margin-left: -10px; border-radius: 50%; box-shadow: 0 0 0 3px var(--night); animation: ccbob 3s ease-in-out infinite; animation-delay: calc(var(--j) * -.6s); }
.cc-art > span:first-child { margin-left: 0; }
@keyframes ccbob { 50% { transform: translateY(-6px); } }
.cc-trophy { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; border-radius: 18px; background: var(--cacc); color: #14200A; display: grid; place-items: center; transform: rotate(8deg); }
.cc-trophy .ico { width: 28px; height: 28px; stroke-width: 2; }
.cc-img { width: 100%; height: 140px; object-fit: cover; display: block; }
.cc-b { padding: 16px 18px 18px; display: grid; gap: 6px; align-content: start; }
.cc-b h3 { font-size: 20px; }
.cc-b .up-f { margin-top: auto; padding-top: 8px; }
.cc-win { display: grid; gap: 4px; font-size: 13px; font-weight: 700; background: var(--bg2); border-radius: 14px; padding: 10px 12px; }
.ccard-completed .cc-art { filter: saturate(.6); }
.flag { font-size: 16px; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.lbr .flag { flex: none; }
.lbr.dq { opacity: .55; }
.lbd-gap { text-align: center; color: var(--muted2); font-weight: 800; }
.mv { font-style: normal; font-size: 10.5px; font-weight: 800; margin-left: 4px; } .mv.up { color: var(--brand); } .mv.dn { color: var(--danger); }
.ct-hero[style*="--ctimg"] { background: linear-gradient(90deg, rgba(10,22,17,.97) 35%, rgba(10,22,17,.6)), var(--ctimg) center / cover no-repeat; }

/* payouts */
.preq-tl .rq-tl { margin-top: 14px; }
.rq-tl .bad i { background: var(--danger); border-color: var(--danger); }
.kyc-docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.kyc-d { border: 1.5px dashed var(--line2); border-radius: 18px; padding: 14px; display: grid; gap: 4px; justify-items: center; text-align: center; cursor: pointer; }
.kyc-d:hover { border-color: var(--brand); } .kyc-d.ok { border-style: solid; border-color: var(--brand); background: var(--tint); }
.kyc-dic { width: 40px; height: 40px; border-radius: 12px; background: var(--bg2); display: grid; place-items: center; }
.kyc-d b { font-size: 13.5px; } .kyc-d small { font-size: 12px; color: var(--muted); }
.kyc-d:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }

/* sub-affiliates page */
.subs-hero { display: grid; gap: 16px; background: linear-gradient(135deg, #10301F, var(--night)); color: #fff; border: 0; }
.sh-rate small { color: #8FA59A; font-weight: 700; font-size: 12.5px; } .sh-rate b { display: block; font-size: 52px; letter-spacing: -.06em; color: var(--lime); line-height: 1; } .sh-rate span { color: #B9C9C1; font-size: 14px; }
.sh-pt b { font-size: 18px; } .sh-pt span { display: block; color: #B9C9C1; font-size: 13px; }
.subs-hero .hl-bar { background: rgba(255,255,255,.1); }
.subs-hero .hl-th { background: var(--lime); } .subs-hero .hl-th em { background: var(--lime); color: #14200A; }
.subs-hero .muted { color: #8FA59A; }
.subs-hero code { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.12); color: var(--lime); }

/* manager chat */
.chat-empty { padding: 20px; text-align: center; }
.notes .from-aff { border-left: 3px solid var(--blue); }

/* back office extras */
.apc-l { font-size: 13px; display: flex; flex-wrap: wrap; gap: 6px; } .apc-l a { color: var(--deep); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.apc-info { display: flex; gap: 6px; align-items: flex-start; font-size: 13px; background: var(--amb-t); color: var(--amb); padding: 8px 10px; border-radius: 12px; font-weight: 600; }
.apc-info.ok { background: var(--tint); color: var(--deep); } .apc-info .ico { width: 15px; height: 15px; margin-top: 2px; }
.dup-m { display: grid; gap: 4px; font-size: 13px; background: var(--bg2); border-radius: 12px; padding: 10px 12px; }
.dup-v { display: flex; gap: 8px; align-items: center; }
.pay-lines { display: grid; gap: 4px; background: var(--bg2); border-radius: 14px; padding: 10px 12px; font-size: 13.5px; }
.pay-lines div { display: flex; justify-content: space-between; gap: 10px; }
.sticky-save { position: sticky; bottom: 12px; z-index: 5; display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 8px 8px 8px; box-shadow: var(--shadow); width: max-content; max-width: 100%; margin: 16px 0; }
.cpv-c { --cacc: #C9F65B; }
.cpv-img { width: 100%; height: 120px; object-fit: cover; border-radius: 16px; display: block; margin-bottom: 10px; }
.ct-thumb { width: 72px; height: 72px; border-radius: 20px; object-fit: cover; background: var(--night); color: var(--lime); display: grid; place-items: center; flex: none; }
.cr-th { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; vertical-align: middle; margin-right: 8px; }
.kyc-list { display: grid; gap: 12px; }
.kyc-row { display: grid; grid-template-columns: minmax(200px, 1fr) 2fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.kyc-row:last-child { border-bottom: 0; }
.kyc-row > div:first-child { display: grid; gap: 4px; }
.kyc-docs-a { display: flex; gap: 8px; flex-wrap: wrap; }
.kyc-doc { display: grid; gap: 2px; justify-items: center; font-size: 11px; color: var(--muted); }
.kyc-doc img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.tgadm p { margin: 4px 0 12px; }
.t-li { padding-left: 14px; }
a.al { color: inherit; }
.ask-ref { font-size: 13.5px; background: var(--bg2); padding: 10px 12px; border-radius: 12px; }

@media (max-width: 1080px) {
  .hl-grid, .subsx-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .hl-steps { grid-template-columns: 1fr; }
  .hl-s { grid-template-columns: 1fr; gap: 6px; }
  .subsx-r { grid-template-columns: 1fr; }
  .kyc-row { grid-template-columns: 1fr; }
  .hc-days { position: static; text-align: left; margin-top: 10px; } .hcard .hc-need { padding-right: 0; }
  .sumrow.one { grid-template-columns: repeat(3, 1fr); }
  .cc-grid { grid-template-columns: 1fr; }
  .pb-a { margin-left: 0; }
  .sticky-save { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .skl i, .nw-e line, .nw-n, .cc-art > span, .hl-bar > i { animation: none !important; }
  .hl-meter .hl-bar > i { transition: none; transform: none; }
}
/* long links shrink inside their cards */
.lb-out { min-width: 0; max-width: 100%; }
.tool, .qrc, .lb { min-width: 0; }
p.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }

/* leaderboard rows carry a country flag */
.lbr { grid-template-columns: 28px auto minmax(0, 1fr) auto auto 60px auto; }
.lbr-t { white-space: nowrap; }
@media (max-width: 720px) { .lbr { grid-template-columns: 28px auto minmax(0, 1fr) auto auto; } }
.tierlist .tb-badge { color: var(--tf); font-weight: 800; }
/* keep screen-reader-only labels inside their scroll box, and let long hashes wrap */
.tbl-w, .card { position: relative; }
.nfl > * { min-width: 0; }
.nf b, .ul li, .notes p, .cv-p small, .apc-n { overflow-wrap: anywhere; }
.sumrow.six { grid-template-columns: repeat(6, 1fr); }
[data-adjf] .inp:first-child { max-width: 140px; }
form .lb-act { margin-top: 12px; }
@media (max-width: 720px) { .sumrow.six { grid-template-columns: repeat(3, 1fr); } }
.tset > div { grid-template-columns: minmax(0, 1fr) 64px 64px 52px; }
.tset .tb-badge { justify-self: start; }
input[type=color].inp { height: 46px; padding: 6px 8px; cursor: pointer; }

/* Hard RevShare cap hint under the cap input; adjustment requests in the Balance card. */
.cap-max { display: block; margin-top: 2px; font-size: 11px; white-space: nowrap; }
.adj-l li { line-height: 1.6; }
.adj-l .lb-act { display: inline-flex; gap: 6px; margin: 0 0 0 4px; vertical-align: middle; }

/* Custom RevShare deals: "Special deal" tag (above 50%), banner on the affiliate's home and offers, back-office confirm. */
.sd-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 7px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; white-space: nowrap;
  color: #C9F65B; background: linear-gradient(135deg, #0F2A1F, #06110C); box-shadow: inset 0 0 0 1px rgba(201, 246, 91, .35); vertical-align: middle; }
.sd-tag svg { width: 13px; height: 13px; fill: #C9F65B; stroke: none; }
.sd-tag.sm { font-size: 11px; padding: 2px 7px 2px 5px; }
.sd-tag.sm svg { width: 11px; height: 11px; }
.sd-tag.cu { color: #0F5132; background: #E7F8F0; box-shadow: inset 0 0 0 1px rgba(0, 168, 107, .25); }
.sd-tag.cu svg { fill: none; stroke: #00A86B; }
.sd-banner { margin: 0 0 18px; padding: 14px 16px; border-radius: 16px; background: linear-gradient(120deg, #0F2A1F 0%, #133826 55%, #1B4A30 100%); color: #fff; display: grid; gap: 8px;
  position: relative; overflow: hidden; }
.sd-banner::after { content: ''; position: absolute; inset: -40% -10% auto auto; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 246, 91, .22), transparent); pointer-events: none; animation: sd-glow 6s ease-in-out infinite alternate; }
@keyframes sd-glow { from { transform: translate(0, 0); } to { transform: translate(-30px, 20px); } }
@media (prefers-reduced-motion: reduce) { .sd-banner::after { animation: none; } }
.sd-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; position: relative; z-index: 1; }
.sd-row b { font-size: 17px; letter-spacing: -.01em; }
.sd-row span:not(.sd-tag) { color: rgba(255, 255, 255, .85); }
.sd-row small { color: rgba(255, 255, 255, .65); margin-left: auto; }
.sd-banner .sd-tag.cu { color: #0F2A1F; background: #C9F65B; box-shadow: none; }
.sd-banner .sd-tag.cu svg { stroke: #0F2A1F; }
.sd-note { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .6); position: relative; z-index: 1; }
@media (max-width: 560px) { .sd-row small { margin-left: 0; flex-basis: 100%; } }
.card .sd-banner { margin: 0 0 14px; }
.sd-confirm { padding: 12px 14px; border-radius: 12px; background: #FFF6E5; border: 1px solid #F3C969; color: #5A3B00; }
.sd-confirm b { display: flex; align-items: center; gap: 6px; }
.sd-confirm b svg { width: 18px; height: 18px; }
.sd-confirm p { margin: 6px 0 0; }

/* Updated affiliate terms (v1.1): banner, "what changed" modal, accept bar on the terms page, acceptance history */
.pend-bar.terms-bar { background: linear-gradient(100deg, #0A1611 0%, #10261C 60%, #143324 100%); border: 1px solid #1F4A35; color: #E9F5EE; position: relative; overflow: hidden; }
.pend-bar.terms-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 0%, rgba(201,246,91,.10) 45%, transparent 60%); transform: translateX(-100%); animation: tb-sheen 5.5s ease-in-out 1s infinite; pointer-events: none; }
.pend-bar.terms-bar b { color: #fff; } .pend-bar.terms-bar p { color: #A9C9B8; }
.pend-bar.terms-bar .tb-ic2 { background: #C9F65B; color: #0A1611; }
.pend-bar.terms-bar .tb-ic2 .ico { animation: none; }
.pend-bar.terms-bar .pb-a { position: relative; z-index: 1; }
.pend-bar.terms-bar .btn-w { background: transparent; color: #E9F5EE; border-color: #3A6A52; }
.pend-bar.terms-bar .btn-k { background: #C9F65B; color: #0A1611; border-color: #C9F65B; }
@keyframes tb-sheen { 0%, 60% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.terms-m .vs-modal-p { max-width: 560px; }
.tc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tc-list li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; padding: 10px 12px; border-radius: 14px; background: var(--bg2); opacity: 0; transform: translateY(6px); animation: tc-in .45s var(--ease, ease) forwards; }
.tc-list li:nth-child(2) { animation-delay: .05s; } .tc-list li:nth-child(3) { animation-delay: .1s; } .tc-list li:nth-child(4) { animation-delay: .15s; }
.tc-list li:nth-child(5) { animation-delay: .2s; } .tc-list li:nth-child(6) { animation-delay: .25s; } .tc-list li:nth-child(n+7) { animation-delay: .3s; }
.tc-list li > i { width: 24px; height: 24px; border-radius: 8px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.tc-list li > i .ico { width: 14px; height: 14px; }
@keyframes tc-in { to { opacity: 1; transform: none; } }
.tc-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.tc-note .ico { width: 16px; height: 16px; flex: none; margin-top: 1px; color: var(--deep); }
.tc-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; } .tc-act .btn { flex: 1 1 200px; justify-content: center; }
.tc-later { display: block; margin: 12px auto 0; background: none; border: 0; }
.terms-accept { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; border-color: #C9DAFA; background: linear-gradient(90deg, #F2F8FF, #fff); }
.terms-accept > span { width: 40px; height: 40px; border-radius: 13px; background: var(--brand); color: #fff; display: grid; place-items: center; flex: none; }
.terms-accept > div { flex: 1 1 260px; min-width: 0; } .terms-accept p { margin: 2px 0 0; }
.tc-hist { display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: baseline; margin-top: 10px; font-size: 13px; }
.tc-hist small { width: 100%; }
@media (max-width: 720px) {
  .pend-bar.terms-bar .pb-a .btn { flex: 1 1 auto; justify-content: center; }
  .terms-accept .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .pend-bar.terms-bar::after { animation: none; display: none; }
  .tc-list li { animation: none; opacity: 1; transform: none; }
}

/* Phone text floor (QA-24): nothing under 12px on phones. Generated from the rules above; keep it last. */
@media (max-width: 640px) {
  .hl-th em,
  .lb-out small,
  .kl small,
  .ct-tabs .tc,
  .mv,
  .kyc-doc,
  .cap-max,
  .sd-tag.sm { font-size: 12px; }
}
