/* Add to Home Screen: trigger button + liquid-glass bottom sheet (t172u) */
.a2-btn { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; }
.a2-btn svg { width: 18px; height: 18px; }
@media (orientation: landscape), (min-width: 760px) { .a2-btn { display: none !important; } }
html.standalone .a2-btn { display: none !important; }
@media (display-mode: standalone) { .a2-btn { display: none !important; } }
.a2[hidden] { display: none; }
.a2 { position: fixed; inset: 0; z-index: 600; }
.a2-scrim { position: absolute; inset: 0; background: rgba(2,4,10,.55); opacity: 0; transition: opacity .3s ease; }
.a2.on .a2-scrim { opacity: 1; }
.a2-sheet { position: absolute; left: 50%; bottom: 0; width: min(100%, 520px); margin-left: max(-260px, -50%); max-height: 86dvh; overflow: auto; overscroll-behavior: contain; box-sizing: border-box; padding: 14px 18px calc(22px + env(safe-area-inset-bottom)); border-radius: 28px 28px 0 0; color: var(--ink, #eef3ff); outline: none; touch-action: pan-x;
  background: linear-gradient(160deg, rgba(255,255,255,.16), rgba(255,255,255,.05)), rgba(14,18,32,.86); border: 1px solid rgba(255,255,255,.16); border-bottom: 0;
  -webkit-backdrop-filter: blur(26px) saturate(1.6); backdrop-filter: blur(26px) saturate(1.6); box-shadow: 0 -24px 60px -20px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.25);
  transform: translateY(105%); transition: transform .34s cubic-bezier(.2,.9,.25,1); }
.a2.on .a2-sheet { transform: translateY(0); }
.a2-sheet.drag { transition: none; }
html[data-theme="light"] .a2-sheet { background: linear-gradient(160deg, rgba(255,255,255,.9), rgba(255,255,255,.72)), rgba(245,247,252,.9); color: #0b1020; border-color: rgba(10,20,40,.12); }
.a2-grab { width: 44px; height: 5px; border-radius: 5px; margin: 0 auto 10px; background: rgba(255,255,255,.35); }
html[data-theme="light"] .a2-grab { background: rgba(10,20,40,.2); }
.a2-x { all: unset; position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; cursor: pointer; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); }
.a2-x svg { width: 18px; height: 18px; }
.a2-x:focus-visible, .a2-opt:focus-visible, .a2-back:focus-visible { outline: 2px solid var(--cyan, #45e6ff); outline-offset: 2px; }
.a2-body { padding-top: 4px; }
.a2-body.a2-in { animation: a2In .26s ease-out; }
@keyframes a2In { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.a2-t { margin: 4px 46px 6px 0; font: 800 1.25rem/1.2 var(--font-d, var(--font)); letter-spacing: -.01em; }
.a2-sub { font-weight: 600; opacity: .6; font-size: .95rem; }
.a2-p { margin: 0 0 16px; font-size: .95rem; line-height: 1.45; color: var(--ink-2, rgba(238,243,255,.75)); }
.a2-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.a2-opt { all: unset; box-sizing: border-box; display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 20px; cursor: pointer; text-align: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); -webkit-tap-highlight-color: transparent; transition: transform .12s, background .12s; }
.a2-opt:active { transform: scale(.97); background: rgba(255,255,255,.14); }
.a2-opt.sug { border-color: rgba(69,230,255,.55); box-shadow: 0 0 22px -6px rgba(69,230,255,.6); }
.a2-opt b { font: 750 1.05rem/1.1 var(--font); } .a2-opt small { font-size: .78rem; opacity: .65; }
.a2-ic { width: 34px; height: 34px; border-radius: 10px; margin-bottom: 4px; background: center/22px no-repeat; }
.a2-opt[data-os="ios"] .a2-ic { background-color: rgba(255,255,255,.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.6' fill='none' stroke='%23eef3ff' stroke-width='1.7'/%3E%3Cpath d='M10.5 5h3' stroke='%23eef3ff' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.a2-opt[data-os="android"] .a2-ic { background-color: rgba(61,220,132,.18); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 16a7 7 0 0 1 14 0z' fill='%233ddc84'/%3E%3Cpath d='M8 9.5 6.5 7M16 9.5 17.5 7' stroke='%233ddc84' stroke-width='1.6' stroke-linecap='round'/%3E%3Ccircle cx='9.5' cy='13' r='.9' fill='%23101820'/%3E%3Ccircle cx='14.5' cy='13' r='.9' fill='%23101820'/%3E%3C/svg%3E"); }
html[data-theme="light"] .a2-opt { background: rgba(10,20,40,.04); border-color: rgba(10,20,40,.12); }
html[data-theme="light"] .a2-opt[data-os="ios"] .a2-ic { background-color: #1b2233; }
.a2-steps { list-style: none; margin: 8px 0 16px; padding: 0; display: grid; gap: 12px; }
.a2-steps li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; }
.a2-n { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 800 .85rem/1 var(--font); color: #04060d; background: linear-gradient(135deg, #45e6ff, #b56bff); }
.a2-k { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 24px; padding: 0 4px; margin: 0 2px; vertical-align: -6px; border-radius: 7px; font-weight: 800; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.2); }
.a2-k svg { width: 16px; height: 16px; color: #4aa8ff; }
.a2-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.a2-back { all: unset; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 999px; cursor: pointer; font: 650 .85rem/1 var(--font); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); }
.a2-back svg { width: 16px; height: 16px; }
html[data-theme="light"] .a2-x, html[data-theme="light"] .a2-back, html[data-theme="light"] .a2-k { background: rgba(10,20,40,.06); border-color: rgba(10,20,40,.14); }
@media (prefers-reduced-motion: reduce) { .a2-sheet, .a2-scrim { transition: none; } .a2-body.a2-in { animation: none; } }
