/* GenyConnect VPN purchase-first account UX — 2026-10-12.
   Presentation only. All purchase actions still use account.js GENY on-chain flow. */

/* Primary discovery: users can get to VPN without knowing "Active services". */
.account-dashboard .account-vpn-shortcut{
  display:grid;
  grid-template-columns:43px minmax(0,1fr) 18px;
  align-items:center;
  gap:11px;
  width:100%;
  min-height:66px;
  margin:0 0 17px;
  padding:12px 13px;
  border:1px solid color-mix(in srgb,var(--primary) 35%,var(--line));
  border-radius:17px;
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--primary) 11%,var(--paper)),
    color-mix(in srgb,var(--primary) 4%,var(--paper)));
  color:var(--ink);
  text-decoration:none;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--paper) 67%,transparent);
  transition:border-color .15s ease,background .15s ease;
}
.account-dashboard .account-vpn-shortcut:hover,
.account-dashboard .account-vpn-shortcut:focus-visible{
  border-color:var(--primary);
  background:color-mix(in srgb,var(--primary) 13%,var(--paper));
}
.account-dashboard .account-vpn-shortcut:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
.account-dashboard .account-vpn-shortcut-mark{
  display:grid;
  place-items:center;
  width:43px;
  height:43px;
  border-radius:13px;
  background:color-mix(in srgb,var(--primary) 17%,var(--paper));
  color:var(--primary);
}
.account-dashboard .account-vpn-shortcut-mark .account-svg-icon{
  width:23px;
  height:23px;
  color:inherit;
}
.account-dashboard .account-vpn-shortcut-label{
  display:grid;
  gap:4px;
  min-width:0;
}
.account-dashboard .account-vpn-shortcut-label strong{
  font-size:.81rem;
  font-weight:850;
  line-height:1.3;
  letter-spacing:-.015em;
}
.account-dashboard .account-vpn-shortcut-label small{
  color:var(--muted);
  font-size:.66rem;
  line-height:1.35;
}
.account-dashboard .account-vpn-shortcut-arrow{
  color:var(--primary);
  font-size:1.08rem;
  font-weight:800;
  justify-self:center;
  line-height:1;
}

/* Separate intent (buy vs access) before either group of cards. */
.account-dashboard .gc-vpn-intro{
  display:grid;
  gap:17px;
  padding:20px;
  border:1px solid color-mix(in srgb,var(--primary) 23%,var(--line));
  border-radius:22px;
  background:linear-gradient(145deg,
    color-mix(in srgb,var(--primary) 6%,var(--paper)),
    color-mix(in srgb,var(--soft) 35%,var(--paper)));
}
.account-dashboard .gc-vpn-intro-copy{
  display:grid;
  gap:7px;
  min-width:0;
}
.account-dashboard .gc-vpn-eyebrow{
  font-size:.65rem;
  font-weight:850;
  color:var(--primary);
  letter-spacing:.075em;
}
.account-dashboard .gc-vpn-intro-copy>strong{
  font-size:1.21rem;
  font-weight:850;
  color:var(--ink);
  line-height:1.35;
}
.account-dashboard .gc-vpn-intro-copy>small{
  max-width:620px;
  font-size:.75rem;
  line-height:1.6;
  color:var(--muted);
}
.account-dashboard .gc-vpn-modes{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:9px;
  min-width:0;
}
.account-dashboard .gc-vpn-mode{
  display:grid;
  grid-template-columns:39px minmax(0,1fr) auto;
  align-items:center;
  gap:11px;
  min-width:0;
  min-height:75px;
  padding:13px 14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  color:var(--ink);
  font:inherit;
  text-align:start;
  cursor:pointer;
  transition:background .16s,border-color .16s,transform .16s;
}
.account-dashboard .gc-vpn-mode:active{transform:scale(.992)}
.account-dashboard .gc-vpn-mode:hover{
  border-color:color-mix(in srgb,var(--primary) 36%,var(--line));
}
.account-dashboard .gc-vpn-mode.is-active{
  border-color:color-mix(in srgb,var(--primary) 55%,var(--line));
  background:color-mix(in srgb,var(--primary) 10%,var(--paper));
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--primary) 8%,transparent);
}
.account-dashboard .gc-vpn-mode:focus-visible{
  outline:2px solid var(--primary);
  outline-offset:2px;
}
.account-dashboard .gc-vpn-mode-icon{
  display:grid;
  place-items:center;
  width:39px;
  height:39px;
  border-radius:12px;
  color:var(--primary);
  background:color-mix(in srgb,var(--primary) 10%,var(--paper));
}
.account-dashboard .gc-vpn-mode-icon .account-svg-icon{
  width:21px;
  height:21px;
  color:inherit;
}
.account-dashboard .gc-vpn-mode>span:nth-child(2){
  display:grid;
  gap:4px;
  min-width:0;
}
.account-dashboard .gc-vpn-mode strong{
  font-size:.83rem;
  font-weight:850;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.account-dashboard .gc-vpn-mode small{
  font-size:.69rem;
  line-height:1.35;
  color:var(--muted);
  overflow-wrap:anywhere;
}
.account-dashboard .gc-vpn-mode em{
  display:grid;
  place-items:center;
  min-width:26px;
  height:26px;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary) 12%,var(--paper));
  color:var(--primary);
  font-style:normal;
  font-size:.73rem;
  font-weight:850;
  font-variant-numeric:tabular-nums;
}
.account-dashboard .gc-vpn-view{
  display:grid;
  gap:16px;
  min-width:0;
}
.account-dashboard .gc-vpn-view-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding-inline:2px;
}
.account-dashboard .gc-vpn-view-head h3{
  margin:0 0 6px;
  font-size:1.12rem;
  font-weight:850;
  line-height:1.4;
  color:var(--ink);
}
.account-dashboard .gc-vpn-view-head p{
  margin:0;
  font-size:.76rem;
  line-height:1.65;
  color:var(--muted);
}
.account-dashboard .gc-vpn-empty,
.account-dashboard .gc-shop-empty{
  display:grid;
  justify-items:start;
  gap:11px;
  padding:24px;
  border:1px dashed color-mix(in srgb,var(--primary) 30%,var(--line));
  border-radius:19px;
  background:color-mix(in srgb,var(--soft) 37%,var(--paper));
  color:var(--ink);
}
.account-dashboard .gc-vpn-empty strong{
  font-size:.9rem;
}
.account-dashboard .gc-vpn-empty p{
  font-size:.76rem;
  line-height:1.65;
  margin:0;
  color:var(--muted);
}
.account-dashboard .gc-vpn-empty .button{
  margin-top:7px;
  min-height:46px;
  padding:11px 19px;
}

/* Country cards: keep price, duration, quote and CTA in separate RTL-safe rows. */
.account-dashboard .account-service-plans.gc-shop-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  margin:0;
  padding:0;
  min-width:0;
}
.account-dashboard .gc-shop-card{
  display:flex;
  flex-direction:column;
  gap:15px;
  min-width:0;
  padding:21px;
  border:1px solid var(--line);
  border-radius:21px;
  background:var(--paper);
  box-shadow:0 8px 27px color-mix(in srgb,var(--ink) 4%,transparent);
  overflow:hidden;
}
.account-dashboard .gc-shop-card.is-owned{
  border-color:color-mix(in srgb,var(--primary) 24%,var(--line));
}
.account-dashboard .gc-shop-country{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:11px;
  min-width:0;
}
.account-dashboard .gc-shop-flag{
  display:grid;
  place-items:center;
  flex:0 0 50px;
  width:50px;
  height:50px;
  border:1px solid color-mix(in srgb,var(--primary) 14%,var(--line));
  border-radius:15px;
  background:color-mix(in srgb,var(--primary) 6%,var(--paper));
  font-family:"Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif;
  font-size:1.72rem;
  line-height:1;
}
.account-dashboard .gc-shop-country-copy{
  display:grid;
  gap:5px;
  min-width:0;
  flex:1;
}
.account-dashboard .gc-shop-country-copy strong{
  font-size:1.1rem;
  line-height:1.25;
  font-weight:850;
  color:var(--ink);
}
.account-dashboard .gc-shop-country-copy small{
  justify-self:start;
  font-size:.64rem;
  color:var(--muted);
  font-weight:750;
  letter-spacing:.07em;
}
.account-dashboard .gc-shop-owned{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:5px 10px;
  border-radius:999px;
  background:color-mix(in srgb,var(--primary) 11%,var(--paper));
  color:var(--primary);
  font-size:.65rem;
  font-weight:850;
}
.account-dashboard .gc-shop-duration{
  padding:8px 12px;
  border-radius:11px;
  background:color-mix(in srgb,var(--soft) 63%,var(--paper));
  color:var(--muted);
  font-size:.75rem;
  font-weight:730;
  line-height:1.4;
  align-self:stretch;
}
.account-dashboard .gc-shop-price-row{
  display:grid;
  justify-items:start;
  align-content:start;
  gap:6px;
  margin-top:0;
  padding:10px 0 11px;
  border-bottom:1px solid var(--line);
  min-width:0;
}
.account-dashboard .gc-shop-price-caption{
  font-size:.68rem;
  font-weight:750;
  line-height:1.35;
  color:var(--muted);
}
.account-dashboard .gc-shop-price{
  display:inline-flex;
  direction:ltr;
  unicode-bidi:isolate;
  justify-content:flex-start;
  align-items:baseline;
  gap:10px;
  max-width:100%;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
  line-height:1.15;
  white-space:nowrap;
}
.account-dashboard .gc-shop-price strong{
  font-size:clamp(1.7rem,3vw,2.15rem);
  font-weight:880;
  letter-spacing:-.04em;
  color:var(--ink);
}
.account-dashboard .gc-shop-price>span{
  font-size:.84rem;
  font-weight:840;
  letter-spacing:.02em;
  color:var(--primary);
}
.account-dashboard .gc-shop-usd{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:8px;
  min-width:0;
  font-size:.71rem;
  line-height:1.55;
  color:var(--muted);
}
.account-dashboard .gc-shop-usd bdi{
  display:inline-block;
  direction:ltr;
  unicode-bidi:isolate;
  font-size:.75rem;
  font-weight:750;
  white-space:nowrap;
  color:var(--ink);
  font-variant-numeric:tabular-nums;
}
.account-dashboard .gc-shop-feature{
  margin:0;
  color:var(--muted);
  font-size:.74rem;
  line-height:1.55;
}
.account-dashboard .gc-shop-action.button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-width:0;
  min-height:49px;
  margin-top:auto;
  padding:12px 13px;
  border-radius:13px;
  font-size:.81rem;
  font-weight:850;
  text-align:center;
  line-height:1.3;
  overflow-wrap:anywhere;
}
.account-dashboard .gc-shop-action.is-owned{
  border:1px solid color-mix(in srgb,var(--primary) 32%,var(--line));
  background:color-mix(in srgb,var(--primary) 8%,var(--paper));
  color:var(--ink);
}
.account-dashboard .gc-shop-pay-note{
  display:block;
  margin:0;
  font-size:.69rem;
  line-height:1.65;
  color:var(--muted);
  padding:1px 2px;
}

/* The connection button is the FIRST action inside a purchased VPN card. */
.account-dashboard .gc-sub-actions.gc-sub-actions-primary{
  border-top:0;
  border-bottom:1px solid var(--line);
  padding:15px 22px;
  background:color-mix(in srgb,var(--primary) 3%,var(--paper));
}
.account-dashboard .gc-sub-actions-primary .gc-sub-copy{
  min-height:49px;
  font-weight:830!important;
}
.account-dashboard .gc-sub-actions-primary .gc-sub-download{
  min-height:49px;
}
.account-dashboard .gc-sub-actions-primary .gc-sub-privacy{
  font-size:.68rem;
}

@media(max-width:980px){
  .account-dashboard .account-vpn-shortcut{
    margin-bottom:14px;
  }
}
@media(max-width:760px){
  .account-dashboard .account-service-plans.gc-shop-grid{
    grid-template-columns:minmax(0,1fr);
    gap:12px;
  }
  .account-dashboard .gc-shop-card{
    gap:12px;
    padding:18px;
  }
  .account-dashboard .gc-shop-price-row{
    padding-block:8px 12px;
  }
  .account-dashboard .gc-shop-price strong{
    font-size:2rem;
  }
}
@media(max-width:680px){
  .account-dashboard .account-vpn-shortcut{
    grid-template-columns:41px minmax(0,1fr) 17px;
    gap:11px;
    min-height:68px;
    padding:11px 12px;
    margin-bottom:15px;
    border-radius:15px;
  }
  .account-dashboard .account-vpn-shortcut-mark{
    width:41px;
    height:41px;
    border-radius:12px;
  }
  .account-dashboard .account-vpn-shortcut-label strong{
    font-size:.79rem;
  }
  .account-dashboard .account-vpn-shortcut-label small{
    font-size:.65rem;
  }
  .account-dashboard .gc-vpn-intro{
    gap:14px;
    padding:16px;
    border-radius:19px;
  }
  .account-dashboard .gc-vpn-intro-copy>strong{
    font-size:1.05rem;
  }
  .account-dashboard .gc-vpn-intro-copy>small{
    font-size:.7rem;
  }
  .account-dashboard .gc-vpn-modes{
    gap:8px;
  }
  .account-dashboard .gc-vpn-mode{
    grid-template-columns:32px minmax(0,1fr);
    gap:8px;
    min-height:77px;
    padding:9px;
    border-radius:13px;
  }
  .account-dashboard .gc-vpn-mode-icon{
    grid-row:1/3;
    grid-column:1;
    width:32px;
    height:32px;
    border-radius:10px;
  }
  .account-dashboard .gc-vpn-mode-icon .account-svg-icon{
    width:18px;
    height:18px;
  }
  .account-dashboard .gc-vpn-mode>span:nth-child(2){
    grid-row:1;
    grid-column:2;
    gap:4px;
  }
  .account-dashboard .gc-vpn-mode strong{
    font-size:.74rem;
  }
  .account-dashboard .gc-vpn-mode small{
    font-size:.62rem;
    line-height:1.45;
  }
  .account-dashboard .gc-vpn-mode em{
    grid-column:2;
    grid-row:2;
    min-width:22px;
    height:22px;
    font-size:.66rem;
    justify-self:start;
  }
  .account-dashboard .gc-vpn-view-head h3{
    font-size:1rem;
  }
  .account-dashboard .gc-vpn-view-head p{
    font-size:.72rem;
  }
  .account-dashboard .gc-shop-card{
    border-radius:18px;
    padding:16px;
  }
  .account-dashboard .gc-shop-flag{
    flex-basis:46px;
    width:46px;
    height:46px;
    font-size:1.55rem;
    border-radius:13px;
  }
  .account-dashboard .gc-shop-country-copy strong{
    font-size:1.03rem;
  }
  .account-dashboard .gc-shop-duration{
    font-size:.72rem;
  }
  .account-dashboard .gc-shop-price strong{
    font-size:1.95rem;
  }
  .account-dashboard .gc-shop-action.button{
    min-height:47px;
  }
  .account-dashboard .gc-sub-actions.gc-sub-actions-primary{
    padding:13px 14px;
  }
  .account-dashboard .gc-sub-actions-primary .gc-sub-copy{
    grid-column:1/-1;
    min-height:48px;
  }
  .account-dashboard .gc-sub-actions-primary .gc-sub-download{
    grid-column:1/-1;
    min-height:43px;
  }
}
@media(max-width:385px){
  .account-dashboard .gc-vpn-mode{
    grid-template-columns:minmax(0,1fr);
  }
  .account-dashboard .gc-vpn-mode-icon{
    grid-column:1;
    grid-row:1;
  }
  .account-dashboard .gc-vpn-mode>span:nth-child(2){
    grid-column:1;
    grid-row:2;
  }
  .account-dashboard .gc-vpn-mode em{
    grid-column:1;
    grid-row:3;
  }
  .account-dashboard .gc-shop-price strong{
    font-size:1.82rem;
  }
}
@media(prefers-reduced-motion:reduce){
  .account-dashboard .account-vpn-shortcut,
  .account-dashboard .gc-vpn-mode{
    transition:none;
  }
}

/* USD-anchored 30-day pricing: stable $0.50 as primary, live GENY beneath. */
.account-dashboard .gc-shop-price-row{
  gap:9px;
  padding-block:14px 16px;
}
.account-dashboard .gc-shop-price.gc-shop-usd-base{
  align-items:baseline;
  gap:9px;
  direction:ltr;
  unicode-bidi:isolate;
}
.account-dashboard .gc-shop-usd-base strong{
  font-weight:880;
  font-size:clamp(2.1rem,3.6vw,2.6rem);
  color:var(--ink);
  letter-spacing:-.035em;
}
.account-dashboard .gc-shop-usd-base span{
  font-size:.77rem;
  color:var(--muted);
  font-weight:800;
}
.account-dashboard .gc-shop-geny-quote{
  display:grid;
  gap:6px;
  padding-top:10px;
  width:100%;
  border-top:1px dashed color-mix(in srgb,var(--primary) 15%,var(--line));
  min-width:0;
}
.account-dashboard .gc-shop-geny-quote>span{
  color:var(--muted);
  font-size:.7rem;
  line-height:1.6;
}
.account-dashboard .gc-shop-geny-quote>bdi{
  display:inline-flex;
  direction:ltr;
  unicode-bidi:isolate;
  justify-content:flex-start;
  align-items:baseline;
  gap:6px;
  font-size:.82rem;
  font-weight:800;
  line-height:1.35;
  color:var(--primary);
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
  white-space:normal;
}
.account-dashboard .gc-shop-geny-quote>bdi strong{
  color:var(--primary);
  font-size:1.08rem;
  font-weight:850;
  font-variant-numeric:tabular-nums;
  overflow-wrap:anywhere;
}
.account-dashboard .gc-shop-rate-unavailable{
  display:block;
  color:var(--muted);
  font-size:.72rem;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.account-dashboard .gc-shop-card .gc-shop-action:disabled{
  opacity:.65;
  cursor:not-allowed;
}
@media(max-width:680px){
  .account-dashboard .gc-shop-card{padding:16px;gap:12px}
  .account-dashboard .gc-shop-usd-base strong{font-size:2.25rem}
  .account-dashboard .gc-shop-price-row{padding:10px 0 13px}
  .account-dashboard .gc-shop-geny-quote>bdi strong{font-size:1.02rem}
}
@media(max-width:365px){
  .account-dashboard .gc-shop-usd-base strong{font-size:2.02rem}
  .account-dashboard .gc-shop-geny-quote>bdi strong{font-size:.91rem}
}

/* Renewal follows the same USD base as a new purchase, with a live GENY quote. */
.account-dashboard .gc-sub-actions-primary .gc-sub-renew{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  gap:5px;
  white-space:normal;
  line-height:1.4;
  text-align:center;
  padding:11px 14px;
}
.account-dashboard .gc-sub-actions-primary .gc-sub-renew>span{
  font-size:.76rem;
  font-weight:850;
}
.account-dashboard .gc-sub-actions-primary .gc-sub-renew>small{
  font-size:.68rem;
  font-weight:750;
  color:var(--muted);
  line-height:1.4;
}
.account-dashboard .gc-sub-actions-primary .gc-sub-renew bdi{
  unicode-bidi:isolate;
  white-space:normal;
  direction:ltr;
}
