/* $RIPS AIRDROP: THE BLOCKRIPS HQ TELEGRAM BOOST (Stream C; Luke, 3 Nov 2026, DECISIONS §2 "option 1"; tgboost.js draws it).
   Built from the round-2 mock's own CSS (rb/pc-mock-tg docs/pack-checker/telegram-boost/mocks/round2/tools/tgmock2.css, the
   option-1 board), less the other options' pieces: the boost's own How to unlock page (.tgp) and the airdrop dashboard's row
   (.tgm--dash) with its bar tag (.tgm-tag). The page's own tokens: --blue #3DA5F5 / --sky #8FD8FF for Telegram, mint for
   done, pink stays the main action. Every rule here only reaches .tgp / .tgm markup, or a .pcd / .pc-prog8 that holds it
   (:has), so a page without the boost draws exactly as before. No emoji; the Telegram plane is drawn. */
.tgm{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px 14px;margin:12px auto 0;max-width:780px;padding:7px 10px 7px 8px;
  border:2px solid rgba(143,216,255,.38);border-radius:18px;background:rgba(61,165,245,.10);text-align:left}
.tgm__ic{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:var(--blue,#3DA5F5);color:#fff;flex:none}
.tgm__ic .tgm-plane{width:22px;height:22px;margin-left:-2px}
.tgm__b{min-width:0}
.tgm__l1,.tgm__l2{margin:0;font:600 15px/1.35 var(--ui)}
.tgm__l1{color:var(--sky,#8FD8FF);font-weight:700}
.tgm__l2{margin-top:1px;color:#DCE3FF}
.tgm__t .tgm-plane{display:none;width:16px;height:16px;margin:0 6px -2px 0}
.tgm__t{margin:0 0 3px;font:400 15px/1.1 var(--display);letter-spacing:.04em;text-transform:uppercase;color:var(--sky,#8FD8FF)}
.tgm__a{display:flex;flex-direction:row;align-items:center;gap:4px 10px;flex:none}
.tgm-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 20px;border-radius:999px;border:3px solid rgba(255,255,255,.28);
  background:var(--blue,#3DA5F5);color:#fff;font:400 17px/1 var(--display);letter-spacing:.01em;text-decoration:none;white-space:nowrap;cursor:pointer;
  box-shadow:0 8px 18px -8px rgba(0,0,0,.6)}
.tgm-btn .tgm-plane{width:20px;height:20px}
.tgm-btn.is-busy{background:rgba(61,165,245,.35);color:#DCEFFF;cursor:default}
.tgm-spin{width:20px;height:20px;animation:tgm-rot .9s linear infinite}
@keyframes tgm-rot{to{transform:rotate(360deg)}}
.tgm-link{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 4px;border:0;background:none;font:700 14px/1.2 var(--ui);color:var(--muted,#A9B4DA);text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}
.tgm-who{display:inline}
.tgm-chip{text-decoration:none;display:inline-flex;align-items:center;gap:5px;padding:2px 4px 2px 8px;margin-left:2px;border-radius:999px;background:rgba(61,165,245,.22);color:#fff;font-weight:800;white-space:nowrap;vertical-align:1px}
.tgm-chip .tgm-plane{width:14px;height:14px;color:var(--sky,#8FD8FF)}
.tgm-chip i{display:inline-flex;align-items:center;gap:3px;margin-left:3px;padding:1px 7px 1px 5px;border-radius:999px;background:rgba(110,231,168,.2);color:var(--mint,#6EE7A8);font:800 13px/1.3 var(--ui);font-style:normal}
.tgm-chip i svg{width:12px;height:12px}
.tgm-figw{display:flex;flex-direction:column;align-items:center;min-width:84px;padding-right:4px}
.tgm-fig{font:400 24px/1 var(--display);color:#fff;font-variant-numeric:tabular-nums;letter-spacing:.01em}
.tgm-figw span{font:700 14px/1.2 var(--ui);color:var(--sky,#8FD8FF);margin-top:3px}
.tgm-done{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;background:rgba(110,231,168,.18);color:var(--mint,#6EE7A8)}
.tgm-done svg{width:24px;height:24px}
.tgm--in,.tgm--on,.tgm--already{border-color:var(--sky,#8FD8FF);background:rgba(61,165,245,.16)}
.tgm--used{border-color:rgba(110,231,168,.4);background:rgba(110,231,168,.07)}
.tgm--used .tgm__t{color:var(--mint,#6EE7A8)}
.tgm--used .tgm__ic{background:rgba(61,165,245,.45)}
/* the bar */
.tgm-tags{display:inline-flex;align-items:center;gap:10px;flex-wrap:wrap}
.tgm-tag{display:inline-flex;align-items:center;gap:5px;padding:3px 9px 3px 6px;border-radius:999px;background:var(--blue,#3DA5F5);color:#fff;font:400 13px/1 var(--display);letter-spacing:.04em;text-transform:uppercase}
.tgm-tag .tgm-plane{width:14px;height:14px}
.tgm-tag i{font-style:normal;color:#E6F5FF}
/* the airdrop dashboard: the row sits above the foot, the full width of the panel */
.tgm--dash{max-width:none;width:0;min-width:100%;box-sizing:border-box;margin:clamp(12px,2vh,18px) 0 0}
@media (min-width:861px){
  .tgm{margin-top:8px;padding:4px 10px 4px 8px}
  .tgm__t{margin-bottom:1px}
  .tgm__l1,.tgm__l2{line-height:1.25}
  .tgm__a{flex-direction:column;gap:0}
  .tgm-btn{min-height:44px;padding:0 16px;font-size:15px;gap:7px}
  .tgm-btn .tgm-plane{width:18px;height:18px}
  .tgm-link{min-height:18px;line-height:1;font-size:14px;text-underline-offset:3px}
  .tgm-figw{flex-direction:column}
}
/* the shortest computer window (1000x570): no plane disc (the button has it), and the stage's small "Your unlock progress"
   heading gives way while the Telegram row is there, so the stage still fits with no scrolling */
@media (min-width:861px) and (max-height:620px){
  .tgm:not(.tgm--dash) .tgm__ic{display:none}
  .pc-prog8:has(.tgm) > .pc-prog__k{display:none}
}
@media (max-width:860px){
  .tgm{grid-template-columns:minmax(0,1fr);padding:10px 12px;gap:8px;margin-top:10px}
  .tgm__ic{display:none}
  .tgm__t .tgm-plane{display:inline-block;color:var(--sky,#8FD8FF)}
  .tgm__a{grid-column:1;flex-direction:row;justify-content:space-between;align-items:center}
  .tgm--in .tgm__a,.tgm--on .tgm__a,.tgm--already .tgm__a{justify-content:flex-start}
  .tgm-figw{flex-direction:row;align-items:baseline;gap:7px;min-width:0}.tgm-fig{font-size:21px}
  .tgm--used .tgm__a{display:none}
  .tgm__t{font-size:14px}.tgm__l1,.tgm__l2{font-size:14.5px}
  .tgm-btn{min-height:46px;font-size:16px;flex:0 0 auto;padding:0 14px}
  .tgm-link{margin-left:0;white-space:nowrap;flex:none}
  /* round 2 fix: the button takes the row and "Already in HQ?" sits under it, centred (round 1 put both on one line and
     the link ran 22px past the box on a 390px phone) */
  .tgm__a{flex-direction:column;align-items:stretch;gap:2px;min-width:0}
  .tgm-btn{width:100%;box-sizing:border-box}
  .tgm-link{align-self:center;min-height:44px}
}

/* the airdrop dashboard on a computer: a full-width row under the slab and the button, above the foot; the title and
   what it does share the first line */
@media (min-width:861px){
  .pcd:has(> .tgm--dash){grid-template-rows:1fr auto auto auto auto 1fr auto auto;
    grid-template-areas:"slab ." "slab top" "slab bar" "slab nums" "slab act" "slab ." "tg tg" "foot foot"}
  .tgm--dash{grid-area:tg;margin-top:clamp(12px,2.2vh,22px);padding:5px 12px 5px 8px}
  .tgm--dash .tgm__t,.tgm--dash .tgm__l1{display:inline}
  .tgm--dash .tgm__t{margin-right:8px}
  .tgm--dash .tgm__l2{margin-top:2px}
  .tgm--dash{grid-template-columns:minmax(0,1fr) auto;padding:6px 12px 6px 14px}
  .tgm--dash .tgm__ic{display:none}
  .tgm--dash .tgm__t .tgm-plane{display:inline-block}
}
/* the shortest computer window: the dashboard's gaps close up a little while the Telegram row is there */
@media (min-width:861px) and (max-height:700px){
  .pcd:has(.tgm){padding-top:14px}
  .pcd:has(.tgm) .pcd-bar{margin-top:10px}
  .pcd:has(.tgm) .pcd-nums{margin-top:8px}
  .pcd:has(.tgm) .pcd-act{margin-top:10px}
  .pcd:has(.tgm) .pcd-w{margin-top:8px;padding-top:6px}
  .tgm--dash{margin-top:10px}
  /* the build (3 Nov): the news line makes the row a line taller than the board's at 1000x570: its insides close up */
  .pcd:has(.tgm) .pcd-act{margin-top:6px}
  .tgm--dash{margin-top:6px;padding-top:3px;padding-bottom:3px}
  .tgm--dash .tgm__l1,.tgm--dash .tgm__l2{line-height:1.2}
}
/* the phone: the dashboard's gaps close up a little while the Telegram row is there */
@media (max-width:860px){
  .pcd:has(.tgm) .pcd-bar{margin-top:12px}
  .pcd:has(.tgm) .pcd-act{margin-top:12px}
  .pcd:has(.tgm) .pcd-w{margin-top:10px;padding-top:8px}
  .tgm--dash{padding:8px 12px}
  /* round 2: with "Already in HQ?" on its own line (a 44px tap target) the row is taller; its insides close up so the
     dashboard still fits a 390x844 phone with no scrolling */
  .tgm--dash{gap:5px;padding:7px 12px 0}
  .tgm--dash .tgm__l1,.tgm--dash .tgm__l2{line-height:1.28}
  .tgm--dash .tgm__a{gap:0}
  .tgm--dash:not(:has(.tgm-link)){padding-bottom:8px}
  .pcd:has(.tgm) .pcd-act{margin-top:10px}
  /* the build (3 Nov): the news line makes the second fact a line longer than the board's; the gaps around the row close
     up by that much, so the dashboard still fits 390x844 with no scrolling */
  .pcd:has(.tgm) .pcd-bar{margin-top:10px}
  .pcd:has(.tgm) .pcd-act{margin-top:6px}
  .pcd:has(.tgm) .pcd-w{margin-top:6px;padding-top:6px}
  .tgm--dash{margin-top:10px}
}

/* every Telegram box sizes to its column: nothing in it may be wider than the box it sits in */
.tgm,.tgm *{box-sizing:border-box}
.tgm__a,.tgm__b{min-width:0;max-width:100%}

/* ---- ROUND 2: the Telegram boost's own How to unlock page ------------------------------------------------------------
   One axis, like page 1 (the coin, the title, the lead): the Telegram mark, the title, the required line, the boost as the
   wallet steps' sticker in Telegram blue, what it does, then Join and a same-size way on, and the small link under them. */
.tgp{display:flex;flex-direction:column;align-items:center;width:min(100%,700px);margin:0 auto;text-align:center;box-sizing:border-box}
.tgp *{box-sizing:border-box}
.tgp__ic{display:grid;place-items:center;flex:none;width:clamp(56px,9.6vh,96px);height:clamp(56px,9.6vh,96px);border-radius:50%;
  border:3px solid var(--cream,#F1EADB);background:var(--blue,#3DA5F5);color:#fff;box-shadow:0 6px 0 var(--ink,#0E1116)}
.tgp__ic svg{width:52%;height:52%}
/* the small mark in the title: only on shorter computer windows, where the big one gives its height to the rest */
.tgp__mini{display:none}
.tgp__ic .tgm-plane{margin-left:-6%}
.tgp--in .tgp__ic,.tgp--on .tgp__ic,.tgp--already .tgp__ic,.tgp--used .tgp__ic{background:var(--mint,#6EE7A8);color:var(--ink,#0E1116)}
.tgp--checking .tgp__ic{background:rgba(61,165,245,.4)}
.pc-dash .pc-stg .tgp > .tgp__t{margin:var(--b-gap-s,14px) 0 0;font-size:var(--t-title);line-height:1.02;max-width:100%}
.tgp__lead{max-width:36ch;margin:var(--b-gap-s,14px) 0 0;font:600 var(--t-lead,19px)/1.35 var(--ui);color:#DCE3FF;text-wrap:balance}
.tgp__lead .tgm-who{display:inline}
.tgp__lead .tgm-chip{font-size:.92em}
.tgp__st{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 10px;max-width:100%;margin:var(--b-gap,24px) 0 0;
  padding:8px 18px 7px;border:2.5px solid var(--ink,#0E1116);border-radius:12px;box-shadow:0 0 0 2px rgba(255,255,255,.9);
  background:linear-gradient(180deg,#B9E6FF,var(--sky,#8FD8FF) 45%,#5DB8F7);color:var(--ink,#0E1116);
  font:400 clamp(15px,1.2vh + .3vw,19px)/1 var(--display);letter-spacing:.02em;text-transform:uppercase;transform:rotate(-1.5deg)}
.tgp__st .num{font-size:1.5em;line-height:1;font-variant-numeric:tabular-nums}
.tgp__st .tgp-was{opacity:.55;text-decoration:line-through;text-decoration-thickness:3px}
.tgp__st .tgp-arw{width:1.1em;height:1.1em}
.tgp--used .tgp__st{background:linear-gradient(180deg,#C9F8DF,var(--mint,#6EE7A8) 55%,var(--mint-2,#3FCB86))}
.tgp__line{max-width:42ch;margin:var(--b-gap-s,14px) 0 0;font:700 var(--t-body,18px)/1.35 var(--ui);color:var(--sky,#8FD8FF);text-wrap:balance}
.tgp__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,560px);margin:var(--b-gap,24px) 0 0}
.tgp__pair .pc-btn{width:100%;min-width:0;padding:0 14px;text-decoration:none}
.tgp__pair .pc-btn > span{min-width:0;overflow-wrap:anywhere}
.tgp__join{background:linear-gradient(180deg,#6FBEFF,#2380D6 55%,#1667B8);color:#fff;border-color:rgba(255,255,255,.3);
  text-shadow:0 2px 0 rgba(0,45,100,.4);box-shadow:0 0 0 2px rgba(190,230,255,.3) inset,0 0 24px rgba(61,165,245,.5),0 10px 22px -8px rgba(0,0,0,.6)}
.tgp__join svg,.tgp__open svg{width:20px;height:20px;flex:none}
.tgp__join.is-busy{opacity:.7;box-shadow:none;cursor:default}
.tgp__more{margin:4px 0 0}
.tgp__link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 6px;border:0;background:none;font:700 16px/1.2 var(--ui);color:var(--muted,#A9B4DA);
  text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:4px;cursor:pointer}
/* shorter computer windows (1147x655, 1000x570): no mark (the button carries the plane), the gaps close up */
@media (min-width:861px) and (max-height:720px){
  .tgp__ic{display:none}
  .tgp__mini{display:inline-grid;place-items:center;width:1.1em;height:1.1em;margin:0 .32em 0 0;vertical-align:-.16em;border-radius:50%;
    border:2px solid var(--cream,#F1EADB);background:var(--blue,#3DA5F5);color:#fff;box-shadow:0 3px 0 var(--ink,#0E1116)}
  .tgp__mini svg{width:56%;height:56%}
  .tgp__mini .tgm-plane{margin-left:-6%}
  .tgp--in .tgp__mini,.tgp--on .tgp__mini,.tgp--already .tgp__mini,.tgp--used .tgp__mini{background:var(--mint,#6EE7A8);color:var(--ink,#0E1116)}
  .tgp--checking .tgp__mini{background:rgba(61,165,245,.4)}
  .pc-dash .pc-stg .tgp > .tgp__t{margin-top:0}
  .tgp__lead{margin-top:8px;max-width:48ch}
  .tgp__st{margin-top:14px}
  .tgp__line{margin-top:10px}
  .tgp__pair{margin-top:14px}
  .tgp__more{margin-top:0}
  .tgp__link{min-height:36px}
}
@media (min-width:861px) and (max-height:620px){
  .tgp__st{margin-top:10px;padding:6px 14px 5px}
  .tgp__line{margin-top:6px}
  .tgp__pair{margin-top:10px}
  .tgp__link{min-height:32px}
}
@media (max-width:860px){
  .tgp__ic{width:64px;height:64px}
  /* the build (3 Nov): the lead carries the news line too (one line more than the board), so the gaps close up a little
     and the page still fits the phone's frame */
  .tgp__lead{font-size:16px;margin-top:8px}
  .tgp__st{margin-top:14px;padding:7px 14px 6px;font-size:15px}
  .tgp__line{font-size:16px;margin-top:10px}
  /* the phone: the two buttons stack, each the full width and the same size ("Join BlockRips HQ" does not fit half
     of a 312px column at a readable size) */
  .tgp__pair{grid-template-columns:minmax(0,1fr);gap:10px;margin-top:14px;width:min(100%,340px)}
  .tgp__pair .pc-btn{font-size:17px;padding:0 12px;gap:8px;min-height:52px}
  .tgp__join svg,.tgp__open svg{width:17px;height:17px}
  .tgp__link{font-size:15px}
}

/* pre-delivery checks (ui-ux-pro-max): white on the Join blue was 2.6:1 on round 1's #3DA5F5; the button's middle is
   #2380D6 now (4.2:1, large bold text). The dashboard's Join gets the same blue. Reduced motion: the spinner stops. */
.tgm-btn{background:linear-gradient(180deg,#6FBEFF,#2380D6 55%,#1667B8)}
.tgm-btn.is-busy{background:rgba(35,128,214,.45)}
@media (prefers-reduced-motion:reduce){.tgm-spin{animation:none}}

.tgm-nw{white-space:nowrap}
