/* NETHERNET — the "add to Home Screen" card (js/a2hs.js) */
#a2hs { position: fixed; inset: 0; z-index: 10001; display: flex; align-items: center; justify-content: center;
  padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  background: rgba(3,4,8,.62); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); animation: a2-in .3s ease-out both; }
#a2hs.out { animation: a2-out .25s ease-in forwards; }
@keyframes a2-in { from { opacity: 0; } }
@keyframes a2-out { to { opacity: 0; } }
.a2-card { width: min(460px, 100%); max-height: 100%; overflow-y: auto; padding: 16px 18px 12px; border-radius: 8px; color: #ECE8DF;
  background: linear-gradient(180deg, rgba(14,18,26,.98), rgba(8,10,16,.98)); border: 1px solid rgba(63,224,255,.45); border-top: 3px solid #3FE0FF;
  box-shadow: 0 18px 50px rgba(0,0,0,.6), 0 0 34px -12px #3FE0FF; animation: a2-up .35s cubic-bezier(.2,.9,.3,1) both; }
@keyframes a2-up { from { transform: translateY(14px); } }
.a2-head { display: flex; gap: 12px; align-items: center; }
.a2-ic { flex: none; width: 52px; height: 52px; border-radius: 12px; box-shadow: 0 0 0 1px rgba(236,232,223,.18), 0 4px 14px rgba(0,0,0,.5); }
.a2-head b { display: block; font-size: 16px; font-weight: 900; line-height: 1.35; color: #fff; }
.a2-sub { margin: 4px 0 0; font-size: 12.5px; line-height: 1.55; color: #B9B5AA; }
.a2-card > .a2-sub { margin-top: 12px; }
.a2-steps { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.a2-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 6px; background: rgba(63,224,255,.06); border: 1px solid rgba(63,224,255,.16); }
.a2-steps li > b { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono, monospace); font-size: 12px; font-weight: 600; color: #05060A; background: #3FE0FF; }
.a2-steps li > span { font-size: 14px; font-weight: 700; line-height: 1.5; padding-top: 1px; }
.a2-steps small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: #8C897F; }
.a2-card svg { display: inline-block; width: 1.25em; height: 1.25em; margin: 0 2px; vertical-align: -.28em; fill: none; stroke: #3FE0FF; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.a2-card svg circle { fill: #3FE0FF; stroke: none; }
.a2-save { margin: 10px 0 0; padding: 7px 10px; font-size: 11.5px; line-height: 1.5; color: #FFD9A0; border-radius: 5px; background: rgba(242,182,48,.08); border: 1px solid rgba(242,182,48,.3); }
.a2-ft { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.a2-ft > span { flex: 1; }
.a2-ft button { padding: 7px 16px; font-size: 13px; }
.a2-ft .a2-never { padding: 4px 2px; background: none; border: 0; color: #8C897F; font-size: 11.5px; text-decoration: underline; text-underline-offset: 3px; }
/* a phone held sideways: two columns, so it fits the short screen */
@media (max-height: 500px) and (orientation: landscape) {
  .a2-card { width: min(640px, 100%); padding: 12px 14px 10px; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 14px; }
  .a2-head { grid-column: 1; grid-row: 1; align-items: flex-start; }
  .a2-ic { width: 44px; height: 44px; border-radius: 10px; }
  .a2-head b { font-size: 14px; }
  .a2-sub { font-size: 11.5px; }
  .a2-steps, .a2-card > .a2-sub { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; gap: 6px; }
  .a2-steps li { padding: 6px 8px; } .a2-steps li > span { font-size: 12.5px; }
  .a2-save { grid-column: 1; grid-row: 2; margin-top: 8px; font-size: 10.5px; }
  .a2-ft { grid-column: 1; grid-row: 3; margin-top: 10px; flex-wrap: wrap; align-self: end; }
  .a2-ft button { padding: 6px 12px; font-size: 12px; }
}
