/* ==========================================================================
   TrainerStock — custom assets & motion
   Route map, hero scene, delivery illustrations, meetup calculator,
   holo foil cards, twinkles, fly-to-cart, bursts, reveals.
   ========================================================================== */

/* ---------- Page entrance + scroll reveal ---------- */
#main.route-in > * { animation: route-in .38s var(--ease) both; }
@keyframes route-in { from { opacity: 0; transform: translateY(8px); } }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease) var(--d, 0ms), transform .55s var(--ease) var(--d, 0ms); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* Hero headline: lines rise in */
.hero h1 { animation: h1-in .7s var(--ease) both; }
.hero h1 span { animation: h1-in .7s .12s var(--ease) both; }
.hero-copy p, .hero-ctas, .hero-facts { animation: h1-in .7s .22s var(--ease) both; }
@keyframes h1-in { from { opacity: 0; transform: translateY(22px); } }

/* ---------- Route map (custom dotted world map) ---------- */
.rmap { display: block; width: 100%; height: auto; overflow: visible; }
.rm-land { fill: none; stroke: rgba(160, 196, 240, .62); stroke-width: 2.6; stroke-linecap: round; }
.rm-pings circle { fill: #6DB8FF; transform-box: fill-box; transform-origin: center; animation: rm-ping 3.4s ease-out infinite; }
@keyframes rm-ping { 0% { transform: scale(.6); opacity: .9; } 70% { transform: scale(2.6); opacity: 0; } 100% { opacity: 0; } }
.rm-arc-bg { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: 1.6; stroke-dasharray: 2 6; stroke-linecap: round; }
.rm-arc { fill: none; stroke: #4FB0FF; stroke-width: 3; stroke-linecap: round; filter: drop-shadow(0 0 4px rgba(79, 176, 255, .8)); }
.rm-pin-base { fill: var(--blue); stroke: #fff; stroke-width: 2; }
.rm-pin-you { fill: #fff; stroke: var(--navy); stroke-width: 1.5; }
.rm-pin-dot { fill: var(--blue); }
.rm-dest { transition: transform .35s var(--ease); }
.rm-dest-ring { fill: none; stroke: #fff; stroke-width: 2; opacity: 0; transform-box: fill-box; transform-origin: center; }
.rm-dest.is-hit .rm-dest-ring { animation: rm-ring .9s ease-out; }
@keyframes rm-ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.rm-dest.is-hit > .rm-pin-you { animation: rm-drop .45s var(--ease); }
@keyframes rm-drop { 0% { transform: translateY(-8px); } 60% { transform: translateY(2px); } }
.rm-label rect { fill: #fff; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .25)); }
.rm-label text { font-family: var(--display); font-weight: 700; font-size: 14px; fill: var(--ink); }
.rm-trav-bg { fill: #fff; stroke: var(--blue); stroke-width: 2.5; }
.rm-traveler { transition: opacity .3s; }
.rm-star path { fill: #FFD166; }
.rm-star { opacity: 0; }
.rm-burst.go .rm-star { animation: rm-star .85s ease-out both; }
@keyframes rm-star { 0% { transform: rotate(var(--a)) translateY(0) scale(.2); opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-34px) scale(1.1); opacity: 0; } }
.rmap.is-pickable { cursor: crosshair; }

/* ---------- Hero scene ---------- */
.scene {
  position: relative; border-radius: 16px; overflow: hidden; padding: 44px 14px 108px;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px,
    radial-gradient(ellipse 80% 70% at 50% 40%, #213866 0%, var(--navy) 70%);
  box-shadow: 0 30px 60px -30px rgba(17, 26, 43, .55);
}
.scene-legend { position: absolute; top: 14px; left: 16px; display: flex; gap: 16px; font-family: var(--display); font-weight: 600; font-size: 14px; color: #A8BCDC; }
.scene-legend span { display: inline-flex; align-items: center; gap: 6px; }
.scene-legend i { width: 10px; height: 10px; border-radius: 50%; }
.lg-base { background: var(--blue); box-shadow: 0 0 0 3px rgba(26, 140, 255, .3); }
.lg-you { background: #fff; }
.scene-card {
  position: absolute; left: 14px; right: 14px; bottom: 14px;
  display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 10px 14px 10px 10px; background: #fff; border-radius: 12px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
  opacity: 0; transform: translateY(10px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.scene-card.is-in { opacity: 1; transform: none; }
.sc-mon { width: 64px; height: 64px; border-radius: 9px; background: var(--slot); display: grid; place-items: center; }
.sc-mon img { width: 56px; height: 56px; object-fit: contain; }
.sc-name { display: block; font-family: var(--display); font-weight: 800; font-size: 21px; line-height: 1; text-transform: uppercase; }
.sc-name:hover { color: var(--blue-ink); }
.sc-to { display: inline-flex; align-items: center; gap: 4px; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.sc-opts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.sc-opts span { font-size: 13.5px; color: var(--ink-2); background: var(--slot); padding: 2px 7px; border-radius: 5px; }
.sc-opts b { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--ink); }
.scene-card .price { font-size: 30px; }
.sc-done {
  position: absolute; top: -12px; right: 14px; display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: 6px; background: var(--green); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .03em; text-transform: uppercase;
  transform: scale(0); transition: transform .35s cubic-bezier(.3, 1.6, .5, 1);
}
.scene-card.is-arrived .sc-done { transform: scale(1); }
@media (max-width: 559px) {
  .scene { padding: 40px 8px 10px; }
  .scene-card { position: relative; left: auto; right: auto; bottom: auto; margin-top: 10px; grid-template-columns: 56px minmax(0, 1fr); }
  .scene-card .price { grid-column: 2; font-size: 24px; }
  .sc-mon { width: 56px; height: 56px; }
  .sc-mon img { width: 48px; height: 48px; }
}

/* ---------- Delivery option cards ---------- */
.dopts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 860px) { .dopts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.dopt { position: relative; display: flex; flex-direction: column; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-med) var(--ease); }
.dopt:hover { transform: translateY(-2px); box-shadow: var(--sh-2); }
.dopt.is-selected { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-ring); }
.dopt-radio { position: absolute; top: 12px; right: 12px; z-index: 2; }
.dopt-radio input { width: 22px; height: 22px; accent-color: var(--blue); cursor: pointer; }
[data-delivery-choice] .dopt { cursor: pointer; }
.dopt-art {
  height: 210px; display: grid; place-items: center; padding: 18px;
  background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px, radial-gradient(ellipse at 50% 40%, #213866, var(--navy) 75%);
}
.dopt-art .rmap { max-height: 180px; width: auto; max-width: 100%; }
.dopt-body { padding: 18px; }
.dopt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-right: 26px; }
.dopt-head h3 { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; }
.dopt-price { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--blue-ink); white-space: nowrap; }
.dopt-price.is-free { color: var(--green-ink); }
.dopt-time { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 6px; }
.dopt-time svg { margin-top: 2px; }
.dopt-how { margin-top: 12px; counter-reset: dh; }
.dopt-how li { counter-increment: dh; position: relative; padding-left: 30px; margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }
.dopt-how li::before { content: counter(dh); position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 6px; display: grid; place-items: center; background: var(--navy); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; }
.dopt-dust { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: var(--gold-tint); color: var(--gold-ink); font-size: 13.5px; font-weight: 600; }
.dopt-dust svg { margin-top: 2px; flex: none; }
.dopt-best { margin-top: 10px; font-size: 14.5px; font-weight: 600; }
.dopt.is-compact .dopt-body { padding: 14px 16px; }
.dopt.is-compact .dopt-head h3 { font-size: 21px; }
.dopt.is-compact .dopt-dust { margin-top: 10px; padding: 8px 10px; font-size: 13.5px; }

/* ---------- Friendship meter illustration ---------- */
@property --day { syntax: '<integer>'; initial-value: 1; inherits: false; }
.fmeter { width: 100%; max-width: 440px; color: #fff; }
.fm-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; gap: 12px; align-items: end; }
.fm-av { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; }
.fm-us { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); }
.fm-you { background: #fff; color: var(--navy); font-family: var(--display); font-weight: 800; font-size: 17px; }
.fm-track { position: relative; padding-bottom: 20px; }
.fm-levels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #7F95B8; margin-bottom: 7px; }
.fm-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.fm-bar i { position: relative; height: 10px; border-radius: 3px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.fm-bar i::after { content: ""; position: absolute; inset: 0; background: #4FB0FF; transform: scaleX(0); transform-origin: left; }
.fm-bar i:nth-child(4)::after { background: #FFD166; }
.fm-bar i:nth-child(1)::after { animation: fm1 9s linear infinite; }
.fm-bar i:nth-child(2)::after { animation: fm2 9s linear infinite; }
.fm-bar i:nth-child(3)::after { animation: fm3 9s linear infinite; }
.fm-bar i:nth-child(4)::after { animation: fm4 9s linear infinite; }
@keyframes fm1 { 0% { transform: scaleX(0); } 8%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fm2 { 0%, 8% { transform: scaleX(0); } 24%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fm3 { 0%, 24% { transform: scaleX(0); } 44%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes fm4 { 0%, 44% { transform: scaleX(0); } 74%, 94% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
.fm-gift { position: absolute; bottom: -2px; left: 0; width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; background: #FFD166; color: var(--navy); animation: fm-gift 1.5s ease-in-out infinite; }
@keyframes fm-gift { 0% { left: 0; opacity: 0; transform: translateY(0); } 15% { opacity: 1; } 50% { transform: translateY(-5px); } 85% { opacity: 1; } 100% { left: calc(100% - 22px); opacity: 0; transform: translateY(0); } }
.fm-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 18px; }
.fm-day { font-family: var(--display); font-weight: 800; font-size: 22px; animation: fm-days 9s linear infinite; counter-reset: day var(--day); }
.fm-day::before { content: "Day " counter(day); }
@keyframes fm-days { 0% { --day: 1; } 74%, 100% { --day: 90; } }
.fm-done { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 6px; background: var(--green); font-family: var(--display); font-weight: 700; font-size: 14px; animation: fm-done 9s ease infinite; }
@keyframes fm-done { 0%, 74% { opacity: 0; transform: scale(.7); } 78%, 94% { opacity: 1; transform: scale(1); } 100% { opacity: 0; } }

/* ---------- Meetup calculator ---------- */
.mcalc { display: grid; grid-template-columns: minmax(0, 1fr); background: #fff; border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden; }
@media (min-width: 980px) { .mcalc { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); } }
.mcalc-map { position: relative; padding: 30px 14px 34px; display: grid; place-items: center; background: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px, linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 32px 32px, radial-gradient(ellipse at 50% 40%, #213866, var(--navy) 75%); }
.mcalc-hint { position: absolute; left: 16px; bottom: 10px; display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-weight: 600; font-size: 14px; color: #A8BCDC; }
.mcalc-side { padding: 20px; }
.mcalc-side h3 { font-family: var(--display); font-weight: 800; font-size: 27px; line-height: 1; }
.mcalc-side > p { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.mcalc-form { display: flex; gap: 8px; margin-top: 14px; }
.mcalc-form .search-sm { flex: 1; }
.mcalc-geo { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; }
.mcalc-sugg { margin-top: 6px; }
.mcalc-sugg li { font-size: 13.5px; padding: 4px 0; }
.mcalc-sugg button { display: flex; align-items: center; gap: 6px; width: 100%; text-align: left; padding: 8px; border-radius: 6px; }
.mcalc-sugg button:hover { background: var(--blue-tint); }
.mcalc-result { margin-top: 14px; }
.mcalc-price { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--navy); color: #fff; animation: pop .4s var(--ease); }
.mcalc-price span { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcalc-price b { font-family: var(--display); font-weight: 800; font-size: 32px; }
.mcalc-meta { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.mcalc-empty { display: flex; align-items: center; gap: 8px; padding: 14px; border: 1.5px dashed var(--line-2); border-radius: 10px; color: var(--muted); }
.mcalc-tiers { margin-top: 16px; }
.mcalc-tiers li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline; padding: 8px 8px; border-top: 1px dashed var(--line); border-radius: 6px; transition: background var(--t-med); }
.mcalc-tiers span { font-family: var(--display); font-weight: 700; font-size: 16px; }
.mcalc-tiers small { font-size: 13.5px; color: var(--muted); }
.mcalc-tiers b { font-family: var(--display); font-weight: 800; font-size: 18px; }
.mcalc-tiers li.is-on { background: var(--blue-tint); border-top-color: transparent; }
.mcalc-tiers li.is-on b { color: var(--blue-ink); }
.mcalc-base { font-size: 13.5px; color: var(--muted); margin-top: 10px; }

/* ---------- Holo foil + tilt on shiny / legendary cards ---------- */
.slot.is-tilt { transform: perspective(800px) rotateX(var(--ry, 0)) rotateY(var(--rx, 0)) translateY(-4px); transition: transform 90ms linear, box-shadow var(--t-med), border-color var(--t-med); }
.slot.is-shiny .slot-media::after, .slot.is-legendary .slot-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s; z-index: 1;
  mix-blend-mode: soft-light;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .8), transparent 42%),
    linear-gradient(115deg, transparent 20%, rgba(255, 214, 102, .7) 38%, rgba(120, 205, 255, .7) 50%, rgba(255, 150, 220, .6) 62%, transparent 80%);
  background-size: 100% 100%, 240% 240%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%);
}
.slot.is-legendary:not(.is-shiny) .slot-media::after {
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 30%), rgba(255, 255, 255, .75), transparent 42%),
    linear-gradient(115deg, transparent 25%, rgba(255, 205, 90, .75) 45%, rgba(255, 240, 190, .6) 55%, transparent 75%);
  background-size: 100% 100%, 240% 240%;
  background-position: 0 0, var(--mx, 50%) var(--my, 50%);
}
.slot.is-tilt .slot-media::after { opacity: 1; }

/* Twinkles on shiny slots */
.twinkle { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.twinkle i { position: absolute; width: 10px; height: 10px; background: #FFD166; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: twinkle 2.8s ease-in-out infinite; opacity: 0; }
.twinkle i:nth-child(1) { top: 22%; left: 18%; }
.twinkle i:nth-child(2) { top: 16%; right: 20%; width: 7px; height: 7px; animation-delay: .9s; }
.twinkle i:nth-child(3) { bottom: 30%; right: 14%; width: 12px; height: 12px; animation-delay: 1.7s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } 60% { opacity: 0; } }

/* ---------- Fly to cart, bump, bursts ---------- */
.fly-img { position: fixed; z-index: 300; object-fit: contain; pointer-events: none; filter: drop-shadow(0 8px 14px rgba(17, 26, 43, .35)); }
.bump { animation: bump .45s cubic-bezier(.3, 1.8, .5, 1); }
@keyframes bump { 40% { transform: scale(1.25); } }
.pburst { position: fixed; z-index: 300; width: 0; height: 0; pointer-events: none; }
.pburst i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; animation: pb .75s ease-out both; }
.pburst-heart i { background: var(--red); border-radius: 50% 50% 0 50%; }
.pburst-heart i:nth-child(odd) { background: #FF8FB0; }
.pburst-spark i { background: #FFD166; clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); width: 10px; height: 10px; }
@keyframes pb { from { transform: rotate(var(--a)) translateY(0) scale(1); opacity: 1; } to { transform: rotate(var(--a)) translateY(calc(var(--dist) * -1)) scale(.3); opacity: 0; } }

/* ---------- Delivery on the Trade Board page / checkout ---------- */
.meet-extra { display: grid; gap: 14px; margin-top: 4px; }
.meet-when { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 640px) { .meet-when { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.co-step .mcalc { border-color: var(--line); }
.co-step .mcalc-side h3 { font-size: 22px; }
.co-step .mcalc { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1200px) { .co-step .mcalc { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } }

/* ==========================================================================
   Brand: Stocky the mascot, lockup, pattern
   ========================================================================== */
.mascot { display: block; overflow: visible; }
.m-bob { animation: m-bob 2.6s ease-in-out infinite; }
@keyframes m-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.m-shadow { transform-box: fill-box; transform-origin: center; animation: m-shadow 2.6s ease-in-out infinite; }
@keyframes m-shadow { 50% { transform: scaleX(.88); opacity: .7; } }
.m-eyes { transform-box: fill-box; transform-origin: center; animation: m-blink 4.2s infinite; }
@keyframes m-blink { 0%, 94%, 100% { transform: scaleY(1); } 96% { transform: scaleY(.1); } }
.m-pin { transform-box: fill-box; transform-origin: 50% 100%; animation: m-pin 2.6s ease-in-out infinite; }
@keyframes m-pin { 0%, 100% { transform: rotate(-7deg); } 50% { transform: rotate(7deg); } }
.mascot-wave .m-arm-r { transform-box: fill-box; transform-origin: 0% 100%; animation: m-wave 1.1s ease-in-out infinite; }
@keyframes m-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-22deg); } }
.mascot-happy .m-bob { animation: m-hop 1.2s cubic-bezier(.3, 0, .3, 1) infinite; }
@keyframes m-hop { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-8px); } }
.mascot-sleep .m-bob { animation-duration: 4s; }
.m-z text { animation: m-z 3s ease-in-out infinite; opacity: 0; }
.m-z text:nth-child(2) { animation-delay: 1s; }
@keyframes m-z { 0% { opacity: 0; transform: translateY(4px); } 30% { opacity: .8; } 100% { opacity: 0; transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .m-bob, .m-shadow, .m-eyes, .m-pin, .m-arm-r, .m-z text { animation: none !important; } .m-z text { opacity: .8; } }

/* Lockup: mark + wordmark + tagline */
.lockup { display: inline-flex; align-items: center; gap: 10px; }
.lockup > span { display: flex; flex-direction: column; line-height: 1; }
.lockup-tag { font-family: var(--display); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; color: var(--muted); margin-top: 3px; }
@media (max-width: 899px) { .site-header .lockup-tag { display: none; } }
.site-footer .lockup-tag { color: #A8BCDC; font-size: 14px; }

/* Hero badge + Stocky beside the map */
.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 6px; margin-bottom: 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 16px; }
.hero-badge .brand-mark { width: 22px; height: 22px; }
.hero-visual { position: relative; }
.hero-mascot { position: absolute; right: 26px; top: -104px; z-index: 3; display: flex; align-items: flex-end; flex-direction: row-reverse; gap: 6px; pointer-events: none; }
.hero-bubble { margin-bottom: 64px; padding: 8px 12px; border-radius: 12px 12px 2px 12px; background: #fff; border: 2px solid var(--navy); font-family: var(--display); font-weight: 700; font-size: 16px; white-space: nowrap; box-shadow: var(--sh-2); animation: bubble 5s ease-in-out infinite; }
@keyframes bubble { 0%, 8% { opacity: 0; transform: translateY(6px) scale(.9); } 14%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 999px) { .hero-mascot { right: 16px; top: -82px; } .hero-mascot .mascot { width: 84px; height: auto; } .hero-bubble { margin-bottom: 46px; font-size: 14px; } .hero-visual { margin-top: 70px; } }
@media (max-width: 559px) { .hero-mascot { top: -76px; right: 8px; } .hero-mascot .mascot { width: 76px; } .hero-bubble { margin-bottom: 40px; font-size: 13.5px; } .hero-visual { margin-top: 70px; } }

/* Closing + confirmation */
.close-mascot { display: flex; justify-content: center; margin-bottom: 10px; }
.confirm-head { padding-right: 150px; }
.confirm-mascot { position: absolute; right: 18px; bottom: 6px; }
.confirm-sub { color: #C3CFE0; font-size: 16px; }
@media (max-width: 559px) { .confirm-head { padding-right: 22px; } .confirm-mascot { position: static; order: -1; } .confirm-mascot .mascot { width: 76px; height: auto; } .confirm-check { display: none; } }

/* Empty + 404 */
.empty-art { width: auto; height: auto; margin-bottom: 4px; }
.lost .mascot { margin-bottom: -6px; }

/* Footer sign-off */
.foot-sign { display: flex; align-items: center; gap: 12px; }
.foot-sign .brand-word { font-size: 28px; }

/* Brand pattern on dark bands */
.band-navy, .site-footer {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34c-1.6-3.2-6-5.2-6-9a6 6 0 1 1 12 0c0 3.8-4.4 5.8-6 9Z'/%3E%3Cpath d='M76 70v-6h6M92 64h6v6M98 80v6h-6M82 86h-6v-6'/%3E%3C/g%3E%3Ccircle cx='20' cy='25' r='1.8' fill='%23ffffff' fill-opacity='.08'/%3E%3Ccircle cx='87' cy='75' r='2.2' fill='%231A8CFF' fill-opacity='.25'/%3E%3C/svg%3E"),
    linear-gradient(180deg, var(--navy) 0%, #1A2E57 50%, var(--navy) 100%);
}
.site-footer { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34c-1.6-3.2-6-5.2-6-9a6 6 0 1 1 12 0c0 3.8-4.4 5.8-6 9Z'/%3E%3Cpath d='M76 70v-6h6M92 64h6v6M98 80v6h-6M82 86h-6v-6'/%3E%3C/g%3E%3C/svg%3E"); background-color: var(--navy); }

/* Account ID note */
.id-note { display: flex; gap: 10px; align-items: flex-start; max-width: 640px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--green-tint); border: 1px solid #BDE7D2; }
.id-note svg { color: var(--green-ink); flex: none; margin-top: 1px; }
.id-note p { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.id-note b { color: var(--ink); }
@media (min-width: 1000px) { .hero-visual { margin-top: 96px; } .home .hero { align-items: start; } }

/* Listing-number notice — prominent */
.acct-id { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
.acct-id-label { font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); align-self: center; padding: 4px 10px; border: 2px dashed var(--line-strong); border-radius: 8px; order: 2; }
.id-note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start;
  max-width: 760px; margin-top: 16px; padding: 18px 20px;
  border-radius: 14px; background: var(--green-tint); border: 2px solid var(--green);
  box-shadow: 0 6px 18px -10px rgba(10, 122, 71, .45);
  animation: id-note-in .6s var(--ease) .2s both;
}
@keyframes id-note-in { from { opacity: 0; transform: translateY(8px); } }
.id-note-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--green); color: #fff; }
.id-note-icon svg { color: #fff; margin: 0; }
.id-note h2 { font-family: var(--display); font-weight: 800; font-size: clamp(21px, 3vw, 26px); line-height: 1.05; color: var(--ink); }
.id-note p { font-size: 16.5px; color: var(--ink-2); margin-top: 6px; }
.id-note ul { margin-top: 10px; display: grid; gap: 6px; }
.id-note li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--ink-2); }
.id-note li svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; margin: 0; }
.id-note li svg.i-close { background: var(--red-tint); color: var(--red-ink); }
.id-note li svg.i-check { background: #fff; color: var(--green-ink); }
@media (max-width: 559px) {
  .id-note { grid-template-columns: minmax(0, 1fr); padding: 16px; }
  .id-note-icon { width: 46px; height: 46px; }
}

/* Landing page (informational) */
.sc-pin { background: var(--blue-tint); color: var(--blue-ink); }
.scene-card { grid-template-columns: 64px minmax(0, 1fr); }
@media (max-width: 559px) { .scene-card { grid-template-columns: 56px minmax(0, 1fr); } }
.calc-wrap { margin-top: 16px; }
.acct-band-info { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .acct-band-info { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); } }
.acct-mascot { display: flex; justify-content: center; }
@media (max-width: 899px) { .acct-mascot { display: none; } }
.acct-pitch li { align-items: flex-start; }
.acct-pitch li svg { margin-top: 3px; flex: none; }
.close-sub { font-size: 18px; color: var(--ink-2); margin-top: 10px; }
.close-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.home .hw-switch { margin-bottom: 4px; }
.acct-mascot .mascot { width: 220px; height: 220px; padding: 24px 30px 10px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #fff 0%, #E7F1FF 70%); box-shadow: 0 0 0 10px rgba(255,255,255,.06), 0 0 0 22px rgba(255,255,255,.03); }

/* ==========================================================================
   Full accounts section — annotated trainer file
   ========================================================================== */
.sec-kicker { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--violet-tint); color: var(--violet-ink); font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
#accounts .band-head { max-width: 720px; }
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 12px; }
@media (min-width: 960px) { .anatomy { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.anat-visual { position: relative; display: flex; justify-content: center; padding: 24px 18px 30px; border-radius: 24px; background: radial-gradient(ellipse at 50% 30%, #E9F2FF, var(--bg) 70%); }
.anat-mascot { position: absolute; left: -6px; bottom: -18px; }
@media (max-width: 559px) { .anat-mascot { display: none; } }

.mockfile { position: relative; width: 100%; max-width: 440px; margin-top: 16px; background: #fff; border: 1.5px solid var(--line-2); border-radius: 0 16px 16px 16px; box-shadow: 0 24px 50px -24px rgba(17, 26, 43, .4); transform: rotate(-1.2deg); transition: transform .4s var(--ease); }
.anat-visual:hover .mockfile { transform: rotate(0); }
.mf-tab { position: absolute; left: -1.5px; top: -22px; height: 23px; padding: 0 22px 0 12px; display: flex; align-items: center; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .08em; border-radius: 8px 8px 0 0; clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%); }
.mf-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 18px 12px; border-bottom: 1px solid var(--line); }
.mf-id { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; }
.mf-safe { display: inline-flex; align-items: center; gap: 4px; padding: 3px 7px; border-radius: 6px; background: var(--green-tint); color: var(--green-ink); font-size: 13px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.mf-level { font-size: 14px; color: var(--muted); margin-top: 5px; }
.mf-level b { color: var(--ink); }
.mf-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.mf-stat { padding: 12px 14px; border-right: 1px solid var(--line); }
.mf-stat:last-child { border-right: 0; }
.mf-stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.mf-stat span { display: block; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.mf-stat.is-gold b { color: var(--gold-ink); }
.mf-row { padding: 12px 18px 4px; }
.mf-label { display: block; font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mf-tiles { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.mf-tiles i { aspect-ratio: 1; border-radius: 6px; background: var(--slot); position: relative; overflow: hidden; }
.mf-tiles i::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; background: var(--slot-2); }
.mf-tiles i:nth-child(3n+1)::before { content: ""; position: absolute; top: 3px; left: 3px; width: 6px; height: 6px; background: var(--gold); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); z-index: 1; }
.mf-shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.mf-shots i { aspect-ratio: 9 / 13; border-radius: 6px; background: linear-gradient(var(--navy) 0 16%, var(--slot) 16%); border: 1px solid var(--line); }
.mf-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 16px 16px; }
.mf-price { font-family: var(--display); font-weight: 800; font-size: 28px; }
.mf-price small { font-size: 16px; vertical-align: .6em; }
.mf-btn { padding: 8px 14px; border-radius: 8px; background: var(--blue); color: #fff; font-family: var(--display); font-weight: 700; font-size: 15px; }
.mf-marker { position: absolute; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-family: var(--display); font-weight: 800; font-size: 17px; box-shadow: 0 0 0 4px #fff, 0 4px 10px rgba(91, 63, 208, .4); animation: marker 2.4s ease-in-out infinite; }
.mf-marker:nth-of-type(2) { animation-delay: .3s; } .mf-marker:nth-of-type(3) { animation-delay: .6s; } .mf-marker:nth-of-type(4) { animation-delay: .9s; }
@keyframes marker { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

.anat-list { display: grid; gap: 14px; counter-reset: none; }
.anat-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface-2); transition: border-color var(--t-fast), transform var(--t-med) var(--ease); }
.anat-list li:hover { border-color: var(--violet); transform: translateX(4px); }
.anat-n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); color: #fff; font-family: var(--display); font-weight: 800; font-size: 20px; }
.anat-list b { display: block; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.anat-list p { font-size: 15.5px; color: var(--ink-2); margin-top: 4px; }

.acct-facts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: 44px; }
@media (min-width: 760px) { .acct-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.af { padding: 22px; border-radius: 16px; background: var(--navy); color: #fff; }
.af svg { color: #6DB8FF; }
.af b { display: block; font-family: var(--display); font-weight: 800; font-size: 24px; margin-top: 12px; }
.af p { color: #C3CFE0; font-size: 15.5px; margin-top: 6px; }
.acct-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
@media (max-width: 559px) {
  .mf-id { font-size: 24px; }
  .mf-stat { padding: 10px 8px; }
  .mf-stat b { font-size: 20px; }
  .mf-stat span { font-size: 13px; }
  .mockfile { transform: none; }
  .acct-ctas .btn { width: 100%; }
}
.mf-head, .mf-stats, .mf-row { position: relative; }
.mf-marker { top: 50%; margin-top: -15px; }
.mf-marker.is-left { left: -16px; }
.mf-marker.is-right { right: -16px; }
.mf-stats .mf-marker { position: absolute; }
.mf-shots i { aspect-ratio: 4 / 3; background: linear-gradient(var(--navy) 0 22%, var(--slot) 22%); }

/* ==========================================================================
   Accounts showcase chapter (dark)
   ========================================================================== */
.chapter-wave { position: relative; height: 110px; line-height: 0; background: var(--bg); }
@media (min-width: 900px) { .chapter-wave { height: 150px; } }
.chapter-wave svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.cw-back { fill: var(--blue); opacity: .35; animation: cw-drift 7s ease-in-out infinite alternate; }
.cw-mid { fill: #2A63C9; opacity: .8; animation: cw-drift 9s ease-in-out infinite alternate-reverse; }
.cw-front { fill: var(--navy); }
@keyframes cw-drift { from { transform: translateX(-30px); } to { transform: translateX(30px); } }
.chapter-out { background: var(--bg); }
.chapter-out svg { transform: scaleY(-1); }
.chapter-out { margin-top: -1px; }
.chapter-in { margin-bottom: -1px; }
.cw-mascot { position: absolute; right: 8%; bottom: 30px; display: flex; align-items: flex-end; flex-direction: row-reverse; gap: 8px; z-index: 2; }
.cw-mascot .hero-bubble { margin-bottom: 70px; }
@media (max-width: 759px) { .cw-mascot { right: 12px; bottom: 26px; } .cw-mascot .mascot { width: 78px; height: auto; } .cw-mascot .hero-bubble { margin-bottom: 48px; font-size: 13.5px; } }

.chapter {
  position: relative; color: #fff; padding: 36px 0 64px; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 40% at 85% 10%, rgba(26, 140, 255, .28), transparent 70%),
    radial-gradient(ellipse 40% 35% at 5% 60%, rgba(122, 92, 240, .22), transparent 70%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 34c-1.6-3.2-6-5.2-6-9a6 6 0 1 1 12 0c0 3.8-4.4 5.8-6 9Z'/%3E%3Cpath d='M76 70v-6h6M92 64h6v6M98 80v6h-6M82 86h-6v-6'/%3E%3C/g%3E%3C/svg%3E"),
    var(--navy);
}
@media (min-width: 900px) { .chapter { padding: 40px 0 90px; } }
.chapter-head { max-width: 760px; }
.chapter-head .home-title { font-size: clamp(44px, 7vw, 76px); color: #fff; }
.chapter-head p { font-size: 19px; color: #C3CFE0; margin-top: 14px; max-width: 62ch; }
.sec-kicker.is-dark { background: rgba(122, 92, 240, .25); color: #CFC3FF; }

/* Fanned trading-card hand */
.showcase { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: center; margin-top: 36px; }
@media (min-width: 1100px) { .showcase { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 56px; } }
.fan { position: relative; height: 430px; }
.fan-card { position: absolute; top: 20px; left: 50%; width: 340px; margin-left: -170px; transition: transform .5s var(--ease), z-index 0s; color: var(--ink); }
.fan-card .file { margin-top: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); }
.fan-card { --tx: 0px; --rot: 0deg; --ty: 0px; transform: translateX(var(--tx)) translateY(var(--ty)) rotate(var(--rot)); }
.fan-1 { --tx: -190px; --rot: -9deg; --ty: 28px; z-index: 1; }
.fan-2 { z-index: 3; }
.fan-3 { --tx: 190px; --rot: 9deg; --ty: 28px; z-index: 2; }
.fan:hover .fan-1 { --tx: -250px; --rot: -12deg; --ty: 36px; }
.fan:hover .fan-3 { --tx: 250px; --rot: 12deg; --ty: 36px; }
.fan .fan-card:hover { --rot: 0deg; --ty: -16px; z-index: 5; }
@media (max-width: 1099px) {
  .fan { height: auto; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--gutter) 18px; margin: 0 calc(var(--gutter) * -1); scrollbar-width: none; }
  .fan::-webkit-scrollbar { display: none; }
  .fan-card, .fan .fan-card:hover, .fan:hover .fan-1, .fan:hover .fan-3 { position: relative; top: auto; left: auto; margin: 0 !important; transform: none !important; flex: none; width: min(320px, 82vw); scroll-snap-align: center; }
}
.show-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ss { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(4px); }
.ss b { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(38px, 5vw, 54px); line-height: 1; font-variant-numeric: tabular-nums; }
.ss span { display: block; margin-top: 6px; font-family: var(--display); font-weight: 600; font-size: 16px; color: #A8BCDC; }
.ss.is-gold b { color: #FFD166; }

@media (prefers-reduced-motion: reduce) { .cw-back, .cw-mid { animation: none; } }

/* Anatomy + facts restyled for the dark chapter */
.chapter-sub { margin-top: 56px; max-width: 640px; }
.chapter-sub h3 { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.5vw, 42px); line-height: 1; }
.chapter-sub p { color: #C3CFE0; font-size: 17px; margin-top: 8px; }
.chapter .anatomy { margin-top: 24px; }
.chapter .anat-visual { background: radial-gradient(ellipse at 50% 35%, rgba(26, 140, 255, .25), rgba(255, 255, 255, .03) 70%); border: 1px solid rgba(255, 255, 255, .1); }
.chapter .mockfile { color: var(--ink); }
.chapter .mf-tab { background: var(--blue); }
.chapter .anat-list li { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.chapter .anat-list li:hover { border-color: #A493FF; }
.chapter .anat-list p { color: #C3CFE0; }
.chapter .acct-facts .af { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.btn-glass { --btn-bg: rgba(255, 255, 255, .08); --btn-fg: #fff; --btn-bd: rgba(255, 255, 255, .25); }
.btn-glass:hover { --btn-bg: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .4); }

/* ==========================================================================
   Easy navigation
   ========================================================================== */
/* Back buttons above detail pages */
.crumbs-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding-top: 16px; }
.crumbs-row .crumbs { padding-top: 0; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px 0 10px; border-radius: 10px; background: #fff; border: 1.5px solid var(--line-2); font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); transition: border-color var(--t-fast), transform var(--t-fast); }
.back-btn:hover { border-color: var(--ink); transform: translateX(-2px); }
@media (max-width: 639px) { .crumbs-row .crumbs { display: none; } }

/* One-line instructions under shop titles */
.page-sub.howto { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 8px 12px; border-radius: 10px; background: var(--blue-tint); color: var(--ink-2); font-size: 15.5px; }
.page-sub.howto svg { color: var(--blue-ink); flex: none; }

/* Labelled mobile header buttons */
.hdr-mlab { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; min-width: 52px; height: 48px; border-radius: 10px; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .03em; }
.hdr-mlab:hover { background: var(--bg-2); }

/* Floating "Need help?" button (desktop) */
.help-fab { position: fixed; left: 20px; bottom: 20px; z-index: 54; display: none; align-items: center; gap: 8px; height: 46px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--display); font-weight: 700; font-size: 16.5px; box-shadow: var(--sh-3); transition: transform var(--t-fast), background var(--t-fast); }
.help-fab:hover { background: var(--navy-2); transform: translateY(-2px); }
.help-fab svg { color: #6DB8FF; }
@media (min-width: 900px) { .help-fab { display: inline-flex; } }

/* Help menu */
.help-menu { display: grid; gap: 8px; }
.help-hi { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--blue-tint); margin-bottom: 6px; }
.help-hi .mascot { width: 54px; height: auto; flex: none; }
.help-hi p { font-size: 15.5px; color: var(--ink-2); }
.help-menu .label { margin-top: 10px; }
.help-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: border-color var(--t-fast), transform var(--t-fast); }
.help-row:hover { border-color: var(--blue); transform: translateX(3px); }
.help-row-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--slot); color: var(--blue-ink); }
.help-row b { display: block; font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1.1; }
.help-row small { display: block; font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.help-row > svg { color: var(--faint); }

/* Checkout step tracker */
.co-tracker { position: sticky; top: calc(var(--header-h) + 8px); z-index: 20; margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .96); border: 1px solid var(--line-2); box-shadow: var(--sh-1); backdrop-filter: blur(6px); }
.co-tracker-now { display: block; font-family: var(--display); font-weight: 800; font-size: 18px; margin-bottom: 8px; }
.co-tracker ol { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.co-tracker ol::-webkit-scrollbar { display: none; }
.co-tracker li { flex: 1 0 auto; }
.co-tracker button { display: flex; align-items: center; gap: 8px; width: 100%; padding: 6px 10px 6px 6px; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.co-tracker button span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: #fff; font-size: 13px; }
.co-tracker li.is-on button { border-color: var(--blue); background: var(--blue-tint); color: var(--ink); }
.co-tracker li.is-on button span { background: var(--blue); }
.co-tracker li.is-done button { color: var(--green-ink); }
.co-tracker li.is-done button span { background: var(--green); }
@media (max-width: 639px) { .co-tracker button { font-size: 0; gap: 0; padding: 4px; justify-content: center; } .co-tracker button span { font-size: 13px; } .co-tracker { top: calc(var(--header-h) + 4px); } }
.help-fab { left: auto; right: 20px; }
@media (min-width: 900px) { .hdr-mlab[data-action="open-search"], .hdr-mlab[data-nav="tickets"] { display: none; } .toasts { bottom: 80px; } }
.hdr-mlab { position: relative; }
.hdr-mlab[aria-current="page"] { color: var(--blue-ink); }
.hdr-mlab .count-dot { top: 2px; right: 6px; }
/* New replies waiting (orders / tickets) */
.count-dot[data-count="orders"], .count-dot[data-count="tickets"] { background: var(--red); }
