/* ============================================================
 *  LiveAdBox Market — layout học G2A + TikTok Live accents
 *  Light storefront + dark chrome header
 * ============================================================ */
:root {
  --g2a-bg: #f3f5f8;
  --g2a-card: #ffffff;
  --g2a-ink: #12151c;
  --g2a-muted: #5b6472;
  --g2a-line: #e4e8ef;
  --g2a-blue: #0057ff;
  --g2a-blue-h: #0046d1;
  --g2a-orange: #ff6a00;
  --g2a-green: #12a15c;
  --g2a-red: #e11d48;
  --g2a-dark: #0e1118;
  --g2a-dark-2: #171b26;
  --g2a-radius: 16px;
  --g2a-radius-sm: 12px;
  --bottom-nav-h: 64px;
  --font: "Sora", "Nunito Sans", ui-sans-serif, system-ui, sans-serif;
}

body.skin-g2a {
  margin: 0;
  background: var(--g2a-bg);
  color: var(--g2a-ink);
  font: 400 15px/1.5 var(--font);
  background-image: none;
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}
body.skin-g2a.is-overlay { padding-bottom: 0; background: transparent !important; }
body.skin-g2a a { color: var(--g2a-blue); }
body.skin-g2a main { padding: 0 0 48px; min-height: 60vh; }

/* ---- Top chrome (dark like G2A) ---- */
.g2a-top {
  position: sticky; top: 0; z-index: 40;
  background: #000;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.g2a-top__row {
  max-width: 1240px; margin: 0 auto;
  display: flex; align-items: center; gap: 16px;
  padding: 12px 20px;
}
.g2a-top .brand-mark { font-size: 22px; }
.g2a-top .brand-mark b {
  background: linear-gradient(120deg, #ff6a00, #fe2c55);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.g2a-top .brand-mark i { color: #25f4ee; font-style: normal; }
.g2a-top .brand__tag {
  border-color: rgba(37,244,238,.4); color: #25f4ee; font-size: 10px;
}

.g2a-search {
  flex: 1; display: flex; align-items: stretch;
  max-width: 560px; margin: 0 auto;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  border: 0 !important;
  box-shadow: none;
  isolation: isolate;
}
.g2a-search:focus-within { box-shadow: 0 0 0 2px #0057ff; }
.g2a-search__ico { display: none; }
.g2a-search input,
.g2a-search input[type="search"] {
  flex: 1; border: 0 !important; height: 42px; padding: 0 16px;
  background: transparent !important; color: #12151c;
  font: 500 14px/1 var(--font);
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  min-height: 42px;
  -webkit-appearance: none; appearance: none;
}
.g2a-search input::placeholder { color: #8b95a5; }
.g2a-search input[type="search"]::-webkit-search-decoration,
.g2a-search input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }
.g2a-search__cat { display: none; }
.g2a-search button {
  min-width: 48px; width: 48px; padding: 0; border: 0; cursor: pointer;
  background: #0066ff; color: #fff;
  font: 750 16px/1 var(--font);
}
.g2a-search button:hover { background: #0052d6; }

.g2a-utils { display: flex; align-items: center; gap: 8px; }
.g2a-utils a, .g2a-utils summary, .g2a-utils button.g2a-ico {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-width: 40px; height: 40px; padding: 0 10px;
  border-radius: 999px; border: 0; background: transparent;
  color: rgba(255,255,255,.82); font: 650 12.5px/1 var(--font);
  text-decoration: none; cursor: pointer;
}
.g2a-utils a:hover, .g2a-utils summary:hover { background: rgba(255,255,255,.08); color: #fff; text-decoration: none; }
.g2a-utils .lang { position: relative; }
.g2a-utils .lang summary { list-style: none; }
.g2a-utils .lang summary::-webkit-details-marker { display: none; }
.g2a-utils .lang__menu {
  position: absolute; top: calc(100% + 6px); right: 0; min-width: 140px;
  background: #fff; border-radius: 12px; padding: 6px;
  box-shadow: 0 12px 32px rgba(0,0,0,.18); z-index: 50;
}
.g2a-utils .lang__menu a { display: block; color: var(--g2a-ink); height: auto; padding: 8px 10px; border-radius: 8px; }
.g2a-bal {
  background: rgba(37,244,238,.12) !important; color: #25f4ee !important;
  border: 1px solid rgba(37,244,238,.25) !important;
}
.g2a-login {
  color: #fff !important; font-weight: 700 !important;
}
.g2a-login:hover { background: rgba(255,255,255,.08) !important; color: #25f4ee !important; }
.g2a-cta {
  background: #fe2c55 !important; color: #fff !important; padding: 0 16px !important;
  font-weight: 750 !important;
}
.g2a-cta:hover { background: #e11d48 !important; }

/* Category icon strip */
.g2a-cats {
  background: var(--g2a-dark-2);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.g2a-cats__row {
  max-width: 1240px; margin: 0 auto;
  display: flex; gap: 4px; overflow-x: auto; padding: 8px 16px 12px;
  scrollbar-width: none;
}
.g2a-cats__row::-webkit-scrollbar { display: none; }
.g2a-cat {
  position: relative; flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  min-width: 84px; padding: 10px 8px; border-radius: 12px;
  color: rgba(255,255,255,.75); text-decoration: none; font: 650 11px/1.2 var(--font);
  text-align: center;
}
.g2a-cat:hover, .g2a-cat.is-on { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.g2a-cat__ic {
  width: 40px; height: 40px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
}
.g2a-cat__hot {
  position: absolute; top: 4px; right: 4px;
  background: var(--g2a-red); color: #fff;
  font: 800 8px/1 var(--font); padding: 3px 5px; border-radius: 999px;
}

/* Page shell */
.g2a-shell { max-width: 1240px; margin: 0 auto; padding: 20px 20px 0; }
.g2a-section { margin: 28px 0; }
.g2a-section__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: 16px;
}
.g2a-section__head h2 { margin: 0 0 4px; font-size: 26px; letter-spacing: -.02em; color: var(--g2a-ink); }
.g2a-section__head p { margin: 0; color: var(--g2a-muted); font-size: 14px; }
.g2a-discover {
  display: inline-flex; align-items: center; height: 40px; padding: 0 16px;
  border-radius: 999px; background: var(--g2a-blue); color: #fff !important;
  font: 700 13px/1 var(--font); text-decoration: none !important;
}
.g2a-discover:hover { background: var(--g2a-blue-h); }

/* Featured tall cards (G2A hero row) */
.g2a-featured {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.g2a-feature {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 320px; border-radius: 18px; overflow: hidden; text-decoration: none;
  color: #fff !important; isolation: isolate;
  box-shadow: 0 10px 28px rgba(15,20,35,.18);
  transition: transform .18s ease, box-shadow .18s ease;
}
.g2a-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(15,20,35,.28); text-decoration: none; }
.g2a-feature__bg { position: absolute; inset: 0; z-index: -2; }
.g2a-feature__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.82) 100%);
}
.g2a-feature--sport .g2a-feature__bg {
  background:
    radial-gradient(circle at 30% 20%, rgba(0,87,255,.45), transparent 45%),
    linear-gradient(145deg, #0b1a2e, #052016);
}
.g2a-feature--night .g2a-feature__bg {
  background:
    radial-gradient(circle at 70% 30%, rgba(37,244,238,.35), transparent 50%),
    linear-gradient(160deg, #120818, #1a1028);
}
.g2a-feature--race .g2a-feature__bg {
  background: linear-gradient(135deg, #0057ff 0%, #0b1220 100%);
}
.g2a-feature--combo .g2a-feature__bg {
  background: radial-gradient(circle at 50% 30%, #0057ff, #0e1118 70%);
}
.g2a-feature__body { padding: 18px; }
.g2a-feature__badge {
  display: inline-block; margin-bottom: 10px; padding: 4px 8px; border-radius: 6px;
  font: 800 10px/1 var(--font); letter-spacing: .04em; text-transform: uppercase;
  background: var(--g2a-orange); color: #fff;
}
.g2a-feature__badge.is-soft { background: rgba(255,255,255,.2); }
.g2a-feature__title {
  margin: 0 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.02em;
  text-transform: uppercase; line-height: 1.15;
}
.g2a-feature__meta { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.78); }

/* Platform tiles */
.g2a-platforms {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px;
}
.g2a-plat {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 1; padding: 12px; border-radius: 16px;
  background: var(--g2a-card); border: 1px solid var(--g2a-line);
  color: var(--g2a-ink); text-decoration: none; font: 750 11px/1.2 var(--font);
  text-transform: uppercase; letter-spacing: .04em;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.g2a-plat:hover {
  border-color: #b7c6ff; transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,40,120,.08); text-decoration: none; color: var(--g2a-ink);
}
.g2a-plat__ic {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  font-size: 20px; background: #eef2ff;
}

/* Product grid (bestsellers) */
.g2a-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.g2a-card {
  display: flex; flex-direction: column;
  background: var(--g2a-card); border: 1px solid var(--g2a-line);
  border-radius: var(--g2a-radius); overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.g2a-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15,20,35,.1); }
.g2a-card__top {
  padding: 10px 12px 0; font: 700 10px/1 var(--font); letter-spacing: .06em;
  text-transform: uppercase; color: var(--g2a-muted);
}
.g2a-card__img {
  margin: 8px 12px 0; aspect-ratio: 1; border-radius: 12px; overflow: hidden; position: relative;
  text-decoration: none; display: block;
}
.g2a-card__art { position: absolute; inset: 0; }
.g2a-card--sport .g2a-card__art {
  background: linear-gradient(145deg, #0b3d2e, #0057ff 90%);
}
.g2a-card--night .g2a-card__art {
  background: linear-gradient(160deg, #1a1028, #0057ff);
}
.g2a-card--race .g2a-card__art {
  background: linear-gradient(120deg, #0057ff, #0b1220);
}
.g2a-card--wheel .g2a-card__art {
  background: conic-gradient(from 200deg, #0057ff, #ffb020, #25f4ee, #a78bfa, #0057ff);
}
.g2a-card--quiz .g2a-card__art { background: linear-gradient(160deg, #312e81, #06b6d4); }
.g2a-card--combo .g2a-card__art { background: radial-gradient(circle at 40% 30%, #0057ff, #111827); }
.g2a-card--wallet .g2a-card__art { background: linear-gradient(145deg, #12a15c, #0057ff); }
.g2a-card__body { padding: 12px 12px 14px; display: flex; flex-direction: column; flex: 1; }
.g2a-card__title {
  margin: 0 0 6px; font-size: 14px; font-weight: 750; color: var(--g2a-ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.5em;
}
.g2a-card__title a { color: inherit; text-decoration: none; }
.g2a-card__title a:hover { color: var(--g2a-blue); }
.g2a-card__meta { margin: 0 0 12px; font-size: 12px; color: var(--g2a-muted); }
.g2a-card__meta .ok { color: var(--g2a-green); font-weight: 700; }
.g2a-card__foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.g2a-card__price { font-size: 16px; font-weight: 800; color: var(--g2a-ink); }
.g2a-card__price small { display: block; font-size: 11px; font-weight: 600; color: var(--g2a-muted); }
.g2a-card__price .was { color: #9aa3b2; text-decoration: line-through; font-size: 12px; font-weight: 600; margin-right: 6px; }
.g2a-card__disc {
  display: inline-block; margin-left: 4px; padding: 2px 6px; border-radius: 6px;
  background: var(--g2a-red); color: #fff; font: 800 10px/1 var(--font);
}
.g2a-cart {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--g2a-blue); color: #fff; font-size: 16px;
  display: grid; place-items: center; text-decoration: none;
}
.g2a-cart:hover { background: var(--g2a-blue-h); color: #fff; }

/* Bundle strip */
.g2a-bundle {
  display: grid; grid-template-columns: 1fr 1fr 1fr 240px; gap: 12px; align-items: stretch;
  padding: 16px; border-radius: 18px; background: var(--g2a-card); border: 1px solid var(--g2a-line);
}
.g2a-bundle__item {
  display: flex; gap: 12px; padding: 12px; border-radius: 14px; border: 1px solid var(--g2a-line);
  background: #f8fafc;
}
.g2a-bundle__thumb {
  width: 72px; height: 72px; border-radius: 12px; flex: none;
  background: linear-gradient(135deg, #0057ff, #25f4ee);
}
.g2a-bundle__item h3 { margin: 0 0 4px; font-size: 14px; }
.g2a-bundle__item p { margin: 0; font-size: 12px; color: var(--g2a-muted); }
.g2a-bundle__buy {
  display: flex; flex-direction: column; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 14px; background: #eef4ff;
}
.g2a-bundle__buy strong { font-size: 22px; }
.g2a-bundle__buy .save { color: var(--g2a-green); font-size: 13px; font-weight: 700; }
.g2a-bundle__buy .btn {
  height: 44px; border-radius: 10px; border: 0; background: var(--g2a-blue); color: #fff;
  font: 750 14px/1 var(--font); text-decoration: none; display: grid; place-items: center;
}

/* Buttons override in market skin */
body.skin-g2a .btn {
  background: #eef2f7; border: 1px solid var(--g2a-line); color: var(--g2a-ink);
  border-radius: 10px;
}
body.skin-g2a .btn--buy {
  background: #0066ff; border: 0; color: #fff !important;
  box-shadow: none;
}
body.skin-g2a .btn--buy:hover { background: #0052d6; filter: none; }
body.skin-g2a .btn--primary:hover { background: var(--g2a-blue-h); filter: none; transform: none; }
body.skin-g2a .btn--outline {
  background: transparent; border-color: var(--g2a-blue); color: var(--g2a-blue);
}
body.skin-g2a .btn--ghost { background: transparent; border-color: transparent; }
body.skin-g2a .note { background: #fff; border-color: var(--g2a-line); color: var(--g2a-ink); }
body.skin-g2a .note--ok { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
body.skin-g2a .note--err { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
body.skin-g2a .pill { border-color: var(--g2a-line); color: var(--g2a-muted); background: #fff; }
body.skin-g2a .pill--on { border-color: #86efac; color: var(--g2a-green); }
body.skin-g2a .pill--err { border-color: #fecaca; color: var(--g2a-red); }
body.skin-g2a .pill--warn { border-color: #fde68a; color: #b45309; }
body.skin-g2a .muted, body.skin-g2a .faint { color: var(--g2a-muted); }
body.skin-g2a .c-cyan { color: #0891b2; }
body.skin-g2a .c-magenta { color: #db2777; }
body.skin-g2a .c-red { color: var(--g2a-red); }

/* Dashboard panels */
.g2a-dash-grid {
  display: grid; grid-template-columns: 1.4fr .8fr; gap: 14px;
}
.g2a-panel {
  background: var(--g2a-card); border: 1px solid var(--g2a-line);
  border-radius: 18px; padding: 18px;
}
.g2a-panel h2 { margin: 0 0 4px; font-size: 18px; }
.g2a-kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px;
}
.g2a-kpi {
  background: var(--g2a-card); border: 1px solid var(--g2a-line);
  border-radius: 16px; padding: 16px;
}
.g2a-kpi span { display: block; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; color: var(--g2a-muted); margin-bottom: 8px; }
.g2a-kpi strong { font-size: 24px; letter-spacing: -.02em; }
.g2a-kpi small { display: block; margin-top: 6px; color: var(--g2a-muted); font-size: 12px; }

.g2a-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.g2a-table th {
  text-align: start; padding: 10px 8px; color: var(--g2a-muted);
  border-bottom: 1px solid var(--g2a-line); font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
}
.g2a-table td { padding: 12px 8px; border-bottom: 1px solid var(--g2a-line); color: var(--g2a-ink); }
.g2a-table tr:last-child td { border-bottom: 0; }

/* Side rail desktop for app pages */
body.skin-g2a .wrap.admin {
  max-width: 1240px; grid-template-columns: 220px minmax(0, 1fr); gap: 22px;
}
body.skin-g2a .admin > .tabs {
  background: var(--g2a-card); border: 1px solid var(--g2a-line); border-radius: 18px;
  top: 140px;
}
body.skin-g2a .admin > .tabs a { color: var(--g2a-muted); }
body.skin-g2a .admin > .tabs a:hover { background: #f1f5ff; color: var(--g2a-ink); }
body.skin-g2a .admin > .tabs a.is-on {
  background: var(--g2a-blue); color: #fff; box-shadow: none;
}
body.skin-g2a .tabs__logo .brand-mark b {
  background: none;
  color: var(--g2a-ink);
  -webkit-text-fill-color: var(--g2a-ink);
}
body.skin-g2a .tabs__logo .brand-mark i { color: var(--g2a-blue); }
body.skin-g2a .tabs__role { color: var(--g2a-muted); }
body.skin-g2a .chart .c-lbl, body.skin-g2a .chart .c-val { fill: #6b7280; }
body.skin-g2a .c-grid { stroke: #e5e7eb; }
body.skin-g2a .c-axis { stroke: #d1d5db; }

/* Legacy cards / forms on light skin */
body.skin-g2a .card,
body.skin-g2a .panel,
body.skin-g2a .glass {
  background: var(--g2a-card);
  border: 1px solid var(--g2a-line);
  border-radius: 18px;
  box-shadow: none;
  color: var(--g2a-ink);
}
body.skin-g2a .card__head h2,
body.skin-g2a .panel__title,
body.skin-g2a h1,
body.skin-g2a h2 { color: var(--g2a-ink); }
body.skin-g2a label { color: var(--g2a-muted); }
body.skin-g2a input, body.skin-g2a select, body.skin-g2a textarea {
  background: #fff; border: 1px solid var(--g2a-line); color: var(--g2a-ink);
  border-radius: 10px;
}
body.skin-g2a input:focus, body.skin-g2a select:focus, body.skin-g2a textarea:focus {
  border-color: var(--g2a-blue); box-shadow: 0 0 0 3px rgba(0,87,255,.12);
}
body.skin-g2a .g2a-search input,
body.skin-g2a .g2a-search input[type="search"] {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  color: #12151c;
}
body.skin-g2a .g2a-search:focus-within {
  box-shadow: 0 0 0 2px #0066ff;
}
body.skin-g2a .g2a-search input,
body.skin-g2a .g2a-search input[type="search"],
body.skin-g2a .g2a-search input:focus,
body.skin-g2a .g2a-search input[type="search"]:focus {
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
  min-height: 42px;
}
body.skin-g2a .search-bar input,
body.skin-g2a .search-bar input[type="search"],
body.skin-g2a .search-bar input:focus {
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}
body.skin-g2a table th { color: var(--g2a-muted); border-color: var(--g2a-line); }
body.skin-g2a table td { border-color: var(--g2a-line); }
body.skin-g2a .balance { color: var(--g2a-ink); }
body.skin-g2a .btn--danger {
  background: #fff1f2; border-color: #fecaca; color: var(--g2a-red);
}
body.skin-g2a .statlist { list-style: none; padding: 0; margin: 12px 0 0; }
body.skin-g2a .statlist li {
  padding: 8px 0; border-bottom: 1px solid var(--g2a-line); color: var(--g2a-ink); font-size: 13.5px;
}
body.skin-g2a .statlist li:last-child { border-bottom: 0; }
body.skin-g2a .meter {
  height: 10px; background: #eef2f7; border-radius: 999px; overflow: hidden;
}
body.skin-g2a .meter > span {
  display: block; height: 100%; background: linear-gradient(90deg, #0057ff, #25f4ee);
}
body.skin-g2a .legend {
  display: flex; flex-wrap: wrap; gap: 10px 14px; margin-top: 12px; font-size: 12.5px; color: var(--g2a-muted);
}
body.skin-g2a .legend i {
  display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px;
}
body.skin-auth {
  background: #000;
  color: #f5f5f5;
  padding-bottom: 0;
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(254,44,85,.22), transparent 50%),
    radial-gradient(ellipse at 90% 100%, rgba(37,244,238,.1), transparent 45%);
}
body.skin-auth .auth__card {
  background: #16161a;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
body.skin-auth .auth__sub { color: #9aa3b2; }
body.skin-auth .auth__alt { color: #9aa3b2; }
body.skin-auth .auth__alt a { color: #fe2c55; font-weight: 700; }
body.skin-auth label { color: #cfcfd6; }
body.skin-auth input, body.skin-auth select, body.skin-auth textarea {
  background: #0e0e12; border: 1px solid #2a2a32; color: #fff;
}
body.skin-auth input:focus {
  border-color: #fe2c55; box-shadow: 0 0 0 3px rgba(254,44,85,.25);
}
body.skin-auth .btn--primary {
  background: #fe2c55; border-color: #fe2c55; color: #fff;
  box-shadow: 0 8px 24px rgba(254,44,85,.35);
}
body.skin-auth .btn--primary:hover { background: #e11d48; filter: none; }

/* Mobile bottom nav */
.g2a-bottom {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,.96);
  border-top: 1px solid var(--g2a-line);
  backdrop-filter: blur(12px);
  grid-template-columns: repeat(5, 1fr);
  gap: 2px;
}
.g2a-bottom a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  text-decoration: none; color: var(--g2a-muted); font: 700 10px/1 var(--font);
  border-radius: 12px;
}
.g2a-bottom a span { font-size: 18px; line-height: 1; }
.g2a-bottom a.is-on, .g2a-bottom a:hover { color: var(--g2a-blue); background: #eef4ff; text-decoration: none; }

.g2a-show-more {
  display: block; text-align: center; margin: 18px 0 0;
  color: var(--g2a-blue); font-weight: 700; text-decoration: none;
}

@media (max-width: 1100px) {
  .g2a-featured { grid-template-columns: repeat(2, 1fr); }
  .g2a-grid { grid-template-columns: repeat(3, 1fr); }
  .g2a-platforms { grid-template-columns: repeat(4, 1fr); }
  .g2a-bundle { grid-template-columns: 1fr; }
  .g2a-kpis { grid-template-columns: repeat(2, 1fr); }
  .g2a-dash-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .g2a-top__row { flex-wrap: wrap; }
  .g2a-search { order: 3; flex: 1 1 100%; max-width: none; }
  .g2a-featured { grid-template-columns: 1fr 1fr; }
  .g2a-feature { min-height: 240px; }
  .g2a-grid { grid-template-columns: repeat(2, 1fr); }
  .g2a-platforms { grid-template-columns: repeat(4, 1fr); }
  .g2a-bottom { display: grid; }
  body.skin-g2a .wrap.admin { grid-template-columns: 1fr; }
  body.skin-g2a .admin > .tabs {
    display: none; /* mobile dùng bottom nav */
  }
  .g2a-utils .g2a-hide-sm { display: none; }
}
@media (max-width: 480px) {
  .g2a-featured { grid-template-columns: 1fr; }
}
