/* Colour banners (v316). Only applies when html[data-cards="banner"] (Admin > Site control > Design > Card style). With "classic" nothing here does anything.
   Same markup, same words, same logos, same taps: this file only changes how the five cards look on the dashboard, guest page and agent store links:
   MTN, AT, Telecel (.net-card on the dashboard, .gx-acc on guest and store pages), Mashup (.mx-row) and Results checkers (.vc-tcard).
   Christmas look: html.xmas keeps its own picture background on the network cards (xmas.css); the banner shape, ringed logo and arrow chip still apply to them. */
html[data-cards="banner"] body{--bn-mtn:linear-gradient(120deg,#ffd500,#ff9f00);--bn-at:linear-gradient(120deg,#0a63d6,#e4002b);--bn-tc:linear-gradient(120deg,#e60000,#ff5252);--bn-mx:linear-gradient(120deg,#2b1a6b,#6a3df0 62%,#ffb000);--bn-vc:linear-gradient(120deg,#1a5cff,#a98bff);--bn-ring:rgba(255,255,255,.9);--bn-chip:rgba(255,255,255,.28);--bn-ink:#fff}

/* ---- shared banner shape ---- */
html[data-cards="banner"] body .net-card,
html[data-cards="banner"] body .gx-acc-head,
html[data-cards="banner"] body .mx-row,
html[data-cards="banner"] body .vc-tcard{position:relative;isolation:isolate;overflow:hidden;min-height:96px;padding:16px;gap:14px;border-radius:24px;color:var(--bn-ink);transition:transform .18s ease,box-shadow .18s ease;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html[data-cards="banner"] body .net-card,
html[data-cards="banner"] body .mx-row,
html[data-cards="banner"] body .vc-tcard{border:0!important}
html[data-cards="banner"] body .gx-acc-head{border-radius:0;padding:14px;gap:12px}
html[data-cards="banner"] body .gx-acc-cta{font-size:13px}
html[data-cards="banner"] body .gx-acc:not(.open) .gx-acc-cta>span:first-child{max-width:64px}
html[data-cards="banner"] body .gx-acc{border-radius:24px;overflow:hidden}
html[data-cards="banner"] body .net-card:hover,
html[data-cards="banner"] body .mx-row:hover,
html[data-cards="banner"] body .vc-tcard:hover{transform:translateY(-2px)}

/* soft light circle in the corner (not on the Christmas cards, which have their own picture) */
html[data-cards="banner"]:not(.xmas) body .net-card::after,
html[data-cards="banner"]:not(.xmas) body .gx-acc-head::after,
html[data-cards="banner"] body .vc-tcard::after{content:"";position:absolute;z-index:-1;right:-30px;top:-30px;width:130px;height:130px;border-radius:50%;background:rgba(255,255,255,.14);pointer-events:none}

/* ---- colours: networks (dashboard cards and guest / store accordions) ---- */
html[data-cards="banner"]:not(.xmas) body .net-card[data-network="mtn"],
html[data-cards="banner"]:not(.xmas) body .gx-acc[data-net="mtn"] .gx-acc-head{background:var(--bn-mtn)!important}
html[data-cards="banner"]:not(.xmas) body .net-card[data-network="airteltigo"],
html[data-cards="banner"]:not(.xmas) body .gx-acc[data-net="airteltigo"] .gx-acc-head{background:var(--bn-at)!important}
html[data-cards="banner"]:not(.xmas) body .net-card[data-network="telecel"],
html[data-cards="banner"]:not(.xmas) body .gx-acc[data-net="telecel"] .gx-acc-head{background:var(--bn-tc)!important}
html[data-cards="banner"]:not(.xmas) body .net-card[data-network="mtn"],
html[data-cards="banner"]:not(.xmas) body .gx-acc[data-net="mtn"] .gx-acc-head{--bn-ring:rgba(27,21,0,.55);--bn-chip:rgba(27,21,0,.16)}
html[data-cards="banner"]:not(.xmas) body .net-card[data-network="mtn"],
html[data-cards="banner"]:not(.xmas) body .gx-acc[data-net="mtn"] .gx-acc-head{--bn-ink:#1b1500}
html[data-cards="banner"] body .net-card[data-network="mtn"],
html[data-cards="banner"] body .gx-acc[data-net="mtn"]{box-shadow:0 12px 26px rgba(255,170,0,.35)!important}
html[data-cards="banner"] body .net-card[data-network="airteltigo"],
html[data-cards="banner"] body .gx-acc[data-net="airteltigo"]{box-shadow:0 12px 26px rgba(40,90,220,.38)!important}
html[data-cards="banner"] body .net-card[data-network="telecel"],
html[data-cards="banner"] body .gx-acc[data-net="telecel"]{box-shadow:0 12px 26px rgba(230,0,0,.35)!important}
html[data-cards="banner"] body .gx-acc{border-color:transparent!important}

/* ---- colours: Mashup and Results checkers ---- */
/* Mashup keeps its own pulsing ring and orange "new" dot (mashup.css), so it is not clipped; the corner circle is a background layer instead */
html[data-cards="banner"] body .mx-row{overflow:visible;background:radial-gradient(circle 70px at calc(100% - 10px) 8px,rgba(255,255,255,.14) 98%,transparent 100%),var(--bn-mx)!important;box-shadow:0 12px 26px rgba(106,61,240,.38)!important}
html[data-cards="banner"] body .mx-row::before{border-color:#ffcc00}
html[data-cards="banner"] body .vc-tcard{background:var(--bn-vc)!important;box-shadow:0 12px 26px rgba(63,100,255,.38)!important;animation:none!important}

/* ---- logos: every logo stays, with a clean ring ---- */
html[data-cards="banner"] body .net-logo{width:64px;box-shadow:0 0 0 3px var(--bn-ring)}
html[data-cards="banner"] body .gx-tag{width:54px;height:54px;border-radius:50%;box-shadow:0 0 0 3px var(--bn-ring)}
html[data-cards="banner"] body .gx-tag.mtn{color:#1b1500}
html[data-cards="banner"] body .mx-ico,
html[data-cards="banner"] body .vc-tcard .vc-ico{width:58px;height:58px;border-radius:50%;box-shadow:0 0 0 3px var(--bn-ring)}
html[data-cards="banner"] body .vc-tcard .vc-ico{background:rgba(255,255,255,.2);border:0;color:#fff}
html[data-cards="banner"] body .mx-ico svg,
html[data-cards="banner"] body .vc-tcard .vc-ico svg{width:28px;height:28px}

/* ---- words ---- */
html[data-cards="banner"] body .net-info b,
html[data-cards="banner"] body .gx-acc-info b,
html[data-cards="banner"] body .mx-info b,
html[data-cards="banner"] body .vc-tinfo b{color:inherit;font-size:19px;letter-spacing:-.4px}
html[data-cards="banner"] body .net-info small,
html[data-cards="banner"] body .gx-acc-info small,
html[data-cards="banner"] body .mx-info small,
html[data-cards="banner"] body .vc-tinfo small{color:inherit;opacity:.9;font-size:13px}
html[data-cards="banner"] body .gx-acc-cta{color:inherit}

/* ---- arrow chips ---- */
html[data-cards="banner"]:not(.xmas) body .net-card>svg.i,
html[data-cards="banner"] body .gx-acc-cta svg,
html[data-cards="banner"] body .mx-go,
html[data-cards="banner"] body .vc-tgo{color:inherit;background:var(--bn-chip);border-radius:50%;box-sizing:border-box;width:36px;height:36px;padding:8px;flex:none}
html[data-cards="banner"] body .mx-go,
html[data-cards="banner"] body .vc-tgo{display:grid;place-items:center;padding:0}
html[data-cards="banner"] body .mx-go svg,
html[data-cards="banner"] body .vc-tgo svg{width:18px;height:18px}
html[data-cards="banner"]:not(.xmas) body .net-card:hover>svg.i{color:inherit}

@media(prefers-reduced-motion:reduce){
  html[data-cards="banner"] body .net-card,html[data-cards="banner"] body .gx-acc-head,html[data-cards="banner"] body .mx-row,html[data-cards="banner"] body .vc-tcard{transition:none}
  html[data-cards="banner"] body .net-card:hover,html[data-cards="banner"] body .mx-row:hover,html[data-cards="banner"] body .vc-tcard:hover{transform:none}
}

/* ================= Glow list (v317) =================
   Only applies when html[data-cards="glow"] (Admin > Site control > Design > Card style). Same markup, same words, same logos, same taps as the classic cards.
   Each card keeps its normal surface and gets: a coloured edge on the left, a soft glow of the brand colour behind the logo, a ringed round logo and a round
   arrow button in the brand colour. Mashup keeps its pulsing ring and orange dot (so its edge and glow are drawn as background layers, not pseudo elements).
   Christmas look: the network cards keep their Christmas picture and arrow; they only get the colour edge and the ringed logo. */
html[data-cards="glow"] body .net-card[data-network="mtn"],html[data-cards="glow"] body .gx-acc[data-net="mtn"]{--gl-c:#ffcc00;--gl-r:255,204,0;--gl-ink:#1b1500}
html[data-cards="glow"] body .net-card[data-network="airteltigo"],html[data-cards="glow"] body .gx-acc[data-net="airteltigo"]{--gl-c:#2f7bea;--gl-r:47,123,234;--gl-ink:#fff}
html[data-cards="glow"] body .net-card[data-network="telecel"],html[data-cards="glow"] body .gx-acc[data-net="telecel"]{--gl-c:#e60000;--gl-r:230,0,0;--gl-ink:#fff}
html[data-cards="glow"] body .mx-row{--gl-c:#ffb000;--gl-r:255,176,0;--gl-ink:#1b1500}
html[data-cards="glow"] body .vc-tcard{--gl-c:#6a8dff;--gl-r:106,141,255;--gl-ink:#fff}

/* ---- shared shape ---- */
html[data-cards="glow"] body .net-card,
html[data-cards="glow"] body .gx-acc,
html[data-cards="glow"] body .mx-row,
html[data-cards="glow"] body .vc-tcard{border-radius:22px;transition:transform .18s ease,box-shadow .18s ease}
html[data-cards="glow"] body .net-card,
html[data-cards="glow"] body .gx-acc-head,
html[data-cards="glow"] body .vc-tcard{position:relative;isolation:isolate}
html[data-cards="glow"] body .net-card,
html[data-cards="glow"] body .vc-tcard{overflow:hidden;gap:14px;padding:14px 14px 14px 20px}
html[data-cards="glow"] body .gx-acc{overflow:hidden}
html[data-cards="glow"] body .gx-acc-head{gap:14px;padding:14px 14px 14px 20px;border-radius:0}
html[data-cards="glow"] body .mx-row{gap:14px;padding:14px 14px 14px 20px}

/* ---- colour edge + glow (pseudo elements: network cards, accordions, Results checkers) ---- */
html[data-cards="glow"] body .net-card::before,
html[data-cards="glow"] body .gx-acc-head::before,
html[data-cards="glow"] body .vc-tcard::before{content:"";position:absolute;z-index:-1;left:0;top:14px;bottom:14px;width:5px;border-radius:0 6px 6px 0;background:var(--gl-c);pointer-events:none}
html[data-cards="glow"]:not(.xmas) body .net-card::after,
html[data-cards="glow"]:not(.xmas) body .gx-acc-head::after,
html[data-cards="glow"] body .vc-tcard::after{content:"";position:absolute;z-index:-1;inset:0;background:radial-gradient(90% 140% at 0% 50%,rgba(var(--gl-r),.18),transparent 60%);pointer-events:none}
/* Mashup: edge and glow as background layers on top of its normal surface (its ring and dot stay) */
html[data-cards="glow"] body .mx-row{background-image:
  radial-gradient(90% 140% at 0% 50%,rgba(var(--gl-r),.18),transparent 60%),
  linear-gradient(var(--gl-c),var(--gl-c)),
  linear-gradient(150deg,var(--gl-fill,var(--surface)),var(--gl-fill2,var(--surface)))!important;
  background-repeat:no-repeat!important;background-size:100% 100%,5px calc(100% - 28px),100% 100%!important;background-position:0 0,0 50%,0 0!important}
html[data-cards="glow"] body .vc-tcard{animation:none!important}

/* ---- hover: lift and a glow in the brand colour ---- */
html[data-cards="glow"] body .net-card:hover,
html[data-cards="glow"] body .mx-row:hover,
html[data-cards="glow"] body .vc-tcard:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(var(--gl-r),.28)!important}
html[data-cards="glow"] body .gx-acc:hover{box-shadow:0 12px 28px rgba(var(--gl-r),.28)!important}
html[data-cards="glow"] body .gx-acc[data-net]{border-color:rgba(var(--gl-r),.35)!important}
html[data-cards="glow"] body .net-card{border-color:rgba(var(--gl-r),.35)!important}
html[data-cards="glow"] body .mx-row,
html[data-cards="glow"] body .vc-tcard{border-color:rgba(var(--gl-r),.4)!important}

/* ---- logos: round with a soft coloured ring ---- */
html[data-cards="glow"] body .net-logo{width:64px;box-shadow:0 0 0 3px rgba(var(--gl-r),.35)}
html[data-cards="glow"] body .gx-tag{width:56px;height:56px;border-radius:50%;box-shadow:0 0 0 3px rgba(var(--gl-r),.35)}
html[data-cards="glow"] body .gx-tag.mtn{color:#1b1500}
html[data-cards="glow"] body .mx-ico,
html[data-cards="glow"] body .vc-tcard .vc-ico{width:56px;height:56px;border-radius:50%;box-shadow:0 0 0 3px rgba(var(--gl-r),.35)}

/* ---- words: the theme's own colours, a touch bolder title ---- */
html[data-cards="glow"] body .net-info b,
html[data-cards="glow"] body .gx-acc-info b,
html[data-cards="glow"] body .mx-info b,
html[data-cards="glow"] body .vc-tinfo b{font-size:17px;letter-spacing:-.3px}

/* ---- arrow buttons in the brand colour ---- */
html[data-cards="glow"]:not(.xmas) body .net-card>svg.i,
html[data-cards="glow"] body .gx-acc-cta svg,
html[data-cards="glow"] body .mx-go,
html[data-cards="glow"] body .vc-tgo{color:var(--gl-ink);background:var(--gl-c);border-radius:50%;box-sizing:border-box;width:34px;height:34px;padding:8px;flex:none}
html[data-cards="glow"] body .mx-go,
html[data-cards="glow"] body .vc-tgo{display:grid;place-items:center;padding:0}
html[data-cards="glow"] body .mx-go svg,
html[data-cards="glow"] body .vc-tgo svg{width:17px;height:17px}
html[data-cards="glow"]:not(.xmas) body .net-card:hover>svg.i{color:var(--gl-ink)}
html[data-cards="glow"] body .gx-acc-cta{color:var(--text);font-size:13px}
html[data-cards="glow"] body .gx-acc-info small{font-size:13px}
html[data-cards="glow"] body .gx-acc:not(.open) .gx-acc-cta>span:first-child{max-width:64px}

@media(prefers-reduced-motion:reduce){
  html[data-cards="glow"] body .net-card,html[data-cards="glow"] body .gx-acc,html[data-cards="glow"] body .mx-row,html[data-cards="glow"] body .vc-tcard{transition:none}
  html[data-cards="glow"] body .net-card:hover,html[data-cards="glow"] body .mx-row:hover,html[data-cards="glow"] body .vc-tcard:hover{transform:none}
}
/* Quiet Data member account refresh.
   This file is intentionally scoped to #v-dashboard so guest pages, store links,
   admin cards, checkout sheets, and the existing Card Styles choices remain unchanged. */

/* The activity block already uses the reference layout; tighten its hierarchy and spacing. */
#v-dashboard .stat-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  margin-top:16px;
}
#v-dashboard .stat{
  min-width:0;
  padding:12px;
  border-radius:18px;
}
#v-dashboard .stat-top{gap:9px;align-items:center}
#v-dashboard .stat-ico{width:34px;height:34px;border-radius:10px}
#v-dashboard .stat-ico svg{width:18px;height:18px}
#v-dashboard .stat-name{font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#v-dashboard .stat-val{margin:9px 0 1px;font-size:clamp(22px,6vw,29px);letter-spacing:-.8px}
#v-dashboard .stat-sub{display:block;font-size:11px;line-height:1.25;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

/* Reference-style service section. */
#v-dashboard .sec-head{margin:22px 3px 10px;align-items:flex-end}
#v-dashboard .sec-head h2{font-size:18px;letter-spacing:-.3px}
#v-dashboard .sec-head p{font-size:13px;line-height:1.35}
#v-dashboard .net-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}

/* Card Styles may still be selected globally. These rules deliberately make the
   member account grid independent of those legacy presentation choices. */
html[data-cards] body #v-dashboard .net-card,
html:not([data-cards]) body #v-dashboard .net-card{
  --member-card-color:var(--nc,var(--blue2));
  position:relative;
  isolation:isolate;
  min-width:0;
  min-height:0;
  aspect-ratio:1 / 1;
  padding:10px 7px;
  border-radius:18px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  text-align:center;
  overflow:hidden;
  color:var(--text);
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.012)),var(--surface);
  border:1px solid var(--line);
  box-shadow:0 10px 24px var(--sh);
  transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;
}
html[data-cards] body #v-dashboard .net-card:hover,
html:not([data-cards]) body #v-dashboard .net-card:hover{
  transform:translateY(-2px);
  border-color:var(--member-card-color);
  box-shadow:0 14px 28px rgba(2,6,18,.3);
}
html[data-cards] body #v-dashboard .net-card:focus-visible,
html:not([data-cards]) body #v-dashboard .net-card:focus-visible{
  outline:2px solid var(--member-card-color);
  outline-offset:2px;
}
html[data-cards] body #v-dashboard .net-logo,
html:not([data-cards]) body #v-dashboard .net-logo{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:50%;
  flex:none;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--member-card-color) 28%,transparent);
}
html[data-cards] body #v-dashboard .net-info,
html:not([data-cards]) body #v-dashboard .net-info{width:100%;min-width:0}
html[data-cards] body #v-dashboard .net-info b,
html:not([data-cards]) body #v-dashboard .net-info b{
  display:block;
  font-size:13.5px;
  line-height:1.15;
  letter-spacing:-.2px;
  white-space:normal;
}
html[data-cards] body #v-dashboard .net-info small,
html:not([data-cards]) body #v-dashboard .net-info small{
  display:block;
  margin-top:3px;
  color:var(--muted);
  font-size:10.5px;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
html[data-cards] body #v-dashboard .net-card>svg.i,
html:not([data-cards]) body #v-dashboard .net-card>svg.i{
  position:absolute;
  right:7px;
  top:7px;
  width:25px;
  height:25px;
  padding:5px;
  border-radius:50%;
  color:var(--member-card-color);
  background:color-mix(in srgb,var(--member-card-color) 13%,transparent);
  transition:transform .16s ease,color .16s ease;
}
html[data-cards] body #v-dashboard .net-card:hover>svg.i,
html:not([data-cards]) body #v-dashboard .net-card:hover>svg.i{transform:translateX(2px);color:var(--member-card-color)}

/* Festive cards keep the existing artwork, but the artwork is composed for a
   square tile and the copy remains readable against it. */
html.xmas body #v-dashboard .net-card,
html.xmas[data-cards] body #v-dashboard .net-card{
  color:#fff;
  border-color:rgba(255,255,255,.22);
  background-color:#0b3b37;
  background-image:
    linear-gradient(160deg,rgba(5,33,31,.18),rgba(5,13,46,.78)),
    url("icons/xmas-shine.webp?v=292"),
    url("icons/xmas-santa.webp?v=273");
  background-position:center, right -6px top, right -2px bottom;
  background-size:cover,auto 92%,auto 92%;
  background-repeat:no-repeat;
  box-shadow:0 12px 26px rgba(5,35,32,.28);
}
html.xmas body #v-dashboard .net-info b,
html.xmas body #v-dashboard .net-info small{color:#fff;text-shadow:0 1px 5px rgba(0,0,0,.65)}
html.xmas body #v-dashboard .net-info small{color:#d9eee8}
html.xmas body #v-dashboard .net-card>svg.i{
  color:#fff;
  background:rgba(5,30,29,.7);
  border:1px solid rgba(255,255,255,.2);
}

@media(max-width:380px){
  #v-dashboard .net-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  html[data-cards] body #v-dashboard .net-card,
  html:not([data-cards]) body #v-dashboard .net-card{border-radius:17px}
}
@media(min-width:700px){
  #v-dashboard .net-grid{gap:12px}
  html[data-cards] body #v-dashboard .net-card,
  html:not([data-cards]) body #v-dashboard .net-card{border-radius:20px}
}
@media(prefers-reduced-motion:reduce){
  html[data-cards] body #v-dashboard .net-card,
  html:not([data-cards]) body #v-dashboard .net-card,
  html[data-cards] body #v-dashboard .net-card>svg.i,
  html:not([data-cards]) body #v-dashboard .net-card>svg.i{transition:none}
  html[data-cards] body #v-dashboard .net-card:hover,
  html:not([data-cards]) body #v-dashboard .net-card:hover{transform:none}
}

/* Approved unified member service grid (v345).
   The renderer-owned slots stay in the DOM so Mashup, Results Checker and Social
   Boosting keep their existing visibility, click, payment and order behavior. */
#v-dashboard .service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
#v-dashboard .service-grid>.net-grid,
#v-dashboard .service-grid>[data-mashup-slot],
#v-dashboard .service-grid>[data-voucher-slot],
#v-dashboard .service-grid>[data-boost-slot]{display:contents}

html[data-cards] body #v-dashboard .service-grid .net-card,
html:not([data-cards]) body #v-dashboard .service-grid .net-card,
#v-dashboard .service-grid .mx-row,
#v-dashboard .service-grid .vc-tcard,
#v-dashboard .service-grid .sb-row{
  box-sizing:border-box;
  width:100%;
  min-width:0;
  min-height:0;
  aspect-ratio:1 / 1;
  border-radius:20px;
}

/* Mashup, Results Checker and Social Boosting use the same centered tile
   geometry as the network cards without changing their semantic elements. */
#v-dashboard .service-grid .mx{margin:0}
#v-dashboard .service-grid .mx-row{
  flex-direction:column;
  justify-content:center;
  text-align:center;
  padding:12px 9px;
  gap:10px;
}
#v-dashboard .service-grid .mx-info,
#v-dashboard .service-grid .vc-tinfo,
#v-dashboard .service-grid .sb-info{width:100%;min-width:0;text-align:center}
#v-dashboard .service-grid .mx-info b,
#v-dashboard .service-grid .vc-tinfo b,
#v-dashboard .service-grid .sb-info b{display:block;line-height:1.15;white-space:normal}
#v-dashboard .service-grid .mx-info small,
#v-dashboard .service-grid .vc-tinfo small,
#v-dashboard .service-grid .sb-info small{display:block;line-height:1.25;white-space:normal}
#v-dashboard .service-grid .mx-go,
#v-dashboard .service-grid .vc-tgo,
#v-dashboard .service-grid .sb-go{position:absolute;right:8px;top:8px}
#v-dashboard .service-grid .mx-ico,
#v-dashboard .service-grid .vc-tcard .vc-ico,
#v-dashboard .service-grid .sb-ico{width:58px;height:58px;flex:none}

#v-dashboard .service-grid .vc{margin:0;display:contents}
#v-dashboard .service-grid .vc-tcard{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:10px;
  padding:12px 9px;
  text-align:center;
}
#v-dashboard .service-grid .sb{margin:0}
#v-dashboard .service-grid .sb-row{
  position:relative;
  flex-direction:column;
  justify-content:center;
  padding:12px 9px;
  gap:10px;
  text-align:center;
}
#v-dashboard .service-grid .sb-ico{display:grid;place-items:center;border-radius:50%;background:var(--sb-soft);color:var(--sb-tx)}

@media(min-width:700px){
  #v-dashboard .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}

@media(prefers-reduced-motion:reduce){
  #v-dashboard .service-grid .mx-row,
  #v-dashboard .service-grid .vc-tcard,
  #v-dashboard .service-grid .sb-row{transition:none}
}


/* v346: optional square service grid for guest checkout and agent store links.
   It is opt-in through Admin > Site control > Card style and deliberately excludes
   network cards, member-account styling, and the separate menu/drawer card. */
#v-guest .qd-service-grid{display:contents}
html[data-cards="grid"] body #v-guest .qd-service-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
  margin:14px 0;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .vc{margin:0;display:contents}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb{margin:0}

html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row{
  position:relative;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:0;
  aspect-ratio:1 / 1;
  gap:9px;
  padding:12px 8px;
  border-radius:20px;
  text-align:center;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
  box-shadow:0 8px 18px rgba(2,6,18,.16);
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row::before,
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-ico::after{display:none!important;animation:none!important}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row:hover,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard:hover,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row:hover{transform:none;box-shadow:0 8px 18px rgba(2,6,18,.16)}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-ico,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard .vc-ico,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-ico{
  display:grid;
  place-items:center;
  width:58px;
  height:58px;
  min-width:58px;
  border-radius:50%;
  flex:none;
  box-shadow:0 4px 10px rgba(2,6,18,.14);
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-info,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tinfo,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-info{
  display:block;
  width:100%;
  min-width:0;
  text-align:center;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-info b,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tinfo b,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-info b{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:4px;
  font-size:13.5px;
  line-height:1.15;
  letter-spacing:-.2px;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-info small,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tinfo small,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-info small{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:4px;
  margin-top:4px;
  font-size:10.5px;
  line-height:1.25;
  white-space:normal;
  overflow-wrap:anywhere;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-soon{align-self:center}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-go,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tgo,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-go{
  position:absolute;
  top:8px;
  right:8px;
  width:26px;
  height:26px;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-go svg,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tgo svg,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-go svg{width:15px;height:15px}
@media(min-width:700px){
  html[data-cards="grid"] body #v-guest .qd-service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
}
@media(prefers-reduced-motion:reduce){
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row,
  html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard,
  html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row{transition:none}
}

/* v347: premium service tiles.
   Member dashboard: Mashup and Results checkers now follow the Social Media Boosting card (soft colour wash,
   tinted edge, round gradient icon, slow light sweep). The ring of light round the edge, the orange dot and the
   pulsing glow are gone there. Guest and agent store link grid: the same premium look plus light motion
   (entrance, light sweep, floating icon, press feedback). Motion uses transform and opacity only, stops for
   reduced-motion, and the repeating motion is switched off on Android. */
@keyframes qdTileIn{from{opacity:0;transform:translateY(10px) scale(.97)}to{opacity:1;transform:none}}
@keyframes qdTileSheen{0%,55%{transform:translateX(-160%) skewX(-18deg)}100%{transform:translateX(420%) skewX(-18deg)}}
@keyframes qdTileFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}

/* member dashboard */
html body #v-dashboard .service-grid .mx-row,
html body #v-dashboard .service-grid .vc-tcard{
  --t-soft:rgba(26,92,255,.13);--t-edge:rgba(26,92,255,.32);--t-glow:rgba(26,92,255,.3);
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,var(--t-soft),transparent 65%),var(--surface,#fff);
  border:1px solid var(--t-edge);
  box-shadow:none;filter:none;
  animation:qdTileIn .42s cubic-bezier(.22,.8,.3,1) backwards;
  transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
html body #v-dashboard .service-grid .mx-row{--t:var(--mx,#f59e0b);--t-glow:var(--mx-glow,rgba(245,158,11,.3))}
html body #v-dashboard .service-grid .vc-tcard{--t:var(--vc-blue,#3f86ff);--t-glow:var(--vc-btn-glow,rgba(26,92,255,.35))}
@supports(background:color-mix(in srgb,red 10%,transparent)){
  html body #v-dashboard .service-grid .mx-row,
  html body #v-dashboard .service-grid .vc-tcard{--t-soft:color-mix(in srgb,var(--t) 13%,transparent);--t-edge:color-mix(in srgb,var(--t) 32%,transparent)}
}
html body #v-dashboard .service-grid .mx-row::before{display:none}
html body #v-dashboard .service-grid .mx-row::after,
html body #v-dashboard .service-grid .vc-tcard::after{
  content:"";position:absolute;top:0;left:0;right:auto;bottom:auto;width:40%;height:100%;
  border:0;border-radius:0;box-shadow:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.32),transparent);
  transform:translateX(-160%) skewX(-18deg);
  animation:qdTileSheen 6s ease-in-out 1.2s infinite;pointer-events:none;
}
html body #v-dashboard .service-grid .mx-row::after{animation-delay:2.4s}
html body #v-dashboard .service-grid .mx-ico,
html body #v-dashboard .service-grid .vc-tcard .vc-ico{
  border-radius:50%;border:0;animation:none;
  box-shadow:0 8px 18px var(--t-glow),inset 0 1px 0 rgba(255,255,255,.35);
}
html body #v-dashboard .service-grid .vc-tcard .vc-ico{background:var(--vc-btn,linear-gradient(135deg,#1a5cff,#3f86ff));color:#fff}
html body #v-dashboard .service-grid .mx-row:hover,
html body #v-dashboard .service-grid .vc-tcard:hover{transform:none;filter:none;border-color:var(--t-edge);box-shadow:0 8px 22px var(--t-soft)}
html body #v-dashboard .service-grid .mx-row:active,
html body #v-dashboard .service-grid .vc-tcard:active{transform:scale(.985)}

/* guest page and agent store links, square service grid */
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row{
  --t-soft:rgba(26,92,255,.13);--t-edge:rgba(26,92,255,.32);--t-glow:rgba(26,92,255,.3);
  overflow:hidden;
  background:linear-gradient(135deg,var(--t-soft),transparent 65%),var(--surface,#fff);
  border:1px solid var(--t-edge);
  box-shadow:0 8px 20px rgba(2,6,18,.14);
  animation:qdTileIn .45s cubic-bezier(.22,.8,.3,1) var(--tile-d,0s) backwards;
}
html[data-cards="grid"] body #v-guest .qd-service-grid>[data-boost-slot]{--tile-d:.03s;--tile-s:0s}
html[data-cards="grid"] body #v-guest .qd-service-grid>[data-voucher-slot]{--tile-d:.12s;--tile-s:1.5s}
html[data-cards="grid"] body #v-guest .qd-service-grid>[data-mashup-slot]{--tile-d:.21s;--tile-s:3s}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row{--t:var(--mx,#f59e0b);--t-glow:var(--mx-glow,rgba(245,158,11,.3))}
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard{--t:var(--vc-blue,#2563eb);--t-glow:var(--vc-btn-glow,rgba(26,92,255,.3))}
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row{--t:var(--sb,#1a5cff);--t-glow:var(--sb-glow,rgba(26,92,255,.3))}
@supports(background:color-mix(in srgb,red 10%,transparent)){
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row,
  html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard,
  html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row{--t-soft:color-mix(in srgb,var(--t) 13%,transparent);--t-edge:color-mix(in srgb,var(--t) 32%,transparent)}
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row::after,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard::after,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row::after{
  content:"";display:block;position:absolute;top:0;left:0;right:auto;bottom:auto;width:40%;height:100%;
  border:0;border-radius:0;box-shadow:none;
  background:linear-gradient(100deg,transparent,rgba(255,255,255,.32),transparent);
  transform:translateX(-160%) skewX(-18deg);
  animation:qdTileSheen 6s ease-in-out var(--tile-s,0s) infinite;pointer-events:none;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-ico,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard .vc-ico,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-ico{
  border:0;
  box-shadow:0 8px 18px var(--t-glow),inset 0 1px 0 rgba(255,255,255,.35);
  animation:qdTileFloat 3.8s ease-in-out var(--tile-s,0s) infinite;
}
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard .vc-ico{background:var(--vc-btn,linear-gradient(135deg,#1a5cff,#3f86ff));color:#fff}
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row:active,
html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard:active,
html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row:active{transform:scale(.97)}
@media(hover:hover){
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row:hover,
  html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard:hover,
  html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row:hover{transform:translateY(-2px);border-color:var(--t-edge);box-shadow:0 12px 26px var(--t-soft)}
}

/* centre the text block inside each square tile (it was stretching to the top) */
html body #v-dashboard .service-grid .mx-info,html body #v-dashboard .service-grid .vc-tinfo,html body #v-dashboard .service-grid .sb-info,
html[data-cards="grid"] body #v-guest .qd-service-grid .mx-info,html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tinfo,html[data-cards="grid"] body #v-guest .qd-service-grid .sb-info{flex:0 0 auto}

/* Android keeps the entrance only; reduced-motion keeps nothing moving */
html.is-android body #v-dashboard .service-grid .mx-row::after,
html.is-android body #v-dashboard .service-grid .vc-tcard::after,
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .mx-row::after,
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard::after,
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .sb-row::after{display:none}
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .mx-ico,
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard .vc-ico,
html.is-android[data-cards="grid"] body #v-guest .qd-service-grid .sb-ico{animation:none}
@media(prefers-reduced-motion:reduce){
  html body #v-dashboard .service-grid .mx-row,html body #v-dashboard .service-grid .vc-tcard,
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row,html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard,html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row,
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-ico,html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard .vc-ico,html[data-cards="grid"] body #v-guest .qd-service-grid .sb-ico{animation:none}
  html body #v-dashboard .service-grid .mx-row::after,html body #v-dashboard .service-grid .vc-tcard::after,
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row::after,html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard::after,html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row::after{animation:none;display:none}
  html[data-cards="grid"] body #v-guest .qd-service-grid .mx-row:hover,html[data-cards="grid"] body #v-guest .qd-service-grid .vc-tcard:hover,html[data-cards="grid"] body #v-guest .qd-service-grid .sb-row:hover{transform:none}
}

/* v379: member dashboard. "Select Network" label under the Boosting card. (v382 removed the full-width Mashup row: Results checker and Mashup now sit side by side under the networks.) */
.qd-netlabel{margin:20px 4px 12px;font-size:17px;font-weight:600;color:var(--muted,#64748b)}

/* v348: member account network cards (MTN, AT iShare, Telecel).
   The text block under each logo inherited flex:1 from the old list layout, so it stretched to the bottom of the
   square card and pushed the logo and name to the top. It now keeps its own height, so the logo and words sit in the
   middle of the card. The logo and the words are also larger. Only size, spacing and alignment change: the click,
   the network choice, the prices, the chevron and the festive artwork are untouched. */
html[data-cards] body #v-dashboard .service-grid .net-card,
html:not([data-cards]) body #v-dashboard .service-grid .net-card{
  align-items:center;
  justify-content:center;
  gap:clamp(9px,3vw,14px);
  padding:12px 8px;
}
html[data-cards] body #v-dashboard .service-grid .net-logo,
html:not([data-cards]) body #v-dashboard .service-grid .net-logo{
  width:clamp(72px,23vw,104px);
  height:clamp(72px,23vw,104px);
  box-shadow:0 0 0 4px color-mix(in srgb,var(--member-card-color) 28%,transparent);
}
html[data-cards] body #v-dashboard .service-grid .net-logo svg,
html:not([data-cards]) body #v-dashboard .service-grid .net-logo svg{width:100%;height:auto}
html[data-cards] body #v-dashboard .service-grid .net-info,
html:not([data-cards]) body #v-dashboard .service-grid .net-info{
  flex:0 0 auto;
  width:100%;
  text-align:center;
}
html[data-cards] body #v-dashboard .service-grid .net-info b,
html:not([data-cards]) body #v-dashboard .service-grid .net-info b{
  font-size:clamp(16px,4.9vw,19px);
  line-height:1.15;
  letter-spacing:-.3px;
}
html[data-cards] body #v-dashboard .service-grid .net-info small,
html:not([data-cards]) body #v-dashboard .service-grid .net-info small{
  margin-top:4px;
  font-size:clamp(11.5px,3.4vw,13.5px);
  line-height:1.25;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
@media(max-width:340px){
  html[data-cards] body #v-dashboard .service-grid .net-logo,
  html:not([data-cards]) body #v-dashboard .service-grid .net-logo{width:62px;height:62px}
  html[data-cards] body #v-dashboard .service-grid .net-info b,
  html:not([data-cards]) body #v-dashboard .service-grid .net-info b{font-size:15px}
}
@media(min-width:700px){
  html[data-cards] body #v-dashboard .service-grid .net-logo,
  html:not([data-cards]) body #v-dashboard .service-grid .net-logo{width:124px;height:124px}
  html[data-cards] body #v-dashboard .service-grid .net-info b,
  html:not([data-cards]) body #v-dashboard .service-grid .net-info b{font-size:21px}
  html[data-cards] body #v-dashboard .service-grid .net-info small,
  html:not([data-cards]) body #v-dashboard .service-grid .net-info small{font-size:14.5px}
}

/* v382: member account networks look like the guest page's (full-width rows: logo tag, name, "N bundles · From", "View Bundles" arrow),
   and Results checker + Mashup sit side by side under them as a two-column grid, like the guest page. Only the look changes: the click,
   the network choice, the prices and the Mashup / Results checker behaviour are untouched. */
#v-dashboard .service-grid>.net-grid{display:grid;grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:12px}
html[data-cards] body #v-dashboard .service-grid .net-card,
html:not([data-cards]) body #v-dashboard .service-grid .net-card{
  aspect-ratio:auto;flex-direction:row;justify-content:flex-start;align-items:center;
  gap:16px;padding:18px 16px;border-radius:16px;text-align:left;
}
#v-dashboard .service-grid .net-card .gx-tag{flex:none}
html[data-cards] body #v-dashboard .service-grid .net-card .net-info,
html:not([data-cards]) body #v-dashboard .service-grid .net-card .net-info{flex:1;width:auto;min-width:0;text-align:left}
html[data-cards] body #v-dashboard .service-grid .net-card .net-info b,
html:not([data-cards]) body #v-dashboard .service-grid .net-card .net-info b{display:block;font-size:19px;font-weight:700;letter-spacing:-.3px;line-height:1.2}
html[data-cards] body #v-dashboard .service-grid .net-card .net-info small,
html:not([data-cards]) body #v-dashboard .service-grid .net-card .net-info small{display:block;margin-top:2px;font-size:14px;line-height:1.35;color:var(--muted)}
#v-dashboard .service-grid .net-card .gx-acc-cta{display:flex;align-items:center;gap:6px;flex:none;color:var(--accent-text,var(--blue2));font-weight:700;font-size:15px;line-height:1.3;text-align:center}
#v-dashboard .service-grid .net-card .gx-acc-cta>span:first-child{display:block;max-width:74px}
#v-dashboard .service-grid .net-card .gx-acc-cta svg{width:18px;height:18px;transition:transform .2s ease}
#v-dashboard .service-grid .net-card:hover .gx-acc-cta svg{transform:translateX(2px)}
@media(max-width:380px){
  #v-dashboard .service-grid .net-card .gx-tag{width:50px;height:50px;font-size:16px}
  html[data-cards] body #v-dashboard .service-grid .net-card,
  html:not([data-cards]) body #v-dashboard .service-grid .net-card{gap:12px;padding:16px 14px}
  html[data-cards] body #v-dashboard .service-grid .net-card .net-info b,
  html:not([data-cards]) body #v-dashboard .service-grid .net-card .net-info b{font-size:17px}
}
@media(min-width:700px){
  #v-dashboard .service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  #v-dashboard .service-grid .net-card .gx-acc-cta svg{transition:none}
  #v-dashboard .service-grid .net-card:hover .gx-acc-cta svg{transform:none}
}
