/* TapTester app page additions on top of /affiliates/aff.css + hx.css */
.store { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 14px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 700; font-size: .95rem; }
.store small { display: block; font-weight: 500; font-size: .72rem; opacity: .75; line-height: 1.1; }
.store b { display: block; line-height: 1.15; }
.store svg { width: 22px; height: 22px; flex: 0 0 auto; }
.store.soon { opacity: .9; cursor: default; }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

.toc { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 28px; }
.toc a { text-decoration: none; border: 1px solid var(--line); background: var(--white); color: var(--ink2); padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .88rem; }
.toc a:hover { border-color: var(--brand); color: var(--brand-d); }

.rowf { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 56px 0; border-top: 1px solid var(--line); }
.rowf:first-of-type { border-top: 0; }
.rowf.flip .media { order: 2; }
.rowf h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 10px 0 12px; }
.rowf p { color: var(--ink2); margin: 0 0 12px; }
.rowf .media img.art { width: 100%; height: auto; border-radius: 28px; box-shadow: var(--shadow); background: var(--white); }
.rowf .media .duo { display: flex; gap: 18px; justify-content: center; }
.rowf .media .duo img { width: 46%; max-width: 250px; border-radius: 26px; border: 7px solid #0f172a; box-shadow: var(--shadow); }
.rowf .media .duo img:nth-child(2) { transform: translateY(34px); }
.lst { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 10px; }
.lst li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink2); }
.lst li::before { content: "✓"; flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--mint2); color: var(--brand-d); display: grid; place-items: center; font-weight: 900; font-size: .78rem; margin-top: 2px; }
.tagp { display: inline-block; font-size: .75rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--violet); color: #5b21b6; margin-left: 6px; vertical-align: middle; }

.cmp { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 40px; background: var(--white); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; font-size: .95rem; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp thead th { background: var(--bg); font-size: .88rem; color: var(--ink2); }
.cmp th.us, .cmp td.us { background: var(--mint); font-weight: 700; color: var(--ink); }
.cmpwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.plan ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; color: var(--ink2); font-size: .93rem; }
.plan ul li::before { content: "✓  "; color: var(--brand); font-weight: 900; }
.plan .earn small { font-size: 1rem; font-weight: 700; color: var(--muted); }

.who { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px; }
.who .feat p { font-size: .93rem; }

.support { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.support .feat a { font-weight: 700; }

@media (max-width: 980px) {
  .rowf { grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .rowf.flip .media { order: 0; }
  .who { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .who { grid-template-columns: 1fr; }
  .rowf .media .duo img { border-width: 5px; border-radius: 20px; }
  .store { flex: 1 1 100%; justify-content: center; }
}

/* TT-STORE-20261201: huy hiệu chính thức App Store / Google Play */
.badges{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}
.badges.center{justify-content:center}
.badges.o-dau{margin-top:0}
.badge{display:inline-block;line-height:0;border-radius:9px;transition:transform .15s ease}
.badge:hover{transform:translateY(-2px)}
.badge.as img{height:48px;width:auto;display:block}
.badge.gp img{height:70px;width:auto;display:block;margin:-11px -10px}
.hx-ctas{align-items:center}
