/* Keep the catalog cost at the same emphasis color as the selected card. */
.jg-home-ui .plan-card .plan-cost{color:var(--plan-check);font-weight:560}

/* Replace the typographic tick with a centered, crisp drawn check. */
.jg-home-ui .plan-radio{width:19px;height:19px;border:1px solid var(--line);background:var(--surface);border-radius:6px;color:transparent;font-size:0;display:block;transition:background .16s,border-color .16s,transform .16s}
.jg-home-ui .plan-radio:empty::after{display:none}
.jg-home-ui .plan-radio:not(:empty){background:var(--plan-check);border-color:var(--plan-check);transform:scale(1.02)}
.jg-home-ui .plan-radio:not(:empty)::after{content:"";position:absolute;left:6px;top:3px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg);border-radius:1px}

/* Dark mode uses a muted crimson for the flag mark, distinct from the green page. */
:root[data-theme="dark"] .jg-home-ui .brand img,
:root[data-theme="dark"] .jg-home-ui .category-tab[data-brand="agent"] img,
:root[data-theme="dark"] .jg-home-ui .hero-logo[data-brand="agent"] img{filter:brightness(0) saturate(100%) invert(10%) sepia(92%) saturate(4900%) hue-rotate(340deg) brightness(30%) contrast(110%)}

/* Keep the existing product-description dialog reachable beside the support link. */
.jg-home-ui .quantity-block .detail-link{display:none!important}
.jg-home-ui .detail-float{position:fixed;z-index:39;right:calc(10px + env(safe-area-inset-right,0px));top:calc(50% - 60px);margin:0;padding:9px 11px;border:1px solid var(--plan-edge);border-radius:8px;background:var(--plan-selected);color:var(--plan-check);box-shadow:0 5px 18px #17152a14;font-size:11px;font-weight:650;text-decoration:none;white-space:nowrap}
.jg-home-ui .detail-float:hover{background:color-mix(in srgb,var(--plan-selected) 72%,var(--plan-edge));border-color:var(--plan-check)}
.jg-home-ui .detail-float:focus-visible{outline:2px solid var(--plan-check);outline-offset:3px}
/* One fixed stack: actual button heights determine spacing at every zoom level. */
.jg-home-ui .jg-float-actions{position:fixed;z-index:40;right:calc(12px + env(safe-area-inset-right,0px));top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:24px;width:74px}
.jg-home-ui .jg-float-actions>.detail-float,
.jg-home-ui .jg-float-actions>.support-float,
.jg-home-ui .jg-float-actions>.redeem-float{position:relative;inset:auto;transform:none;box-sizing:border-box;display:flex;align-items:center;justify-content:center;flex:0 0 auto;gap:2px;width:100%;height:auto;min-height:40px;margin:0;padding:8px 2px;border:1px solid var(--plan-edge);border-radius:9px;background:var(--plan-selected);color:var(--plan-check);font-size:11px;font-weight:650;line-height:1.4;white-space:nowrap;text-decoration:none;box-shadow:0 4px 14px #17152a0d}
.jg-home-ui .jg-float-actions>.detail-float::after,
.jg-home-ui .jg-float-actions>.support-float::after,
.jg-home-ui .jg-float-actions>.redeem-float::after{flex:0 0 auto;color:currentColor;font-size:14px;font-weight:500;line-height:1;opacity:.78}
.jg-home-ui .jg-float-actions>.detail-float::after{content:"›"}
.jg-home-ui .jg-float-actions>.support-float::after,
.jg-home-ui .jg-float-actions>.redeem-float::after{content:"↗";font-size:11px}
.jg-home-ui .jg-float-actions>.detail-float{order:-1}
.jg-home-ui .jg-float-actions .support-float>span{display:flex;flex-direction:column;gap:1px}
.jg-home-ui .jg-float-actions .redeem-float>span{display:inline}
.jg-home-ui .jg-float-actions .support-float b{font-size:11px;line-height:1.4}
@media(max-width:700px){.jg-home-ui .jg-float-actions{width:74px;right:calc(10px + env(safe-area-inset-right,0px))}.jg-home-ui .jg-float-actions>.detail-float,.jg-home-ui .jg-float-actions>.support-float,.jg-home-ui .jg-float-actions>.redeem-float{padding:8px 2px}}
