/* F90 CARD Premium checkout & install - visual-only; backend quote/order flow unchanged. */
:root[data-theme="dark"] .f90-premium-checkout {
  --f90p-bg:#090b10;--f90p-panel:#11141a;--f90p-ink:#f7f8fb;--f90p-muted:#a7a9b4;
  --f90p-line:#4b323c;--f90p-accent:#ef263f;--f90p-input:#14161e;
  --f90p-shadow:rgba(244,23,51,.29);
}
:root[data-theme="cream"] .f90-premium-checkout {
  --f90p-bg:#fff9f7;--f90p-panel:#fffefe;--f90p-ink:#22232b;--f90p-muted:#6e6670;
  --f90p-line:#e0c6cf;--f90p-accent:#ba1433;--f90p-input:#fffaf8;
  --f90p-shadow:rgba(170,21,46,.12);
}
body.f90-checkout-open #quickProductPanel:not([hidden]) {
  width:min(440px,calc(100vw - 16px))!important;
  max-height:calc(var(--f90-checkout-height,100dvh) - 12px)!important;
  padding:2px!important;border-radius:25px!important;
  scrollbar-color:#ae2640 transparent!important;
}
.f90-premium-checkout.product-page,
body.f90-checkout-open #quickProductPanel .f90-premium-checkout.product-page {
  box-sizing:border-box;display:flex!important;flex-direction:column!important;
  gap:12px!important;min-height:0!important;
  width:100%!important;max-width:440px!important;
  padding:18px 17px 15px!important;border-radius:23px!important;
  background:
    radial-gradient(circle at 91% 2%,color-mix(in srgb,var(--f90p-accent) 18%,transparent),transparent 37%),
    repeating-linear-gradient(139deg,transparent,transparent 36px,#ffffff03 37px,#ffffff03 38px),
    var(--f90p-bg)!important;
  border:1px solid color-mix(in srgb,var(--f90p-accent) 78%,var(--f90p-line))!important;
  color:var(--f90p-ink)!important;
  box-shadow:0 0 0 1px #9696a221,inset 0 1px #fff3,0 16px 42px #0007,0 0 18px var(--f90p-shadow)!important;
  overflow:hidden;
}
.f90-premium-checkout::before {
  background:linear-gradient(118deg,transparent 8%,#ffffff12 14%,transparent 24%,transparent 77%,#ff163411 88%,transparent)!important;
  opacity:.7!important;
}
.f90-premium-checkout::after {animation:none!important;box-shadow:inset 0 0 0 1px #ffffff14!important}
.f90-premium-checkout .f90-visa-watermark {opacity:.03!important;max-width:160px!important}
.f90-premium-checkout .f90-visa-card-header,
body.f90-checkout-open .f90-premium-checkout .f90-visa-card-header {
  position:relative;height:48px!important;min-height:48px!important;
  margin:0!important;padding:0 35px!important;display:flex;justify-content:center;align-items:center;
}
.f90-premium-checkout .f90-visa-logo,
body.f90-checkout-open .f90-premium-checkout .f90-visa-logo {
  height:45px!important;max-width:min(60%,190px)!important;
  object-fit:contain!important;filter:drop-shadow(0 2px 5px var(--f90p-shadow));
}
.f90-premium-checkout .f90-visa-close,
body.f90-checkout-open .f90-premium-checkout .f90-visa-close {
  position:absolute;inset-inline-end:0;inset-inline-start:auto;left:0;right:auto;
  top:5px!important;width:36px!important;height:36px!important;
  display:grid;place-items:center;border:1px solid var(--f90p-line)!important;
  background:var(--f90p-panel)!important;color:var(--f90p-ink)!important;
  border-radius:50%;font-size:25px!important;z-index:10;
}
.f90-premium-checkout .f90-visa-product,
body.f90-checkout-open .f90-premium-checkout .f90-visa-product {
  position:relative;display:grid;grid-template-columns:80px minmax(0,1fr) 30px!important;
  align-items:center!important;gap:10px!important;min-height:112px!important;
  padding:14px 10px 13px!important;border:1px solid var(--f90p-line)!important;
  border-radius:17px;background:linear-gradient(145deg,var(--f90p-panel),color-mix(in srgb,var(--f90p-panel) 84%,var(--f90p-accent)))!important;
  box-shadow:inset 0 1px #fff1,0 7px 22px #0003;
}
.f90-premium-checkout .f90-visa-product::after {
  content:"F90 DIGITAL";position:absolute;left:12px;bottom:7px;
  color:var(--f90p-muted);font-size:7px;letter-spacing:2px;opacity:.35;
  pointer-events:none;
}
.f90-premium-checkout .f90-visa-product .product-art,
body.f90-checkout-open .f90-premium-checkout .f90-visa-product .product-art {
  width:80px!important;height:80px!important;max-height:80px!important;
  border:1px solid var(--f90p-line)!important;border-radius:15px!important;
  background:var(--f90p-input)!important;box-shadow:0 0 14px var(--f90p-shadow)!important;
  padding:2px!important;
}
.f90-premium-checkout .f90-visa-product .product-art img {border-radius:12px!important;object-fit:contain!important}
.f90-premium-checkout .f90-visa-product .product-info {
  gap:5px!important;align-items:flex-start;min-width:0;
}
.f90-premium-checkout .product-info h1,
body.f90-checkout-open .f90-premium-checkout .product-info h1 {
  font-size:clamp(14px,3.7vw,18px)!important;font-weight:900!important;
  line-height:1.4!important;color:var(--f90p-ink)!important;max-width:100%;overflow-wrap:anywhere;
}
.f90-premium-checkout .f90-visa-subtitle {color:var(--f90p-muted)!important;font-size:11px!important;line-height:1.45}
.f90-premium-checkout .f90-visa-statuses {display:flex;flex-wrap:wrap;gap:4px!important}
.f90-premium-checkout .f90-visa-status,
.f90-premium-checkout .f90-visa-available {
  padding:2px 6px!important;border-radius:30px!important;font-size:9px!important;
  line-height:1.3!important;background:transparent!important;
}
.f90-premium-checkout .f90-visa-available {color:#36d888!important;border:1px solid #158651!important}
.f90-premium-checkout .f90-premium-chip {
  position:absolute!important;left:13px;top:8px;display:block;
  width:22px;height:16px;color:color-mix(in srgb,var(--f90p-accent) 40%,#d5d9e1);
  opacity:.65;pointer-events:none;z-index:0!important;
}
.f90-premium-chip svg{display:block;width:100%;height:100%}
.f90-premium-checkout .f90-visa-favorite {align-self:start!important;justify-self:end!important}
.f90-premium-checkout #checkoutForm,
body.f90-checkout-open .f90-premium-checkout #checkoutForm {
  display:flex!important;flex-direction:column;gap:10px!important;min-width:0;
}
.f90-premium-checkout .f90-visa-inputrow,
body.f90-checkout-open .f90-premium-checkout .f90-visa-inputrow {
  display:grid;grid-template-columns:39px minmax(0,1fr)!important;gap:8px!important;
  direction:ltr!important;align-items:end!important;
}
.f90-premium-checkout .f90-visa-inputrow>.field {direction:rtl!important;min-width:0}
.f90-premium-checkout #checkoutForm .field>span {font-size:12px!important;color:var(--f90p-ink)!important;font-weight:750}
.f90-premium-checkout #checkoutForm input:not([type="hidden"]),
.f90-premium-checkout #checkoutForm textarea,
.f90-premium-checkout #checkoutForm select,
body.f90-checkout-open .f90-premium-checkout #checkoutForm input:not([type="hidden"]) {
  display:block;box-sizing:border-box;width:100%;
  min-height:45px!important;font-size:16px!important;
  border:1px solid var(--f90p-line)!important;border-radius:12px!important;
  background:var(--f90p-input)!important;color:var(--f90p-ink)!important;
  box-shadow:inset 0 1px #ffffff0d!important;padding:9px 12px!important;
}
.f90-premium-checkout #checkoutForm textarea {min-height:68px!important;resize:vertical}
.f90-premium-checkout #checkoutForm input:focus-visible,
.f90-premium-checkout #checkoutForm textarea:focus-visible,
.f90-premium-checkout #checkoutForm select:focus-visible {
  outline:2px solid var(--f90p-accent)!important;outline-offset:1px;
}
.f90-premium-checkout .f90-visa-inputicon,
body.f90-checkout-open .f90-premium-checkout .f90-visa-inputicon {
  height:40px!important;width:39px!important;
  border:1px solid var(--f90p-line)!important;border-radius:11px!important;
  background:var(--f90p-panel)!important;color:var(--f90p-accent)!important;
  box-shadow:none!important;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary,
body.f90-checkout-open .f90-premium-checkout #checkoutForm>.f90-premium-summary {
  display:grid!important;grid-template-columns:1fr!important;gap:0!important;
  order:10;flex-direction:column!important;border:1px solid var(--f90p-line)!important;
  border-radius:16px!important;padding:6px 13px!important;min-height:0!important;
  background:var(--f90p-panel)!important;box-shadow:inset 0 1px #fff1!important;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary>div,
body.f90-checkout-open .f90-premium-checkout #checkoutForm>.f90-premium-summary>div {
  display:flex!important;flex-direction:row!important;align-items:center!important;
  justify-content:space-between!important;gap:10px!important;min-height:44px!important;
  width:100%!important;max-width:100%!important;flex:none!important;
  text-align:start!important;margin:0!important;padding:6px 0!important;
  border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary>div+div {border-top:1px solid var(--f90p-line)!important}
.f90-premium-checkout #checkoutForm>.f90-premium-summary span {
  font-size:12px!important;color:var(--f90p-muted)!important;
  text-align:start!important;white-space:normal!important;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary strong {
  font-size:clamp(13px,3.8vw,18px)!important;
  color:var(--f90p-ink)!important;font-variant-numeric:tabular-nums;
  direction:ltr;text-align:end!important;max-width:60%;overflow-wrap:anywhere;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary #f90CheckoutTopTotal {
  color:var(--f90p-accent)!important;font-size:clamp(18px,5.3vw,25px)!important;
}
.f90-premium-checkout #checkoutForm>.f90-premium-summary #f90CheckoutTopRemaining {color:#299c64!important}
.f90-premium-checkout .f90-quantity-limits {font-size:11px!important;background:var(--f90p-panel)!important;border-color:var(--f90p-line)!important;color:var(--f90p-muted)!important}
.f90-premium-checkout .f90-quantity-limits strong {color:var(--f90p-ink)!important}
.f90-premium-checkout #checkoutForm .f90-visa-note {
  order:9;margin:0!important;padding:6px!important;
  text-align:center;font-size:10px!important;border:0!important;
  background:transparent!important;color:var(--f90p-muted)!important;
}
.f90-premium-checkout #checkoutForm #discountHint{order:11;margin:0!important;color:var(--f90p-accent)!important}
.f90-premium-checkout #checkoutForm #quoteError {order:12;margin:0!important}
.f90-premium-checkout #checkoutForm #checkoutTotal{display:none!important}
.f90-premium-checkout #checkoutForm>.f90-visa-footer {
  display:flex;flex-direction:column;gap:5px;order:13;margin:0!important;
  background:transparent!important;border:0!important;padding:0!important;
  box-shadow:none!important;
}
.f90-premium-checkout #checkoutForm #walletHint{margin:0!important}
.f90-premium-checkout #checkoutForm #buyButton.f90-visa-buy,
body.f90-checkout-open .f90-premium-checkout #checkoutForm #buyButton.f90-visa-buy {
  position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;
  min-height:54px!important;height:auto!important;padding:10px 46px!important;
  border:1px solid #ff6476!important;border-radius:14px!important;
  background:linear-gradient(130deg,#fa1835,#a70520 72%,#ea1533)!important;
  color:#fff!important;text-shadow:none!important;
  box-shadow:inset 0 1px #ffffff6b,inset 0 -3px #70051a,0 0 15px #ed234e60!important;
  font-size:17px!important;font-weight:900!important;line-height:1.4;cursor:pointer;
}
.f90-premium-checkout #checkoutForm #buyButton.f90-visa-buy:disabled {opacity:.55!important;cursor:not-allowed;filter:saturate(.65)}
.f90-premium-checkout #checkoutForm #buyButton.f90-visa-buy>svg{width:20px;height:20px}
.f90-premium-checkout #checkoutForm .f90-visa-buy-arrow {border-color:#ffffff55!important;background:#730b2688!important;color:white!important}
.f90-premium-checkout #checkoutForm>.f90-visa-footer:last-child {margin-bottom:0!important}
.f90-premium-checkout[data-checkout-kind="apps"] .f90-visa-product {
  background:radial-gradient(circle at 14% 15%,#9f2ce21c,transparent 50%),var(--f90p-panel)!important;
}
.f90-premium-checkout[data-checkout-kind="subscriptions"] .f90-visa-product {border-top:2px solid #e62b42!important}
.f90-premium-checkout[data-checkout-kind="cards"] .f90-visa-product {border-top:2px solid #b2b7c5!important}
.f90-premium-checkout[data-checkout-kind="social"] .f90-visa-product {border-top:2px solid #d74785!important}
@media(max-width:390px) {
  .f90-premium-checkout.product-page,
  body.f90-checkout-open #quickProductPanel .f90-premium-checkout.product-page {padding:11px 10px 12px!important;gap:8px!important}
  .f90-premium-checkout .f90-visa-product,
  body.f90-checkout-open .f90-premium-checkout .f90-visa-product {
    grid-template-columns:64px minmax(0,1fr) 27px!important;gap:7px!important;
    min-height:86px!important;padding:8px!important;
  }
  .f90-premium-checkout .f90-visa-product .product-art,
  body.f90-checkout-open .f90-premium-checkout .f90-visa-product .product-art {
    width:64px!important;height:64px!important;max-height:64px!important;
  }
  .f90-premium-checkout .f90-visa-statuses{font-size:9px}
  .f90-premium-checkout #checkoutForm,
  body.f90-checkout-open .f90-premium-checkout #checkoutForm{gap:7px!important}
}
@media(max-height:600px){
  body.f90-checkout-open #quickProductPanel:not([hidden]){max-height:calc(var(--f90-checkout-height,100dvh) - 6px)!important}
}
@media(prefers-reduced-motion:reduce) {.f90-premium-checkout,.f90-premium-checkout *{animation:none!important;transition:none!important}}

/* Standalone install surface: real PWA prompt when available, otherwise honest browser instructions. */
.f90-install-premium {
 --i-ink:#f8f8fb;--i-muted:#abb1bf;--i-line:#55303c;--i-panel:#15151d;
 position:relative;isolation:isolate;width:min(100%,462px);margin:15px auto 34px;
 padding:23px 18px 18px;box-sizing:border-box;overflow:hidden;color:var(--i-ink);
 border:1px solid #be2744;border-radius:26px;
 background:radial-gradient(circle at 87% 7%,#a40b2f57,transparent 38%),linear-gradient(150deg,#131015,#080b10 65%,#1c0c12);
 box-shadow:0 19px 50px #0008,inset 0 1px #ffffff29,0 0 20px #af224040;
}
.f90-install-premium::before {
 content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
 background:repeating-linear-gradient(140deg,transparent 0 24px,#ffffff07 25px,#ffffff07 26px);
 opacity:.25;
}
.f90-install-top{display:flex;flex-direction:column;align-items:center;gap:3px;padding-bottom:16px;border-bottom:1px solid var(--i-line)}
.f90-install-top img{width:min(58%,200px);height:60px;object-fit:contain;filter:drop-shadow(0 0 12px #d72d4b40)}
.f90-install-label{font-size:9px;letter-spacing:2px;color:var(--i-muted);direction:ltr}
.f90-install-hero{display:grid;grid-template-columns:80px minmax(0,1fr);gap:15px;align-items:center;padding:18px 0}
.f90-install-hero-icon{display:grid;place-items:center;width:80px;height:80px;border:1px solid #b44254;border-radius:19px;background:#1e1119;box-shadow:0 0 20px #d025463b}
.f90-install-hero-icon img{height:66px;width:66px;object-fit:contain;border-radius:12px}
.f90-install-hero h1{font-size:clamp(19px,5vw,25px);margin:0 0 6px;color:var(--i-ink);line-height:1.45}
.f90-install-hero p{font-size:12px;line-height:1.8;margin:0;color:var(--i-muted)}
.f90-install-platforms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:0 0 15px}
.f90-install-platform{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;
 min-height:98px;padding:11px 5px;min-width:0;border:1px solid var(--i-line);
 border-radius:16px;background:linear-gradient(145deg,#191b25,#0e1017);color:var(--i-ink);
 cursor:pointer;box-shadow:inset 0 1px #fff1;transition:border-color .15s,box-shadow .15s;
}
.f90-install-platform svg{width:38px;height:38px;max-width:100%}
.f90-install-platform[data-platform="android"] svg{color:#9edb61}
.f90-install-platform[data-platform="windows"] svg{color:#52b9ff}
.f90-install-platform span{font-size:11px;letter-spacing:.1px;direction:ltr;white-space:nowrap}
.f90-install-platform[aria-pressed="true"]{border-color:#ff596b;background:linear-gradient(140deg,#571423,#170e16);box-shadow:0 0 14px #fc23494a,inset 0 0 12px #d31e3b35}
.f90-install-platform:focus-visible,.f90-install-cta:focus-visible{outline:2px solid #ff8393;outline-offset:3px}
.f90-install-steps{border:1px solid var(--i-line);background:var(--i-panel);padding:13px 14px;margin-bottom:14px;border-radius:15px}
.f90-install-steps strong{display:block;margin:0 0 8px;color:var(--i-ink);font-size:14px}
.f90-install-steps p{font-size:12px;color:var(--i-muted);line-height:1.9;margin:0}
.f90-install-success{color:#83e5aa;font-weight:750;text-align:center}
.f90-install-cta{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:55px;
 padding:12px;border-radius:15px;border:1px solid #ff6a7a;color:#fff;background:linear-gradient(125deg,#f71a3b,#a70624);
 box-shadow:inset 0 1px #fff7,0 0 17px #ee234e6a;font-size:17px;font-weight:900;cursor:pointer}
.f90-install-cta svg{width:23px;height:23px}
.f90-install-cta:disabled{opacity:.58;cursor:default}
:root[data-theme="cream"] .f90-install-premium{
 --i-ink:#2e2530;--i-muted:#6e5c69;--i-line:#dbc2c9;--i-panel:#fffcfb;
 background:radial-gradient(circle at 90% 7%,#fa143625,transparent 42%),linear-gradient(150deg,#fff,#f7edea)!important;
 border-color:#cc4764;box-shadow:0 10px 30px #42222d24}
:root[data-theme="cream"] .f90-install-platform {background:#fff9f8;color:#322b34}
:root[data-theme="cream"] .f90-install-platform[aria-pressed="true"] {background:#ffe8e9;border-color:#d63753}
:root[data-theme="cream"] .f90-install-hero-icon{background:#fff0ed}
@media(max-width:360px){
 .f90-install-premium{padding:16px 11px;margin:8px auto 20px}
 .f90-install-hero{grid-template-columns:60px minmax(0,1fr);gap:10px}
 .f90-install-hero-icon{width:60px;height:60px}
 .f90-install-hero-icon img{width:48px;height:48px}
 .f90-install-platform span{font-size:10px}
}
@media(prefers-reduced-motion:reduce){.f90-install-platform{transition:none}}


/* Universal icon-only PWA shortcuts: SVG platform marks, no font dependencies. */
.f90-install-shortcuts{
  display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;
  gap:8px;max-width:100%;vertical-align:middle;direction:ltr;
}
.f90-install-icon-btn{
  display:inline-grid;place-items:center;flex:0 0 45px;
  width:45px;height:45px;padding:10px;box-sizing:border-box;min-width:0;
  border:1px solid color-mix(in srgb,var(--accent,#e7274a) 65%,var(--line,#70515c));
  border-radius:13px;
  background:linear-gradient(145deg,color-mix(in srgb,var(--surface2,#17121b) 80%,#b81e3b),var(--surface2,#17121b));
  color:var(--text,#fff);box-shadow:inset 0 1px #ffffff24,0 5px 18px #d11d3725;
  cursor:pointer;touch-action:manipulation;
  transition:background .18s,transform .18s,border-color .18s;
}
.f90-install-icon-btn svg{display:block;width:25px;height:25px;fill:currentColor}
.f90-install-icon-btn[data-platform="android"] svg{color:#89d85f}
.f90-install-icon-btn[data-platform="windows"] svg{color:#50b5fc}
.f90-install-icon-btn:hover{transform:translateY(-1px);background:color-mix(in srgb,var(--accent,#d82d49) 22%,var(--surface2,#17121b));border-color:var(--accent,#e7274a)}
.f90-install-icon-btn:focus-visible{outline:3px solid #ff8393;outline-offset:3px}
.f90-install-icon-btn:disabled{opacity:.4;cursor:default}
.f90-install-shortcuts.f90-install-about .f90-install-icon-btn{width:52px;height:50px;flex-basis:52px;border-radius:15px}
.f90-install-shortcuts.f90-install-about .f90-install-icon-btn svg{height:29px;width:29px}
.f90-install-shortcuts.f90-install-hero .f90-install-icon-btn{height:48px;width:49px;flex-basis:49px}
.f90-install-shortcuts.f90-install-footer{justify-content:flex-start;gap:7px}
.f90-install-shortcuts.f90-install-footer .f90-install-icon-btn{height:41px;width:42px;flex-basis:42px}
.f90-install-page-icons{display:flex;justify-content:center;gap:10px;margin:12px 0 2px}
.f90-install-shortcuts.f90-install-page .f90-install-icon-btn{
  width:60px;height:54px;flex-basis:60px;border-radius:16px;
}
.f90-install-shortcuts.f90-install-page .f90-install-icon-btn svg{width:30px;height:30px}
.f90-drawer-install{padding:9px 12px;border-top:1px solid var(--line);text-align:center}
.f90-install-shortcuts.f90-install-drawer{display:flex;width:100%}
.f90-install-shortcuts.f90-install-drawer .f90-install-icon-btn{min-height:44px}
.f90-install-platform[data-action="install-platform"]{min-height:86px;touch-action:manipulation}
.f90-install-platform[data-action="install-platform"] svg{height:42px;width:42px}
:root[data-theme="cream"] .f90-install-icon-btn{background:linear-gradient(145deg,#fffaf9,#f4e4e9);color:#682842;box-shadow:0 3px 12px #9d53641d}
:root[data-theme="cream"] .f90-install-icon-btn[data-platform="android"] svg{color:#568c29}
:root[data-theme="cream"] .f90-install-icon-btn[data-platform="windows"] svg{color:#1774b0}
@media(max-width:390px){
 .f90-install-shortcuts{gap:6px}
 .f90-install-icon-btn{width:40px;height:43px;flex-basis:40px;padding:9px}
 .f90-install-icon-btn svg{width:23px;height:23px}
 .f90-install-shortcuts.f90-install-hero .f90-install-icon-btn{width:44px;height:44px;flex-basis:44px}
 .f90-install-shortcuts.f90-install-about .f90-install-icon-btn{width:46px;height:46px;flex-basis:46px}
}
@media(prefers-reduced-motion:reduce){.f90-install-icon-btn{transition:none}.f90-install-icon-btn:hover{transform:none}}
