/* ==========================================================
   THORWALLET - how-to guides: the scene, the phone kit (app 3.17),
   the guide page and the guides shelf.
   The phone is a product shot: dark in both themes and left to
   right inside in right-to-left languages. Its screen is 375 x 812
   design px, scaled to the frame by CSS alone (tan(atan2()) of two
   lengths is a unitless ratio), so it paints at the right size
   before any script. howto.js only moves layers.
   Every class starts with hk- (scene and kit) or ht- (page, shelf).
   ========================================================== */

/* ---------- the phone: the site's device frame around the 375 x 812 screen ---------- */
.hk-phone { --pw: 330px; width: var(--pw); flex: none; }
.hk-phone .device-frame { width: 100%; margin: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 40px 70px -34px rgba(0, 0, 0, 0.75); }
[data-theme="light"] .hk-phone .device-frame { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 34px 60px -30px rgba(20, 45, 75, 0.45); }
.hk-phone .app-screen { background: #121F32; }
.hk-scr-box { position: absolute; left: 0; top: 0; width: 375px; height: 812px; transform-origin: 0 0; transform: scale(tan(atan2(var(--pw), 409px))); overflow: hidden;
  font-family: "Montserrat", -apple-system, sans-serif; font-weight: 500; color: #FFFFFF; background: #121F32; -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; text-align: left; letter-spacing: 0; line-height: 1.25; }
.hk-scr-box svg { display: block; }
.hk-l { position: absolute; inset: 0; }
.hk-i { display: inline-grid; place-items: center; }
.hk-i svg { width: 100%; height: 100%; }
.hk-i svg path, .hk-i svg circle { fill: currentColor; }
.hk-i.stroke svg path, .hk-i.stroke svg circle, .hk-i.stroke svg rect { fill: none; stroke: currentColor; }
.hk-status { position: absolute; left: 0; right: 0; top: 0; height: 54px; z-index: 40; display: flex; align-items: center; justify-content: space-between; padding: 6px 30px 0 46px; font-size: 16px; font-weight: 700; pointer-events: none; }
.hk-sigs { display: flex; align-items: center; gap: 6px; }
.hk-sigs svg { height: 12px; width: auto; }
.hk-homebar { position: absolute; left: 50%; bottom: 8px; width: 134px; height: 5px; margin-left: -67px; border-radius: 3px; background: #E8EEF3; z-index: 41; opacity: 0.9; }

/* home (app 3.17: Buy, Swap, Address, More; geometry measured for the /walletconnect replica) */
.hk-scr { background: #121F32; }
.hk-sq { width: 39px; height: 39px; flex: none; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; display: grid; place-items: center; color: #D2DEE2; }
.hk-sq svg { width: 21px; height: 21px; }
.hk-top { position: absolute; left: 8px; right: 9px; top: 57px; display: flex; gap: 9px; }
.hk-search { flex: 1; height: 39px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; display: flex; align-items: center; gap: 10px; padding: 0 12px; font-size: 13.5px; color: #ABBFC7; }
.hk-search svg { width: 20px; height: 20px; }
.hk-wname { position: absolute; left: 0; right: 0; top: 135px; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 14.5px; color: #D2DEE2; }
.hk-wname svg { width: 15px; height: 15px; }
.hk-bal { position: absolute; left: 0; right: 0; top: 160px; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 40px; font-weight: 700; letter-spacing: -0.02em; }
.hk-bal small { font-size: 22px; letter-spacing: 0; }
.hk-bal svg { width: 26px; height: 26px; color: #7E9EA8; margin-top: 4px; }
.hk-tiles { position: absolute; left: 14px; right: 14px; top: 232px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.hk-tile { height: 69px; border-radius: 13px; background: #1C3046; border: 1px solid #243A54; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; color: #F2F5F8; }
.hk-tile .hk-i { width: 25px; height: 25px; color: #57A4FF; }
.hk-tabs { position: absolute; left: 14px; right: 14px; top: 334px; display: flex; align-items: center; gap: 22px; font-size: 14.5px; color: #57A4FF; }
.hk-tabs span { opacity: 0.85; }
.hk-tabs .on { font-weight: 700; opacity: 1; position: relative; }
.hk-tabs .on::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 17px; height: 3px; margin-left: -8.5px; border-radius: 2px; background: #3D86F5; }
.hk-tabs i { flex: 1; }
.hk-tabs .hk-sq.s { width: 35px; height: 36px; opacity: 1; color: #FFFFFF; }
.hk-tabs .hk-sq.s svg { width: 19px; height: 19px; }
.hk-tabs .hk-sq.s + .hk-sq.s { margin-inline-start: -13px; }
.hk-list { position: absolute; left: 14px; right: 14px; top: 386px; }
.hk-row { position: relative; display: flex; align-items: center; gap: 12px; height: 60px; }
.hk-coin { position: relative; flex: none; display: block; }
.hk-coin > svg { width: 100%; height: 100%; border-radius: 50%; }
.hk-coin .nb { position: absolute; right: -3px; bottom: -3px; width: 44%; height: 44%; border-radius: 50%; box-shadow: 0 0 0 2px #121F32; overflow: hidden; background: #121F32; }
.hk-coin .nb svg { width: 100%; height: 100%; }
.hk-row .nm { flex: 1; min-width: 0; }
.hk-row .nm b { display: flex; align-items: center; gap: 5px; font-size: 14.5px; font-weight: 600; }
.hk-ver { width: 14px; height: 14px; display: inline-block !important; }
.hk-row .nm span, .hk-row .vl span { display: block; font-size: 12.5px; color: #ABBFC7; margin-top: 4px; }
.hk-row em { font-style: normal; }
.hk-row .neg { color: #E5484D; }
.hk-row .pos { color: #31FD9D; }
.hk-row .dim { color: #7E9EA8; }
.hk-row .vl { text-align: right; }
.hk-row .vl b { display: block; font-size: 14.5px; font-weight: 600; }
.hk-bar { position: absolute; left: 14px; right: 14px; top: 728px; height: 64px; border-radius: 32px; background: rgba(27, 44, 67, 0.94); border: 1px solid #243A54; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; box-shadow: 0 -10px 30px -10px rgba(10, 16, 28, 0.9); }
.hk-btab { position: relative; width: 62px; height: 52px; border-radius: 26px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; font-size: 12px; color: #8EA3B4; }
.hk-btab svg { width: 22px; height: 22px; }
.hk-btab.on { color: #57A4FF; background: #213A5E; }
.hk-btab.mid { justify-content: flex-end; padding-bottom: 3px; }
.hk-btab.mid span { position: absolute; left: 50%; top: -17px; width: 48px; height: 48px; margin-left: -24px; border-radius: 50%; background: #2A7AF7; display: grid; place-items: center; color: #FFFFFF; box-shadow: 0 8px 20px -6px rgba(42, 122, 247, 0.8); }

/* bottom sheets (BottomSheetModalComponent: NEUTRAL_900, radius 16, handle COMPONENT_BG) */
.hk-shade { background: rgba(18, 18, 19, 0.9); opacity: 0; }
.hk-sheet { top: auto; height: var(--sh); background: #18293D; border-radius: 16px 16px 0 0; opacity: 0; transform: translateY(var(--sh)); }
.hk-grab { position: absolute; left: 50%; top: 10px; width: 36px; height: 5px; margin-left: -18px; border-radius: 3px; background: rgba(255, 255, 255, 0.16); }
.hk-sh-h { position: absolute; left: 16px; right: 14px; top: 30px; display: flex; align-items: center; justify-content: space-between; }
.hk-sh-h b { font-size: 20px; font-weight: 600; }
.hk-sh-h svg { width: 22px; height: 22px; }
.hk-sh-b { position: absolute; left: 16px; right: 16px; top: 32px; }
.hk-sh-h + .hk-sh-b { top: 74px; }

/* the asset sheet (AssetDetailsContent, phone): header, hero, sub row, chart (284), range row, the four pads (70) */
.hk-as-h { display: flex; align-items: center; gap: 8px; height: 40px; }
.hk-as-h b { font-size: 16px; font-weight: 600; }
.hk-as-h i { flex: 1; }
.hk-as-h .hk-sq.p { width: 40px; height: 40px; margin-inline-start: 4px; }
.hk-as-h .hk-sq.p svg { width: 22px; height: 22px; }
.hk-as-hero { display: flex; align-items: baseline; gap: 8px; margin-top: 12px; }
.hk-as-hero b { font-size: 24px; font-weight: 600; }
.hk-as-hero em { font-style: normal; font-size: 14px; font-weight: 600; }
.hk-as-sub { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.hk-as-sub span { font-size: 14px; font-weight: 600; color: #BDC1C2; }
.hk-as-sub i { flex: 1; }
.hk-as-sub small { font-size: 12px; color: #7E9EA8; }
.hk-as-chart { display: block; width: 343px; height: 284px; margin-top: 16px; }
.hk-as-rng { display: flex; justify-content: space-between; margin-top: 24px; font-size: 12px; font-weight: 600; color: #7E9EA8; }
.hk-as-rng span { min-width: 44px; height: 28px; padding: 0 10px; border-radius: 14px; display: grid; place-items: center; }
.hk-as-rng .on { color: #FFFFFF; background: #1C3046; }
.hk-pads { display: flex; gap: 8px; margin-top: 16px; }
.hk-pad { position: relative; flex: 1; height: 70px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; font-size: 12px; color: #D2DEE2; }
.hk-pad .hk-i { width: 24px; height: 24px; color: #57A4FF; }

/* the Receive sheet (ReceiveAssetModal, 80 %) */
.hk-rc-t { text-align: center; font-size: 16px; font-weight: 600; line-height: 20px; }
.hk-rc-chip { position: relative; display: flex; align-items: center; gap: 12px; width: max-content; max-width: 100%; margin: 16px auto 0; padding: 8px 16px; border-radius: 12px; background: #1C3046; font-size: 14px; }
.hk-rc-ic { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex: none; }
.hk-rc-ic img { width: 100%; height: 100%; display: block; }
.hk-rc-chip b { font-weight: 600; }
.hk-rc-card { position: relative; width: 260px; margin: 16px auto 0; padding: 12px 13px; border-radius: 12px; background: #FFFFFF; display: flex; flex-direction: column; align-items: center; }
.hk-rc-qr { display: block; width: 234px; height: 234px; image-rendering: pixelated; }
.hk-rc-addr { display: block; margin-top: 12px; font-size: 12px; font-weight: 400; line-height: 15px; color: #0E1F2A; text-align: center; word-break: break-all; }
.hk-rc-btns { display: flex; gap: 16px; margin-top: 16px; }
.hk-rc-b { position: relative; flex: 1; height: 48px; border-radius: 12px; background: #1C3046; display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 600; }
.hk-rc-b > .hk-i { width: 21px; height: 24px; color: #BDC1C2; }
.hk-rc-cm { position: relative; width: 24px; height: 24px; color: #BDC1C2; }
.hk-rc-cm > .hk-l { display: grid; place-items: center; }
.hk-rc-cm .hk-i { width: 24px; height: 24px; }
.hk-rc-cm .b { opacity: 0; color: #31FD9D; }
.hk-rc-cm .b svg { width: 22px; height: 22px; }
.hk-alert { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-alert .hk-i { width: 20px; height: 20px; flex: none; }
.hk-alert .hk-i.warn { color: #FBC538; }
.hk-alert p { margin: 0; font-size: 12px; font-weight: 400; line-height: 17px; color: #FFFFFF; }   /* the app: 10 px (AlertBox xxs); 12 here, so the line reads at 11 px or more where the phone is shown at 0.92 x or larger */

/* the quick menu (capture quick-menu.png) */
.hk-qm-dim { background: rgba(8, 14, 24, 0.55); opacity: 0; }
.hk-qm-row { inset: auto 0 auto 0; left: 0; right: 0; height: 60px; padding: 0 14px; background: #1A2C42; opacity: 0; }
.hk-qm { left: auto; right: 47px; width: 187px; bottom: auto; padding: 4px 0; border-radius: 14px; background: #1B2D44; border: 1px solid #243A54; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.7); opacity: 0; transform-origin: 80% 100%; }
.hk-qm-i { position: relative; display: flex; align-items: center; gap: 12px; height: 36px; padding: 0 16px; font-size: 14.5px; }
.hk-qm-i .hk-i { width: 18px; height: 18px; color: #57A4FF; }
.hk-qm-line { display: block; height: 1px; margin: 4px 12px; background: #243A54; }

/* full screens, buttons, amount, review, PIN, pending, result, toast */
.hk-full { opacity: 1; }
.hk-hd { position: absolute; left: 10px; right: 10px; top: 56px; height: 44px; display: flex; align-items: center; gap: 4px; }
.hk-hd svg { width: 26px; height: 26px; }
.hk-hd b { font-size: 20px; font-weight: 500; }
.hk-hd i { flex: 1; }
.hk-hd.c { justify-content: center; }
.hk-full-b { position: absolute; left: 16px; right: 16px; top: 112px; bottom: 34px; }
.hk-btn { position: relative; display: flex; align-items: center; justify-content: center; height: 48px; padding: 0 24px; border-radius: 12px; font-size: 16px; font-weight: 500; }
.hk-btn.primary { background: #2867EA; border: 1px solid rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.hk-btn.secondary { background: transparent; border: 1px solid #2A7AF7; color: #FFFFFF; }
.hk-amt { padding: 14px 14px 12px; border-radius: 12px; background: #1C3046; }
.hk-amt .r1 { display: flex; align-items: center; justify-content: space-between; }
.hk-amt .r1 b { font-size: 30px; font-weight: 600; min-height: 38px; }
.hk-amt .tk { display: flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 12px; background: #243A54; font-size: 18px; font-weight: 600; }
.hk-amt .tk svg { width: 16px; height: 16px; }
.hk-amt .r2 { margin-top: 8px; font-size: 14px; color: #ABBFC7; }
.hk-amt .r3 { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; font-size: 14px; }
.hk-amt .r3 small { display: block; font-size: 12px; color: #ABBFC7; margin-bottom: 4px; }
.hk-max { position: relative; padding: 8px 14px; border-radius: 10px; background: #243A54; font-size: 14px; }
.hk-rv { display: flex; flex-direction: column; gap: 10px; }
.hk-rv-box { padding: 12px 14px; border-radius: 12px; background: #1C3046; }
.hk-rv-box small { display: block; font-size: 12px; color: #ABBFC7; }
.hk-rv-box b { display: block; margin-top: 4px; font-size: 18px; font-weight: 600; }
.hk-rv-box span { display: block; margin-top: 2px; font-size: 13px; color: #ABBFC7; }
.hk-rv-rows { padding: 4px 14px; border-radius: 12px; background: #1C3046; }
.hk-rv-rows > div { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; font-size: 13px; color: #ABBFC7; }
.hk-rv-rows > div b { color: #FFFFFF; font-weight: 600; }
.hk-rv-rows .tot { border-top: 1px solid #243A54; }
.hk-pin { display: flex; flex-direction: column; align-items: center; }
.hk-pin-t { margin-top: 150px; font-size: 20px; font-weight: 600; }
.hk-pin-d { display: flex; gap: 16px; margin-top: 28px; }
.hk-pin-d i { position: relative; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #ABBFC7; }
.hk-pin-d .hk-l { inset: -1.5px; border-radius: 50%; background: #FFFFFF; opacity: 0; }
.hk-keys { display: grid; grid-template-columns: repeat(3, 76px); gap: 18px 30px; margin-top: 70px; font-size: 28px; font-weight: 500; }
.hk-key { height: 76px; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; }
.hk-key svg { width: 30px; height: 30px; }
.hk-pend-b { position: absolute; left: 24px; right: 24px; top: 300px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hk-pend-b p { margin: 0; text-align: center; font-size: 14px; line-height: 20px; color: #ABBFC7; }
.hk-spin { position: relative; inset: auto; width: 44px; height: 44px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.14); border-top-color: #57A4FF; }
.hk-res-b { position: absolute; left: 24px; right: 24px; top: 250px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.hk-res-ok { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; color: #31FD9D; background: rgba(49, 253, 157, 0.1); box-shadow: inset 0 0 0 2px rgba(49, 253, 157, 0.5); }
.hk-res-ok svg { width: 40px; height: 40px; }
.hk-res-b b { font-size: 20px; font-weight: 600; }
.hk-res-btns { position: absolute; left: 16px; right: 16px; bottom: 40px; display: flex; flex-direction: column; gap: 12px; }
.hk-pin { position: absolute; left: 0; right: 0; top: 0; height: 0; z-index: 42; }
.hk-toast { inset: auto; left: 17.5px; top: 62px; width: 340px; height: 60px; border-radius: 6px; background: #18293D; border: 1px solid #24C77A; box-shadow: 0 0 10px rgba(36, 199, 122, 0.6); display: flex; align-items: center; padding: 0 20px; font-size: 14px; font-weight: 500; opacity: 0; z-index: 42; }

/* ---------- the f4 parts (guides 1 and 3), from the components' code at 3.17.0 (see howto-kit.mjs) ---------- */
.hk-ahd { position: absolute; left: 16px; right: 16px; top: 56px; height: 24px; display: flex; align-items: center; gap: 8px; }
.hk-ahd.r { height: 40px; }
.hk-ahd b { font-size: 20px; font-weight: 500; }
.hk-ahd i { flex: 1; }
.hk-abk { width: 24px; height: 24px; color: #FFFFFF; transform: rotate(180deg); }
.hk-mb { position: relative; display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: #2867EA; font-size: 16px; font-weight: 500; color: #FFFFFF; }
.hk-mb.secondary { background: #18293D; color: #2867EA; }
.hk-mb.danger { background: transparent; border-color: #ED3636; color: #ED3636; }
.hk-sb { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 12px; border: 1px solid #2A7AF7; font-size: 16px; font-weight: 500; }
.hk-l.hk-bot { inset: auto 16px auto 16px; top: 724px; opacity: 0.4; }
.hk-l.hk-bot.sw { top: 738px; }
.hk-bot.sw .hk-mb { height: 40px; }
.hk-shade.b { background: rgba(0, 0, 0, 0.69); }
.hk-agrab { position: absolute; left: 50%; top: 10px; width: 42px; height: 5px; margin-left: -21px; border-radius: 3px; background: rgba(255, 255, 255, 0.063); }
.hk-agrab.g { top: 8px; background: #373737; }
.hk-as-b { position: absolute; left: 16px; right: 16px; top: 31px; }
.hk-ast { display: block; text-align: center; font-size: 16px; font-weight: 600; line-height: 20px; }
/* Welcome */
.hk-wlogo { position: absolute; left: 171.5px; top: 88px; width: 32px; height: 48px; }
.hk-wlogo svg, .hk-pclogo svg { width: 100%; height: 100%; }
.hk-wbtn { position: absolute; left: 16px; right: 16px; top: 350px; display: flex; flex-direction: column; gap: 8px; }
.hk-wterms { position: absolute; left: 19px; right: 19px; top: 648px; margin: 0; text-align: center; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-wterms em { font-style: normal; color: #57A4FF; }
.hk-wmq { position: absolute; left: 0; right: 0; top: 718px; height: 40px; }
.hk-wmq img { position: absolute; top: 0; width: 40px; height: 40px; border-radius: 50%; }
/* Passcode and the PIN prompt */
.hk-pcbb { position: absolute; left: 16px; top: 51px; width: 30px; height: 30px; color: #FFFFFF; }
.hk-pcbk { position: absolute; left: 16px; top: 56px; }
.hk-pclogo { position: absolute; left: 163.5px; top: 56px; width: 48px; height: 64px; }
.hk-pct { position: absolute; left: 0; right: 0; top: 131px; text-align: center; font-size: 30px; font-weight: 600; line-height: 37px; }
.hk-pc > .hk-pcs { position: absolute; left: 0; right: 0; top: 176px; }
.hk-pcs { display: block; text-align: center; font-size: 10px; font-weight: 500; line-height: 12px; color: #ABBFC7; }
.hk-pcrows { position: absolute; left: 31px; width: 313px; top: 196px; }
.hk-pcr { position: relative; display: flex; gap: 5px; }
.hk-pcr i { position: relative; width: 48px; height: 60px; box-sizing: border-box; border-radius: 12px; background: #1C3046; border: 1px solid #0F4951; }
.hk-pcr i .hk-l { inset: -1px; border-radius: 12px; border: 1px solid #57A4FF; display: grid; place-items: center; opacity: 0; }
.hk-pcr i b { width: 15px; height: 15px; border-radius: 50%; background: #57A4FF; }
.hk-l.hk-pcc { inset: auto 0 auto 0; top: 80px; opacity: 0; }
.hk-pcc .hk-pcs { margin-bottom: 16px; }
.hk-dial { position: absolute; left: 16px; right: 16px; top: 425px; display: grid; grid-template-columns: repeat(3, 112.5px); grid-auto-rows: 75px; justify-content: space-between; }
.hk-dial span { display: grid; place-items: center; font-size: 30px; font-weight: 500; }
.hk-dial .hk-i { width: 38px; height: 25px; }
.hk-pc.pr .hk-pclogo { top: 71px; }
.hk-pc.pr .hk-pct { top: 177px; }
.hk-pc.pr > .hk-pcs { top: 222px; }
.hk-pc.pr .hk-pcrows { top: 257px; }
.hk-pc.pr .hk-dial { top: 405px; }
/* Create Wallet (the chooser) */
.hk-selb { position: absolute; left: 16px; right: 16px; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.hk-selt { position: relative; padding: 24px 16px; border: 1px solid #1C3046; border-radius: 12px; }
.hk-selt .r { display: flex; align-items: center; gap: 8px; color: #57A4FF; }
.hk-selt .r .hk-i { width: 24px; height: 24px; }
.hk-selt .r b { font-size: 20px; font-weight: 700; line-height: 24px; }
.hk-selt p { margin: 8px 0 0; font-size: 14px; font-weight: 500; line-height: 17px; }
/* the new wallet's Wallet screen: the BackupBox and the part below it */
.hk-l.hk-bkx { inset: auto 16px auto 16px; top: 226px; }
.hk-bk { position: relative; padding: 12px 16px; border-radius: 12px; background: rgba(237, 54, 54, 0.125); border: 1px solid #ED3636; box-shadow: 0 0 0 1px #1C3046; }
.hk-bk b { display: block; max-width: 80%; font-size: 16px; font-weight: 600; line-height: 20px; text-transform: uppercase; }
.hk-bk .hk-i { position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; color: #ED3636; }
.hk-bk p { margin: 12px 0 0; font-size: 12px; font-weight: 400; line-height: 15px; color: #BDC1C2; }
.hk-l.hk-hmid { top: 106px; bottom: -106px; }
/* the reminder sheet */
.hk-rem .hk-as-b { left: 24px; right: 24px; top: 31px; }
.hk-remh { display: flex; align-items: center; gap: 14px; padding-right: 8px; }
.hk-remh > span { flex: none; width: 48px; height: 48px; border-radius: 50%; background: rgba(237, 54, 54, 0.125); display: grid; place-items: center; color: #ED3636; }
.hk-remh .hk-i { width: 24px; height: 24px; }
.hk-remh b { font-size: 20px; font-weight: 600; line-height: 24px; }
.hk-rem p { margin: 16px 0 0; font-size: 14px; font-weight: 400; line-height: 17px; color: #D2DEE2; }
.hk-rem .hk-mb { margin-top: 32px; }
.hk-rem .hk-mb + .hk-mb { margin-top: 12px; }
/* Backup Wallet and Verify (the words are placeholders here) */
.hk-bkb { position: absolute; left: 16px; right: 16px; top: 104px; }
.hk-bkw { margin: 0; font-size: 12px; font-weight: 400; line-height: 15px; }
.hk-phr { position: relative; margin-top: 16px; padding: 12px; border-radius: 12px; background: #1C3046; text-align: center; }
.hk-sws { position: relative; display: flex; flex-wrap: wrap; justify-content: center; }
.hk-sw { display: inline-flex; align-items: baseline; gap: 4px; margin: 8px; line-height: 17px; }
.hk-sw small { font-size: 14px; font-weight: 500; color: #506A79; }
.hk-sw b { font-size: 14px; font-weight: 600; letter-spacing: 0.04em; }
.hk-cpy { display: block; margin-top: 16px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-inp { margin-top: 16px; padding: 12px 16px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; font: 300 14px/17px -apple-system, "SF Pro Text", system-ui, sans-serif; }
.hk-chk { position: relative; margin-top: 32px; display: flex; align-items: flex-start; gap: 8px; }
.hk-chk p { margin: 0; max-width: 90%; font-size: 14px; font-weight: 400; line-height: 17px; }
.hk-cb { position: relative; flex: none; width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; border: 1px solid #2A7AF7; }
.hk-cb .hk-l { inset: -1px; border-radius: 50%; background: linear-gradient(180deg, #57A4FF, #2A7AF7); display: grid; place-items: center; color: #000000; opacity: 0; }
.hk-cb .hk-i { width: 16px; height: 16px; }
.hk-swp { position: relative; display: inline-block; width: 46px; height: 17px; text-align: left; }
.hk-swp .hk-l { white-space: nowrap; }
.hk-swp .d { opacity: 0; }
.hk-bank { position: relative; margin-top: 24px; display: flex; flex-wrap: wrap; }
.hk-vc { position: relative; margin: 0 8px 8px 0; padding: 12px 20px; border-radius: 12px; background: #18293D; font-size: 12px; font-weight: 500; line-height: 15px; letter-spacing: 0.04em; }
.hk-vc .hk-l { border-radius: 12px; background: #121F32; opacity: 0; }
/* the swap screen (geometry checked against swap-use-streaming.png) */
.hk-sset { width: 40px; height: 40px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; display: grid; place-items: center; }
.hk-sset .hk-i { width: 24px; height: 24px; }
.hk-scard { position: absolute; left: 16px; right: 16px; height: 108px; border-radius: 12px; background: #1C3046; }
.hk-scard.p { top: 106px; }
.hk-scard.r { top: 218px; }
.hk-scard .am { position: absolute; left: 12px; top: 20px; height: 36px; line-height: 36px; font: 800 26px/36px -apple-system, "SF Pro Display", system-ui, sans-serif; }
.hk-scard .fi { position: absolute; left: 12px; top: 79px; font-size: 14px; font-weight: 500; line-height: 17px; color: rgba(255, 255, 255, 0.5); }
.hk-cc { position: absolute; right: 12px; top: 12px; height: 52px; display: flex; align-items: center; padding: 0 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.063); }
.hk-cc b { margin-left: 12px; font-size: 20px; font-weight: 600; }
.hk-ccv { width: 14px; height: 14px; margin-left: 8px; transform: rotate(270deg); }
.hk-cc .hk-ccv { margin-right: 4px; }
.hk-pb { position: absolute; right: 12px; top: 79px; display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; line-height: 17px; color: rgba(255, 255, 255, 0.5); }
.hk-pb .hk-i { width: 16px; height: 16px; }
.hk-pb .hk-i:last-child { width: 14px; height: 14px; margin-left: 8px; color: #BDC1C2; }
.hk-sflip { position: absolute; left: 172.5px; top: 201px; z-index: 2; width: 30px; height: 30px; box-sizing: border-box; border-radius: 50%; background: #1C3046; border: 3px solid #121F32; display: grid; place-items: center; }
.hk-sflip .hk-i { width: 14px; height: 14px; }
.hk-sbar { position: absolute; left: 16px; right: 16px; top: 338px; border-radius: 12px; background: #1C3046; }
.hk-sbar .r1 { display: flex; align-items: center; gap: 8px; padding: 12px; font-size: 14px; font-weight: 400; line-height: 17px; }
.hk-sbar .r1 i, .hk-sbar .r2 i { flex: 1; }
.hk-sbar .r1 .hk-ccv { margin-left: 0; }
.hk-rl { width: 14px; height: 14px; flex: none; }
.hk-sbar .r2 { display: flex; align-items: center; gap: 8px; margin: 0 12px; padding: 9px 0; border-top: 1px solid #243A54; font-size: 12px; font-weight: 400; }
.hk-sbar .r2 .hk-i { width: 16px; height: 16px; color: #57A4FF; }
.hk-tg { position: relative; width: 41px; height: 25px; border-radius: 13px; background: #506A79; }
.hk-tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: #FFFFFF; }
.hk-sfoot { position: absolute; left: 16px; right: 16px; top: 690px; height: 40px; }
.hk-sfoot small { position: absolute; left: 0; top: 2px; font-size: 10px; font-weight: 400; }
.hk-l.hk-sfb { inset: auto; left: 0; top: 22px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-smax { position: absolute; right: 0; top: 5px; padding: 10px 16px; border-radius: 12px; background: #1C3046; font-size: 12px; font-weight: 500; line-height: 15px; }
/* the coin picker */
.hk-sheet.hk-pk { background: #121F32; border-radius: 10px 10px 0 0; }
.hk-pk-b { position: absolute; left: 16px; right: 16px; top: 29px; }
.hk-pks { display: flex; gap: 8px; }
.hk-pks .in { flex: 1; height: 40px; border-radius: 12px; background: #1C3046; display: flex; align-items: center; gap: 8px; padding: 0 16px; font: 400 15px -apple-system, system-ui, sans-serif; color: rgba(255, 255, 255, 0.5); }
.hk-pks .in .hk-i { width: 20px; height: 20px; color: #506A79; }
.hk-pks .st { width: 40px; height: 40px; border-radius: 12px; background: #1C3046; display: grid; place-items: center; }
.hk-pks .st .hk-i { width: 16px; height: 16px; }
.hk-pkc { display: flex; gap: 4px; margin-top: 16px; overflow: hidden; }
.hk-pkc span { flex: none; height: 40px; padding: 0 12px; border-radius: 12px; background: #1C3046; display: flex; align-items: center; font-size: 10px; font-weight: 500; color: #6C777C; }
.hk-pkc .on { color: #31FD9D; }
.hk-pkt { margin-top: 16px; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; border: 1px solid transparent; background: linear-gradient(#1C3046, #1C3046) padding-box, linear-gradient(90deg, #57A4FF, #77FCBD) border-box; font-size: 12px; font-weight: 500; }
.hk-pkt > span { flex: 1; }
.hk-pkt i { display: grid; padding: 6px; border-radius: 4px; background: #243A54; }
.hk-pkr { position: relative; margin-top: 8px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-pkt + .hk-pkr { margin-top: 16px; }
.hk-pkr .nm { flex: 1; min-width: 0; }
.hk-pkr .nm b { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 600; }
.hk-pkr .nm .hk-ver { width: 12px; height: 12px; }
.hk-pkr .nm > span, .hk-pkr .vl > span { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.5); }
.hk-pkr .vl { text-align: right; }
.hk-pkr .vl b { display: block; font-size: 16px; font-weight: 600; }
/* Routes */
.hk-rsc { position: relative; display: flex; gap: 8px; margin-top: 12px; white-space: nowrap; }
.hk-rsc span { padding: 6px 10px; border-radius: 150px; background: #1C3046; color: #D2DEE2; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-rsc .on { background: #2867EA; color: #FFFFFF; }
.hk-rcs { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.hk-rc { position: relative; padding: 8px 16px; border-radius: 12px; background: #1C3046; border: 1px solid #1C3046; }
.hk-rc.on { border-color: #2A7AF7; }
.hk-rc .l1, .hk-rc .l2 { display: flex; align-items: center; justify-content: space-between; }
.hk-rc .l2 { margin-top: 16px; }
.hk-rc .nm { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 400; }
.hk-rc .hk-rl { width: 16px; height: 16px; }
.hk-rc .hk-rl.nr { width: 20px; height: 20px; margin: -2px 0; }
.hk-rc .l1 b { font-size: 14px; font-weight: 700; }
.hk-rc .tm { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 400; }
.hk-rc .tm .hk-i { width: 16px; height: 16px; color: #D2DEE2; }
.hk-rc .rt { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 400; }
.hk-rc .bd { display: flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.1); font-size: 10px; font-weight: 500; color: #D2DEE2; }
.hk-rc .bd .hk-i { width: 12px; height: 12px; color: #57A4FF; }
/* Review Swap Details */
.hk-rvc { position: relative; margin-top: 16px; padding: 12px 16px 16px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; }
.hk-rvf + .hk-rvc { margin-top: 0; }
.hk-rvc .a { display: flex; align-items: center; justify-content: space-between; }
.hk-rvc .a b { font-size: 20px; font-weight: 700; }
.hk-rvc .b { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.hk-rvc .b > span:first-child { display: flex; align-items: center; gap: 4px; }
.hk-rvc small { font-size: 10px; font-weight: 500; }
.hk-rvc .ad { display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 2px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 8px; font-weight: 400; }
.hk-rvc .u { font-size: 14px; font-weight: 400; color: #7E9EA8; }
.hk-rvf { position: relative; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; margin: -15px auto; box-sizing: border-box; border-radius: 50%; background: #1C3046; border: 3px solid #18293D; }
.hk-rvf .hk-i { width: 16px; height: 16px; }
.hk-rvfw { position: relative; }
.hk-rvsp { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 500; }
.hk-rvsp .hk-i { width: 24px; height: 24px; }
.hk-rvfee { position: relative; margin-top: 8px; padding: 12px 16px 16px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; }
.hk-rvfee > div { display: flex; align-items: center; justify-content: space-between; }
.hk-rvfee > div + div { margin-top: 16px; }
.hk-rvfee small { font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.8); }
.hk-rvfee b { font-size: 14px; font-weight: 500; }
.hk-rvfee hr { margin: 16px 0; border: 0; border-top: 1px solid rgba(255, 255, 255, 0.8); }
.hk-rvfee hr + div { margin-top: 0; }
.hk-rvfee .tc { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 12px; border: 1px solid #2867EA; background: #18293D; font-size: 12px; font-weight: 500; }
.hk-rvfee .tc .hk-i { width: 20px; height: 20px; }
.hk-rvs .hk-mb { margin-top: 16px; }
/* pending and result */
.hk-pring { position: absolute; left: 87.5px; top: 172px; width: 200px; height: 200px; }
.hk-pspin { transform-origin: 100px 100px; }
.hk-dev .hk-pspin { animation: hk-spin 1.6s linear infinite; }
@keyframes hk-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .hk-dev .hk-pspin { animation: none; } }
.hk-pnd b, .hk-rsl b { position: absolute; left: 37px; right: 37px; text-align: center; font-size: 20px; font-weight: 600; line-height: 24px; }
.hk-pnd b { top: 384px; }
.hk-pndt { position: absolute; left: 37px; right: 37px; top: 206px; height: 250px; pointer-events: none; }
.hk-pnd p { position: absolute; left: 16px; right: 16px; top: 418px; margin: 0; text-align: center; font-size: 14px; font-weight: 400; line-height: 17px; }
.hk-rring { position: absolute; left: 125.5px; top: 170px; width: 124px; height: 124px; }
.hk-rsl b { top: 326px; }
.hk-rslb { position: absolute; left: 16px; right: 16px; top: 670px; display: flex; flex-direction: column; gap: 8px; }

/* f6: Activity (track), Send, Buy (drawn from the components' code at 3.17.0, no capture) */
.hk-sq[data-hk-t] { position: relative; }
.hk-sq .hk-i { width: 24px; height: 24px; color: #ABBFC7; }
.hk-sq .hk-i svg { width: 24px; height: 24px; }
.hk-asrch { position: absolute; left: 16px; right: 16px; top: 96px; height: 40px; display: flex; gap: 8px; }
.hk-asrch > span { height: 40px; box-sizing: border-box; border-radius: 12px; background: #1C3046; display: flex; align-items: center; gap: 8px; }
.hk-asrch .in { flex: 1; padding: 0 16px; font-size: 14px; color: rgba(255, 255, 255, 0.5); }
.hk-asrch .in .hk-i { width: 20px; height: 20px; color: #506A79; }
.hk-asrch .ch { width: 49%; flex: none; padding: 10px 8px; font-size: 10px; font-weight: 600; color: #506A79; }
.hk-asrch .ch > .hk-i:first-child { width: 17px; height: 16px; }
.hk-asrch .ch i { flex: 1; }
.hk-asrch .ch .hk-ccv { margin: 0; color: #FFFFFF; }
.hk-alist { position: absolute; left: 16px; right: 16px; top: 148px; }
.hk-adate { margin: 12px 0; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-arow { position: relative; display: flex; align-items: center; height: 64px; box-sizing: border-box; margin-bottom: 4px; padding: 12px; border-radius: 12px; background: #18293D; border: 0.5px solid #1C3046; }
.hk-alogo { position: relative; display: flex; flex: none; }
.hk-alg { position: relative; z-index: 1; display: block; }
.hk-alg.b { z-index: 0; margin-left: -20px; }
.hk-alg .hk-coin .nb, .hk-schip .hk-coin .nb, .hk-bch .hk-coin .nb { box-shadow: 0 0 0 2px #18293D; }
.hk-stb { position: absolute; left: -2px; top: -2px; z-index: 2; width: 16px; height: 16px; color: #18293D; }
.hk-stb svg { width: 16px; height: 16px; }
.hk-arow .tx { flex: 1; min-width: 0; margin-left: 12px; }
.hk-arow .tx b { display: block; font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-arow .tx span { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-arow .rt { position: relative; text-align: right; }
.hk-arow .rt b { display: block; font-size: 14px; font-weight: 600; line-height: 17px; white-space: nowrap; }
.hk-arow .rt b + b { margin-top: 4px; }
.hk-arow .rt .pos { color: #31FD9D; }
.hk-arow .rt .warn { color: #FBC538; }
.hk-arow .rt .err { color: #ED3636; }
/* send: the amount, the address, the review */
.hk-samt { position: absolute; left: 16px; right: 16px; top: 150px; height: 61px; }
.hk-samt .r { position: relative; height: 36px; }
.hk-samt .r .hk-l { display: flex; align-items: center; justify-content: center; gap: 8px; }
.hk-samt .r b { font-size: 30px; font-weight: 600; line-height: 36px; }
.hk-samt .r .hk-l + .hk-l b { min-width: 58px; text-align: right; }   /* the typed digits grow to the left: the row never re-centres (no layout shift) */
.hk-samt .r em { font-style: normal; font-size: 27px; font-weight: 600; line-height: 36px; }
.hk-samt .u { position: relative; height: 17px; margin-top: 8px; }
.hk-samt .u .hk-l { text-align: center; font-size: 14px; font-weight: 500; line-height: 17px; color: #BDC1C2; }
.hk-schip { position: absolute; left: 16px; right: 16px; top: 330px; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #18293D; border: 0.5px solid #1C3046; }
.hk-schip b { font-size: 18px; font-weight: 600; }
.hk-sbal { position: absolute; left: 16px; right: 16px; top: 684px; height: 40px; display: flex; align-items: center; justify-content: space-between; }
.hk-sbal small { display: block; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-sbal b { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-sbal .mx { padding: 10px 16px; border-radius: 12px; background: #1C3046; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-l.hk-bot.snd { top: 732px; }
.hk-cpads { position: absolute; right: 16px; top: 96px; display: flex; gap: 12px; }
.hk-cpw { position: relative; width: 40px; height: 40px; }
.hk-cpad { width: 40px; height: 40px; box-sizing: border-box; display: grid; place-items: center; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; color: #FFFFFF; }
.hk-cpad .hk-i { width: 24px; height: 24px; }
.hk-cpad.p .hk-i { stroke-width: 2; }
.hk-slab { position: absolute; left: 16px; top: 152px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-sfld { position: absolute; left: 16px; right: 16px; top: 181px; height: 44px; border-radius: 12px; background: #18293D; }
.hk-sfld > .hk-l { display: flex; align-items: center; box-sizing: border-box; padding: 0 70px 0 16px; border-radius: 12px; border: 1px solid #1C3046; font-size: 14px; line-height: 17px; }
.hk-sfld > .hk-l.f { border-color: #31FD9D; }
.hk-sfld .ph { font-weight: 300; color: #7E9EA8; }
.hk-sfld .v { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.hk-sfld .ps { position: absolute; right: 16px; top: 13px; z-index: 1; font-size: 14px; line-height: 17px; color: #2A7AF7; }
.hk-alert.hk-swarn { position: absolute; left: 16px; right: 16px; top: 241px; margin: 0; }
.hk-alert .hk-i.err, .hk-svc .hk-i.err { color: #ED3636; }
.hk-svc { position: relative; box-sizing: border-box; padding: 12px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; }
.hk-svc small { font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-svc.sd { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.hk-svc.sd .l small { display: block; margin-bottom: 12px; }
.hk-svc.sd .r { text-align: right; }
.hk-svc.sd .r b { display: block; font-size: 26px; font-weight: 600; line-height: 32px; }
.hk-svc.sd .r em { font-style: normal; font-size: 14px; font-weight: 500; line-height: 17px; color: #ABBFC7; }
.hk-sto { position: relative; margin-top: 12px; }
.hk-sto .hk-rvf { width: 30px; height: 30px; margin: -12px auto; }
.hk-sto .hk-rvf .hk-i { width: 12px; height: 12px; }
.hk-svc.ad .t { display: flex; align-items: center; justify-content: space-between; }
.hk-svc.ad .wc { display: flex; align-items: center; gap: 4px; padding: 2px 8px 2px 2px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 8px; line-height: 10px; }
.hk-svc.ad p { margin: 8px 0 0; font-size: 12px; line-height: 15px; color: #7E9EA8; word-break: break-all; }
.hk-trow .fo[data-hk-t] { position: relative; }
.hk-sstg { display: grid; margin-top: 16px; }
.hk-sstg > .hk-l { position: relative; inset: auto; grid-area: 1 / 1; }
.hk-svc.wt { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hk-svc.wt .hk-i { width: 24px; height: 24px; }
.hk-svc.wt b { margin-top: 8px; font-size: 18px; font-weight: 600; line-height: 22px; }
.hk-svc.wt p { margin: 8px 0 0; font-size: 12px; line-height: 15px; }
.hk-ss1 .hk-mb, .hk-ss2 .hk-mb { margin-top: 16px; }
.hk-ss2 .hk-rvsp { margin-top: 0; }
.hk-svc.fe { margin-top: 8px; }
.hk-svc.fe > div { display: flex; align-items: center; justify-content: space-between; }
.hk-svc.fe > div + div { margin-top: 12px; }
.hk-svc.fe small { font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.hk-svc.fe b { font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-svc.fe hr { margin: 16px 0; border: 0; border-top: 0.5px solid rgba(255, 255, 255, 0.8); }
.hk-svc.fe hr + div { margin-top: 0; }
.hk-svc.fe .tc { display: flex; align-items: center; gap: 4px; padding: 8px 12px; border-radius: 12px; border: 1px solid #2867EA; background: #18293D; font-size: 12px; font-weight: 500; }
.hk-svc.fe .tc .hk-i { width: 20px; height: 20px; }
/* buy */
.hk-bhd { position: absolute; left: 16px; right: 16px; top: 56px; display: flex; align-items: flex-start; gap: 8px; }
.hk-bhd .tb { display: flex; flex-direction: column; align-items: center; padding: 0 8px; font-size: 16px; font-weight: 400; line-height: 20px; }
.hk-bhd .tb.on { font-weight: 600; }
.hk-bhd .tb i { width: 50px; height: 2px; margin-top: 8px; }
.hk-bhd .tb.on i { background: #2A7AF7; }
.hk-bcard { position: absolute; left: 16px; right: 16px; height: 108px; box-sizing: border-box; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-bcard.p { top: 106px; }
.hk-bcard.r { top: 218px; }
.hk-bcard .am { position: absolute; left: 12px; top: 20px; height: 36px; font: 800 26px/36px -apple-system, "SF Pro Display", system-ui, sans-serif; }
.hk-bcard.r .am { font-weight: 700; }
.hk-bcard .fi { position: absolute; left: 12px; top: 79px; font-size: 14px; font-weight: 500; line-height: 17px; color: rgba(255, 255, 255, 0.5); }
.hk-bch { position: absolute; right: 12px; top: 12px; height: 52px; display: flex; align-items: center; padding: 0 4px; border-radius: 12px; background: rgba(255, 255, 255, 0.063); }
.hk-bch b { margin-left: 12px; font-size: 20px; font-weight: 600; }
.hk-bch .hk-ccv { margin-right: 4px; }
.hk-usd { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: #243A54; font-size: 20px; font-weight: 600; }
.hk-pb.b .hk-i:last-child { width: 16px; height: 16px; margin-left: 0; color: inherit; }
.hk-bflip { top: 199px; border-color: #030E0F; }
.hk-l.hk-bqx { inset: auto 16px auto 16px; top: 330px; }
.hk-bq { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; font-size: 14px; line-height: 17px; }
.hk-bq i { flex: 1; }
.hk-bq .hk-ccv { margin: 0; }
.hk-plg { display: block; flex: none; }
.hk-plg svg { width: 100%; height: 100%; }
.hk-plg.s { width: 24px; height: 24px; }
.hk-plg.moonpay { width: 88px; height: 14px; }
.hk-plg.mtpelerin { width: 68px; height: 24px; }
.hk-prows { position: relative; margin-top: 16px; }
.hk-prow + .hk-prow { margin-top: 16px; }
.hk-prow { position: relative; padding: 12px 16px; border-radius: 12px; background: #1C3046; }
.hk-prow .l1, .hk-prow .l2 { display: flex; align-items: center; justify-content: space-between; height: 24px; }
.hk-prow .l2 { margin-top: 8px; font-size: 14px; line-height: 17px; }
.hk-prow .l1 b { font-size: 14px; font-weight: 700; }
.hk-prow .r { display: flex; align-items: center; gap: 4px; }
.hk-prow em { font-style: normal; padding: 4px 8px; border-radius: 4px; background: #1C3046; font-size: 12px; font-weight: 500; line-height: 15px; }

/* variants: one string per variant; the scene's class hk-v0..2 picks it (stills and no script: the first) */
[data-hk-vi] { display: contents; }
[data-hk-vi="1"], [data-hk-vi="2"], .hk-v1 [data-hk-vi="0"], .hk-v2 [data-hk-vi="0"], .hk-v2 [data-hk-vi="1"] { display: none; }
.hk-v1 [data-hk-vi="1"], .hk-v2 [data-hk-vi="2"] { display: contents; }
.hk-as-chart [data-hk-vi] { display: inline; }
.hk-as-chart [data-hk-vi="1"], .hk-v1 .hk-as-chart [data-hk-vi="0"] { display: none; }
.hk-v1 .hk-as-chart [data-hk-vi="1"] { display: inline; }

/* the marks (design px; howto.js sizes and places them on the measured target). Two kinds a reader can tell apart:
   a TAP is the white ring with a glow around the exact target, from its step's start, then the touch dot (filled,
   translucent) while the target dips to 0.96; a CHECK is a plain cyan line, no glow, no dot. Labels stay uncovered. */
.hk-aim, .hk-press, .hk-hold, .hk-hl { position: absolute; left: 0; top: 0; opacity: 0; pointer-events: none; z-index: 45; }
.hk-aim { width: 50px; height: 50px; border-radius: 15px; transform-origin: 50% 50%; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.95), 0 0 18px 3px rgba(0, 204, 255, 0.45); }
.hk-press { width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(255, 255, 255, 0.34); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55), 0 0 14px rgba(255, 255, 255, 0.3); }
.hk-hold { width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.85); box-shadow: 0 0 18px rgba(87, 164, 255, 0.6); }
.hk-hl { border-radius: 16px; box-shadow: 0 0 0 2px #6FF3FF; }
/* a still's ring (stills, step pictures, reduced motion): the same two kinds */
[data-hk-ring]::after { content: ""; position: absolute; inset: -5px; border-radius: 15px; box-shadow: 0 0 0 2.5px rgba(255, 255, 255, 0.95), 0 0 18px 3px rgba(0, 204, 255, 0.45); pointer-events: none; z-index: 5; }
.hk-tile[data-hk-ring] { position: relative; }   /* a tile is not positioned (the receive guide never rings one): only a ringed tile is */
[data-hk-ring="check"]::after { inset: -6px; border-radius: 16px; box-shadow: 0 0 0 2px #6FF3FF; }
.hk-ringed .hk-stage [data-hk-fx] { visibility: hidden; }

/* ==========================================================
   the scene: switch, rail, stage (phone and focus card)
   Three layouts by the scene's own width (container hks):
   - 880 px and wider: the steps beside the phone, the focus card on the other side
   - 600 to 879: the phone and the focus card, the steps below
   - under 600: the phone alone, the steps as numbers below, the caption under them
   The phone is as big as the screen's height allows (--pw).
   ========================================================== */
/* the scene is the content column (the rail's left edge is the column's edge at every width); on a phone the
   screen alone reaches 12 px from the viewport's edges while the rail stays on the column */
.hk-scene { container: hks / inline-size; position: relative; width: 100%; margin-block: 14px 0; }
@media (max-width: 700px) { .hk-scene { width: calc(100vw - 24px); margin-inline: calc((100% - 100vw + 24px) / 2); } .hk-rail, .hk-cap { padding-inline: calc(var(--gutter) - 12px); } }
/* the rail column gives way first on narrower desktops (280 px at 1020 and up, 212 px at 952), so the focus card
   stays wide enough to show a full-width row with its label at 14 px */
.hk-grid { --rw: clamp(212px, 100cqw - 740px, 280px); display: grid; grid-template-columns: var(--rw) minmax(0, 1fr); gap: 0 clamp(24px, 3vw, 48px); align-items: start; }
.hk-side { display: flex; flex-direction: column; gap: 22px; min-width: 0; padding-top: clamp(24px, 4vh, 56px); }
.hk-panel { min-width: 0; }
/* the phone fits the first screen: its height is the viewport less the hero above it (--hk-top, about 300 px at
   1440 x 900 and 1366 x 768) and a margin; the focus card carries the readable labels */
.hk-stage { --hk-top: 318px; --spw: max(180px, min((100svh - var(--hk-top)) * 0.48345, 400px, 100cqw - 640px)); --fw: clamp(240px, 100cqw - var(--rw, 280px) - var(--spw) - clamp(24px, 3vw, 48px) - clamp(24px, 3vw, 44px) - 8px, 460px); --fh: min(calc(var(--spw) * 2.0685), calc(var(--fw) * 0.72));
  position: relative; display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 44px); padding-block: 8px; }
.hk-stage::before { content: ""; position: absolute; inset: 8% 4% 0; pointer-events: none; background: radial-gradient(40% 55% at 42% 52%, rgba(0, 204, 255, 0.10), transparent 70%), radial-gradient(26% 40% at 78% 50%, rgba(51, 255, 153, 0.07), transparent 70%); filter: blur(10px); }
[data-theme="light"] .hk-stage::before { background: radial-gradient(40% 55% at 42% 52%, rgba(0, 150, 200, 0.10), transparent 70%), radial-gradient(26% 40% at 78% 50%, rgba(18, 178, 87, 0.07), transparent 70%); }
.hk-js:not(.hk-rm) .hk-stage { cursor: pointer; }
.hk-dev { position: relative; z-index: 1; }
.hk-dev .hk-phone { --pw: var(--spw); }
/* the focus card: a fixed slot beside the phone; its box (howto.js) takes the size of the frame it shows, the
   target with a little context, magnified. Two copies of the screen, the new frame fading in over the previous.
   The box is placed by transform and sized inside the slot, so nothing around it moves. Light theme: a light
   card, only the app crop is dark. */
.hk-focus { position: relative; z-index: 1; flex: none; width: var(--fw); height: var(--fh); }
.hk-fbox { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; border-radius: 24px; background: #0F1B2C;
  box-shadow: 0 0 0 1px rgba(111, 243, 255, 0.3), 0 30px 60px -28px rgba(0, 0, 0, 0.8); }
[data-theme="light"] .hk-fbox { background: var(--surface); box-shadow: 0 0 0 1px rgba(0, 150, 200, 0.35), 0 22px 44px -24px rgba(20, 45, 75, 0.45); }
.hk-fin { position: absolute; left: 0; top: 0; width: 375px; height: 812px; transform-origin: 0 0; opacity: 0; }
.hk-fin > .hk-scr-box { transform: none; }
/* f7: the backing under each card copy (its frame's ground; howto.js sets the colour): the copy's edges fade into it */
.hk-fbk { background: #121F32; }
.hk-scene:not(.hk-js) .hk-focus { display: none; }

/* the switch: a segmented tab list; the thumb takes the selected tab's place and size (labels may wrap) */
.hk-switch { position: relative; display: flex; flex-wrap: wrap; justify-content: center; width: max-content; max-width: 100%; padding: 3px; border-radius: 25px; background: var(--surface); border: 1px solid var(--hairline-strong); isolation: isolate; }
[data-theme="light"] .hk-switch { background: var(--surface-2); }
.hk-scene:not(.hk-js) .hk-switch { display: none; }
.hk-tab { position: relative; z-index: 1; flex: 1 1 auto; white-space: nowrap; min-height: 44px; padding: 6px 18px; border: 0; border-radius: 22px; background: none; color: var(--text-mid); font: inherit; font-size: 0.94rem; font-weight: 600; line-height: 1.25; cursor: pointer; transition: color var(--dur-micro) var(--ease); }
.hk-tab:hover, .hk-tab[aria-selected="true"] { color: var(--text-hi); }
.hk-tab:focus-visible, .hk-step:focus-visible, .hk-play:focus-visible { outline: 2px solid var(--accent-from); outline-offset: 2px; }
.hk-switch .th { position: absolute; z-index: 0; left: 0; top: 0; width: var(--tw, calc(50% - 3px)); height: var(--th, 44px); transform: translate(var(--tx, 3px), var(--ty, 3px)); border-radius: 22px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--accent-line), 0 6px 18px -10px rgba(0, 0, 0, 0.6); transition: transform 280ms var(--ease), width 280ms var(--ease); }
[data-theme="light"] .hk-switch .th { background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--accent-line), 0 4px 14px -8px rgba(20, 45, 75, 0.35); }

/* the rail: beside the phone, a list; below it, a row */
.hk-rail { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hk-play { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--hairline-strong); background: var(--surface); color: var(--text-hi); display: grid; place-items: center; cursor: pointer; }
.hk-play svg { width: 16px; height: 16px; }
.hk-play .i-play, .hk-scene.is-paused .hk-play .i-pause { display: none; }
.hk-scene.is-paused .hk-play .i-play { display: block; }
.hk-steps { width: 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.hk-step { width: 100%; min-height: 44px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: 4px 12px; padding: 12px 4px 12px 18px; border: 0; background: none; color: var(--text-low); font: inherit; text-align: start; cursor: pointer; position: relative; border-radius: 10px; }
.hk-step .n { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hairline-strong); }
.hk-step .c { display: grid; font-size: 0.98rem; line-height: 1.45; color: var(--text-low); transition: color var(--dur-micro); text-wrap: pretty; }
.hk-step .c > [data-hk-cv] { grid-area: 1 / 1; }
.hk-step .c > [data-hk-cv]:not([data-hk-cv="0"]), .hk-v1 .hk-step .c > [data-hk-cv="0"], .hk-v2 .hk-step .c > [data-hk-cv="0"] { visibility: hidden; }
.hk-v1 .hk-step .c > [data-hk-cv="1"], .hk-v2 .hk-step .c > [data-hk-cv="2"] { visibility: visible; }
.hk-step .bar { position: absolute; inset-inline-start: 0; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--hairline-strong); overflow: hidden; }
.hk-step .bar i { position: absolute; inset: 0; background: var(--signal); transform: scaleY(var(--p, 0)); transform-origin: 50% 0; }
.hk-step:hover .c { color: var(--text-mid); }
.hk-step.on .c { color: var(--text-hi); }
.hk-step.on .n { color: var(--text-hi); border-color: var(--accent-line); background: var(--surface); }
.hk-cap { display: none; }
.hk-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html:lang(en) .hk-ennote { display: none; }
.hk-note { margin: 16px 0 0; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-low); }

/* a narrow rail column (under 1020 px): the switch keeps its two tabs on one line */
@container hks (min-width: 880px) and (max-width: 1019px) { .hk-tab { padding: 6px 12px; font-size: 0.9rem; } }

/* 600 to 879: the phone and the focus card side by side, the steps below as a row */
@container hks (max-width: 879px) {
  .hk-grid { grid-template-columns: minmax(0, 1fr); }
  .hk-side { display: contents; }
  .hk-switch { order: 0; margin: 0 auto 12px; }
  .hk-panel { order: 1; }
  .hk-rail { order: 2; flex-direction: row; align-items: flex-start; gap: 14px; margin-top: 14px; }
  .hk-play { margin-top: 4px; }
  .hk-steps { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 12px; }
  .hk-step { padding: 14px 0 6px; gap: 4px 10px; }
  .hk-step .c { font-size: 0.9rem; }
  .hk-step .bar { inset-inline: 0; top: 0; bottom: auto; width: auto; height: 2px; }
  .hk-step .bar i { transform: scaleX(var(--p, 0)); transform-origin: 0 50%; }
  [dir="rtl"] .hk-step .bar i { transform-origin: 100% 50%; }
  .hk-stage { --spw: max(200px, min((100svh - 300px) * 0.48345, 360px, (100cqw - 40px) * 0.5)); --fw: min(var(--spw) * 1.1, 100cqw - var(--spw) - 40px); }
  .hk-tab { white-space: normal; }
}
/* under 600: the phone alone, compact numbers, the caption under them */
@container hks (max-width: 599px) {
  .hk-focus { display: none; }
  /* the screen up close: as wide as the scene, as tall as the viewport allows; howto.js scrolls it to the action */
  .hk-stage { --spw: 100cqw; padding-block: 0; }
  .hk-dev { width: 100%; }
  .hk-dev .hk-phone { width: 100%; }
  .hk-dev .device-frame { aspect-ratio: auto; height: clamp(300px, 100svh - 270px, 100cqw * 2.165); padding: 0; border-radius: 30px; background: linear-gradient(rgba(0, 0, 0, calc(var(--hk-shd, 0) * 0.69)), rgba(0, 0, 0, calc(var(--hk-shd, 0) * 0.69))), #121F32; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
  [data-theme="light"] .hk-dev .device-frame { box-shadow: 0 0 0 1px rgba(10, 26, 43, 0.14), 0 26px 50px -26px rgba(20, 45, 75, 0.45); }
  .hk-dev .device-frame::before, .hk-dev .device-frame::after, .hk-dev .screen::after { display: none; }
  .hk-dev .screen { border-radius: 30px; }
  .hk-dev .screen > .app-screen { inset: 0; border-radius: 30px; -webkit-clip-path: inset(0 round 30px); clip-path: inset(0 round 30px); }
  /* f7: the screen sits 17 px inside the frame (its own ground at the sides, darkened with a sheet's shade), so a ring on
     a full-width row or on an icon at the screen's edge keeps 16 px to the frame's edge */
  .hk-dev .hk-scr-box { left: 17px; border-radius: 22px; transform: scale(tan(atan2(100cqw - 34px, 375px))); }
  .hk-rail { align-items: center; gap: 10px; margin-top: 12px; }
  .hk-play { margin-top: 0; }
  .hk-steps { gap: 8px; }
  .hk-step { grid-template-columns: 1fr; justify-items: center; padding: 12px 0 2px; }
  .hk-step .c { display: none; }
  .hk-cap { display: block; margin: 8px auto 0; max-width: 34ch; min-height: 2.9em; text-align: center; font-size: 1rem; line-height: 1.45; color: var(--text-hi); text-wrap: balance; }
}

/* ---------- without script: the steps as a strip of stills with their captions ---------- */
.hk-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.hk-js .hk-strip { display: none; }
.hk-scene:not(.hk-js) .hk-grid { display: none; }
.hk-sbox { position: relative; aspect-ratio: 3 / 4; container-type: inline-size; overflow: hidden; border-radius: 16px; background: radial-gradient(70% 80% at 50% 105%, rgba(0, 204, 255, 0.14), transparent 70%), #0C1C2D; border: 1px solid var(--hairline); }
.hk-sbox .hk-phone { --pw: 64cqw; position: absolute; left: 18cqw; top: 8cqw; }
.hk-strip p { display: flex; gap: 10px; margin: 12px 0 0; font-size: 0.92rem; line-height: 1.45; color: var(--text-mid); }
.hk-strip p .n { flex: none; font-family: var(--font-mono); font-size: 0.8rem; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--hairline-strong); }
@media (max-width: 960px) { .hk-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .hk-strip { grid-template-columns: 1fr; } }

/* reduced motion: no play button; the stills are stepped through with the rail */
.hk-rm .hk-play { display: none; }
@media (prefers-reduced-motion: reduce) { .hk-switch .th, .hk-tab { transition: none; } }

/* ==========================================================
   the guide page (the /walletconnect family: hero, scene,
   steps, good to know, questions, next, closing, fine print)
   ========================================================== */
.ht-hero { padding: 86px 0 0; position: relative; overflow: clip; }
.ht-copy { max-width: 1080px; margin: 0 auto; text-align: center; }
.ht-copy .crumbs ol { justify-content: center; }
.ht-copy .crumbs { margin-bottom: 0; }
.ht-copy .display { font-size: clamp(2.3rem, 2.4vw + 1.3rem, 3.7rem); text-wrap: balance; }
/* the H1's gradient part stays inline (not inline-block): the headline is one text block, the largest paint */
.ht-copy .lead { max-width: 44em; margin: 12px auto 0; color: var(--text-mid); text-wrap: pretty; }
.ht-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin-top: 14px; }
.ht-cta-m { display: none; }
@media (max-width: 700px) { .ht-hero { padding-top: 92px; } .ht-cta-d { display: none; } .ht-cta-m { display: flex; margin-top: 22px; } }
.ht-quiet { display: inline-flex; align-items: center; gap: 4px; color: var(--text-mid); font-weight: 600; font-size: 0.98rem; text-decoration: none; padding: 10px 2px; border-radius: 8px; }
.ht-quiet svg { width: 18px; height: 18px; transition: transform var(--dur-micro) var(--ease); }
.ht-quiet:hover { color: var(--text-hi); }
.ht-quiet:hover svg { transform: translateX(3px); }
[dir="rtl"] .ht-quiet svg { transform: scaleX(-1); }
[dir="rtl"] .ht-quiet:hover svg { transform: scaleX(-1) translateX(3px); }
.ht-quiet:focus-visible { outline: 2px solid var(--accent-from); outline-offset: 3px; }
.ht-sec { padding-block: clamp(72px, 9vw, 130px); }
.ht-sec .section-head .lead { max-width: 40em; }
.ht-step, #how, #good, #faq, #next { scroll-margin-top: 88px; }

/* the steps: a card each, with the scene's still cropped close (pure CSS: right before any script) */
.ht-howto { list-style: none; margin: clamp(36px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
/* an odd last step (five steps) sits centred under the others: no empty cell beside it */
.ht-howto > .ht-step:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - clamp(14px, 1.8vw, 22px) / 2); }
@media (max-width: 860px) { .ht-howto > .ht-step:last-child:nth-child(odd) { width: auto; justify-self: stretch; } }
.ht-step { container: hts / inline-size; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); overflow: hidden; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
/* a step's picture: the bare screen (no device frame) at one zoom for every step, 389 x 267 design px (16:11) on
   the screen's own ground (--bg); two bands of the same still show a visible break between them */
.ht-fig { position: relative; aspect-ratio: 16 / 11; overflow: hidden; container-type: inline-size; border-bottom: 1px solid var(--hairline); background: var(--bg, #121F32); }
.ht-fcrop { position: absolute; left: 0; top: 0; width: 389px; height: 267.44px; transform-origin: 0 0; transform: scale(tan(atan2(100cqw, 389px))); }
.ht-fband { position: relative; width: 389px; overflow: hidden; background: var(--bg); }
.ht-fscr { position: absolute; left: 7px; width: 375px; height: 812px; }
.hk-scr-box.hk-bare { transform: none; }
.ht-fbreak { position: relative; height: 12px; }
.ht-fbreak i { position: absolute; left: 22px; right: 22px; top: 5px; border-top: 1.5px dashed rgba(255, 255, 255, 0.24); }
.ht-ffade { position: absolute; left: 0; right: 0; height: 34px; pointer-events: none; z-index: 6; }
.ht-ffade.top { top: 0; background: linear-gradient(var(--bg), rgba(0, 0, 0, 0)); }
.ht-ffade.bottom { bottom: 0; background: linear-gradient(rgba(0, 0, 0, 0), var(--bg)); }
/* the shelf thumb's coded fallback: a crop of the bare screen */
.ht-fdev { position: absolute; left: 0; top: 0; transform-origin: 0 0; transform: scale(tan(atan2(100cqw, calc(var(--w) * 1px)))) translate(calc(var(--x) * -1px), calc(var(--y) * -1px)); }
.ht-fdev > .hk-phone { --pw: 409px; }
/* a phone: the step cards reach the viewport's edges, so a picture is shown at 1:1 or more at 390 px */
@media (max-width: 480px) {
  .ht-howto { margin-inline: calc(var(--gutter) * -1); }
  .ht-step { border-radius: 0; border-inline: 0; }
}
.ht-step > .tx { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; padding: clamp(20px, 2.2vw, 26px) clamp(20px, 2.4vw, 28px) clamp(22px, 2.4vw, 28px); }
.ht-step > .tx > .n { grid-row: span 2; width: 30px; height: 30px; margin-top: -1px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.82rem; font-weight: 600; color: var(--text-hi); border: 1px solid var(--accent-line); background: var(--surface-2); }
.ht-step > .tx > h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.12rem, 1.4vw, 1.28rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--text-hi); }
.ht-step > .tx > p { margin-top: 8px; font-size: 0.98rem; line-height: 1.6; color: var(--text-mid); text-wrap: pretty; }
.ht-fignote { margin: 18px 0 0; text-align: center; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--text-low); }
@media (max-width: 860px) { .ht-howto { grid-template-columns: 1fr; } }

/* good to know: the /walletconnect card anatomy (the icon beside the title, the text under it) */
.ht-cards { list-style: none; margin: clamp(36px, 4vw, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ht-cards > li { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-auto-rows: min-content; column-gap: 16px; align-content: start; padding: clamp(20px, 2vw, 24px) clamp(20px, 2.2vw, 26px); background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); }
.ht-cards > li > .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--accent-solid); background: var(--surface-2); border: 1px solid var(--hairline); }
.ht-cards > li > .ico svg { width: 21px; height: 21px; }
.ht-cards > li > h3 { align-self: center; min-height: 40px; display: flex; align-items: center; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.08rem, 1.3vw, 1.2rem); line-height: 1.3; letter-spacing: -0.01em; color: var(--text-hi); }
.ht-cards > li > p { margin-top: 4px; font-size: 0.98rem; line-height: 1.6; color: var(--text-mid); text-wrap: pretty; }
@media (max-width: 1000px) { .ht-cards { grid-template-columns: 1fr; } }
.ht-faqmore { margin: 22px 0 0; font-size: 0.98rem; color: var(--text-mid); }
.ht-faqmore a, .ht-step > .tx > p a, .ht-cards > li > p a, .faq-a a { color: var(--text-hi); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.ht-fp p { max-width: 88ch; margin: 0 0 10px; font-size: 0.82rem; line-height: 1.62; color: var(--text-low); }
.ht-final .ht-cta { margin-top: 0; }
:root:lang(ja) .ht-sec .h1 .outline-accent, :root:lang(zh) .ht-sec .h1 .outline-accent { white-space: nowrap; }
/* Japanese step titles, card titles, questions, the rail and the Next card break between phrases, not inside a word
   ("タッ / プします"), as site.css does for h1 / h2: Chrome and Edge 119+, elsewhere as before. Set on the elements
   themselves, because site.css puts word-break: normal on every :lang(ja) element (inheritance would lose) (C2) */
:lang(ja) :is(.ht-step h3, .ht-cards h3, .faq summary, .hk-rail *, .ht-next *) { word-break: auto-phrase; }

/* ==========================================================
   the guides shelf: one card per existing guide, in the series
   order under its group's title. Full (the Guides page) and
   compact (two or three cards in a row, for product pages and
   help articles). Self-contained: no script, no ids.
   ========================================================== */
/* every group is its own row under the same header (label and divider); the row has three columns whatever the
   count, so a card is as wide in every group and never shares a row with another group's cards */
.ht-shelf { margin-top: clamp(28px, 3vw, 40px); display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(26px, 3vw, 40px); }
.ht-grp { min-width: 0; }
.ht-grp .ht-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
/* f9: a group of four guides is 2 x 2 (never one card alone in a row) */
@media (min-width: 641px) { .ht-grp.n4 .ht-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1000px) { .ht-grp .ht-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ht-grp .ht-row { grid-template-columns: minmax(0, 1fr); } }
.ht-grp-h { display: flex; align-items: baseline; gap: 12px; margin: 0 0 14px; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-low); }
.ht-grp-h::after { content: ""; flex: 1; height: 1px; align-self: center; background: var(--hairline); }
.ht-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(12px, 1.6vw, 18px); }
.ht-card { min-width: 0; }
.ht-card > a { position: relative; height: 100%; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 0 18px; align-items: center; padding: 14px 18px 14px 14px; color: inherit; text-decoration: none; background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--r-lg); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04); transition: transform var(--dur-micro) var(--ease), border-color var(--dur-micro) var(--ease); }
.ht-card > a:hover { transform: translateY(-3px); border-color: var(--accent-line); }
.ht-card > a:focus-visible { outline: 2px solid var(--accent-from); outline-offset: 3px; }
.ht-thumb { position: relative; aspect-ratio: 112 / 128; overflow: hidden; container-type: inline-size; border-radius: 14px; background: radial-gradient(80% 70% at 50% 100%, rgba(0, 204, 255, 0.18), transparent 70%), #0C1C2D; }
.ht-thumb .ht-fdev { transform: scale(tan(atan2(100cqw, calc(var(--w) * 1px)))) translate(calc(var(--x) * -1px), calc(var(--y) * -1px)); }
.ht-thumb > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ht-card .tx { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ht-card .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-low); }
.ht-card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--text-hi); }
.ht-card p { font-size: 0.92rem; line-height: 1.5; color: var(--text-mid); text-wrap: pretty; }
.ht-card .go { margin-top: 2px; font-size: 0.86rem; font-weight: 600; color: var(--accent-solid); }
/* compact: a small heading and two or three cards in a row, the still above the text */
.ht-shelf.compact { gap: 14px; grid-template-columns: minmax(0, 1fr); }
.ht-shelf.compact .ht-grp-h { margin-bottom: 0; }
.ht-shelf.compact .ht-row { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.ht-shelf.compact .ht-card > a { grid-template-columns: 64px minmax(0, 1fr); gap: 0 14px; padding: 10px 14px 10px 10px; border-radius: var(--r-md); }
.ht-shelf.compact .ht-thumb { border-radius: 10px; }
.ht-shelf.compact .ht-card h3 { font-size: 1rem; }
.ht-shelf.compact .ht-card p { font-size: 0.86rem; }
/* the next guide, above the closing section */
.ht-next { padding-block: 0 clamp(56px, 7vw, 96px); }
.ht-next .ht-card { max-width: 640px; margin-inline: auto; }
.ht-next .ht-card .k { color: var(--accent-solid); }

/* ---------- the Guides page (/learn): two shelves, "Step by step" and "Explained" ---------- */
.ht-shelf-sec { padding-block: 8px clamp(40px, 6vw, 72px); }
.ht-shelf-head .lead { margin-top: 12px; max-width: 44em; color: var(--text-mid); }
/* the shelves' headings sit under the page's H1: a section size (about 40 px), not a second giant headline */
.ht-shelf-head .h1 { font-size: clamp(1.9rem, 1.4vw + 1.25rem, 2.5rem); line-height: 1.1; }
.ht-understand { padding-bottom: 8px; }
/* the line between the shelves spans the content column, like everything else on the page */
.ht-understand > .container { position: relative; padding-top: clamp(40px, 5vw, 72px); }
.ht-understand > .container::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); height: 1px; background: var(--hairline); }
.ht-understand .help-chips { margin-top: 20px; }
/* the explainers' headings are one level lower now (under "Explained."): the same look as before */
.learn-lead h3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2); line-height: 1.1; letter-spacing: -0.015em; color: var(--text-hi); }
.learn-gloss h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; line-height: 1.15; color: var(--text-hi); }
/* the focus card shows one frame whole (howto.js clips the copy to it): no faded edges needed */
/* a step's exported picture (assets/howto/<slug>-step-<n>.webp): always the 16:11 crop */
.ht-fig.is-img { aspect-ratio: 16 / 11; }
.ht-fig.is-img > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ht-shown { margin-top: 6px; }
/* the hero is kept tight so at least 70 % of the stage is on screen at load on desktop (1440 x 900, 1366 x 768) */
@media (min-width: 701px) { .ht-hero { padding-top: 84px; } .ht-hero .hk-scene { margin-top: 4px; } }

/* f5: Follow Transaction: the Activity screen and the swap's detail sheet (tools/site/howto-kit.mjs trackSheet) */
.hk-act .hk-acth { position: absolute; left: 16px; top: 58px; font-size: 20px; font-weight: 500; line-height: 24px; }
.hk-actr { position: absolute; left: 16px; right: 16px; top: 104px; display: flex; align-items: center; gap: 12px; }
.hk-actr .nm { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.hk-actr .nm b { font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-actr .nm span, .hk-actr .st { font-size: 12px; line-height: 15px; color: #7E9EA8; }
.hk-trk .hk-as-b { top: 28px; }
.hk-trx { position: absolute; right: 0; top: -2px; width: 24px; height: 24px; color: #ABBFC7; }
.hk-trx .hk-i { width: 24px; height: 24px; }
.hk-trd { margin: 16px 0 0; text-align: center; font-size: 14px; font-weight: 500; line-height: 17px; color: #506A79; }
.hk-trail { display: flex; align-items: center; margin-top: 22px; padding: 0 8px; }
.hk-trail .tk { position: relative; flex: 1; height: 20px; margin: 0 14px; }
.hk-trail .tk::before { content: ""; position: absolute; left: 0; right: 0; top: 8.5px; height: 3px; border-radius: 2px; background: #1C3046; }
.hk-trail .fl { position: absolute; left: 0; width: 25%; top: 8.5px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #31FD9D, #00CCFF); }
.hk-trail .gl { position: absolute; left: 25%; width: 25%; top: 8.5px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, rgba(0, 204, 255, 0.55), rgba(49, 253, 157, 0)); }
.hk-trail .dt { position: absolute; top: 0; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: #18293D; }
.hk-trail .dt svg, .hk-trow .g svg { display: block; width: 100%; height: 100%; }
.hk-trlab { position: relative; height: 14px; margin-top: 10px; font-size: 10px; font-weight: 500; line-height: 14px; color: #BDC1C2; }
.hk-trlab .a { position: absolute; left: 0; max-width: 72px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hk-trlab .a.r { left: auto; right: 0; text-align: right; }
.hk-trlab .m { position: absolute; left: 56px; right: 56px; top: 0; }
.hk-trlab .m span { position: absolute; top: 0; width: 76px; margin-left: -38px; text-align: center; color: #7E9EA8; }
.hk-trlab .m span.on { color: #FFFFFF; }
.hk-trows { position: relative; margin-top: 24px; display: flex; flex-direction: column; gap: 8px; }
.hk-trow { position: relative; display: flex; align-items: center; min-height: 55px; padding: 8px 10px 8px 12px; border: 1px solid #1C3046; border-radius: 12px; }
.hk-trow.now { border-color: rgba(49, 253, 157, 0.35); background: rgba(49, 253, 157, 0.05); }
.hk-trow .g { flex: none; width: 20px; height: 20px; margin-right: 10px; }
.hk-trow .tx { flex: 1; min-width: 0; }
.hk-trow .l1, .hk-trow .l2 { display: flex; align-items: center; gap: 6px; font-size: 12px; line-height: 15px; white-space: nowrap; }
.hk-trow .l1 span { font-weight: 500; }
.hk-trow .l1 b { font-weight: 600; color: #31FD9D; }
.hk-trow.now .l1 b { color: #57A4FF; }
.hk-trow .l2 { margin-top: 6px; color: #7E9EA8; }
.hk-trow .l2 em { font-style: normal; font-weight: 500; color: #D2DEE2; }
.hk-trl { display: inline-flex; width: 15px; height: 15px; }
svg.hk-trl { flex: none; }
.hk-trow .fo { flex: none; display: grid; place-items: center; width: 32px; height: 32px; margin-left: 10px; border-radius: 16px; background: #1C3046; color: #57A4FF; }
.hk-trow .fo svg { width: 13px; height: 13px; }
.hk-trn { margin: 14px 0 0; font-size: 12px; line-height: 15px; color: #ABBFC7; }

/* ---------- f7: the grabber's drag zone (the swipe target) and the neutral placeholder for an undrawn page ---------- */
.hk-agh { position: absolute; left: 16px; right: 16px; top: 0; height: 56px; }
.hk-agz { position: absolute; left: 50%; top: 2px; width: 112px; height: 20px; margin-left: -56px; border-radius: 10px; }
.hk-ophb { position: relative; display: grid; justify-items: center; align-content: center; gap: 12px; height: 150px; margin: 34px 16px 0; border: 1.5px dashed rgba(255, 255, 255, 0.22); border-radius: 14px; text-align: center; }
.hk-ophb b { font-weight: 500; font-size: 15px; line-height: 1.35; color: #BDC1C2; max-width: 260px; text-wrap: balance; }
.hk-ophi { width: 28px; height: 28px; color: #7E9EA8; }
.hk-ophi svg { display: block; width: 100%; height: 100%; }

/* ---------- f8: restore a wallet (guide 12), drawn from the components' code at 3.17.0 (see howto-kit.mjs) ---------- */
.hk-sb { position: relative; }   /* a ring target (restore: "Import Wallet") */
/* the security checklist sheet */
.hk-sck .hk-as-b { top: 47px; }
.hk-scki { display: block; width: 75px; height: 114px; margin: 0 auto 32px; }
.hk-scki svg { width: 100%; height: 100%; }
.hk-sckl { position: relative; display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.hk-sckr { position: relative; display: flex; align-items: center; gap: 8px; padding: 12px; border-radius: 12px; background: #1C3046; border: 1px solid #1C3046; }
.hk-sckr p { margin: 0; max-width: 80%; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-sckc { position: relative; flex: none; width: 20px; height: 20px; box-sizing: border-box; border-radius: 50%; background: #1C3046; border: 1px solid #3A5569; }
.hk-sckc .hk-l { inset: -1px; border-radius: 50%; background: #57A4FF; color: #121F32; display: grid; place-items: center; opacity: 0; }
.hk-sckc .hk-i { width: 16px; height: 16px; }
.hk-l.hk-sckb { inset: auto 0 auto 0; top: 459px; opacity: 0.4; }
/* Import (the seed branch; the words are dots here) */
.hk-impl { position: absolute; left: 16px; right: 16px; top: 104px; margin: 0; font-size: 14px; line-height: 17px; }
.hk-impl b { font-weight: 500; }
.hk-impl small { font-size: 12px; font-weight: 400; }
.hk-impf { position: absolute; left: 16px; right: 16px; top: 133px; height: 44px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; font-size: 14px; }
.hk-impf span { font-weight: 300; color: #7E9EA8; }
.hk-impf em { font-style: normal; font-weight: 400; color: #2A7AF7; }
.hk-imps { position: absolute; left: 16px; top: 201px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-impd { position: absolute; left: 16px; right: 16px; top: 226px; margin: 0; font-size: 12px; font-weight: 400; line-height: 15px; color: #BDC1C2; }
.hk-impn { position: absolute; left: 16px; right: 16px; top: 268px; display: flex; justify-content: space-between; }
.hk-impn span { position: relative; white-space: nowrap; padding: 8px; border-radius: 12px; border: 1px solid #1C3046; background: #121F32; font-size: 12px; font-weight: 400; line-height: 15px; }
.hk-impn span.on { background: #243A54; }
.hk-impg { position: absolute; left: 16px; right: 16px; top: 313px; display: grid; grid-template-columns: repeat(3, 32%); justify-content: space-between; row-gap: 8px; }
.hk-impc { position: relative; height: 34px; box-sizing: border-box; display: flex; align-items: center; gap: 8px; padding: 0 8px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-impc i { flex: none; width: 24px; height: 24px; border-radius: 50%; background: #1C3046; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 400; color: #7E9EA8; }
.hk-impc .hk-l { left: 40px; right: 8px; display: flex; align-items: center; font-size: 14px; letter-spacing: 1px; color: #FFFFFF; opacity: 0; }
.hk-bal [data-hk-t] { position: relative; }   /* restore: the balance is a check target */
/* ---------- f8: the card home, Top Up, Confirm Top Up, Card Settings (guide 8), from the components' code ---------- */
.hk-chh { position: absolute; left: 16px; right: 16px; top: 64px; height: 39px; display: flex; align-items: center; justify-content: space-between; }
.hk-cha { height: 39px; box-sizing: border-box; display: grid; place-items: center; padding: 0 24px; border-radius: 12px; background: #18293D; border: 1px solid rgba(255, 255, 255, 0.2); font-size: 12px; font-weight: 500; }
.hk-chg { position: relative; width: 38px; height: 38px; box-sizing: border-box; display: grid; place-items: center; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; color: #FFFFFF; }
.hk-chg .hk-i { width: 20px; height: 20px; }
.hk-cface { position: absolute; left: 16px; top: 120px; width: 343px; height: 220px; box-sizing: border-box; padding: 12px; border-radius: 12px; background: linear-gradient(to bottom right, #F04412, #C50068); }
.hk-cface .t { display: flex; align-items: center; justify-content: space-between; }
.hk-cface .t b { font-size: 18px; font-weight: 700; }
.hk-cface .t span { font-size: 12px; font-weight: 500; letter-spacing: 1.2px; }
.hk-cface .bl { position: absolute; left: 12px; bottom: 12px; }
.hk-cface .bl small { display: block; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-cface .bl small + .v + small { font-weight: 400; }
.hk-cface .v { display: flex; align-items: baseline; gap: 4px; margin: 4px 0; }
.hk-cface .v em { font-style: normal; font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, 0.7); }
.hk-cface .v .w { position: relative; width: 120px; height: 32px; }
.hk-cface .v .hk-l b { font-size: 26px; font-weight: 600; line-height: 32px; }
.hk-cface .hk-l + .hk-l { opacity: 0; }
.hk-mc { position: absolute; right: 12px; bottom: 12px; width: 44px; height: 28px; }
.hk-mc i { position: absolute; top: 0; width: 28px; height: 28px; border-radius: 50%; background: #EB001B; }
.hk-mc i + i { left: 16px; background: #FF9900; mix-blend-mode: screen; }
.hk-cact { position: absolute; left: 16px; right: 16px; top: 356px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hk-ctile { position: relative; height: 70px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; font-size: 12px; font-weight: 500; color: #D2DEE2; }
.hk-ctile .hk-i { width: 24px; height: 24px; color: #57A4FF; }
.hk-catl { position: absolute; left: 16px; right: 16px; top: 466px; display: flex; justify-content: space-between; font-size: 14px; line-height: 17px; }
.hk-catl b { font-weight: 500; }
.hk-cemp { position: absolute; left: 16px; right: 16px; top: 495px; height: 200px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; color: #FFFFFF; }
.hk-cemp .hk-i { width: 40px; height: 40px; }
.hk-cemp p { margin: 0; font-size: 14px; font-weight: 400; color: #ABBFC7; text-align: center; }
/* Top Up */
.hk-tas { position: absolute; left: 16px; right: 16px; top: 330px; height: 66px; box-sizing: border-box; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-tas .n { flex: 1; }
.hk-tas .n b { display: block; font-size: 18px; font-weight: 600; line-height: 22px; }
.hk-tas .n small { display: block; font-size: 10px; font-weight: 400; color: #506A79; }
.hk-tas .hk-l.hk-tasb { inset: 0 44px 0 auto; display: flex; align-items: center; }
.hk-tar { width: 20px; height: 20px; color: #FFFFFF; transform: rotate(90deg); }
.hk-tbd { display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 6px; background: rgba(49, 253, 157, 0.14); color: #31FD9D; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-tbd .hk-i { width: 12px; height: 12px; }
.hk-l.hk-tbx { inset: auto 16px auto 16px; top: 404px; border-radius: 12px; background: #1C3046; opacity: 0; }
.hk-tbx hr { margin: 0; border: 0; height: 1px; background: #243A54; }
.hk-tbxr { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 12px; font-size: 12px; font-weight: 400; }
.hk-tbxc { display: flex; align-items: center; gap: 8px; padding: 10px 12px; font-size: 12px; font-weight: 400; }
.hk-tbxc .hk-i { width: 16px; height: 16px; color: #57A4FF; }
.hk-tbxc .hk-i + span + .hk-i { width: 14px; height: 14px; color: #FFFFFF; }
.hk-tbxc i { flex: 1; }
.hk-tsw { position: relative; flex: none; width: 41px; height: 25px; border-radius: 13px; background: #506A79; }
.hk-tsw b { position: absolute; left: 2px; top: 2px; width: 21px; height: 21px; border-radius: 50%; background: #FFFFFF; }
.hk-tsw.on { background: #57A4FF; }
.hk-tsw.on b { left: 18px; }
/* Confirm Top Up */
.hk-tcw { position: relative; margin-top: 16px; }
.hk-tcc { padding: 12px; border-radius: 12px; background: #1C3046; border: 1px solid #243A54; }
.hk-tcc + .hk-tca + .hk-tcc { margin-top: 6px; }
.hk-tcc .a { display: flex; align-items: center; gap: 8px; }
.hk-tcc .a b { font-size: 20px; font-weight: 600; }
.hk-tcc .b { display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.hk-tcc .b small { font-size: 10px; font-weight: 500; }
.hk-tcc .wc { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 8px; font-weight: 400; line-height: 16px; }
.hk-tcc .b i { flex: 1; }
.hk-tcc .b em { font-style: normal; font-size: 14px; font-weight: 400; color: #7E9EA8; }
.hk-tca { position: absolute; left: 50%; top: 76px; width: 36px; height: 36px; margin-left: -18px; box-sizing: border-box; display: grid; place-items: center; border-radius: 50%; background: #1C3046; border: 3px solid #18293D; z-index: 1; color: #FFFFFF; }
.hk-tca .hk-i { width: 16px; height: 16px; transform: rotate(90deg); }
.hk-tcfee { position: relative; margin-top: 16px; display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-tcfee div { display: flex; justify-content: space-between; font-size: 12px; line-height: 15px; }
.hk-tcfee span { font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.hk-tcfee b { font-weight: 500; }
.hk-tcb { display: flex; flex-direction: column; gap: 8px; margin-top: 24px; }
/* Card Settings */
.hk-csw { position: absolute; left: 16px; right: 16px; top: 104px; display: flex; flex-direction: column; gap: 16px; }
.hk-csc { position: relative; padding: 0 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-csc hr { margin: 0 0 0 48px; border: 0; height: 1px; background: #1C3046; }
.hk-csc .hd { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-csc > p { margin: 6px 0 8px; font-size: 12px; font-weight: 400; line-height: 15px; color: #ABBFC7; }
.hk-csr { display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.hk-csr .tx { flex: 1; padding-right: 8px; }
.hk-csr .tx b { display: block; font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-csr .tx small { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; line-height: 12px; color: #ABBFC7; }
.hk-csic { flex: none; width: 36px; height: 36px; border-radius: 50%; background: #1C3046; display: grid; place-items: center; color: #57A4FF; }
.hk-csic .hk-i { width: 18px; height: 18px; }
.hk-csm { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 0; }
.hk-csm b { font-size: 14px; font-weight: 600; }
.hk-csm b.s { font-size: 12px; }
.hk-csm i { flex: 1; }
.hk-csa { width: 24px; height: 24px; color: #FFFFFF; }
/* ---------- f8: get the card (guide 7): plan picker, Invite Code, the verification start, the neutral checklist, the
   status and the success screen, from the components' code at 3.17.0 ---------- */
.hk-cpl { background: linear-gradient(180deg, rgba(212, 73, 20, 0.5) -20%, rgba(178, 15, 83, 0.5) 30%, #121F32 90%) #121F32; }
.hk-cptb { position: absolute; left: 16px; top: 80px; display: flex; gap: 8px; }
.hk-cptb span { padding: 8px 16px; border-radius: 12px; border: 1px solid transparent; font-size: 12px; font-weight: 400; line-height: 15px; }
.hk-cptb span.on { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.3); }
.hk-cpbox { position: absolute; left: 16px; right: 16px; top: 137px; box-sizing: border-box; padding: 24px 20px 8px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.3); }
.hk-cpart { position: absolute; right: 0; top: 10px; width: 100px; height: 80px; }
.hk-cpbox .nm { display: block; font-size: 20px; font-weight: 700; line-height: 24px; }
.hk-cpbox .pr { display: block; margin-top: 8px; font-size: 30px; font-weight: 700; line-height: 37px; }
.hk-cpbox .on { display: block; margin-top: 4px; font-size: 12px; font-weight: 400; color: #ABBFC7; }
.hk-cprs { margin-top: 32px; }
.hk-cpr { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.hk-cpr > .hk-i { flex: none; width: 24px; height: 24px; color: #FFFFFF; }
.hk-cpr .tx { flex: 1; font-size: 14px; font-weight: 400; line-height: 24px; }
.hk-cpr .tx small { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 15px; color: #57A4FF; }
.hk-cpr .tx small svg { width: 14px; height: 14px; }
.hk-cpra { width: 20px; height: 20px; margin-top: 10px; color: #BDC1C2; transform: rotate(90deg); }
.hk-cpbt { position: absolute; left: 12px; right: 12px; top: 602px; display: flex; flex-direction: column; gap: 8px; }
/* Invite Code */
.hk-invart { position: absolute; left: 99.5px; top: 128px; width: 176px; height: 112px; border-radius: 10px; object-fit: cover; }
.hk-invp { position: absolute; left: 0; right: 0; top: 256px; display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.hk-invp b { font-size: 38px; font-weight: 700; line-height: 46px; }
.hk-invp s { font-size: 18px; font-weight: 500; color: #BDC1C2; }
.hk-invl { position: absolute; left: 16px; right: 16px; top: 304px; margin: 0; text-align: center; font-size: 14px; font-weight: 400; color: #ABBFC7; }
.hk-invc { position: absolute; left: 25.5px; top: 353px; display: flex; gap: 8px; }
.hk-invc i { width: 46px; height: 56px; box-sizing: border-box; border-radius: 12px; background: #243A54; border: 1px solid #243A54; }
.hk-invc i.g { margin-left: 8px; }
.hk-invh { position: absolute; left: 16px; right: 16px; top: 421px; margin: 0; text-align: center; font-size: 12px; font-weight: 400; color: #BDC1C2; }
.hk-invb { position: absolute; left: 16px; right: 16px; top: 658px; display: flex; flex-direction: column; gap: 12px; }
.hk-invg { opacity: 0.4; }
/* the verification start */
.hk-kst { background: linear-gradient(180deg, #4E81D1 0%, #121F32 50%) #121F32; }
.hk-kstart { position: absolute; left: 37.5px; top: 92px; width: 300px; height: 300px; }
.hk-kspill { position: absolute; left: 50%; top: 440px; transform: translateX(-50%); padding: 4px 12px; border-radius: 20px; background: #18293D; border: 1px solid #2867EA; font-size: 14px; font-weight: 500; line-height: 17px; white-space: nowrap; }
.hk-kst-t { position: absolute; left: 16px; right: 16px; top: 482px; text-align: center; font-size: 24px; font-weight: 700; line-height: 29px; }
.hk-kst-p { position: absolute; left: 24px; right: 24px; top: 527px; margin: 0; text-align: center; font-size: 14px; font-weight: 500; line-height: 24px; color: #ABBFC7; }
.hk-kstc { position: absolute; left: 16px; right: 16px; top: 670px; display: flex; align-items: center; gap: 16px; }
.hk-kstc p { margin: 0; font-size: 10px; font-weight: 500; line-height: 13px; }
.hk-kstb { position: absolute; left: 16px; right: 16px; top: 716px; }
/* the neutral checklist (a placeholder, not an app screen) */
.hk-kc .hk-ophb { height: auto; padding: 22px 20px 20px; gap: 16px; }
.hk-kcl { position: relative; display: flex; flex-direction: column; gap: 10px; justify-self: stretch; text-align: left; }
.hk-kcr { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; color: #D2DEE2; }
.hk-kcc { position: relative; flex: none; width: 24px; height: 24px; box-sizing: border-box; border-radius: 50%; border: 1.5px dashed rgba(255, 255, 255, 0.3); }
.hk-kcc .hk-l { inset: -1.5px; border-radius: 50%; background: #31FD9D; color: #0B1A2A; display: grid; place-items: center; opacity: 0; }
.hk-kcc svg { width: 15px; height: 15px; }
/* the Cards tab with a verification */
.hk-cst2 { display: flex; flex-direction: column; align-items: center; padding-top: 150px; }
.hk-cst2.c { opacity: 0; }
.hk-cstart { position: relative; flex: none; width: 300px; height: 225px; }
.hk-cst2 .pl { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 4px 12px; border-radius: 20px; border: 1px solid #2867EA; font-size: 12px; font-weight: 500; line-height: 17px; }
.hk-cst2.c .pl { border-color: #31FD9D; }
.hk-cst2 .pl .hk-i { width: 16px; height: 16px; }
.hk-cst2 b { position: relative; margin-top: 24px; font-size: 20px; font-weight: 700; line-height: 24px; text-align: center; }
.hk-cst2 p { margin: 8px 24px 0; font-size: 14px; font-weight: 500; line-height: 17px; text-align: center; color: #ABBFC7; }
.hk-cst2 .bt { position: absolute; left: 16px; right: 16px; top: 600px; }
/* the card is ready */
.hk-crd { background: linear-gradient(180deg, #EF4F0F 0%, #121F32 60%) #121F32; }
.hk-crdart { position: absolute; left: 0; top: 0; width: 375px; height: 450px; }
.hk-crdt { position: absolute; left: 16px; right: 16px; top: 466px; text-align: center; }
.hk-crdt b { display: block; font-size: 20px; font-weight: 600; line-height: 24px; }
.hk-crdt p { margin: 16px 0 0; font-size: 14px; font-weight: 400; line-height: 17px; }
.hk-crdb { position: absolute; left: 16px; right: 16px; top: 716px; }
.hk-art { display: block; box-sizing: border-box; border: 0 solid transparent; border-image-slice: 0 fill; border-image-width: 0; border-image-repeat: stretch; }
.hk-kstart { position: absolute; }
/* ---------- f9: get the card, step 5: the Basic screen that "Get your card" opens and the one-off payment sheet
   (BasicCardActivation, PremiumCardSummaryScreen at 3.17.0; positions are estimates) ---------- */
.hk-cpa .hk-cpbox { top: 112px; }
.hk-cpal { position: absolute; left: 0; right: 0; top: 600px; display: flex; align-items: center; justify-content: center; gap: 2px; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-cpal .hk-i { width: 20px; height: 20px; color: #FFFFFF; }
.hk-cpyw { position: absolute; left: 0; right: 0; top: 36px; height: 571px; overflow: hidden; display: flex; flex-direction: column; gap: 12px; }
.hk-cpyw > .hk-svc.sd { margin-top: 0; }
.hk-cpyp .pr { display: flex; align-items: flex-start; justify-content: space-between; }
.hk-cpyp .pr > span { display: flex; flex-direction: column; gap: 2px; }
.hk-cpyp .pr small { font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.hk-cpyp .pr small.o { color: #ABBFC7; }
.hk-cpyp .pr b { font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-cpyp .iv { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #243A54; }
.hk-cpyp .iv > .hk-i:first-child { width: 16px; height: 16px; color: #57A4FF; }
.hk-cpyp .iv > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hk-cpyp .iv b { font-size: 12px; font-weight: 600; line-height: 15px; }
.hk-cpyp .iv small { font-weight: 400; color: #ABBFC7; }
.hk-cpyp .iv > .hk-i:last-child { width: 20px; height: 20px; color: #7E9EA8; }
.hk-cpyc > small { display: block; font-weight: 400; color: rgba(255, 255, 255, 0.8); }
.hk-cpyc .ch { display: flex; gap: 8px; margin-top: 8px; }
.hk-cpyc .ch span { flex: 1; min-width: 0; padding: 8px; border-radius: 12px; border: 1px solid #1C3046; background: #243A54; }
.hk-cpyc .ch span.on { border-color: #57A4FF; }
.hk-cpyc .ch b { display: block; font-size: 12px; font-weight: 600; line-height: 15px; color: #ABBFC7; }
.hk-cpyc .ch span.on b { color: #FFFFFF; }
.hk-cpyc .ch small { display: block; margin-top: 2px; font-size: 10px; font-weight: 400; line-height: 12px; color: #7E9EA8; }
.hk-cpya { display: flex; flex-direction: column; gap: 12px; }
.hk-cpyw > .hk-rvsp { margin-top: 4px; }
.hk-cpyb { position: absolute; left: 0; right: 0; top: 619px; }
/* ---------- f10: lend and stake (guides 9, 10, 11): the Earn tab, its rows, the network sheet, the stake / lend form,
   Approve Contract, Create Earn Account, Review order; from the components' code at 3.17.0 (see howto-kit.mjs) ---------- */
.hk-ehd { position: absolute; left: 16px; right: 16px; top: 64px; height: 40px; }
.hk-etab { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; padding: 0 8px; font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; font-size: 14px; font-weight: 600; line-height: 17px; color: #57A4FF; }
.hk-etab i { width: 30px; height: 2px; margin-top: 8px; background: #2867EA; }
.hk-esr { position: absolute; right: 0; top: 0; width: 40px; height: 40px; box-sizing: border-box; display: grid; place-items: center; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; color: #ABBFC7; }
.hk-esr .hk-i { width: 24px; height: 24px; }
.hk-evp { position: absolute; left: 0; right: 0; top: 120px; bottom: 0; overflow: hidden; }
.hk-esec { margin-top: 16px; }
.hk-esec.pos { margin-top: 0; }
.hk-esh { display: block; padding-left: 16px; margin-bottom: 8px; font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-erow { position: relative; margin: 0 16px 8px; padding: 12px; box-sizing: border-box; border-radius: 12px; background: #1C3046; border: 1px solid #1C3046; }
.hk-erw { display: flex; align-items: center; justify-content: space-between; }
.hk-erow .l { display: flex; align-items: center; gap: 8px; flex: none; }
.hk-erow .l.g12 { gap: 12px; }
.hk-erow .n { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.hk-erow .n b { font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-erow .n .in { display: flex; align-items: center; gap: 8px; }
.hk-epill { padding: 4px 8px; border-radius: 6px; font-size: 10px; font-weight: 400; line-height: 12px; background: rgba(255, 255, 255, 0.1); }
.hk-epill.lend { background: rgba(255, 255, 255, 0.11); color: #CFBCFF; }
.hk-epill.lend.b { background: rgba(255, 255, 255, 0.1); }
.hk-epill.stk { color: #31FD9D; }
.hk-epill.liq { color: #57A4FF; }
.hk-enets { display: flex; }
.hk-enets > span { width: 18px; height: 18px; box-sizing: border-box; display: grid; place-items: center; margin-left: -6px; border-radius: 50%; border: 1px solid #243A54; background: #1C3046; }
.hk-enets > span:first-child { margin-left: 0; }
.hk-erow .r { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; margin-left: 8px; text-align: right; }
.hk-erow .r > b { font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-eprov { display: flex; align-items: center; gap: 4px; font-size: 10px; font-weight: 400; line-height: 12px; color: rgba(255, 255, 255, 0.8); }
.hk-emk { flex: none; display: block; width: 16px; height: 16px; }
.hk-emk svg { width: 100%; height: 100%; }
.hk-erow .r.t .fr, .hk-stc .fr { display: flex; align-items: flex-start; font-size: 12px; font-weight: 400; line-height: 15px; color: rgba(255, 255, 255, 0.8); }
.hk-epos { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 16px; }
.hk-epos [data-hk-t] { position: relative; }
.hk-epos small { display: block; font-size: 12px; font-weight: 400; line-height: 15px; color: rgba(255, 255, 255, 0.8); }
.hk-epos > div > span { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 12px; line-height: 15px; }
.hk-epos > div:first-child > span { gap: 0; align-items: baseline; }
.hk-epos b { font-weight: 500; }
.hk-epos em { font-style: normal; font-size: 10px; font-weight: 500; color: rgba(255, 255, 255, 0.5); }
.hk-epos em.s { font-weight: 400; }
.hk-epos .rr { display: flex; flex-direction: column; align-items: flex-end; }
.hk-epos .rr .k { font-size: 12px; font-weight: 600; line-height: 15px; }
.hk-epos i { font-style: normal; font-size: 12px; font-weight: 400; color: rgba(255, 255, 255, 0.8); white-space: nowrap; }
.hk-epos .w { position: relative; width: 74px; height: 15px; }
.hk-epos .w .hk-l { display: flex; justify-content: flex-end; }
/* the network sheet */
.hk-anl { margin-top: 16px; }
.hk-anl .hk-erow { margin: 0 0 8px; }
/* the stake / lend form */
.hk-stabs { position: absolute; left: 16px; top: 104px; display: flex; }
.hk-stabs span { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 8px; font-size: 14px; font-weight: 400; line-height: 17px; text-transform: capitalize; }
.hk-stabs .on { font-weight: 600; }
.hk-stabs i { width: 50px; height: 2px; margin-top: 8px; }
.hk-stabs .on i { background: #2A7AF7; }
.hk-stabs.hit span { color: transparent; }
.hk-sta .r.ty b { text-align: right; }
.hk-sta { position: absolute; left: 16px; right: 16px; top: 333px; height: 61px; }
.hk-std.h .hk-sta { top: 373px; }
.hk-sta .rw { position: relative; height: 36px; }
.hk-sta .r { display: flex; align-items: center; justify-content: center; gap: 8px; height: 36px; }
.hk-sta .r b { font-family: -apple-system, "SF Pro Text", system-ui, sans-serif; font-size: 30px; font-weight: 600; line-height: 36px; }
.hk-sta .r em { font-style: normal; font-size: 30px; font-weight: 600; line-height: 36px; }
.hk-sta .r .pl { width: 14px; height: 14px; margin-left: 4px; color: #ABBFC7; }
.hk-sta .ro b, .hk-sta .ro em { opacity: 0.5; }
.hk-sta .u { margin-top: 8px; text-align: center; font-size: 14px; font-weight: 500; line-height: 17px; color: #BDC1C2; }
.hk-stf { position: absolute; left: 16px; right: 16px; top: 595px; }
.hk-std.h .hk-stf { top: 676px; }
.hk-stc { position: relative; height: 65px; box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; padding: 12px; border-radius: 12px; background: #18293D; border: 0.5px solid #1C3046; }
.hk-stc .l { display: flex; align-items: center; gap: 8px; }
.hk-stc .n b { display: block; font-size: 14px; font-weight: 600; line-height: 17px; }
.hk-stc .n b.m { font-weight: 500; }
.hk-stc .fr { margin-top: 4px; font-size: 10px; line-height: 12px; }
.hk-stc .pv { display: flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 10px; font-weight: 400; line-height: 12px; color: rgba(255, 255, 255, 0.8); }
.hk-stc .r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.hk-stc .ap { font-size: 14px; font-weight: 500; line-height: 17px; color: #31FD9D; }
.hk-stc .d { font-size: 12px; font-weight: 600; line-height: 15px; }
.hk-sbl { display: flex; align-items: center; justify-content: space-between; height: 40px; margin-top: 16px; }
.hk-std.h .hk-sbl { margin-top: 0; }
.hk-sbl small { display: block; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-sbl b { display: block; margin-top: 8px; font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-sbl .mx { padding: 10px 16px; border-radius: 12px; background: #1C3046; font-size: 12px; font-weight: 500; line-height: 15px; }
/* Approve Contract and Create Earn Account */
.hk-apw { position: absolute; left: 16px; right: 16px; top: 112px; display: flex; flex-direction: column; }
.hk-apc { position: relative; align-self: center; width: 240px; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; padding: 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-appen { position: absolute; right: 16px; top: 16px; width: 20px; height: 20px; color: #FFFFFF; }
.hk-appen svg { width: 100%; height: 100%; }
.hk-apc b { margin-top: 12px; font-size: 14px; font-weight: 700; line-height: 17px; }
.hk-apc small { margin-top: 12px; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-apl { display: block; margin-top: 12px; font-size: 12px; font-weight: 600; line-height: 15px; }
.hk-apb { margin-top: 8px; padding: 16px 12px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; font-size: 14px; font-weight: 500; line-height: 17px; word-break: break-all; }
.hk-apw .hk-rvsp { margin-top: 12px; }
.hk-apal { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-apal .hk-i { flex: none; width: 20px; height: 20px; color: #FBC538; }
.hk-apal p { margin: 0; font-size: 10px; font-weight: 400; line-height: 12px; }
.hk-apfee { position: relative; margin-top: 12px; padding: 16px; border-radius: 12px; background: #18293D; border: 1px solid #1C3046; }
.hk-apfee div, .hk-srfee div { display: flex; align-items: center; justify-content: space-between; }
.hk-apfee span { font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-apfee b, .hk-srfee b { font-size: 14px; font-weight: 500; line-height: 17px; }
.hk-apfee hr { margin: 16px 0; border: 0; height: 1px; background: #3A5569; }
.hk-apgo { position: absolute; left: 16px; right: 16px; top: 724px; }
.hk-eacp { position: absolute; left: 16px; right: 16px; top: 104px; margin: 0; font-size: 14px; font-weight: 400; line-height: 17px; color: #6F8893; }
.hk-eacc { position: absolute; left: 16px; right: 16px; top: 154px; display: flex; flex-direction: column; padding: 16px; border-radius: 16px; background: rgba(255, 255, 255, 0.063); border: 1px solid #3A5569; }
.hk-eacc small { font-size: 14px; font-weight: 500; line-height: 17px; color: #6F8893; }
.hk-eacc small.g { margin-top: 12px; }
.hk-eacc b { margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 17px; word-break: break-all; }
.hk-eacc em { margin-top: 2px; font-style: normal; font-size: 14px; font-weight: 400; line-height: 17px; color: #6F8893; }
/* Review order */
.hk-sram { position: relative; margin-top: 16px; padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-sram small { display: block; font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-sram > div { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.hk-sram > div > span { display: flex; flex-direction: column; align-items: flex-end; }
.hk-sram b { font-size: 28px; font-weight: 600; line-height: 34px; }
.hk-sram em { margin-top: 4px; font-style: normal; font-size: 14px; font-weight: 400; line-height: 17px; color: #ABBFC7; }
.hk-sram .hk-coin .nb, .hk-srad .hk-coin .nb { box-shadow: 0 0 0 2px #1C3046; }
.hk-srrt { position: relative; display: flex; flex-direction: column; margin-top: 12px; }
.hk-srad { padding: 12px; border-radius: 12px; background: #1C3046; }
.hk-srad .t { display: flex; align-items: center; justify-content: space-between; }
.hk-srad small { font-size: 12px; font-weight: 500; line-height: 15px; }
.hk-srad .wc { display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px 1px 1px; border-radius: 12px; background: rgba(255, 255, 255, 0.1); font-size: 8px; font-weight: 400; line-height: 16px; }
.hk-srad p { margin: 8px 0 0; font-size: 12px; font-weight: 400; line-height: 15px; color: #7E9EA8; word-break: break-all; }
.hk-srar { position: relative; z-index: 1; align-self: center; width: 30px; height: 30px; box-sizing: border-box; display: grid; place-items: center; margin: -12px 0; padding-left: 4px; border-radius: 12px; background: #1C3046; border: 3px solid #18293D; color: #FFFFFF; }
.hk-srar .hk-i { width: 12px; height: 12px; }
.hk-srv2 .hk-rvsp { margin-top: 16px; }
.hk-srfee { position: relative; margin-top: 16px; padding: 16px; border-radius: 12px; background: #1C3046; }
.hk-srfee span { display: flex; align-items: center; gap: 8px; font-size: 10px; font-weight: 500; line-height: 12px; color: rgba(255, 255, 255, 0.8); }
.hk-srfee span .hk-i { width: 16px; height: 16px; color: #FFFFFF; }
.hk-srfee hr { margin: 16px 0; border: 0; height: 0.5px; background: rgba(255, 255, 255, 0.8); }
.hk-srv2 .hk-mb { margin-top: 32px; }
/* the approval's pending screen (AllowancePendingTransactionScreen: the title SemiBold 20 at 80 % width, two lines; 16, the line) */
.hk-pnd.al b { left: 37.5px; right: 37.5px; }
.hk-pnd.al p { top: 448px; left: 24px; right: 24px; }
/* harvest: the Wallet screen's USDC on Base row and the balance before and after (two layers each) */
.hk-vl2 { position: relative; width: 120px; height: 37px; }
.hk-vl2 > .hk-l { text-align: right; }
.hk-bl2 { position: relative; width: 260px; height: 50px; }
.hk-bl2 > .hk-l { display: flex; align-items: center; justify-content: center; }

/* ---------- /walletconnect on the guide frame (phase W) ----------
   Its own scene and step cards stay (walletconnect.css); the step pictures are files in the stills' two crops: .w 16:11,
   .n 4:5 in a card under 480 px (the same container query as walletconnect.css), each filling the picture box from the
   top left and scaled by its width, as the coded still was. .d / .l: a dark and a light copy where the themes differ
   (the phone's shadow); a picture without either is the same in both. Only the shown one is fetched (lazy). */
.wc-fig > .ht-wcimg { position: absolute; inset: 0; display: none; width: 100%; height: 100%; object-fit: cover; object-position: 0 0; }
:root:not([data-theme="light"]) .wc-fig > .ht-wcimg.w:not(.l), :root[data-theme="light"] .wc-fig > .ht-wcimg.w:not(.d) { display: block; }
@container wch (max-width: 479px) {
  :root:not([data-theme="light"]) .wc-fig > .ht-wcimg.w:not(.l), :root[data-theme="light"] .wc-fig > .ht-wcimg.w:not(.d) { display: none; }
  :root:not([data-theme="light"]) .wc-fig > .ht-wcimg.n:not(.l), :root[data-theme="light"] .wc-fig > .ht-wcimg.n:not(.d) { display: block; }
}
