/* Bloxify products page. Builds on bloxify.css (nav, .Dark, .Closing banner, footer). */
.ShopPage { background: var(--PageBackground); }
.ShopMain { margin-top: 0; min-height: 100vh; }
.ShopMain::before { display: none; } /* no staircase edge: the page starts dark */
.ShopTop { padding-top: 7rem; padding-bottom: 0; }
.ShopBody { padding-top: var(--SpaceLarge); }

/* banner: the closing banner, with the search built in and the block holding a magnifying glass */
.ShopBanner { min-height: 22rem; }
.ShopBanner h1 { font-size: var(--SizeDisplay); font-weight: var(--WeightBold); line-height: 1.02; letter-spacing: -0.025em; color: var(--InkWhite); }
.ShopBanner h1 span { color: #9fdcff; background: linear-gradient(currentColor, currentColor) left 94% / 100% 0.08em no-repeat; }
.ShopBanner p { max-width: 32rem; color: var(--SkyInk); opacity: 0.9; }
.ShopArt { width: min(100%, 19rem); rotate: 0deg; }

.ShopSearch { display: flex; align-items: center; gap: 0.625rem; width: min(100%, 30rem); height: 3.25rem; margin-top: var(--SpaceSmall); padding: 0 0.625rem 0 1rem; border-radius: var(--Block); background: var(--InkWhite); color: #52627a; box-shadow: 0 0.375rem 0 rgb(2 30 110 / 0.35), 0 1rem 2rem -1rem rgb(2 20 70 / 0.5); cursor: text; transition: box-shadow 0.25s var(--EaseOut); }
.ShopSearch:focus-within { box-shadow: inset 0 0 0 1.5px #b9c6d8, 0 0.375rem 0 rgb(2 30 110 / 0.45), 0 1rem 2rem -1rem rgb(2 20 70 / 0.6); color: #0b1a33; }
.ShopSearch svg { flex: none; width: 1.25rem; height: 1.25rem; }
.ShopSearch input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: #0b1a33; font: inherit; font-size: 1rem; }
.ShopSearch input::placeholder { color: #8391a7; }
.ShopSearch kbd { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 0.4rem; background: #eef2f8; box-shadow: inset 0 -2px 0 #d5deea; color: #52627a; font: inherit; font-size: 0.8125rem; font-weight: var(--WeightBold); }

/* category tabs: one blocky track, a lit block slides to the chosen one */
.ShopTabs { position: relative; display: inline-flex; gap: 0.25rem; max-width: 100%; overflow-x: auto; padding: 0.3rem; border-radius: 0.9rem; background: #0e1626; box-shadow: inset 0 0 0 1px rgb(120 170 255 / 0.08); scrollbar-width: none; }
.ShopTabs button { position: relative; z-index: 1; flex: none; height: 2.5rem; padding: 0 1rem; border: 0; border-radius: 0.65rem; background: none; color: var(--InkMuted); font: inherit; font-weight: var(--WeightBold); cursor: pointer; transition: color 0.25s var(--EaseOut); }
.ShopTabs button:hover { color: var(--InkStrong); }
.ShopTabs button[aria-selected="true"] { color: #fff; }
.TabIndicator { position: absolute; top: 0.3rem; bottom: 0.3rem; left: 0; width: var(--W, 0); translate: var(--X, 0) 0; border-radius: 0.65rem; background: linear-gradient(180deg, #1a8cff, #0a64d6); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 3px 0 #06368a; transition: translate 0.45s cubic-bezier(0.3, 1.2, 0.5, 1), width 0.45s cubic-bezier(0.3, 1.2, 0.5, 1); }

/* filter bar */
.ShopBar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; margin-top: var(--SpaceMedium); }
.Chips { display: flex; gap: 0.25rem; padding: 0.25rem; border-radius: 0.8rem; background: #0e1626; box-shadow: inset 0 0 0 1px rgb(120 170 255 / 0.08); }
.Chips button, .View button { display: inline-flex; align-items: center; gap: 0.4rem; height: 2.125rem; padding: 0 0.75rem; border: 0; border-radius: 0.55rem; background: none; color: var(--InkMuted); font: inherit; font-size: var(--SizeSmall); font-weight: var(--WeightMedium); cursor: pointer; transition: background-color 0.2s var(--EaseOut), color 0.2s var(--EaseOut); }
.Chips button:hover, .View button:hover { color: var(--InkStrong); }
.Chips button[aria-pressed="true"], .View button[aria-pressed="true"] { background: #1b2840; color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08); }
.Dot { flex: none; width: 0.5rem; height: 0.5rem; border-radius: 50%; }
.Dot.Up { background: #46e08a; }
.Dot.Updating { background: #ffb547; }
.Dot.Fail { background: #ff7a6b; }
.Sunc .Dot.Up { background: var(--AccentBright); } /* in the results, passed is brand blue like the blocks */
.Sort { margin-left: auto; }
.Sort select { height: 2.625rem; padding: 0 2.25rem 0 0.9rem; border: 0; border-radius: 0.8rem; background: #0e1626 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23939cab' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") right 0.7rem center / 1rem no-repeat; box-shadow: inset 0 0 0 1px rgb(120 170 255 / 0.08); color: var(--InkStrong); font: inherit; font-size: var(--SizeSmall); appearance: none; cursor: pointer; }
.View { display: flex; gap: 0.25rem; padding: 0.25rem; border-radius: 0.8rem; background: #0e1626; box-shadow: inset 0 0 0 1px rgb(120 170 255 / 0.08); }
.View button { padding: 0 0.6rem; }
.View svg { width: 1rem; height: 1rem; }
.ShopCount { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem 1rem; margin: var(--SpaceLarge) 0 var(--SpaceSmall); font-size: var(--SizeSmall); color: var(--InkSubtle); }
.LiveNote { display: inline-flex; align-items: center; gap: 0.4rem; }
.LiveNote i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #46e08a; box-shadow: 0 0 0 0 rgb(70 224 138 / 0.5); animation: LivePing 2s ease-out infinite; }
@keyframes LivePing { 70%, 100% { box-shadow: 0 0 0 0.4rem rgb(70 224 138 / 0); } }
.Still .LiveNote i { animation: none; }

/* product cards: a frame holding the price, and an inner panel with the product. Built like every Bloxify block:
   blocky corners, a lit top edge, a solid slab underneath, studs on the panel */
@property --Bite { syntax: "<length>"; inherits: false; initial-value: 0px; }
.Products { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1rem; margin: 0; padding: 0; list-style: none; }
.Product { display: grid; }
.ProductCard {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr; /* cards in a row share a height; the panel takes the rest */
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 1.25rem;
    background: linear-gradient(180deg, #111d33, #0b1424);
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 0 0 1px rgb(120 170 255 / 0.08), 0 0.375rem 0 #03060d;
    color: inherit;
    text-decoration: none;
    transition: translate 0.4s cubic-bezier(0.3, 1.3, 0.5, 1), box-shadow 0.4s var(--EaseOut);
}

.ProductTop { display: flex; align-items: center; gap: 0.5rem; min-height: 2.5rem; padding: 0.25rem 0.75rem 0; }
.ProductTag { padding: 0.25rem 0.55rem; border-radius: 0.5rem; font-size: 0.8125rem; font-weight: var(--WeightBold); }
.ProductTag.Pick { background: rgb(255 181 71 / 0.14); box-shadow: inset 0 -2px 0 rgb(255 181 71 / 0.25); color: #ffbf5e; }
.ProductTag.Seller { background: rgb(240 230 80 / 0.14); box-shadow: inset 0 -2px 0 rgb(240 230 80 / 0.25); color: #f4ec6a; }
.ProductTag.Forever { background: rgb(186 160 255 / 0.14); box-shadow: inset 0 -2px 0 rgb(186 160 255 / 0.25); color: #c9b6ff; }
.ProductPrice { margin-left: auto; font-size: var(--SizeSmall); color: var(--InkMuted); }
.ProductPrice b { color: var(--InkWhite); font-weight: var(--WeightBold); font-variant-numeric: tabular-nums; }
.ProductPrice small { margin-left: 0.1rem; color: var(--InkSubtle); }

.ProductPanel {
    --Bite: 0px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "kind logo" "name logo" "foot foot";
    grid-template-rows: auto auto 1fr; /* the footer always sits on the bottom edge */
    column-gap: 1rem;
    padding: 1.25rem;
    border-radius: var(--Block);
    background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.05) 1.2px, transparent 1.6px) 0 0 / 1.1rem 1.1rem, #142038;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
    /* the Bloxify bite, three scallops out of the top-right corner, sized by --Bite (0 = no bite) */
    -webkit-mask:
        radial-gradient(circle at calc(100% - var(--Bite) * 1.55) calc(var(--Bite) * -0.2), #0000 calc(var(--Bite) * 0.62), #000 calc(var(--Bite) * 0.64)),
        radial-gradient(circle at calc(100% - var(--Bite) * 0.45) calc(var(--Bite) * 0.35), #0000 calc(var(--Bite) * 0.66), #000 calc(var(--Bite) * 0.68)),
        radial-gradient(circle at calc(100% + var(--Bite) * 0.2) calc(var(--Bite) * 1.5), #0000 calc(var(--Bite) * 0.58), #000 calc(var(--Bite) * 0.6));
    -webkit-mask-composite: source-in;
    mask:
        radial-gradient(circle at calc(100% - var(--Bite) * 1.55) calc(var(--Bite) * -0.2), #0000 calc(var(--Bite) * 0.62), #000 calc(var(--Bite) * 0.64)),
        radial-gradient(circle at calc(100% - var(--Bite) * 0.45) calc(var(--Bite) * 0.35), #0000 calc(var(--Bite) * 0.66), #000 calc(var(--Bite) * 0.68)),
        radial-gradient(circle at calc(100% + var(--Bite) * 0.2) calc(var(--Bite) * 1.5), #0000 calc(var(--Bite) * 0.58), #000 calc(var(--Bite) * 0.6));
    mask-composite: intersect;
    transition: --Bite 0.35s cubic-bezier(0.3, 1.4, 0.5, 1);
}
.ProductKind { grid-area: kind; font-size: var(--SizeSmall); color: var(--InkSubtle); }
.ProductName { grid-area: name; display: flex; align-items: center; gap: 0.5rem; }
.ProductName b { font-size: 1.375rem; font-weight: var(--WeightBold); letter-spacing: -0.02em; color: var(--InkWhite); }
.ProductLogo { grid-area: logo; align-self: center; width: 2.75rem; height: 2.75rem; object-fit: contain; transition: translate 0.45s cubic-bezier(0.3, 1.5, 0.5, 1), rotate 0.45s cubic-bezier(0.3, 1.5, 0.5, 1); }
.ProductFoot { grid-area: foot; display: grid; align-self: end; height: 2.75rem; margin-top: 1.5rem; padding-bottom: 0.15rem; overflow: hidden; }

/* the footer holds two lines in one spot: version and platforms at rest, the specs on hover */
.FootRest, .FootPeek { grid-area: 1 / 1; transition: translate 0.45s cubic-bezier(0.3, 1.2, 0.5, 1), opacity 0.3s var(--EaseOut); }
.FootRest { display: flex; align-items: end; justify-content: space-between; }
.FootPeek { position: relative; display: flex; align-items: end; gap: 0.875rem; opacity: 0; translate: 0 100%; pointer-events: none; }
/* one small coloured icon per spec, a value beside the numbers, and a tooltip saying what it is */
.Spec { display: inline-flex; align-items: center; gap: 0.3rem; height: 1.75rem; padding: 0; border: 0; background: none; color: var(--C); font-size: 0.8125rem; font-weight: var(--WeightBold); font-variant-numeric: tabular-nums; }
.Spec svg { width: 0.9375rem; height: 0.9375rem; }
.SpecTip { position: absolute; left: 0; right: 0; bottom: calc(100% + 0.5rem); z-index: 5; display: grid; gap: 0.15rem; /* spans the row, so it never pokes out of the card */ padding: 0.5rem 0.65rem; border-radius: 0.6rem; background: #1b2840; box-shadow: 0 0.75rem 1.5rem -0.5rem rgb(0 0 0 / 0.6), inset 0 0 0 1px rgb(120 170 255 / 0.12); color: var(--InkMuted); font-size: 0.75rem; font-weight: var(--WeightMedium); line-height: 1.35; text-align: left; opacity: 0; translate: 0 0.25rem; pointer-events: none; transition: opacity 0.2s var(--EaseOut), translate 0.2s var(--EaseOut); }
.SpecTip b { color: var(--InkWhite); font-weight: var(--WeightBold); }
.Spec:hover .SpecTip, .Tabbing .Spec:focus-visible .SpecTip { opacity: 1; translate: 0 0; }
.ProductCard:hover .FootPeek, .Tabbing .ProductCard:has(:focus-visible) .FootPeek { pointer-events: auto; }
/* the sUNC score is a button with the sUNC mark; it opens the full test */
.SuncSpec { color: var(--InkWhite); font: inherit; font-size: 0.8125rem; font-weight: var(--WeightBold); cursor: pointer; }
.SuncSpec img { height: 0.8rem; width: auto; transition: translate 0.25s var(--EaseOut); }
.SuncSpec:hover { color: #c3a6f7; }
.SuncSpec:hover img { translate: 0 -1px; }
.Tabbing .SuncSpec:focus-visible { outline: 2px solid var(--AccentBright); outline-offset: 3px; border-radius: 0.25rem; }
.ProductCard:hover .FootRest, .Tabbing .ProductCard:has(:focus-visible) .FootRest { opacity: 0; translate: 0 -100%; }
.ProductCard:hover .FootPeek, .Tabbing .ProductCard:has(:focus-visible) .FootPeek { opacity: 1; translate: 0 0; }
.ProductCard:hover .ProductFoot { overflow: visible; } /* let the tooltip rise above the row */
.ProductCard:hover .FootRest { visibility: hidden; transition: visibility 0s 0.3s, opacity 0.3s var(--EaseOut), translate 0.45s var(--EaseOut); }
@media (hover: none) {
    .ProductFoot { height: auto; overflow: visible; gap: 0.5rem; }
    .FootRest, .FootPeek { grid-area: auto; opacity: 1; translate: none; }
}
.ProductVersion { font-size: var(--SizeSmall); line-height: 1.4; color: var(--InkSubtle); font-variant-numeric: tabular-nums; }
.ProductOs { display: flex; gap: 0.45rem; color: var(--InkSubtle); transition: color 0.3s var(--EaseOut); }
.ProductOs svg { width: 1rem; height: 1rem; }

.ProductHit { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* the panel (its bite mask makes it its own layer) sits over the link but lets clicks through, except on the spec row */
.ProductPanel { z-index: 2; pointer-events: none; }
.Tabbing .ProductHit:focus-visible { outline: none; }

/* hover: the block lifts off its slab, a bite comes out of its corner, the logo hops */
.ProductCard:hover, .Tabbing .ProductCard:has(:focus-visible) { translate: 0 -0.3rem; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), inset 0 0 0 1px rgb(120 170 255 / 0.18), 0 0.675rem 0 #03060d; outline: none; }
.Tabbing .ProductCard:has(.ProductHit:focus-visible) { box-shadow: inset 0 0 0 2px var(--AccentBright), 0 0.675rem 0 #03060d; }
.ProductCard:hover .ProductPanel, .Tabbing .ProductCard:has(:focus-visible) .ProductPanel { --Bite: 1.5rem; }
.ProductCard:hover .ProductLogo, .Tabbing .ProductCard:has(:focus-visible) .ProductLogo { translate: -0.35rem 0.15rem; rotate: -8deg; } /* ducks away from the bite */
.ProductCard:active { translate: 0 0; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 0 0 1px rgb(120 170 255 / 0.18), 0 0.125rem 0 #03060d; transition-duration: 0.1s; } /* pressed down onto its slab */

/* list view: the panel becomes one row, the price sits at its end */
.Products[data-view="list"] { grid-template-columns: minmax(0, 1fr); gap: 0.625rem; }
.Products[data-view="list"] .ProductCard { grid-template-columns: minmax(0, 1fr) 15.5rem; grid-template-rows: auto; align-items: center; }
.Products[data-view="list"] .ProductTop { order: 2; justify-content: end; padding: 0 0.75rem; }
.Products[data-view="list"] .ProductPanel { grid-template-columns: auto minmax(0, 1fr) 17rem; grid-template-areas: "logo kind foot" "logo name foot"; grid-template-rows: auto auto; align-items: center; column-gap: 1.25rem; padding: 0.875rem 1.25rem; }
.Products[data-view="list"] .ProductLogo { width: 2.25rem; height: 2.25rem; }
.Products[data-view="list"] .ProductFoot { margin: 0; align-self: center; }

/* cards rise in, one after another */
.Product { animation: CardIn 0.5s var(--EaseOut) calc(var(--I) * 45ms) both; }
@keyframes CardIn { from { opacity: 0; translate: 0 1rem; } }
.Still .Product { animation: none; }
.Still .ProductPanel { transition: none; }

/* product popup: the details on the left, the two licences filling the right */
.Buy { width: min(calc(100% - 2rem), 62rem); max-height: calc(100vh - 2rem); max-height: calc(100dvh - 2rem); padding: 0.625rem; border: 0; border-radius: 1.5rem; background: linear-gradient(180deg, #111d33, #0b1424); color: var(--InkStrong); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 0 0 1px rgb(120 170 255 / 0.08), 0 0.5rem 0 #03060d, 0 2rem 4rem -1rem rgb(0 0 0 / 0.7); overflow: hidden auto; overscroll-behavior: contain; touch-action: pan-y; } /* scrolls up and down only, never sideways, and never drags the page behind */
.Buy[open] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.45fr); gap: 0.625rem; animation: SuncIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.Buy::backdrop { background: rgb(4 8 18 / 0.5); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.BuyClose { position: absolute; top: 1.25rem; right: 1.25rem; z-index: 2; }
.BuyInfo { position: relative; }

.BuyInfo { display: grid; align-content: start; gap: 0.5rem; padding: 1.75rem 1.5rem; }
.BuyLogo { width: 3.5rem; height: 3.5rem; margin-bottom: 0.75rem; object-fit: contain; }
.BuyInfo .Kicker { color: #8fd0ff; }
.BuyInfo h2 { display: flex; align-items: center; gap: 0.6rem; font-size: 2.25rem; font-weight: var(--WeightBold); letter-spacing: -0.03em; line-height: 1; color: var(--InkWhite); }
.BuyInfo h2 .Dot { width: 0.6rem; height: 0.6rem; }
.BuyStatus { font-size: var(--SizeSmall); color: var(--InkSubtle); }
.BuyAbout { margin-top: 0.5rem; color: var(--InkMuted); line-height: 1.5; }
.BuySpecs { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.75rem; }
.BuySpecs .Spec { position: relative; }
.BuySpecs .SpecTip { left: 0; right: auto; width: 13rem; }
.BuyOs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.5rem; }
.BuyOs span { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.55rem; border-radius: 0.5rem; background: #142038; box-shadow: inset 0 -2px 0 #0a1324; font-size: 0.8125rem; color: var(--InkMuted); }
.BuyOs svg { width: 0.9rem; height: 0.9rem; }
.BuyTrust { display: grid; gap: 0.5rem; margin: 1.25rem 0 0; padding: 1rem 0 0; border-top: 1px solid rgb(120 170 255 / 0.08); list-style: none; font-size: var(--SizeSmall); color: var(--InkMuted); }
.BuyTrust li { display: flex; align-items: center; gap: 0.55rem; }
.BuyTrust svg { flex: none; width: 1rem; height: 1rem; color: var(--AccentBright); }
.BuyTrust b { color: var(--InkWhite); }

/* the licences: two equal blocks that fill the column top to bottom */
.BuyPlans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.625rem; }
.Plan[hidden] { display: none; }
.OnePlan .BuyPlans { grid-template-columns: minmax(0, 1fr); }
@media (width >= 56rem) { .Buy.OnePlan[open] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } } /* one plan (Lynx): side by side on desktop, stacked on phones */
.Plan { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.75rem 1.5rem 1.5rem; border-radius: 1.125rem; background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.05) 1.2px, transparent 1.6px) 0 0 / 1.1rem 1.1rem, #142038; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.Plan header { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; padding-right: 0; }
.Plan h3 { font-size: 1.25rem; white-space: nowrap; font-weight: var(--WeightBold); letter-spacing: -0.02em; color: var(--InkWhite); }
.PlanNote { font-size: var(--SizeSmall); color: var(--InkMuted); }
.PlanPrice { display: flex; align-items: baseline; gap: 0.3rem; margin: 0.5rem 0 0.25rem; }
.PlanIncludes { display: grid; gap: 0.45rem; margin: 0.75rem 0 1.5rem; padding: 1rem 0 0; border-top: 1px solid rgb(120 170 255 / 0.1); list-style: none; font-size: var(--SizeSmall); color: var(--InkStrong); }
.PlanIncludes li { display: flex; align-items: center; gap: 0.5rem; }
.PlanIncludes svg { flex: none; width: 0.875rem; height: 0.875rem; color: var(--AccentBright); }
.Popular .PlanIncludes { border-color: rgb(255 255 255 / 0.18); color: #fff; }
.Popular .PlanIncludes svg { color: #fff; }
.PlanPrice b { font-size: 3rem; font-weight: var(--WeightHeavy); letter-spacing: -0.04em; line-height: 1; color: var(--InkWhite); font-variant-numeric: tabular-nums; }
.PlanPrice span { color: var(--InkMuted); }
.PlanBuy { display: grid; gap: 0.5rem; margin-top: auto; } /* buttons sit on the bottom edge */
.PlanBuy .Button { width: 100%; gap: 0.55rem; }
.PlanBuy .PayMark { flex: none; width: 1.125rem; height: 1.125rem; }
.BuyAlt .PayMark { color: var(--AccentBright); }
.BuyMain { --ButtonInk: #fff; --ButtonSurface: var(--AccentBlue); --ButtonBorder: transparent; --ButtonShadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 3px 0 #0a5fd6; }
.BuyMain:hover { --ButtonSurface: #1aa3ff; }
.BuyAlt { --ButtonInk: var(--InkStrong); --ButtonSurface: #1b2840; --ButtonBorder: transparent; --ButtonShadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 3px 0 #070d19; }
.BuyAlt:hover { --ButtonSurface: #22324f; }
.Plan.Popular { position: relative; background: radial-gradient(60% 70% at 85% 0%, rgb(120 210 255 / 0.45), transparent 70%), linear-gradient(150deg, #0a5fd6, #062a6e); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 0.375rem 0 #03194a; }
.Popular .PlanNote, .Popular .PlanPrice span { color: rgb(242 249 255 / 0.8); }
.PlanBadge { flex: none; padding: 0.25rem 0.5rem; border-radius: 0.5rem; background: #fff; box-shadow: inset 0 -2px 0 #cfe0f5; color: var(--AccentDeep); font-size: 0.8125rem; font-weight: var(--WeightBold); }

@media (width < 56rem) {
    .Buy[open] { grid-template-columns: minmax(0, 1fr); }
    .BuyInfo { padding: 1.25rem 1rem 0.5rem; }
}
@media (width < 34rem) {
    .BuyPlans { grid-template-columns: minmax(0, 1fr); }
    .PlanPrice b { font-size: 2.5rem; }
}

/* sUNC results popup: a Bloxify block. Lit top edge and slab, a studded panel for the result,
   one block per tested function, blocky corners throughout */
.Sunc { width: min(calc(100% - 2rem), 40rem); max-height: min(85vh, 46rem); padding: 0; border: 0; border-radius: 1.25rem; background: linear-gradient(180deg, #111d33, #0b1424); color: var(--InkStrong); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07), inset 0 0 0 1px rgb(120 170 255 / 0.08), 0 0.5rem 0 #03060d, 0 2rem 4rem -1rem rgb(0 0 0 / 0.7); overflow: hidden; }
.Sunc[open] { display: grid; grid-template-rows: auto auto auto 1fr auto; animation: SuncIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.Sunc::backdrop { background: rgb(4 8 18 / 0.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes SuncIn { from { opacity: 0; translate: 0 1rem; scale: 0.97; } }
.SuncHead { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem 0.75rem; }
.SuncBrand { height: 1.1rem; width: auto; }
.SuncClose { display: grid; place-items: center; width: 2.125rem; height: 2.125rem; border: 0; border-radius: 0.6rem; background: #1b2840; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 3px 0 #03060d; color: var(--InkMuted); cursor: pointer; transition: translate 0.15s var(--EaseOut), box-shadow 0.15s var(--EaseOut), color 0.2s; }
.SuncClose svg { width: 0.9rem; height: 0.9rem; }
.SuncClose:hover { color: #fff; }
.SuncClose:active { translate: 0 2px; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 1px 0 #03060d; }

.SuncHero { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo who score" "blocks blocks blocks"; align-items: center; gap: 1rem 0.875rem; margin: 0 1.25rem; padding: 1.125rem 1.25rem; border-radius: var(--Block); background: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 0.05) 1.2px, transparent 1.6px) 0 0 / 1.1rem 1.1rem, #142038; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06); }
.SuncLogo { grid-area: logo; width: 2.75rem; height: 2.75rem; object-fit: contain; }
.SuncWho { grid-area: who; display: grid; gap: 0.15rem; min-width: 0; }
.SuncWho .Kicker { color: #8fd0ff; }
.SuncWho h2 { font-size: 1.5rem; font-weight: var(--WeightBold); letter-spacing: -0.02em; line-height: 1.1; color: var(--InkWhite); }
.SuncScore { grid-area: score; font-size: 2.5rem; font-weight: var(--WeightHeavy); letter-spacing: -0.03em; line-height: 1; color: var(--InkWhite); font-variant-numeric: tabular-nums; }
.SuncBlocks { grid-area: blocks; display: grid; grid-template-columns: repeat(auto-fill, minmax(0.5rem, 1fr)); gap: 3px; }
.SuncBlocks:empty { display: none; }
.SuncBlocks i { aspect-ratio: 1; border-radius: 2px; background: var(--AccentBright); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25); }
.SuncBlocks i.Off { background: #ff7a6b; }

.SuncMeta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; margin: 0; padding: 0.875rem 1.25rem 0; font-size: 0.8125rem; color: var(--InkSubtle); }
.SuncMeta b { color: var(--InkStrong); font-weight: var(--WeightBold); }
.SuncBody { display: grid; grid-template-rows: auto 1fr; min-height: 0; padding: 1rem 1.25rem 0; }
.SuncBody[hidden] { display: none; }
.SuncTools { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.SuncSearch { flex: 1; min-width: 10rem; }
.SuncSearch input { width: 100%; height: 2.625rem; padding: 0 0.9rem; border: 0; border-radius: 0.8rem; background: #0e1626; box-shadow: inset 0 0 0 1px rgb(120 170 255 / 0.08); color: var(--InkStrong); font: inherit; font-size: var(--SizeSmall); outline: 0; }
.SuncSearch input:focus { box-shadow: inset 0 0 0 1px rgb(160 190 230 / 0.28); background: #111b2e; }
.SuncList { overflow-y: auto; margin: 0.75rem -1.25rem 0; padding: 0 1.25rem 1rem; list-style: none; mask-image: linear-gradient(#000 calc(100% - 1.5rem), transparent); }
.SuncGroup { margin-top: 0.875rem; }
.SuncGroup h3 { display: flex; align-items: baseline; gap: 0.4rem; margin-bottom: 0.45rem; font-size: var(--SizeCaption); font-weight: var(--WeightBold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--InkSubtle); }
.SuncGroup h3 span { letter-spacing: 0; color: #3e4c63; }
.SuncGroup ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr)); gap: 0.375rem; margin: 0; padding: 0; list-style: none; }
.SuncTest { display: flex; align-items: center; gap: 0.5rem; min-width: 0; padding: 0.45rem 0.6rem; border-radius: 0.5rem; background: #142038; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04), 0 2px 0 #070d19; }
.SuncTest i { flex: none; width: 0.45rem; height: 0.45rem; border-radius: 2px; background: var(--AccentBright); }
.SuncTest.Fail { background: rgb(255 122 107 / 0.12); }
.SuncTest.Fail i { background: #ff7a6b; }
.SuncTest code { overflow: hidden; font-family: var(--FontMono); font-size: 0.75rem; color: var(--InkStrong); white-space: nowrap; text-overflow: ellipsis; }
.SuncNone { padding: 1.5rem 0; text-align: center; color: var(--InkSubtle); }
.SuncCredit { margin: 0; padding: 0.75rem 1.25rem 1rem; border-top: 1px solid rgb(120 170 255 / 0.08); font-size: 0.75rem; color: var(--InkSubtle); }
.SuncCredit a { color: var(--InkMuted); text-decoration: underline; text-underline-offset: 2px; }

/* empty shelf: the construction mascot */
.ShopEmpty { display: grid; justify-items: center; gap: 0.4rem; padding: var(--SpaceHuge) 0; text-align: center; }
.ShopEmpty[hidden] { display: none; }
.ShopEmpty img { width: 11rem; height: auto; margin-bottom: 0.5rem; }
.ShopEmpty h2 { font-size: 1.75rem; font-weight: var(--WeightHeavy); letter-spacing: -0.02em; color: var(--InkWhite); }
.ShopEmpty p { color: var(--InkMuted); }

@media (width < 48rem) {
    .ShopTop { padding-top: 5.5rem; }
    .ShopBanner .ClosingArt { display: none; } /* the search is the point on a phone */
    .ShopBar { gap: 0.5rem; }
    .Sort { margin-left: 0; }
    .Products { grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
    .Products[data-view="list"] .ProductCard { grid-template-columns: minmax(0, 1fr); }
    .Products[data-view="list"] .ProductTop { order: 0; }
    .Products[data-view="list"] .ProductPanel { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "logo kind" "logo name" "foot foot"; grid-template-rows: auto auto auto; }
    .Products[data-view="list"] .ProductFoot { margin-top: 1rem; }
}

.PlanWas { color: var(--InkMuted); font-size: 1.125rem; font-weight: var(--WeightMedium); text-decoration-thickness: 2px; text-decoration-color: rgb(239 122 122 / 0.85); }
.PlanPrice { flex-wrap: wrap; }
.PlanWas { flex-basis: 100%; margin-bottom: -0.15rem; } /* the price before the Discord discount sits just above the new one */
.PlanWas:empty { display: none; }
.Popular .PlanWas { color: rgb(242 249 255 / 0.75); }
.BuyLinked { display: flex; align-items: center; gap: 0.55rem; margin-top: 0.75rem; padding: 0.55rem 0.7rem; border-radius: var(--Block); background: rgb(88 101 242 / 0.14); box-shadow: inset 0 0 0 1px rgb(88 101 242 / 0.35); font-size: var(--SizeCaption); color: var(--InkStrong); }
.BuyLinked[hidden] { display: none; }
.BuyLinked img { width: 1.5rem; height: 1.5rem; border-radius: 0.4rem; background: #5865f2; }
.BuyLinked img:not([src]), .BuyLinked img[src=""] { display: none; }
.BuyLinked span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.BuyLinked b { color: var(--InkWhite); }
.BuyLinked button { padding: 0.2rem 0.4rem; border: 0; border-radius: 0.4rem; background: none; color: #a9b4ff; font: inherit; font-weight: var(--WeightBold); cursor: pointer; }
.BuyLinked button:hover { background: rgb(88 101 242 / 0.2); color: #fff; }
.LinkedMark { flex: none; width: 1.1rem; height: 1.1rem; color: #a9b4ff; }
.BuyLinked img[src^="https"] ~ span { margin-left: 0; }
.BuyLinked:has(img[src^="https"]) .LinkedMark { display: none; }

/* ── Discord link gate: the popup blurs behind one card offering the member price ── */
.Buy > :not(.LinkGate) { transition: filter 0.35s var(--EaseOut), opacity 0.35s var(--EaseOut); }
.Buy.Gated { overflow: hidden; }
.Buy.Gated > :not(.LinkGate) { filter: blur(16px); opacity: 0.3; pointer-events: none; user-select: none; }
.LinkGate { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; padding: 1rem; border-radius: inherit; background: rgb(6 11 22 / 0.5); animation: GateIn 0.3s var(--EaseOut); }
.LinkGate[hidden] { display: none; }
@keyframes GateIn { from { opacity: 0; } }
.LinkCard { display: grid; justify-items: center; gap: 0.5rem; width: min(100%, 25rem); text-align: center; animation: CardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
@keyframes CardIn { from { opacity: 0; transform: translateY(0.75rem) scale(0.98); } }
.LinkX { position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 0.6rem; background: none; color: var(--InkMuted); cursor: pointer; }
.LinkX:hover { background: rgb(255 255 255 / 0.06); color: #fff; }
.LinkX svg { width: 0.9rem; height: 0.9rem; }
.LinkMark { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 0.25rem; border-radius: var(--Block); background: #5865f2; color: #fff; box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 0.3rem 0 #3640b8; }
.LinkMark svg { width: 1.6rem; height: 1.6rem; }
.LinkCard h4 { font-size: 1.375rem; font-weight: var(--WeightBold); letter-spacing: -0.02em; color: var(--InkWhite); }
.LinkLead { max-width: 19rem; font-size: var(--SizeSmall); line-height: 1.5; color: var(--InkMuted); }
/* the deal: a line strikes through the old price, then the member price slides in */
.LinkDeal { display: flex; align-items: baseline; justify-content: center; gap: 0.75rem; margin: 0.5rem 0 0.75rem; }
.LinkDeal s { position: relative; color: var(--InkSubtle); font-size: 1.375rem; font-weight: var(--WeightMedium); text-decoration: none; font-variant-numeric: tabular-nums; }
.LinkDeal s::after { content: ""; position: absolute; left: -0.15rem; right: -0.15rem; top: 52%; height: 2px; border-radius: 1px; background: var(--DangerRed); transform: scaleX(0); transform-origin: left; animation: Strike 0.35s 0.3s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.LinkDeal strong { color: var(--InkWhite); font-size: 2.75rem; font-weight: var(--WeightHeavy); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; opacity: 0; animation: NewPrice 0.45s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
@keyframes Strike { to { transform: scaleX(1); } }
@keyframes NewPrice { from { opacity: 0; transform: translateY(0.5rem); } to { opacity: 1; transform: none; } }
.Still .LinkDeal s::after, .Still .LinkDeal strong { animation: none; transform: none; opacity: 1; }
.LinkRow { display: flex; gap: 0.5rem; width: min(100%, 21rem); }
.LinkField { position: relative; flex: 1; display: flex; align-items: center; gap: 0.15rem; min-width: 0; height: 2.625rem; padding: 0 0.8rem; overflow: hidden; border-radius: var(--Block); background: rgb(255 255 255 / 0.06); color: var(--InkSubtle); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); cursor: text; text-align: left; transition: box-shadow 0.2s var(--EaseOut), background-color 0.2s var(--EaseOut); }
.LinkField:focus-within { background: rgb(255 255 255 / 0.09); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.28); color: var(--InkMuted); }
.LinkField span { font-size: var(--SizeSmall); font-weight: var(--WeightBold); line-height: 1; }
.LinkField input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--InkWhite); font: inherit; font-size: var(--SizeSmall); }
.LinkField input::placeholder { color: var(--InkSubtle); }
.LinkField.Bad { box-shadow: inset 0 0 0 1px var(--DangerRed); }
.LinkField.Good { box-shadow: inset 0 0 0 1px var(--SuccessGreen); }
.LinkRow .Button { flex: none; height: 2.625rem; padding: 0 1.1rem; font-size: var(--SizeSmall); }
.LinkRow .Button:disabled { cursor: progress; }
/* checking: the word hides (so the button keeps its size) and a ring spins in its place */
.LinkRow .Button.Busy { position: relative; color: transparent; opacity: 1; }
.LinkRow .Button.Busy::after { content: ""; position: absolute; inset: 0; width: 1.1rem; height: 1.1rem; margin: auto; border: 2px solid rgb(11 18 32 / 0.2); border-top-color: var(--InkInverse); border-radius: 50%; animation: Spin 0.7s linear infinite; }
@keyframes Spin { to { transform: rotate(1turn); } }
.LinkMsg { width: 100%; min-height: 1.25rem; font-size: var(--SizeCaption); line-height: 1.45; color: var(--InkMuted); }
.LinkMsg:empty { min-height: 0; }
.LinkMsg.Bad { color: #ffb0b0; }
.LinkMsg.Good { display: flex; align-items: center; justify-content: center; gap: 0.45rem; color: #b8f0d2; }
.LinkMsg img { width: 1.25rem; height: 1.25rem; border-radius: 0.35rem; }
.LinkMsg a { color: #fff; font-weight: var(--WeightBold); text-decoration: underline; text-underline-offset: 2px; }
.LinkSkip { margin-top: 0.25rem; padding: 0.35rem 0.6rem; border: 0; border-radius: 0.5rem; background: none; color: var(--InkSubtle); font: inherit; font-size: var(--SizeCaption); cursor: pointer; }
.LinkSkip:hover { background: rgb(255 255 255 / 0.04); color: var(--InkStrong); }
.Still .LinkGate, .Still .LinkCard { animation: none; }
@media (max-width: 30rem) { .LinkRow { flex-direction: column; } .LinkField { flex: none; } }

/* after a match: the offer gives way to their Discord profile and "Is This You?" */
.LinkGate.Confirming .LinkCard { display: none; }
.LinkGate .LinkX { z-index: 1; }
.LinkWho { display: grid; justify-items: center; gap: 0.35rem; width: min(100%, 21rem); text-align: center; }
.LinkWho[hidden] { display: none; }
.LinkPfp { display: grid; place-items: center; width: 5.5rem; height: 5.5rem; margin-bottom: 0.6rem; overflow: hidden; border-radius: 1.25rem; background: #5865f2; color: #fff; font-size: 2.25rem; font-weight: var(--WeightBold); box-shadow: 0 0 0 4px rgb(255 255 255 / 0.08), 0 0.4rem 0 #03060d; animation: PfpIn 0.55s cubic-bezier(0.22, 1, 0.36, 1); }
.LinkPfp img { width: 100%; height: 100%; object-fit: cover; }
@keyframes PfpIn { from { opacity: 0; transform: perspective(40rem) rotateY(-90deg) scale(0.7); } }
.LinkName { color: var(--InkWhite); font-size: 1.5rem; font-weight: var(--WeightBold); letter-spacing: -0.02em; line-height: 1.15; overflow-wrap: anywhere; }
.LinkUser { color: var(--InkMuted); font-size: var(--SizeSmall); }
.LinkSince { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.4rem; padding: 0.3rem 0.65rem; border-radius: 0.6rem; background: rgb(255 255 255 / 0.05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: var(--InkStrong); font-size: var(--SizeCaption); }
.LinkSince[hidden] { display: none; }
.LinkSince svg { width: 0.8rem; height: 0.8rem; color: var(--SuccessGreen); }
.LinkWho h4 { margin: 1.1rem 0 0.4rem; color: var(--InkWhite); font-size: 1.125rem; font-weight: var(--WeightBold); }
.LinkWho > :not(.LinkPfp) { animation: WhoIn 0.4s 0.15s cubic-bezier(0.22, 1, 0.36, 1) backwards; }
@keyframes WhoIn { from { opacity: 0; transform: translateY(0.4rem); } }
.LinkWho .LinkRow .Button { flex: 1; }
.Still .LinkPfp, .Still .LinkWho > * { animation: none; }
@media (max-width: 30rem) { .LinkWho .LinkRow { flex-direction: row; } }
.LinkOnce { align-self: center; padding: 0.25rem 0.5rem; border-radius: 0.5rem; background: rgb(88 101 242 / 0.18); box-shadow: inset 0 0 0 1px rgb(88 101 242 / 0.45); color: #c3cbff; font-size: var(--SizeMicro); font-weight: var(--WeightBold); letter-spacing: 0.02em; opacity: 0; animation: NewPrice 0.45s 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.Still .LinkOnce { animation: none; opacity: 1; }

/* ── email step: the last stop before Komerza's checkout ── */
.LinkGate.Mailing .LinkCard { display: none; }
.LinkMail { display: grid; justify-items: center; gap: 0.5rem; width: min(100%, 25rem); text-align: center; animation: CardIn 0.4s cubic-bezier(0.22, 1, 0.36, 1); }
.LinkMail[hidden] { display: none; }
.LinkMail h4 { font-size: 1.375rem; font-weight: var(--WeightBold); letter-spacing: -0.02em; color: var(--InkWhite); }
.MailMark { background: var(--AccentBlue); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.3), 0 0.3rem 0 var(--AccentDeep); }
.MailTotal { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0.5rem; margin: 0.35rem 0 0.6rem; color: var(--InkMuted); font-size: var(--SizeSmall); font-variant-numeric: tabular-nums; }
.MailTotal b { color: var(--InkWhite); font-size: 1.5rem; font-weight: var(--WeightHeavy); letter-spacing: -0.03em; }
.MailTotal s { color: var(--InkSubtle); text-decoration-color: rgb(239 122 122 / 0.85); text-decoration-thickness: 2px; }
.MailTotal s:empty { display: none; }
.MailSafe { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.15rem; color: var(--InkSubtle); font-size: var(--SizeCaption); }
.MailSafe svg { width: 0.8rem; height: 0.8rem; }
.Still .LinkMail { animation: none; }
/* Chrome paints its own box behind autofilled text: hold it off so the field keeps its look */
.LinkField input:-webkit-autofill, .LinkField input:-webkit-autofill:hover, .LinkField input:-webkit-autofill:focus { -webkit-text-fill-color: var(--InkWhite); caret-color: var(--InkWhite); transition: background-color 600000s 0s, color 600000s 0s; }
.LinkField input:autofill { background: transparent; }
.LinkField input:-webkit-autofill { -webkit-background-clip: text; background-clip: text; box-shadow: none; } /* newer Chrome: keep its fill to the text, so no box shows */

/* ── making the order: the email step clears to a ring that spins, then closes into a check ── */
.LinkGate.Sending .LinkMail { display: none; }
.LinkGate.Sending .LinkX { visibility: hidden; }
.LinkSend { display: grid; place-items: center; animation: CardIn 0.35s cubic-bezier(0.22, 1, 0.36, 1); }
.LinkSend[hidden] { display: none; }
.SendRing { width: 5.5rem; height: 5.5rem; overflow: visible; }
.SendRing circle { fill: none; stroke-width: 5; }
.SendRing .Track { stroke: rgb(255 255 255 / 0.08); }
.SendRing .Arc { stroke: var(--AccentBlue); stroke-linecap: round; stroke-dasharray: 60 214; transform-origin: 40px 40px; animation: Spin 0.9s linear infinite; transition: stroke-dasharray 0.45s cubic-bezier(0.65, 0, 0.35, 1); }
.SendRing .Disc { fill: var(--AccentBlue); stroke: none; transform-origin: 40px 40px; transform: scale(0); }
.SendRing .Tick { fill: none; stroke: #fff; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
/* done: the arc runs the whole way round, the ring fills, the check draws itself */
.LinkSend.Done .Arc { stroke-dasharray: 214 214; animation-play-state: paused; }
.LinkSend.Done .Disc { animation: DiscIn 0.4s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; }
.LinkSend.Done .Tick { animation: TickIn 0.3s 0.6s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.LinkSend.Done .SendRing { animation: RingPop 0.35s 0.4s ease-out; }
@keyframes DiscIn { to { transform: scale(1); } }
@keyframes TickIn { to { stroke-dashoffset: 0; } }
@keyframes RingPop { 50% { transform: scale(1.08); } }
.Still .LinkSend, .Still .SendRing .Arc { animation: none; }
.Still .LinkSend.Done .Disc { animation: none; transform: none; }
.Still .LinkSend.Done .Tick { animation: none; stroke-dashoffset: 0; }

/* the FAQ opens smoothly here too (the home page gets this from motion-bloxify.css) */
:root { interpolate-size: allow-keywords; }
.FaqList details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--DurationSlow) var(--EaseOut), content-visibility var(--DurationSlow) allow-discrete; }
.FaqList details[open]::details-content { block-size: auto; }
.ShopMain .Section#Questions { padding-top: var(--SpaceHuge); }

/* on a phone the plans stack: the popular month plan comes first */
@media (width < 48rem) { .Buy:not(.OnePlan) .Plan.Popular { order: -1; } }

/* rank tags: #3 Trending and New, next to #1 Best Seller and #2 Popular */
.ProductTag.Trend { background: rgb(52 211 153 / 0.14); box-shadow: inset 0 -2px 0 rgb(52 211 153 / 0.25); color: #6ee7b7; }
.ProductTag.Fresh { background: rgb(0 153 255 / 0.16); box-shadow: inset 0 -2px 0 rgb(0 153 255 / 0.3); color: #7cc4ff; }
/* a product we list but don't sell yet: no checkout, a pointer to Discord */
.PlanSoon { display: none; }
.NoCheckout .PlanBuy { display: none; }
.NoCheckout .PlanSoon { display: inline-flex; width: 100%; margin-top: auto; }

/* the free key: a slim row under the paid plans, the whole row is the link */
.PlanFree { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem 0.9rem 1.1rem; border-radius: 1.125rem; background: #142038; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); color: var(--InkWhite); text-decoration: none; transition: background-color 0.2s var(--EaseOut), translate 0.2s var(--EaseOut); }
.PlanFree[hidden] { display: none; }
.PlanFree:hover { background: #18284a; translate: 0 -1px; }
.PlanFreeIcon { display: grid; place-items: center; flex: none; color: #6ee7b7; }
.PlanFreeIcon svg { width: 1.5rem; height: 1.5rem; }
.PlanFreeText { display: grid; flex: 1; min-width: 0; }
.PlanFreeText b { font-size: 1rem; font-weight: var(--WeightBold); }
.PlanFreeText span { color: var(--InkMuted); font-size: var(--SizeSmall); }
.PlanFreeGo { display: inline-flex; align-items: center; gap: 0.4rem; flex: none; height: 2.5rem; padding: 0 1rem; border-radius: 0.75rem; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.14); font-size: var(--SizeSmall); font-weight: var(--WeightBold); }
.PlanFree:hover .PlanFreeGo { background: rgb(255 255 255 / 0.14); }
.PlanFreeGo svg { width: 0.85rem; height: 0.85rem; }

/* Phones zoom the page in when a text box under 16px gets focus (iOS Safari), and don't zoom back out.
   On touch screens every field is 16px, so ordering never jumps; pinch-to-zoom still works as usual. */
@media (pointer: coarse) {
    .LinkField input, .SuncSearch input, .ShopSearch input, .Sort select { font-size: 1rem; }
}
