/* Forage — self-serve buying tool.
   Generated from the standalone builder, then recoloured to the site tokens and
   scoped to #buy. The scope is load-bearing: this tool and the site share 22
   class names (btn, wrap, card, primary, ghost, note, tag and more), so without
   it styles.css and console.css collide with it. Do not unscope these rules. */

#buy{
  color-scheme:dark;
  --magenta:#F70404;
  --magenta-lift:#FF2A2A;
  --blue:#7A0202;
  --blue-lift:#A30303;

  --bg:#1A1A1A;
  --panel:#212121;
  --panel-2:#262626;
  --panel-3:#2E2E2E;

  --text:#FAFAFA;
  --text-dim:#A8A8A8;
  --text-dimmer:#8A8A8A;

  --line:rgba(250,250,250,.11);
  --line-bright:rgba(250,250,250,.22);

  --good:#4ADE80;
  --warn:#FBBF24;

  --display:'Poppins',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,monospace;

  --pad:clamp(24px,5vw,88px);
  --maxw:1360px;
}
#buy *{box-sizing:border-box;margin:0;padding:0}
#buy{-webkit-text-size-adjust:100%}

/* The stage router toggles the hidden attribute, and the rule below sets display
   on #buy — an id, which outranks the browser's own [hidden] rule. Without this
   the builder's fixed action bar floats over the stage gate. */
#buy[hidden],
#plan[hidden]{display:none}
#buy{
  background:var(--bg);color:var(--text);
  font-family:var(--body);font-size:16.5px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
  min-height:100vh;display:flex;flex-direction:column;
}
#buy a{color:inherit}
#buy button, #buy input, #buy select, #buy textarea{font:inherit;color:inherit}
#buy .topbar{
  border-bottom:1px solid var(--line);
  padding:14px var(--pad);
  display:flex;align-items:center;gap:14px;
  position:sticky;top:0;z-index:20;
  background:rgba(26,26,26,.92);backdrop-filter:blur(8px);
}
#buy .topbar .logo{width:30px;height:30px;border-radius:8px;display:block}
#buy .topbar .name{font-family:var(--display);font-weight:600;font-size:16px;letter-spacing:-.01em}
#buy .topbar .who{margin-left:auto;font-size:13px;color:var(--text-dimmer)}
#buy .wrap{width:100%;max-width:var(--maxw);margin:0 auto;padding:0 var(--pad);flex:1}
#buy .rail{display:flex;gap:4px;margin:clamp(22px,3.4vw,34px) 0 0;flex-wrap:wrap}
#buy .rail li{
  flex:1 1 120px;list-style:none;
  font-size:11.5px;letter-spacing:.02em;color:var(--text-dimmer);
  padding-top:9px;border-top:2px solid var(--line);
  transition:color .15s,border-color .15s;
}
#buy .rail li .n{font-family:var(--mono);font-size:10.5px;margin-right:6px;opacity:.75}
#buy .rail li.done{color:var(--text-dim);border-color:var(--line-bright)}
#buy .rail li.now{color:var(--text);border-color:var(--magenta);font-weight:500}
#buy .step{padding-block:clamp(26px,4vw,44px) 150px;display:none}
#buy .step.on{display:block;animation:rise .32s cubic-bezier(.2,.7,.3,1) both}
@keyframes rise{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){
#buy .step.on{animation:none}}
#buy .step h1{
  font-family:var(--display);font-weight:600;
  font-size:clamp(30px,4.4vw,46px);letter-spacing:-.025em;line-height:1.14;
}
#buy .step h1 em{font-style:normal;color:var(--magenta)}
#buy .step .lede{margin-top:13px;font-size:clamp(16px,1.9vw,18.5px);color:var(--text-dim);max-width:62ch}
#buy .sect{
  font-family:var(--display);font-weight:600;font-size:18px;letter-spacing:.01em;
  margin-top:clamp(30px,3.6vw,42px);
}
#buy .secthint{margin-top:6px;font-size:15px;line-height:1.55;color:var(--text-dimmer);max-width:64ch}
#buy .secthint b{color:var(--text-dim);font-weight:600}
#buy .choices{display:grid;gap:12px;margin-top:15px}
#buy .choices.types{grid-template-columns:repeat(2,1fr)}
@media(min-width:900px){
#buy .choices.types{grid-template-columns:repeat(4,1fr)}}
@media(max-width:520px){
#buy .choices.types{grid-template-columns:1fr}}
#buy .choices.two{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}
@media(min-width:700px){
#buy .choices.two{grid-template-columns:1fr 1fr}}
#buy .choice{
  position:relative;text-align:left;width:100%;
  background:var(--panel);border:1px solid var(--line);border-radius:14px;
  padding:22px 58px 20px 22px;cursor:pointer;
  transition:border-color .13s,background .13s,transform .13s;
}
#buy .choice:hover{border-color:var(--line-bright);background:var(--panel-2)}
#buy .choice:focus-visible{outline:2px solid var(--magenta);outline-offset:2px}
#buy .choice[aria-pressed="true"]{
  border-color:var(--magenta);background:linear-gradient(180deg,rgba(247,4,4,.11),rgba(247,4,4,.04));
}
#buy .choice[aria-pressed="true"]::after{
  content:"";position:absolute;right:20px;top:50%;margin-top:-9px;
  width:18px;height:18px;border-radius:50%;
  background:var(--magenta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
#buy .choice .ct{display:block;font-family:var(--display);font-weight:600;font-size:19px;letter-spacing:-.01em}
#buy .choice .cd{display:block;margin-top:6px;font-size:15px;line-height:1.5;color:var(--text-dim)}
#buy .choice .cmeta{
  margin-top:13px;display:flex;gap:7px;flex-wrap:wrap;
  font-family:var(--mono);font-size:11.5px;letter-spacing:.05em;text-transform:uppercase;
}
#buy .choice .tag{border:1px solid var(--line-bright);border-radius:99px;padding:3px 9px;color:var(--text-dim);white-space:nowrap}
#buy .choice .tag.fee{border-color:rgba(247,4,4,.5);color:var(--magenta-lift)}
#buy .choice .tag.free{border-color:rgba(74,222,128,.4);color:var(--good)}
#buy .choice.ico{padding:24px 22px 20px}
#buy .choice.ico .mark{
  width:44px;height:44px;color:var(--magenta);margin-bottom:11px;display:block;
}
#buy .choice.ico .mark svg{width:100%;height:100%}
#buy .choice.ico[aria-pressed="true"] .mark{color:var(--magenta-lift)}
#buy .choice.ico .ct{font-size:20px}
#buy .choice.ico .cd{font-size:14.5px;margin-top:6px}
#buy .choice.ico::after{top:21px;margin-top:0}
#buy .fields{display:grid;gap:16px;margin-top:clamp(24px,3vw,32px);max-width:640px;min-width:0}
#buy .fields.row2{grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))}
#buy .f{min-width:0}
#buy .f label{display:block;font-size:12.5px;font-weight:500;color:var(--text-dim);margin-bottom:6px}
#buy .f .hint{font-weight:400;color:var(--text-dimmer)}
#buy .f input, #buy .f select{
  width:100%;background:var(--panel);border:1px solid var(--line);border-radius:9px;
  padding:13px 14px;font-size:16.5px;transition:border-color .13s;
}
#buy .f input:focus, #buy .f select:focus{outline:none;border-color:var(--magenta)}
#buy .f input::placeholder{color:var(--text-dimmer)}
#buy .f .prefix{position:relative}
#buy .f .prefix span{position:absolute;left:13px;top:50%;transform:translateY(-50%);color:var(--text-dimmer)}
#buy .f .prefix input{padding-left:28px}
#buy .targets{display:block;margin-top:clamp(24px,3vw,32px)}
#buy .facet{border-top:1px solid var(--line);padding:clamp(22px,2.6vw,30px) 0}
#buy .facet:first-child{border-top:0;padding-top:4px}
#buy .fhead{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
#buy .fhead h3{font-family:var(--display);font-size:21px;font-weight:600;letter-spacing:-.01em;
  display:flex;align-items:baseline;gap:10px}
#buy .fnum{
  font-family:var(--mono);font-size:12px;font-weight:500;color:var(--text-dimmer);
  border:1px solid var(--line-bright);border-radius:50%;
  width:24px;height:24px;display:inline-grid;place-items:center;flex:none;
  transform:translateY(2px);
}
#buy .facet:not(.locked) .fnum{color:var(--magenta-lift);border-color:var(--magenta)}
#buy .fhint{font-size:14.5px;color:var(--text-dimmer)}
#buy .fcount{font-size:15px;color:var(--text-dim);margin-left:auto}
#buy .fcount b{color:var(--magenta-lift);font-weight:600}
#buy .facet .clear{
  flex:none;background:none;border:0;cursor:pointer;font-size:14.5px;
  color:var(--text-dim);text-decoration:underline;text-underline-offset:4px;padding:4px 0;
}
#buy .facet .clear:hover{color:var(--text)}
#buy .facet .find{
  display:block;width:min(100%,420px);margin-top:14px;
  background:var(--panel);border:1px solid var(--line-bright);border-radius:10px;
  padding:12px 14px;font-size:16px;
}
#buy .facet .find:focus{outline:none;border-color:var(--magenta)}
#buy .picks{
  margin-top:16px;display:grid;gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(262px,1fr));
}
#buy .picks[hidden]{display:none}
#buy .pick{
  display:flex;align-items:center;gap:12px;text-align:left;min-width:0;min-height:62px;
  background:var(--panel);border:1px solid var(--line);border-radius:11px;
  padding:14px 15px;cursor:pointer;transition:border-color .12s,background .12s;
}
#buy .pick:hover{border-color:var(--line-bright);background:var(--panel-2)}
#buy .pick:focus-visible{outline:2px solid var(--magenta);outline-offset:2px}
#buy .facet.locked{opacity:.5}
#buy .lockmsg{
  margin-top:14px;font-size:15.5px;color:var(--text-dimmer);
  border:1px dashed var(--line);border-radius:11px;padding:18px 18px;
}
#buy .pick.dead{opacity:.32;cursor:not-allowed}
#buy .pick.dead:hover{border-color:var(--line);background:var(--panel)}
#buy .plogo{
  flex:none;width:22px;height:22px;border-radius:5px;object-fit:contain;
  background:#fff;padding:2px;
  opacity:0;transition:opacity .15s;
}
#buy .plogo.on{opacity:1}
#buy .pick .dot, #buy .vrow .dot{
  flex:none;width:22px;height:22px;border-radius:50%;
  border:2px solid var(--line-bright);background:transparent;
  display:grid;place-items:center;transition:border-color .12s;
}
#buy .pick .dot::after, #buy .vrow .dot::after{
  content:"";width:11px;height:11px;border-radius:50%;
  background:var(--magenta);transform:scale(0);transition:transform .13s cubic-bezier(.3,1.4,.5,1);
}
#buy .pick[aria-pressed="true"]{border-color:var(--magenta);background:rgba(247,4,4,.09)}
#buy .pick[aria-pressed="true"] .dot{border-color:var(--magenta)}
#buy .pick[aria-pressed="true"] .dot::after{transform:scale(1)}
#buy .pick .pn{
  flex:1;min-width:0;font-size:16px;line-height:1.28;
  display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;
  overflow:hidden;overflow-wrap:anywhere;
}
#buy .pick[aria-pressed="true"] .pn{font-weight:600}
#buy .pick .pa, #buy .vrow .pa{flex:none;font-family:var(--mono);font-size:13px;color:var(--text-dim)}
#buy .pmore{color:var(--text-dimmer);font-weight:400}
#buy .more{
  margin-top:14px;background:none;border:0;cursor:pointer;padding:6px 0;
  font-size:15px;color:var(--magenta-lift);
  text-decoration:underline;text-underline-offset:4px;
}
#buy .more:hover{color:var(--text)}
#buy .geo-hint{margin-top:-4px}

@media(max-width:520px){
#buy .picks{grid-template-columns:1fr}
#buy .fhead h3{font-size:19px}
}
#buy .srows{
  margin-top:14px;display:grid;gap:7px;max-height:360px;overflow-y:auto;
  /* minmax(0,1fr), not 1fr: a grid item's default min-width:auto lets a long
     segment name push the row past the box on a phone. */
  grid-template-columns:minmax(0,1fr);
  border:1px solid var(--line);border-radius:12px;background:var(--panel);padding:6px;
}
#buy .srow{position:static !important;height:auto;padding:12px 12px;border-bottom:0;border-radius:9px}
#buy .srow:last-child{border-bottom:0}
#buy .searchnone{margin-top:14px}
#buy .facet .find{margin-top:14px}
#buy .picks.dsps{grid-template-columns:repeat(auto-fill,minmax(min(210px,100%),1fr))}
#buy .picks.dsps .pick{min-height:54px}
#buy .gfilter{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}
#buy .gfilter .dpp{font-size:13.5px;padding:7px 12px}
#buy .gfilter .dpp.on{border-color:var(--magenta);background:rgba(247,4,4,.14);color:var(--text)}
#buy .audrows{max-height:430px}
#buy .audrows .vgen{max-width:none}
#buy .bulkdrop{margin-top:16px;padding:clamp(22px,3vw,30px) 20px}
#buy .bulkdrop .tiny{margin-top:8px}
#buy .bulkdrop code{font-family:var(--mono);font-size:12.5px;background:var(--panel-3);
  border-radius:5px;padding:2px 6px}
#buy .pastebox{margin-top:14px}
#buy .pastebox summary{cursor:pointer;font-size:14.5px;color:var(--text-dim);
  text-decoration:underline;text-underline-offset:4px;width:fit-content}
#buy .pastebox summary:hover{color:var(--text)}
#buy .pastebox textarea{
  display:block;width:min(100%,520px);margin-top:12px;resize:vertical;
  background:var(--panel);border:1px solid var(--line-bright);border-radius:10px;
  padding:12px 14px;font-size:15px;font-family:var(--mono);
}
#buy .pastebox textarea:focus{outline:none;border-color:var(--magenta)}
#buy .btn.small{margin-top:10px;padding:9px 16px;font-size:14.5px}
#buy .bulkreport{margin-top:14px;font-size:14.5px;color:var(--text-dim)}
#buy .bulkreport b{color:var(--text);font-weight:600}
#buy .chosen[data-bulk] .clear{margin-left:auto}
#buy .chosen{
  margin-top:16px;padding-top:15px;border-top:1px solid var(--line);
  display:flex;flex-wrap:wrap;gap:7px;align-items:center;
}
#buy .chosenk{
  font-family:var(--mono);font-size:11px;letter-spacing:.07em;text-transform:uppercase;
  color:var(--text-dimmer);margin-right:5px;
}
#buy .chip{
  display:inline-flex;align-items:center;gap:7px;max-width:100%;
  background:var(--panel-3);border:1px solid var(--line-bright);border-radius:99px;
  padding:5px 7px 5px 13px;font-size:14px;
}
#buy .chip button{
  background:none;border:0;cursor:pointer;color:var(--text-dimmer);
  line-height:1;padding:3px 4px;border-radius:50%;font-size:15px;flex:none;
}
#buy .chip button:hover{color:var(--text);background:rgba(250,250,250,.08)}
#buy .facet.items .find{margin-top:16px}
#buy .vlist{
  margin-top:12px;height:420px;overflow-y:auto;overscroll-behavior:contain;
  border:1px solid var(--line);border-radius:12px;background:var(--panel);
}
#buy .vlist::-webkit-scrollbar{width:10px}
#buy .vlist::-webkit-scrollbar-thumb{background:var(--panel-3);border-radius:10px;border:3px solid var(--panel)}
#buy .vinner{position:relative;width:100%}
#buy .vempty{padding:22px}
#buy .vrow{
  position:absolute;left:0;right:0;height:46px;
  display:flex;align-items:center;gap:12px;padding:0 14px;
  background:none;border:0;border-bottom:1px solid var(--line);
  cursor:pointer;text-align:left;font-size:15.5px;
  transition:background .1s;
}
#buy .vrow:hover{background:var(--panel-2)}
#buy .vrow:focus-visible{outline:2px solid var(--magenta);outline-offset:-2px}
#buy .vrow.on{background:rgba(247,4,4,.1)}
#buy .vrow.on .rn{font-weight:600}
#buy .vrank{
  flex:none;width:44px;font-family:var(--mono);font-size:12px;
  color:var(--text-dimmer);text-align:right;
}
#buy .vrow .dot{width:20px;height:20px}
#buy .vrow .dot::after{width:10px;height:10px}
#buy .vrow.on .dot{border-color:var(--magenta)}
#buy .vrow.on .dot::after{transform:scale(1)}
#buy .vrow .rn{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#buy .vgen{
  flex:none;font-size:12.5px;color:var(--text-dimmer);
  border:1px solid var(--line);border-radius:99px;padding:3px 10px;
  max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
}
#buy .vrow.on .vgen{border-color:rgba(247,4,4,.4);color:var(--text-dim)}
@media(max-width:620px){
#buy .vgen{display:none}}
#buy .dpwrap{margin-top:18px}
#buy .dpbar{display:flex;align-items:flex-end;gap:18px;flex-wrap:wrap}
#buy .tzf{flex:none;min-width:190px}
#buy .dppresets{display:flex;gap:7px;flex-wrap:wrap;padding-bottom:3px}
#buy .dpp{
  background:var(--panel);border:1px solid var(--line-bright);border-radius:99px;
  padding:8px 14px;font-size:14px;cursor:pointer;transition:border-color .12s,background .12s;
}
#buy .dpp:hover{border-color:var(--magenta);background:var(--panel-2)}
#buy .dpgrid{margin-top:16px;max-width:760px}
#buy .dprow{display:flex;align-items:center;gap:10px;margin-bottom:3px}
#buy .dpday{
  flex:none;width:42px;text-align:right;
  font-family:var(--mono);font-size:12px;color:var(--text-dim);
  background:none;border:0;cursor:pointer;padding:3px 0;
}
#buy .dpday:hover{color:var(--magenta-lift)}
#buy .dphours{display:grid;grid-template-columns:repeat(24,1fr);gap:3px;flex:1;min-width:0}
#buy .dph{font-family:var(--mono);font-size:9.5px;color:var(--text-dimmer);text-align:left}
#buy .dphead{margin-bottom:5px}
#buy .dphead .dpday{cursor:default}
#buy .dpc{
  height:26px;border-radius:4px;cursor:pointer;
  border:1px solid var(--line);background:var(--panel);
  transition:background .09s,border-color .09s;
  touch-action:none;
}
#buy .dpc:hover{border-color:var(--magenta)}
#buy .dpc.on{background:rgba(247,4,4,.45);border-color:rgba(247,4,4,.62)}
#buy .dpc.on:hover{background:var(--magenta)}
#buy .dpc:focus-visible{outline:2px solid var(--magenta);outline-offset:1px}

/* On a phone 24 columns cannot fit, so the grid scrolls inside its own box
   rather than widening the page. */
@media(max-width:620px){
#buy .dpc{height:22px;border-radius:3px}
#buy .dphours{gap:2px}
#buy .dpgrid{overflow-x:auto;max-width:100%;padding-bottom:8px}
#buy .dprow{min-width:430px}
#buy .dpgrid::-webkit-scrollbar{height:8px}
#buy .dpgrid::-webkit-scrollbar-thumb{background:var(--panel-3);border-radius:8px}
}
#buy .drop{
  margin-top:26px;border:1.5px dashed var(--line-bright);border-radius:14px;
  padding:clamp(34px,5vw,54px) 24px;text-align:center;background:var(--panel);
  transition:border-color .13s,background .13s;max-width:620px;
}
#buy .drop.over{border-color:var(--magenta);background:var(--panel-2)}
#buy .dropmain{font-size:17px}
#buy .link{background:none;border:0;padding:0;cursor:pointer;color:var(--magenta-lift);
  text-decoration:underline;text-underline-offset:3px;font-size:inherit}
#buy .player{margin-top:26px;background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:18px 20px;max-width:620px}
#buy .phead{display:flex;align-items:baseline;gap:12px}
#buy .pname{font-weight:600;font-size:16px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#buy .player .clear{margin-left:auto;background:none;border:0;cursor:pointer;font-size:13.5px;
  color:var(--text-dimmer);text-decoration:underline;text-underline-offset:3px}
#buy .player .clear:hover{color:var(--text)}
#buy .player audio{width:100%;margin-top:14px;border-radius:8px}
#buy .player audio, #buy .card audio{filter:invert(.92)}
#buy .summary{
  position:fixed;left:0;right:0;z-index:15;
  /* clears the cookie notice, which is pinned to the same edge above it */
  bottom:var(--cookie-h,0px);transition:bottom .38s cubic-bezier(.2,.7,.2,1);
  border-top:1px solid var(--line);background:rgba(26,26,26,.95);backdrop-filter:blur(10px);
}
#buy .summary .in{
  max-width:var(--maxw);margin:0 auto;padding:13px var(--pad);
  display:flex;align-items:center;gap:clamp(14px,3vw,34px);flex-wrap:wrap;
}
#buy .summary .figs{display:flex;gap:clamp(14px,3vw,30px);flex-wrap:wrap}
#buy .summary .fig .k{font-family:var(--mono);font-size:10px;letter-spacing:.09em;text-transform:uppercase;color:var(--text-dimmer)}
#buy .summary .fig .v{font-family:var(--display);font-weight:600;font-size:17px;letter-spacing:-.015em;margin-top:1px}
#buy .summary .fig .v.accent{color:var(--magenta-lift)}
#buy .summary .acts{margin-left:auto;display:flex;gap:9px}
#buy .btn{
  border:1px solid var(--line-bright);background:transparent;border-radius:10px;
  padding:12px 20px;font-size:15.5px;font-weight:500;cursor:pointer;
  transition:border-color .13s,background .13s,opacity .13s;
}
#buy .btn:hover:not(:disabled){border-color:var(--text-dim)}
#buy .btn:focus-visible{outline:2px solid var(--magenta);outline-offset:2px}
#buy .btn.primary{
  border-color:transparent;color:#fff;font-weight:600;
  background:linear-gradient(100deg,var(--magenta),var(--blue));
}
#buy .btn.primary:hover:not(:disabled){background:linear-gradient(100deg,var(--magenta-lift),var(--blue-lift))}
#buy .btn:disabled{opacity:.4;cursor:not-allowed}
#buy .btn.ghost{color:var(--text-dim)}
#buy .dpsum{margin-top:15px;font-size:14.5px;color:var(--text);line-height:1.45}
#buy .dptz{font-family:var(--mono);font-size:12px;color:var(--text-dimmer);white-space:nowrap}
#buy .dpmini{margin-top:12px;display:grid;gap:3px}
#buy .dpmrow{display:grid;grid-template-columns:13px repeat(24,1fr);gap:2px;align-items:center}
#buy .dpmd{font-family:var(--mono);font-size:9.5px;color:var(--text-dimmer);text-align:right;padding-right:3px}
#buy .dpmc{height:9px;border-radius:2px;background:var(--panel-3)}
#buy .dpmc.on{background:rgba(247,4,4,.72)}
#buy .dpmfoot{margin-top:3px}
#buy .dpmt{grid-column:span 6;font-family:var(--mono);font-size:9.5px;color:var(--text-dimmer)}
#buy .review{display:grid;gap:14px;margin-top:clamp(24px,3vw,32px);grid-template-columns:repeat(auto-fit,minmax(290px,1fr));align-items:start}
#buy .card{background:var(--panel);border:1px solid var(--line);border-radius:12px;padding:19px 20px}
#buy .card h3{font-family:var(--display);font-size:14px;font-weight:600;letter-spacing:.01em}
#buy .card dl{margin-top:13px;display:grid;grid-template-columns:auto 1fr;gap:8px 16px;font-size:14px}
#buy .card dt{color:var(--text-dimmer)}
#buy .card dd{text-align:right}
#buy .price{border-color:var(--line-bright)}
#buy .price .lines{margin-top:13px;font-size:14.5px}
#buy .price .ln{display:flex;justify-content:space-between;gap:16px;padding:7px 0}
#buy .price .ln .lbl{color:var(--text-dim)}
#buy .price .ln.fee .lbl, #buy .price .ln.fee .amt{color:var(--magenta-lift)}
#buy .price .ln.total{
  border-top:1px solid var(--line-bright);margin-top:6px;padding-top:12px;
  font-family:var(--display);font-weight:600;font-size:17px;
}
#buy .price .note{margin-top:13px;font-size:12.5px;line-height:1.55;color:var(--text-dimmer)}
#buy .notice{
  margin-top:18px;border:1px solid var(--line);border-left:2px solid var(--magenta);
  border-radius:0 9px 9px 0;background:var(--panel);padding:13px 16px;
  font-size:13.5px;line-height:1.6;color:var(--text-dim);max-width:70ch;
}
#buy .notice b{color:var(--text);font-weight:600}
#buy .done{text-align:center;padding-block:clamp(50px,9vw,96px)}
#buy .done .tick{
  width:58px;height:58px;border-radius:50%;margin:0 auto 24px;
  background:linear-gradient(135deg,var(--magenta),var(--blue));
  display:grid;place-items:center;
}
#buy .done .tick svg{width:28px;height:28px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
#buy .done .ref{font-family:var(--mono);font-size:13px;color:var(--text-dim);margin-top:14px}

@media(max-width:560px){
#buy .summary .acts{margin-left:0;width:100%}
#buy .summary .acts .btn{flex:1}
#buy .rail li{flex-basis:calc(50% - 4px)}
}
#buy[data-mode="onepage"] .step{
  padding-block:clamp(26px,3.4vw,42px);
  border-top:1px solid var(--line);
  /* Set by fitSticky() from the real topbar and rail heights. */
  scroll-margin-top:var(--jump,120px);
}
#buy[data-mode="onepage"] #step-setup{border-top:0}
#buy[data-mode="onepage"] #step-done{border-top:0;padding-block:clamp(40px,8vw,90px) 60px}
#buy[data-mode="onepage"] .step.on{animation:none}
#buy[data-mode="onepage"] .step h1{font-size:clamp(23px,2.5vw,30px)}
#buy[data-mode="onepage"] .step .lede{font-size:clamp(15.5px,1.7vw,17px)}
#buy[data-mode="onepage"] .wrap{padding-bottom:150px}
#buy[data-mode="onepage"] .rail{
  /* `top` is set by fitSticky() to sit directly under the sticky topbar. */
  position:sticky;top:59px;z-index:12;margin:0;
  padding:12px 0;background:var(--bg);border-bottom:1px solid var(--line);
}
#buy[data-mode="onepage"] .rail li{cursor:pointer;transition:border-color .12s,color .12s}
#buy[data-mode="onepage"] .rail li:hover{border-color:var(--magenta);color:var(--text)}
#buy[data-mode="onepage"] .rail li.off{opacity:.4;pointer-events:none}
#buy[data-mode="onepage"] #btn-next.ghost{
  background:var(--panel-2);border:1px solid var(--line-bright);color:var(--text-dim);
}
#buy[data-mode="onepage"] #btn-next.ghost:hover{border-color:var(--magenta);color:var(--text)}

/* On a phone the rail wraps to four rows, and a sticky block that deep eats a
   quarter of the screen — and lands every jump underneath itself. One row that
   scrolls sideways instead, which also keeps the jump target honest. */
@media(max-width:560px){
#buy[data-mode="onepage"] .rail{
    flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;
    padding-inline:var(--gut, 0);margin-inline:0;
  }
#buy[data-mode="onepage"] .rail::-webkit-scrollbar{display:none}
#buy[data-mode="onepage"] .rail li{flex:none}
}
