/* ALPHA Premium Interaction Boundary P1 — clickable vs info-only */

body.alpha-premium-mobile-home{
  --alpha-ix-click-border-light:rgba(20,184,166,.45);
  --alpha-ix-click-border-dark:rgba(45,212,191,.55);
  --alpha-ix-info-border-light:#e2e8f0;
  --alpha-ix-info-border-dark:rgba(148,163,184,.22);
  --alpha-ix-hover-lift:-3px;
  --alpha-ix-trans:transform .16s ease,box-shadow .16s ease,border-color .16s ease;
  --alpha-ix-shadow-light:0 8px 24px rgba(15,23,42,.10);
  --alpha-ix-shadow-dark:0 8px 24px rgba(0,0,0,.45);
}

/* ── Info-only: no hover/tap lift ── */
body.alpha-premium-mobile-home .alpha-info-only,
body.alpha-premium-mobile-home .alpha-home-market-bar,
body.alpha-premium-mobile-home .agp-shell,
body.alpha-premium-mobile-home .p47-fridge-brief,
body.alpha-premium-mobile-home .p43-diag-hero .p43-diag-sub,
body.alpha-premium-mobile-home .p43-diag-hero .p43-diag-head,
body.alpha-premium-mobile-home .p43-diag-report,
body.alpha-premium-mobile-home .p43-diag-result{
  cursor:default;
}

body.alpha-premium-mobile-home .alpha-info-only:hover,
body.alpha-premium-mobile-home .alpha-home-market-bar:hover,
body.alpha-premium-mobile-home .agp-shell:hover,
body.alpha-premium-mobile-home .p47-fridge-brief:hover,
body.alpha-premium-mobile-home .p43-diag-hero.alpha-info-only:hover{
  transform:none!important;
  box-shadow:inherit!important;
}

html[data-theme="light"] body.alpha-premium-mobile-home .alpha-home-market-bar .market-chip,
html[data-theme="light"] body.alpha-premium-mobile-home .agp-shell.alpha-info-only{
  border-color:var(--alpha-ix-info-border-light);
}

html[data-theme="dark"] body.alpha-premium-mobile-home .alpha-home-market-bar .market-chip,
html[data-theme="dark"] body.alpha-premium-mobile-home .agp-shell.alpha-info-only{
  border-color:var(--alpha-ix-info-border-dark);
}

html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a{
  border-color:var(--alpha-ix-click-border-light);
}

html[data-theme="dark"] body.alpha-premium-mobile-home a.p47-fridge-card,
html[data-theme="dark"] body.alpha-premium-mobile-home .forest-lounge-card,
html[data-theme="dark"] body.alpha-premium-mobile-home .p38-my-menu a{
  border-color:var(--alpha-ix-click-border-dark);
}

body.alpha-premium-mobile-home .alpha-touch-feedback{
  -webkit-tap-highlight-color:transparent;
}

body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  outline:none;
}

html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  border-color:var(--alpha-ix-click-border-light)!important;
  box-shadow:0 0 0 2px rgba(20,184,166,.12);
}

html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input.alpha-touch-feedback:focus{
  border-color:var(--alpha-ix-click-border-dark)!important;
  box-shadow:0 0 0 2px rgba(45,212,191,.14);
}

/* ── Shared pressable / clickable ── */
body.alpha-premium-mobile-home .alpha-clickable,
body.alpha-premium-mobile-home .alpha-card-pressable,
body.alpha-premium-mobile-home .alpha-card-link,
body.alpha-premium-mobile-home a.p47-fridge-card,
body.alpha-premium-mobile-home .forest-lounge-card,
body.alpha-premium-mobile-home .alpha-v7-expert-cta,
body.alpha-premium-mobile-home .p38-my-menu a,
body.alpha-premium-mobile-home .p47-tab,
body.alpha-premium-mobile-home .p43-diag-btn{
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  transition:var(--alpha-ix-trans);
}

body.alpha-premium-mobile-home .alpha-card-link::after,
body.alpha-premium-mobile-home .p38-my-menu a::after{
  content:" ›";
  font-weight:900;
  opacity:.85;
}

/* ── PC hover (fine pointer only) ── */
@media (hover:hover) and (pointer:fine){
  html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a:hover,
  html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-btn:hover{
    transform:translateY(var(--alpha-ix-hover-lift));
    border-color:var(--alpha-ix-click-border-light)!important;
    box-shadow:var(--alpha-ix-shadow-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .forest-lounge-card:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .p38-my-menu a:hover,
  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-btn:hover{
    transform:translateY(var(--alpha-ix-hover-lift));
    border-color:var(--alpha-ix-click-border-dark)!important;
    box-shadow:var(--alpha-ix-shadow-dark)!important;
  }

  html[data-theme="light"] body.alpha-premium-mobile-home .p47-tab:hover{
    transform:translateY(-2px);
    color:#0f766e!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p47-tab:hover{
    transform:translateY(-2px);
    color:#2dd4bf!important;
  }

  html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-input:hover{
    border-color:var(--alpha-ix-click-border-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input:hover{
    border-color:var(--alpha-ix-click-border-dark)!important;
  }
}

/* ── Mobile tap (:active only, no hover) ── */
@media (hover:none) and (pointer:coarse){
  body.alpha-premium-mobile-home a.p47-fridge-card:hover,
  body.alpha-premium-mobile-home .forest-lounge-card:hover,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
  body.alpha-premium-mobile-home .p38-my-menu a:hover,
  body.alpha-premium-mobile-home .p43-diag-btn:hover,
  body.alpha-premium-mobile-home .p47-tab:hover,
  body.alpha-premium-mobile-home .alpha-home-market-bar:hover,
  body.alpha-premium-mobile-home .agp-shell:hover{
    transform:none!important;
  }

  body.alpha-premium-mobile-home a.p47-fridge-card:active,
  body.alpha-premium-mobile-home .forest-lounge-card:active,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta:active,
  body.alpha-premium-mobile-home .p38-my-menu a:active,
  body.alpha-premium-mobile-home .p43-diag-btn:active,
  body.alpha-premium-mobile-home .p47-tab:active{
    transform:scale(.985) translateY(1px)!important;
    opacity:.96;
  }

  body.alpha-premium-mobile-home .p43-diag-input:active{
    transform:none;
    border-color:var(--alpha-ix-click-border-light)!important;
  }

  html[data-theme="dark"] body.alpha-premium-mobile-home .p43-diag-input:active{
    border-color:var(--alpha-ix-click-border-dark)!important;
  }
}

/* ── Touch targets ── */
body.alpha-premium-mobile-home .p43-diag-btn,
body.alpha-premium-mobile-home .alpha-v7-expert-cta,
body.alpha-premium-mobile-home .p38-my-menu a,
body.alpha-premium-mobile-home .p47-tab{
  min-height:44px;
}

body.alpha-premium-mobile-home .p43-diag-input{
  min-height:44px;
}

/* ── Diagnosis: hero info-only, controls interactive ── */
body.alpha-premium-mobile-home .p43-diag-hero.alpha-info-only{
  cursor:default;
}

body.alpha-premium-mobile-home .p43-diag-search .p43-diag-input{
  cursor:text;
}

body.alpha-premium-mobile-home .p43-diag-btn.alpha-touch-feedback{
  min-width:96px;
}

/* ── Bottom nav tab feedback ── */
body.alpha-premium-mobile-home .p47-tab.active{
  transition:var(--alpha-ix-trans);
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion:reduce){
  body.alpha-premium-mobile-home .alpha-clickable,
  body.alpha-premium-mobile-home .alpha-card-pressable,
  body.alpha-premium-mobile-home .alpha-card-link,
  body.alpha-premium-mobile-home a.p47-fridge-card,
  body.alpha-premium-mobile-home .forest-lounge-card,
  body.alpha-premium-mobile-home .alpha-v7-expert-cta,
  body.alpha-premium-mobile-home .p38-my-menu a,
  body.alpha-premium-mobile-home .p47-tab,
  body.alpha-premium-mobile-home .p43-diag-btn{
    transition:border-color .12s ease,box-shadow .12s ease,opacity .12s ease;
  }

  @media (hover:hover) and (pointer:fine){
    body.alpha-premium-mobile-home a.p47-fridge-card:hover,
    body.alpha-premium-mobile-home .forest-lounge-card:hover,
    body.alpha-premium-mobile-home .alpha-v7-expert-cta:hover,
    body.alpha-premium-mobile-home .p38-my-menu a:hover,
    body.alpha-premium-mobile-home .p43-diag-btn:hover,
    body.alpha-premium-mobile-home .p47-tab:hover{
      transform:none!important;
    }
  }

  @media (hover:none) and (pointer:coarse){
    body.alpha-premium-mobile-home a.p47-fridge-card:active,
    body.alpha-premium-mobile-home .forest-lounge-card:active,
    body.alpha-premium-mobile-home .alpha-v7-expert-cta:active,
    body.alpha-premium-mobile-home .p38-my-menu a:active,
    body.alpha-premium-mobile-home .p43-diag-btn:active,
    body.alpha-premium-mobile-home .p47-tab:active{
      transform:none!important;
      opacity:.88;
    }
  }
}

/* ALPHA_MOBILE_LIGHT_PERSISTENCE_BORDER_HOLDINGS_UX_MINPATCH_P0_V1
   Light mode: make interactive cards visibly different from information-only surfaces. */
html[data-theme="light"] body.alpha-premium-mobile-home{
  --alpha-ix-click-border-light:rgba(13,148,136,.78);
  --alpha-ix-info-border-light:#cbd5e1;
  --alpha-ix-shadow-light:0 9px 24px rgba(15,23,42,.12);
}
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-clickable,
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-card-pressable,
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-card-link,
html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card,
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-v7-expert-cta,
html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a,
html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-btn,
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-account-ai-home-card{
  border-width:1.5px!important;
  border-style:solid!important;
  border-color:var(--alpha-ix-click-border-light)!important;
  box-shadow:var(--alpha-ix-shadow-light)!important;
}
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-info-only,
html[data-theme="light"] body.alpha-premium-mobile-home .alpha-home-market-bar,
html[data-theme="light"] body.alpha-premium-mobile-home .agp-shell.alpha-info-only,
html[data-theme="light"] body.alpha-premium-mobile-home .p47-fridge-brief{
  border-color:var(--alpha-ix-info-border-light)!important;
  box-shadow:0 5px 16px rgba(15,23,42,.055)!important;
}
@media (hover:none) and (pointer:coarse){
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-clickable,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-card-pressable,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-card-link,
  html[data-theme="light"] body.alpha-premium-mobile-home a.p47-fridge-card,
  html[data-theme="light"] body.alpha-premium-mobile-home .forest-lounge-card,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-v7-expert-cta,
  html[data-theme="light"] body.alpha-premium-mobile-home .p38-my-menu a,
  html[data-theme="light"] body.alpha-premium-mobile-home .p43-diag-btn,
  html[data-theme="light"] body.alpha-premium-mobile-home .alpha-account-ai-home-card{
    border-width:2px!important;
  }
}

/* ALPHA_MOBILE_LIGHT_REAL_FORCE_CLICKABLE_BORDER_MINPATCH_P0_V2
   General Android phone: visible light canvas and unmistakable press targets. */
html[data-theme="light"] body.alpha-premium-mobile-home,
html[data-theme="light"] body.alpha-premium-mobile-home .app{
  background:linear-gradient(180deg,#edf3f9 0%,#f5f8fc 42%,#ffffff 100%)!important;
  color:#0f172a!important;
}

html[data-theme="light"] body.alpha-premium-mobile-home :is(
  .alpha-header-premium,
  .p38-my-shell,
  .alpha-v2-hub,
  .p43-diag-hero,
  .p40-global-watch,
  .p42-gw-hero,
  .alpha-school-card,
  .forest-lounge-zone,
  .home-perf-card,
  .p47-fridge-card,
  .alpha-account-ai-home-card
){
  background-color:#ffffff!important;
  border-color:#b8c6d8!important;
  box-shadow:0 8px 22px rgba(15,23,42,.085)!important;
}

html[data-theme="light"] body.alpha-premium-mobile-home :is(
  .alpha-clickable,
  .alpha-card-pressable,
  .alpha-card-link,
  a.p47-fridge-card,
  .forest-lounge-card,
  .alpha-v7-expert-cta,
  .p38-my-menu a,
  .p43-diag-btn,
  .alpha-account-ai-home-card,
  .home-perf-card,
  .alpha-hub-card--history,
  .alpha-hub-card--beta,
  .alpha-hub-card--short,
  .alpha-hub-card--long,
  .alpha-hub-teaser,
  .home-vippro-btn,
  .portfolio-tab,
  .gold-market-tab,
  .p38-gold-expert-stub,
  .p38-golden-pick-stub,
  .p44-beta-banner-btn,
  .ahs-gold-card,
  .expert-lab-entry,
  .alpha-latest-web-btn,
  details > summary
){
  border:2px solid rgba(13,148,136,.78)!important;
  box-shadow:0 8px 20px rgba(15,23,42,.12),0 0 0 1px rgba(255,255,255,.72) inset!important;
  cursor:pointer!important;
  -webkit-tap-highlight-color:rgba(13,148,136,.12);
}

html[data-theme="light"] body.alpha-premium-mobile-home :is(
  .alpha-theme-btn,
  .p43-diag-btn,
  .alpha-latest-web-btn,
  .p44-beta-banner-btn,
  .home-vippro-btn
){
  background:#ffffff!important;
  color:#0f172a!important;
  border-color:#0d9488!important;
  font-weight:900!important;
}

html[data-theme="light"] body.alpha-premium-mobile-home .alpha-theme-btn.active{
  background:#dff8f3!important;
  color:#0f766e!important;
  border-color:#0f766e!important;
  box-shadow:0 0 0 2px rgba(15,118,110,.16),0 7px 16px rgba(15,23,42,.10)!important;
}

@media (hover:none) and (pointer:coarse), (max-width:520px){
  html[data-theme="light"] body.alpha-premium-mobile-home :is(
    .alpha-clickable,
    .alpha-card-pressable,
    .alpha-card-link,
    a.p47-fridge-card,
    .forest-lounge-card,
    .alpha-v7-expert-cta,
    .p38-my-menu a,
    .p43-diag-btn,
    .alpha-account-ai-home-card,
    .home-perf-card,
    .alpha-hub-card--history,
    .alpha-hub-card--beta,
    .alpha-hub-card--short,
    .alpha-hub-card--long,
    .alpha-hub-teaser,
    .home-vippro-btn,
    .portfolio-tab,
    .gold-market-tab,
    .p38-gold-expert-stub,
    .p38-golden-pick-stub,
    .p44-beta-banner-btn,
    .ahs-gold-card,
    .expert-lab-entry,
    .alpha-latest-web-btn,
    details > summary
  ){
    border-width:2px!important;
    box-shadow:0 7px 18px rgba(15,23,42,.14)!important;
  }
}

