/* GlideMix glass look (preview, branch glass-look). Our own code, loaded after
   style.css so the old look comes back by removing one line per page.
   Deep navy-to-plum background with slow colour glows, see-through glass
   panels, pill buttons, a light spark running around the main buttons, and
   soft glows on hover. All motion stops when reduced motion is asked for. */

:root {
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);
  --glass-line: rgba(255, 255, 255, .09);
  --glass-line-2: rgba(255, 255, 255, .16);
  --glass-hi: inset 0 1px 0 rgba(255, 255, 255, .07);
  --glow: rgba(155, 123, 255, .45);
  --pill: 999px;
  --bg: #0b0b14;
  --bg-2: rgba(255, 255, 255, .02);
  --card: var(--glass);
  --line: var(--glass-line);
  --line-2: var(--glass-line-2);
}

/* ---- Background: navy into plum, with two glows that drift slowly ---- */
body {
  background:
    radial-gradient(900px 600px at 0% 0%, rgba(40, 52, 120, .38), transparent 70%),
    radial-gradient(800px 600px at 100% 30%, rgba(110, 40, 100, .30), transparent 70%),
    radial-gradient(900px 700px at 30% 100%, rgba(60, 40, 120, .28), transparent 70%),
    linear-gradient(160deg, #0d1022 0%, #0b0b14 45%, #150c1c 100%);
  background-attachment: fixed;
  position: relative;
}
body::before, body::after {
  content: ""; position: fixed; z-index: -1; pointer-events: none; border-radius: 50%; filter: blur(90px);
}
body::before { width: 46vw; height: 46vw; left: -10vw; top: -12vw; background: radial-gradient(circle, rgba(155, 123, 255, .22), transparent 65%); }
body::after { width: 40vw; height: 40vw; right: -8vw; bottom: -10vw; background: radial-gradient(circle, rgba(255, 111, 178, .14), transparent 65%); }
@media (prefers-reduced-motion: no-preference) { body::before { animation: gdrift 28s ease-in-out infinite; }
body::after { animation: gdrift 34s ease-in-out -12s infinite reverse; } }
@keyframes gdrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(8vw, 6vh); } }

section, section.alt { background: transparent; border-top-color: var(--glass-line); }

/* ---- Header: clear glass ---- */
.nav { background: rgba(14, 14, 28, .45); backdrop-filter: blur(18px) saturate(140%); -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-bottom: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.nav nav a { color: #c9c9d6; transition: color .2s, text-shadow .2s; }
.nav nav a:hover, .nav nav a.active { color: #fff; text-shadow: 0 0 14px var(--glow); }
.nav nav a.btn, .nav nav a.btn:hover { color: #0b0b14; text-shadow: none; }

/* Strip under the header */
.announce { position: relative; z-index: 9; text-align: center; font-size: .86rem; padding: 9px 16px;
  border-bottom: 1px solid var(--glass-line); background: rgba(255, 255, 255, .025);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.announce a { color: #ececef; }
.announce a:hover { text-decoration: none; color: #fff; }
.announce .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3fe08a; margin-right: 8px; vertical-align: 1px;
  box-shadow: 0 0 10px #3fe08a; }
.announce .dot { animation: gpulse 2.4s ease-in-out infinite; }
@keyframes gpulse { 50% { box-shadow: 0 0 2px #3fe08a; opacity: .6; } }
.announce .soft { color: var(--muted); margin-left: 6px; }

/* ---- Buttons: pills ---- */
.btn { border-radius: var(--pill); font-weight: 600; transition: box-shadow .25s, transform .25s, background .25s, border-color .25s; }
.btn:not(.ghost) { background: #fff; border-color: #fff; color: #0b0b14; }
.btn:not(.ghost):hover { background: #fff; color: #0b0b14; transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(155, 123, 255, .9), 0 0 28px var(--glow); }
.btn.ghost { background: var(--glass); border-color: var(--glass-line-2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn.ghost:hover { border-color: rgba(155, 123, 255, .7); background: var(--glass-2); box-shadow: 0 0 22px rgba(155, 123, 255, .25); }

/* Spark: a light that runs around the edge of the main buttons */
@property --spark { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.btn.spark { position: relative; isolation: isolate; background: rgba(20, 18, 34, .85); border-color: transparent; color: #fff; }
.btn.spark::before { content: ""; position: absolute; inset: -1.5px; border-radius: inherit; z-index: -2;
  background: conic-gradient(from var(--spark), rgba(255, 255, 255, .14) 0 68%, #9b7bff 80%, #fff 87%, #ff7bd5 92%, rgba(255, 255, 255, .14) 100%); }
.btn.spark::after { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
  background: linear-gradient(180deg, #1d1a30, #141224); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); }
.btn.spark::before { animation: gspark 3.2s linear infinite; }
.btn.spark:hover { background: rgba(20, 18, 34, .85); color: #fff; box-shadow: 0 0 30px rgba(155, 123, 255, .35); }
.btn.spark:hover::before { animation-duration: 1.3s; }
.btn.spark:hover::before { filter: drop-shadow(0 0 6px #9b7bff); }
@keyframes gspark { to { --spark: 360deg; } }

/* ---- Glass panels ---- */
.card, details, .tip, .price, .toc, .msearch input, .mresults, .doc article svg.diagram, .stats, .ticker {
  background: var(--glass); border-color: var(--glass-line);
  backdrop-filter: blur(14px) saturate(130%); -webkit-backdrop-filter: blur(14px) saturate(130%); box-shadow: var(--glass-hi);
}
.card, details, .price { border-radius: 16px; }
.tip { border-left: 2px solid var(--accent); }
.stats { border-radius: 16px; overflow: hidden; border: 1px solid var(--glass-line); }
.stats > div { border-color: var(--glass-line); }
.stats > div:nth-child(3n) { border-right: 0; }
.ticker { border-left: 0; border-right: 0; background: rgba(255, 255, 255, .025); }
.ticker::before, .ticker::after { display: none; }
.ticker .run { -webkit-mask-image: none; }
.ticker { -webkit-mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 90px, #000 calc(100% - 90px), transparent); }
.mresults a:hover, .mresults a.on { background: var(--glass-2); }
code, .mono { background: rgba(255, 255, 255, .07); }

/* Hover: lift, light the border, a soft light follows the mouse */
.card, details, .price { position: relative; overflow: hidden; transition: border-color .25s, transform .25s, box-shadow .25s; }
.card::before, .price::before, details::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 123, 255, .16), transparent 65%); }
.card:hover, details:hover, .price:hover { border-color: rgba(155, 123, 255, .45); box-shadow: var(--glass-hi), 0 10px 40px -12px rgba(155, 123, 255, .35); }
.card:hover, .price:hover { transform: translateY(-2px); }
.card:hover::before, .price:hover::before, details:hover::before { opacity: 1; }
.card > *, .price > * { position: relative; }
.price.featured { border-color: rgba(155, 123, 255, .55); box-shadow: var(--glass-hi), 0 0 60px -20px rgba(155, 123, 255, .5); }
.tag { top: 0; right: 0; border-radius: 0 16px 0 12px; padding: 6px 14px; background: rgba(63, 224, 138, .12); color: #3fe08a;
  border-left: 1px solid rgba(63, 224, 138, .3); border-bottom: 1px solid rgba(63, 224, 138, .3); letter-spacing: .04em; }

/* Pictures: glass frame and a glow on hover */
.feature img, .doc article img, .shot { border-color: var(--glass-line-2); transition: box-shadow .35s, border-color .35s; }
.feature img:hover { border-color: rgba(155, 123, 255, .5); box-shadow: 0 20px 70px -25px rgba(155, 123, 255, .55); }

/* Tracklist rows glow on hover */
.tracklist li { transition: background .25s; border-color: var(--glass-line); }
.tracklist li:hover { background: linear-gradient(90deg, rgba(155, 123, 255, .08), transparent 70%); }

/* Footer: glass band */
footer { background: rgba(255, 255, 255, .02); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top-color: var(--glass-line); }
footer a { transition: color .2s, text-shadow .2s; }
footer a:hover { text-decoration: none; text-shadow: 0 0 12px var(--glow); }

/* ---- Floating pills in the hero (site.js adds them; not on phones) ---- */
.hero > .wrap { position: relative; z-index: 2; }
.floaters { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.floaters span { position: absolute; display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px; border-radius: var(--pill);
  font-family: var(--mono); font-size: .78rem; color: #d6d6e2; background: rgba(255, 255, 255, .05); border: 1px solid var(--glass-line-2);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--glass-hi); opacity: .75; }
.floaters span i { width: 8px; height: 8px; border-radius: 50%; background: var(--k); box-shadow: 0 0 10px var(--k); }
.motion .floaters span { animation: gfloat var(--d, 14s) ease-in-out var(--delay, 0s) infinite; }
@keyframes gfloat { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate(var(--dx, 10px), var(--dy, -16px)) rotate(calc(var(--r, 0deg) * -1)); } }
@media (max-width: 1320px) { .floaters { display: none; } }

@media (max-width: 860px) {
  .announce { font-size: .8rem; }
  .announce .soft { display: block; margin: 2px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .btn, .card, details, .price { transition: none; }
}
@media (prefers-reduced-motion: reduce) {
  .btn.spark::before, .announce .dot { animation: none !important; }
}
.card > .tag, .price > .tag { position: absolute; }

/* ===== v3: stronger hover, feature panels, flow, key wheel, footer, resources ===== */
.card::before, .price::before, details::before { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 123, 255, .24), transparent 65%); }

/* Feature blocks become glass panels when the mouse is over them */
.feature, .feature:first-child, .feature:last-child { position: relative; padding: 40px 32px; margin: 0 -32px 14px; border: 1px solid transparent; border-radius: 22px;
  transition: background .35s, border-color .35s, box-shadow .35s; }
.feature::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(155, 123, 255, .16), transparent 65%); }
.feature > * { position: relative; }
.feature:hover { background: var(--glass); border-color: rgba(155, 123, 255, .28); box-shadow: var(--glass-hi), 0 24px 70px -30px rgba(155, 123, 255, .45);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.feature:hover::before { opacity: 1; }
.feature:hover img { border-color: rgba(155, 123, 255, .5); box-shadow: 0 20px 70px -25px rgba(155, 123, 255, .55); }
.feature:hover .kicker b { text-shadow: 0 0 12px var(--glow); }
.stats > div { transition: background .3s; }
.stats > div:hover { background: radial-gradient(240px circle at 50% 0%, rgba(155, 123, 255, .14), transparent 70%); }
.changelog article { transition: background .3s; border-radius: 12px; }
.changelog article:hover { background: linear-gradient(90deg, rgba(155, 123, 255, .07), transparent 70%); }
@media (max-width: 860px) { .feature, .feature:first-child, .feature:last-child { padding: 24px 14px; margin: 0 -14px 10px; } }

/* App names strip (names in our type, not their logos) */
.appstrip { display: flex; flex-wrap: wrap; gap: 10px 30px; margin-top: 34px; align-items: baseline; }
.appstrip span { font-size: 1.15rem; font-weight: 650; letter-spacing: -.01em; color: rgba(236, 236, 239, .55); transition: color .25s, text-shadow .25s; }
.appstrip span:hover { color: #fff; text-shadow: 0 0 16px var(--glow); }
.appstrip-note { margin-top: 8px; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Flow: songs -> GlideMix -> a mix */
.flowsec { border-top: 0; }
.flow { display: grid; grid-template-columns: minmax(0, 1fr) 140px 88px 100px minmax(0, 1.15fr); align-items: center; height: 300px; }
.fsongs { display: flex; flex-direction: column; gap: 24px; }
.fsong { height: 84px; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line);
  box-shadow: var(--glass-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: border-color .25s, transform .25s; }
.fsong:hover { border-color: rgba(155, 123, 255, .45); transform: translateX(4px); }
.fsong .cover { width: 62px; height: 62px; flex: none; border-radius: 10px; background: linear-gradient(135deg, var(--a), var(--b)); display: flex; align-items: center; justify-content: center; gap: 3px; }
.fsong .cover i { width: 4px; border-radius: 2px; background: rgba(0, 0, 0, .45); height: 30%; }
.fsong .cover i:nth-child(2n) { height: 60%; } .fsong .cover i:nth-child(3n) { height: 80%; } .fsong .cover i:nth-child(4) { height: 95%; }
.motion .fsong .cover i { animation: geq 1.1s ease-in-out infinite alternate; }
.fsong .cover i:nth-child(2) { animation-delay: -.3s; } .fsong .cover i:nth-child(3) { animation-delay: -.7s; } .fsong .cover i:nth-child(5) { animation-delay: -.5s; } .fsong .cover i:nth-child(6) { animation-delay: -.9s; }
@keyframes geq { to { transform: scaleY(.45); } }
.fsong .meta { flex: 1; min-width: 0; }
.fsong .meta b { display: block; font-weight: 600; }
.fsong .meta span { font-size: .8rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.fsong .nums { display: flex; flex-direction: column; gap: 4px; align-items: flex-end; font-family: var(--mono); font-size: .78rem; color: var(--soft); padding-right: 4px; }
.fsong .key { color: #111; background: var(--k); border-radius: 5px; padding: 0 6px; font-weight: 700; }
.flines { width: 100%; height: 300px; overflow: visible; }
.flines path { fill: none; stroke: rgba(255, 255, 255, .16); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.flines circle { fill: #fff; filter: drop-shadow(0 0 4px #9b7bff); }
.fhub { width: 88px; height: 88px; border-radius: 22px; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #23203a, #14121f);
  border: 1px solid var(--glass-line-2); box-shadow: 0 0 0 6px rgba(155, 123, 255, .06), 0 0 50px rgba(155, 123, 255, .35); }
.motion .fhub { animation: ghub 2.6s ease-in-out infinite; }
@keyframes ghub { 50% { box-shadow: 0 0 0 10px rgba(155, 123, 255, .03), 0 0 70px rgba(155, 123, 255, .55); } }
.fhub img { width: 54px; height: 54px; border-radius: 12px; }
.fmix { padding: 18px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.fmhead { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.fmhead span { font-family: var(--mono); font-size: .75rem; color: var(--muted); }
.lanes { position: relative; height: 112px; }
.lane { position: absolute; left: var(--l); width: var(--w); height: 30px; border-radius: 8px; background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c) 55%, transparent) 18%, color-mix(in srgb, var(--c) 55%, transparent) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); }
.lane:nth-child(1) { top: 0; } .lane:nth-child(2) { top: 40px; } .lane:nth-child(3) { top: 80px; }
.lane em { position: absolute; left: 22%; top: 50%; transform: translateY(-50%); font-style: normal; font-family: var(--mono); font-size: .72rem; font-weight: 700; color: #fff; }
.motion .flowsec.in-view .lane { animation: glane .9s cubic-bezier(.2, .8, .2, 1) both; }
.motion .flowsec.in-view .lane:nth-child(2) { animation-delay: .35s; } .motion .flowsec.in-view .lane:nth-child(3) { animation-delay: .7s; }
@keyframes glane { from { opacity: 0; transform: translateX(-30px); } }
.playhead { position: absolute; top: -6px; bottom: -6px; width: 2px; background: #fff; box-shadow: 0 0 10px #fff; left: 0; }
.motion .playhead { animation: gplay 9s linear infinite; }
@keyframes gplay { to { left: 100%; } }
.tempo { width: 100%; height: 26px; margin-top: 12px; }
.tempo path { fill: none; stroke: #ffad5a; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.fmfoot { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.fmfoot span { font-family: var(--mono); font-size: .7rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--glass-line-2); color: var(--soft); }
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr; height: auto; gap: 18px; justify-items: stretch; }
  .flines { display: none; }
  .fhub { justify-self: center; }
}

/* Key wheel tool */
.keywheel { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px; align-items: center; }
.kw-svg { width: 100%; height: auto; }
.kw-svg path { cursor: pointer; stroke: #0d0c16; stroke-width: 2; transition: opacity .25s, filter .25s; }
.kw-svg path:hover { filter: brightness(1.15) drop-shadow(0 0 8px rgba(255, 255, 255, .35)); }
.kw-svg text { pointer-events: none; font: 700 13px var(--mono); fill: #15131c; text-anchor: middle; dominant-baseline: central; }
.kw-svg .inner text, .kw-svg text.in { font-size: 11px; }
.kw-svg .dim { opacity: .16; }
.kw-svg .sel { stroke: #fff; stroke-width: 3; }
.kw-svg .hubt { fill: var(--soft); font: 500 12px var(--mono); }
.kw-panel h3 { margin-bottom: 6px; }
.kw-panel .kw-name { color: var(--muted); font-family: var(--mono); font-size: .85rem; margin-bottom: 16px; }
.kw-list { display: grid; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.kw-list li { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-radius: 12px; background: var(--glass); border: 1px solid var(--glass-line); font-size: .92rem; color: var(--soft); }
.kw-list b { font-family: var(--mono); color: #15131c; background: var(--k); border-radius: 6px; padding: 1px 8px; min-width: 42px; text-align: center; }
.kw-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.kw-chips span, .kw-bpm { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--glass-line-2); background: var(--glass); font-family: var(--mono); font-size: .85rem; }
.kw-bpm input { width: 64px; background: transparent; border: 0; color: var(--text); font: inherit; outline: none; }
.kw-hint { color: var(--muted); font-size: .85rem; margin-top: 14px; }
@media (max-width: 860px) { .keywheel { grid-template-columns: 1fr; } }

/* Big footer */
footer.bigfoot { padding: 64px 0 36px; }
footer.bigfoot .wrap { display: block; }
.fcols { display: grid; grid-template-columns: 1.6fr repeat(5, 1fr); gap: 32px; }
.fbrand p { color: var(--muted); font-size: .9rem; line-height: 1.6; max-width: 300px; margin: 14px 0 18px; }
.fchecks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .88rem; color: var(--soft); }
.fchecks i { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--k); box-shadow: 0 0 8px var(--k); margin-right: 10px; }
.fsocial { display: flex; gap: 14px; flex-wrap: wrap; font-size: .85rem; }
.fcols h4 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text); font-weight: 600; margin: 4px 0 16px; }
.fcols > div > a, .fcols .soon { display: block; color: var(--muted); font-size: .92rem; padding: 5px 0; }
.fcols .soon em { font-style: normal; font-family: var(--mono); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--glass-line-2); border-radius: 999px; padding: 1px 7px; margin-left: 6px; }
.fbottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--glass-line); display: grid; gap: 10px; color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) { .fcols { grid-template-columns: repeat(2, 1fr); } .fbrand { grid-column: 1 / -1; } }

/* Resources hub */
.rhero { text-align: center; padding: 80px 0 30px; }
.rhero h1 { max-width: none; font-weight: 600; }
.rhero p { color: var(--soft); max-width: 640px; margin: 0 auto; font-size: 1.1rem; }
.rcols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.rcols h3 { font-size: 1.15rem; margin-bottom: 4px; }
.rcols > div > p { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.rlink { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; border-bottom: 1px solid var(--glass-line); color: var(--text); transition: background .25s, padding .25s; border-radius: 8px; }
.rlink small { display: block; color: var(--muted); font-size: .84rem; margin-top: 2px; }
.rlink::after { content: "\2197"; color: var(--muted); transition: transform .25s, color .25s; }
a.rlink:hover { text-decoration: none; color: #fff; background: linear-gradient(90deg, rgba(155, 123, 255, .1), transparent); padding-left: 12px; }
a.rlink:hover::after { color: #fff; transform: translate(2px, -2px); }
.rlink.soon { color: var(--muted); }
.rlink.soon::after { content: "soon"; font-family: var(--mono); font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--glass-line-2); border-radius: 999px; padding: 1px 8px; height: fit-content; }
.explore { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 40px; }
.explore h4 { grid-column: 1 / -1; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 26px 0 0; font-weight: 500; }
@media (max-width: 860px) { .rcols, .explore { grid-template-columns: 1fr; } }
.fcols .fbrand > a.brand { display: flex; color: var(--text); font-size: 1.05rem; padding: 0; }

/* How-to guides */
.guide .wrap { display: grid; grid-template-columns: minmax(0, 760px) 260px; gap: 56px; padding-top: 40px; padding-bottom: 80px; justify-content: center; }
.crumbs { grid-column: 1 / -1; font-family: var(--mono); font-size: .8rem; color: var(--muted); }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: #fff; }
.guide h1 { font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 650; max-width: none; }
.glead { font-size: 1.15rem; color: var(--soft); }
.gchips { display: flex; gap: 8px; flex-wrap: wrap; margin: 22px 0 10px; }
.gchips a { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--glass-line-2); background: var(--glass); color: var(--text); font-size: .88rem; transition: border-color .2s, box-shadow .2s; }
.gchips a:hover { text-decoration: none; border-color: rgba(155, 123, 255, .6); box-shadow: 0 0 18px rgba(155, 123, 255, .3); }
.guide article h2 { font-size: 1.45rem; margin-top: 2.2em; scroll-margin-top: 110px; }
.guide article p, .guide article li { color: var(--soft); }
.guide article b { color: var(--text); font-weight: 600; }
.gwhy { margin-top: 30px; padding: 4px 26px 14px; border-radius: 18px; background: var(--glass); border: 1px solid var(--glass-line); box-shadow: var(--glass-hi); }
.gwhy h2 { margin-top: 1em !important; }
.apptag { display: inline-block; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--glass-line-2); background: rgba(255, 255, 255, .05); font-size: 1.2rem; }
.apptag.gm { border-color: rgba(155, 123, 255, .6); box-shadow: 0 0 24px rgba(155, 123, 255, .3); }
.gsteps { counter-reset: st; list-style: none; padding: 0; margin: 14px 0; }
.gsteps li { counter-increment: st; position: relative; padding: 10px 0 10px 46px; border-bottom: 1px solid var(--glass-line); }
.gsteps li::before { content: counter(st); position: absolute; left: 0; top: 9px; width: 28px; height: 28px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font: 600 .8rem var(--mono); color: var(--text); background: var(--glass-2); border: 1px solid var(--glass-line-2); }
.gm .gsteps li::before { background: rgba(155, 123, 255, .2); border-color: rgba(155, 123, 255, .6); }
.gapp.gm { margin-top: 40px; padding: 6px 26px 22px; border-radius: 20px; background: linear-gradient(180deg, rgba(155, 123, 255, .08), rgba(255, 255, 255, .02)); border: 1px solid rgba(155, 123, 255, .3); box-shadow: var(--glass-hi); }
.gapp.gm h2 { margin-top: 1em; }
.gapp .shot { margin: 18px 0 0; border: 0; background: none; }
.gapp .shot img { border-radius: 12px; border: 1px solid var(--glass-line-2); }
.gtip { margin: 16px 0; padding: 14px 18px; border-radius: 14px; background: var(--glass); border: 1px solid var(--glass-line); border-left: 2px solid var(--accent); color: var(--soft); }
.gnote { font-size: .88rem; color: var(--muted) !important; }
.gsources { margin-top: 48px; font-size: .9rem; }
.gsources h2 { font-size: 1.05rem !important; }
.gsources li a { color: var(--soft); }
.grelated { position: sticky; top: 110px; align-self: start; padding-top: 70px; }
.grelated h2 { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.howcard { color: var(--text); display: block; }
.howcard:hover { text-decoration: none; color: var(--text); }
.howcard h3 { font-size: 1.15rem; margin: 6px 0 8px; }
@media (max-width: 960px) { .guide .wrap { grid-template-columns: 1fr; gap: 20px; } .grelated { position: static; padding-top: 0; } }
.floaters span.sm { font-size: .7rem; padding: 4px 10px; opacity: .5; filter: blur(.3px); }
.ghead { font-size: 1.3rem; margin: 0 0 18px; }
@media (max-width: 1180px) and (min-width: 861px) { .nav nav { gap: 16px; } .nav nav a { font-size: .86rem; } }
.floaters span { white-space: nowrap; }
/* Pills: two tidy columns, same distance from the content, gentle vertical float */
.floaters span, .floaters span.sm { font-size: .78rem; padding: 6px 13px; opacity: .72; filter: none; }
.floaters span.fl { right: calc(50% + 604px); left: auto; }
.floaters span.fr { left: calc(50% + 604px); right: auto; }
.motion .floaters span { animation: gbob var(--d, 8s) ease-in-out var(--delay, 0s) infinite; }
@keyframes gbob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
/* Pills pop in from nowhere at random spots (site.js), then fade away */
.floaters span, .floaters span.fl, .floaters span.fr { right: auto; opacity: 0; transform: scale(.6); filter: blur(6px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, 1.4, .4, 1), filter .7s ease; animation: none !important; }
.floaters span.on { opacity: .8; transform: scale(1); filter: blur(0); }
.floaters span.off { opacity: 0; transform: scale(.9) translateY(-10px); filter: blur(4px); transition-duration: .9s; }
