/* BUX — the Roblox launchpad. Sky, studs, chunky ink outlines. */
@font-face { font-family: 'Titan'; src: url('/assets/fonts/titan.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('/assets/fonts/fredoka.woff2') format('woff2'); font-weight: 300 700; font-stretch: 75% 125%; font-display: swap; }
:root {
  --ink: #111118; --ink2: #2a2c38; --grey: #5a6074; --mute: #8a90a6;
  --sky: #3aa2ff; --sky2: #b2e1ff; --sky3: #e6f4ff; --deep: #1c7fe0;
  --yel: #ffcd28; --yel2: #f6b016; --gold: #b86f0a;
  --grn: #48aa4e; --grn2: #2f8a3a; --grn3: #dff3dc;
  --red: #e2342c; --pink: #ff76a8; --up: #1f9d4c; --down: #d23a2e;
  --studio: #17181e; --studio2: #20222b; --studio3: #2b2e3a; --studiotx: #e6e9f2;
  --r: 16px; --b: 3px; --sh: 0 5px 0 var(--ink);
  --wrap: 1180px; --gut: 32px;
}
* { box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.loading { overflow: hidden; }
body { margin: 0; overflow-x: clip; background: var(--sky3); color: var(--ink); font: 500 16px/1.55 'Fredoka', ui-rounded, system-ui, sans-serif; font-stretch: 100%; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--yel); color: var(--ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: var(--gut); padding-right: var(--gut); }
.num { font-variant-numeric: tabular-nums; }
.t { font-family: 'Titan', 'Fredoka', sans-serif; font-weight: 400; letter-spacing: .01em; }

/* ---------- loader: a coin spinning over the sky, a chunky bar, no words ---------- */
.load { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: linear-gradient(#3aa2ff, #b2e1ff); transition: opacity .45s ease, visibility .45s; }
html:not(.js) .load { display: none; }
.load.done { opacity: 0; visibility: hidden; }
.load .spin { width: 128px; height: 128px; animation: spinY 1.1s steps(12) infinite; }
.load .bar { position: absolute; left: 50%; top: calc(50% + 104px); width: 240px; height: 26px; transform: translateX(-50%); border: var(--b) solid var(--ink); border-radius: 13px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.load .bar i { display: block; height: 100%; width: 0; background: repeating-linear-gradient(-45deg, var(--yel) 0 14px, var(--yel2) 14px 28px); border-right: var(--b) solid var(--ink); }
@keyframes spinY { from { transform: rotateY(0) } to { transform: rotateY(360deg) } }

/* ---------- scam strip + nav ---------- */
.scam { background: var(--ink); color: #fff; font-size: 13.5px; text-align: center; padding: 7px 16px; }
.scam b { color: var(--yel); font-weight: 600; }
.scam code { font: 600 12.5px ui-monospace, SFMono-Regular, Menlo, monospace; background: #2a2c38; padding: 2px 6px; border-radius: 6px; word-break: break-all; }
.scam button { margin-left: 8px; border: 2px solid var(--yel); background: none; color: var(--yel); border-radius: 8px; padding: 1px 8px; cursor: pointer; font-size: 12px; }
.nav { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 58px; padding: 0 16px; transition: background .25s, box-shadow .25s; }
.nav.solid { background: rgba(255,255,255,.94); box-shadow: 0 var(--b) 0 var(--ink); backdrop-filter: blur(8px); }
.nav .links { grid-column: 2; display: flex; gap: 4px; justify-content: center; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15.5px; padding: 7px 13px; border-radius: 12px; border: 2px solid transparent; white-space: nowrap; }
.nav:not(.solid) a { color: #fff; text-shadow: 0 2px 0 rgba(17,17,24,.35); }
.nav a:hover { background: rgba(255,255,255,.22); }
.nav.solid a:hover { background: var(--sky3); }
.nav a.on { background: var(--yel); color: var(--ink); border-color: var(--ink); text-shadow: none; box-shadow: 0 3px 0 var(--ink); }

/* ---------- buttons, inputs, chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 10px 24px; border: var(--b) solid var(--ink); border-radius: 15px; background: var(--yel); color: var(--ink); box-shadow: var(--sh); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; transition: transform .08s, box-shadow .08s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--ink); }
.btn.sky { background: var(--sky); color: #fff; text-shadow: 0 2px 0 rgba(17,17,24,.35); }
.btn.white { background: #fff; }
.btn.grn { background: var(--grn); color: #fff; text-shadow: 0 2px 0 rgba(17,17,24,.35); }
.btn.sm { min-height: 40px; padding: 6px 15px; font-size: 15px; border-radius: 12px; box-shadow: 0 4px 0 var(--ink); }
.btn[disabled] { opacity: .5; pointer-events: none; }
.field { display: flex; align-items: center; gap: 10px; height: 60px; padding: 0 10px 0 18px; background: #fff; border: var(--b) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); }
.field input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font-size: 18px; font-weight: 600; }
.field input::placeholder { color: #9aa0b4; font-weight: 500; }
.field:focus-within { box-shadow: 0 5px 0 var(--ink), 0 0 0 5px rgba(255,205,40,.7); }
.field .ic { width: 22px; height: 22px; flex: none; opacity: .7; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; font-weight: 600; font-size: 15px; cursor: pointer; box-shadow: 0 3px 0 var(--ink); transition: transform .08s; }
.pill:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.pill.on { background: var(--ink); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: #eef0f6; color: var(--grey); white-space: nowrap; }
.chip.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--up); box-shadow: 0 0 0 3px rgba(31,157,76,.2); animation: blink 1.6s steps(2) infinite; }
.chip.off::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--down); }
@keyframes blink { 50% { opacity: .35 } }

/* ---------- hero: the trading server ---------- */
.hero { position: relative; margin-top: -58px; height: max(660px, min(100svh, 920px)); overflow: hidden; background: linear-gradient(#3aa2ff 0%, #6fbcff 45%, #b2e1ff 80%); isolation: isolate; }
.hero .burst { position: absolute; inset: -40%; z-index: -2; background: repeating-conic-gradient(from 0deg at 50% 50%, rgba(255,255,255,.13) 0 7.5deg, transparent 7.5deg 15deg); animation: burst 90s linear infinite; }
@keyframes burst { to { transform: rotate(360deg) } }
.hero canvas#world { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; display: block; }
.hero .clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero .clouds i { position: absolute; width: 180px; height: 52px; background: #fff; border-radius: 18px; box-shadow: 0 8px 0 #cde9ff; animation: drift linear infinite; }
.hero .clouds i::before { content: ''; position: absolute; left: 26px; top: -30px; width: 96px; height: 50px; background: #fff; border-radius: 16px; }
.hero .clouds i::after { content: ''; position: absolute; right: 18px; top: -16px; width: 70px; height: 40px; background: #fff; border-radius: 14px; }
.hero.gl .clouds { display: none; }
@keyframes drift { from { transform: translateX(-260px) } to { transform: translateX(calc(100vw + 260px)) } }
.hero .top { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; padding: 104px 16px 0; text-align: center; }
.hero h1 { margin: 0; line-height: 0; }
.hero h1 img { width: min(560px, 74vw); height: auto; filter: drop-shadow(0 10px 0 rgba(17,17,24,.18)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(.6deg) } }
.hero .find { position: relative; width: min(640px, 100%); margin-top: 26px; }
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.drop { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 30; background: #fff; border: var(--b) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); padding: 6px; text-align: left; max-height: 430px; overflow: auto; }
.drop button { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; width: 100%; padding: 7px 10px; border: 0; background: none; border-radius: 12px; cursor: pointer; text-align: left; }
.drop button:hover, .drop button.hi { background: var(--sky3); }
.drop img, .drop .ph { width: 48px; height: 48px; border-radius: 12px; border: 2px solid var(--ink); background: var(--sky2); object-fit: cover; }
.drop b { display: block; font-weight: 700; font-size: 16px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop small { color: var(--grey); font-size: 13px; }
.drop .pl { font-weight: 700; font-size: 14px; color: var(--up); white-space: nowrap; }
.drop .msg { padding: 14px; color: var(--grey); font-weight: 600; }
.tape { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 50px; background: var(--ink); color: #fff; overflow: hidden; display: flex; align-items: center; border-top: var(--b) solid var(--ink); -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.tape .in { display: flex; white-space: nowrap; animation: tape 110s linear infinite; }
.tape:hover .in { animation-play-state: paused; }
.tape span { display: inline-flex; align-items: center; gap: 9px; margin-right: 34px; font-weight: 600; font-size: 16px; cursor: pointer; }
.tape span::before { content: ''; width: 9px; height: 9px; border-radius: 3px; background: var(--yel); }
.tape span em { font-style: normal; color: var(--yel); }
@keyframes tape { to { transform: translateX(-50%) } }

/* ---------- bands ---------- */
.band { position: relative; padding: 96px 0; }
.band + .band { border-top: var(--b) solid var(--ink); }
section[id] { scroll-margin-top: 70px; }
.band.white { background: #fff; }
.band.sky { background: var(--sky3); }
.band.yel { background: var(--yel); }
.band.studio { background: var(--studio); color: var(--studiotx); }
.band.grass { background: var(--grn); color: #fff; }
.band.white::before, .band.grass::before { content: ''; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle at 50% 45%, rgba(17,17,24,.05) 0 5px, transparent 5.5px); background-size: 28px 28px; }
.band.grass::before { background-image: radial-gradient(circle at 50% 42%, rgba(255,255,255,.2) 0 6px, rgba(0,0,0,.08) 6.5px 8px, transparent 8.5px); background-size: 30px 30px; }
.band > .wrap { position: relative; }
.cp { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cp .flag { width: 30px; height: 30px; display: grid; place-items: center; border: 2px solid var(--ink); border-radius: 9px; background: var(--grn); color: #fff; font-size: 14px; box-shadow: 0 3px 0 var(--ink); }
.studio .cp .flag { border-color: #000; }
.h2 { margin: 0 0 16px; font-family: 'Titan', sans-serif; font-weight: 400; font-size: clamp(32px, 4.6vw, 54px); line-height: 1.04; letter-spacing: .005em; max-width: 20ch; }
.lede { margin: 0 0 34px; max-width: 64ch; font-size: 18px; color: var(--ink2); }
.studio .lede { color: #b7bdd0; }
.grass .lede { color: #eaffea; }
.headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.headrow .h2, .headrow .lede { margin-bottom: 0; }

/* reveal */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.9,.3,1.2); }
.rv.vis { opacity: 1; transform: none; }
.rv.d1 { transition-delay: .08s } .rv.d2 { transition-delay: .16s } .rv.d3 { transition-delay: .24s }

/* ---------- 01 the floor ---------- */
.floorbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 22px; }
.floorbar .field { height: 44px; box-shadow: 0 3px 0 var(--ink); border-radius: 13px; flex: 1 1 220px; max-width: 320px; }
.floorbar .field input { font-size: 15.5px; }
.floorbar .meta { margin-left: auto; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--grey); font-size: 14.5px; }
.ring { width: 30px; height: 30px; }
.ring circle { fill: none; stroke-width: 4; }
.ring .bgc { stroke: #e3e6ef; } .ring .fg { stroke: var(--ink); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; transition: stroke-dashoffset 1s linear; }
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.tile { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 12px; background: #fff; border: var(--b) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); cursor: pointer; text-align: left; transition: transform .12s, box-shadow .12s; animation: pop .45s cubic-bezier(.2,.9,.3,1.3) both; }
.tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: 0 9px 0 var(--ink); }
.tile.sel { background: var(--yel); }
.tile .rank { position: absolute; top: -10px; left: -8px; min-width: 34px; height: 28px; padding: 0 7px; display: grid; place-items: center; background: var(--ink); color: #fff; border-radius: 9px; font-weight: 700; font-size: 14px; z-index: 2; }
.tile .rank.top { background: var(--yel); color: var(--ink); border: 2px solid var(--ink); }
.tile .ico { position: relative; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 13px; overflow: hidden; background: var(--sky2); }
.tile .ico img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .3s; }
.tile .ico img.ok { opacity: 1; }
.tile .nm { margin: 9px 0 2px; font-weight: 700; font-size: 15px; line-height: 1.2; height: 2.4em; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tile .pl { font-weight: 700; font-size: 21px; line-height: 1.1; }
.tile .pl small { font-size: 12px; font-weight: 600; color: var(--grey); margin-left: 3px; }
.tile .dl { font-size: 13px; font-weight: 700; min-height: 18px; color: var(--mute); }
.tile .dl.up { color: var(--up); } .tile .dl.down { color: var(--down); }
.tile canvas { width: 100%; height: 30px; margin-top: 4px; }
.tile .ft { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 6px; }
.tile.flash .pl { animation: flash .9s ease; }
@keyframes flash { 30% { color: var(--up); transform: scale(1.06) } }
@keyframes pop { from { opacity: 0; transform: translateY(18px) scale(.94) } }
.empty { padding: 42px 20px; text-align: center; border: var(--b) dashed var(--ink); border-radius: 20px; background: rgba(255,255,255,.6); font-weight: 600; color: var(--grey); }
.empty b { display: block; color: var(--ink); font-size: 20px; margin-bottom: 6px; }
.empty .btn { margin-top: 14px; }
.skel { background: linear-gradient(90deg, #eef0f6 0 40%, #f8f9fc 50%, #eef0f6 60% 100%); background-size: 300% 100%; animation: sk 1.2s linear infinite; border-radius: 10px; }
@keyframes sk { from { background-position: 100% 0 } to { background-position: 0 0 } }

/* ---------- 02 the game ---------- */
.pick { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: start; max-width: 760px; margin-bottom: 30px; }
.pick .find { position: relative; }
.card { background: #fff; border: var(--b) solid var(--ink); border-radius: 24px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; }
.gsheet { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.shots { position: relative; min-height: 300px; height: 100%; background: var(--sky2); border-right: var(--b) solid var(--ink); overflow: hidden; }
.shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.shots img.on { opacity: 1; }
.shots .dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 6px; justify-content: center; }
.shots .dots i { width: 10px; height: 10px; border-radius: 4px; background: rgba(255,255,255,.6); border: 2px solid var(--ink); cursor: pointer; }
.shots .dots i.on { background: var(--yel); }
.gmain { padding: 24px 26px; min-width: 0; }
.gid { display: flex; gap: 16px; align-items: center; }
.gid .gi { width: 86px; height: 86px; flex: none; border: var(--b) solid var(--ink); border-radius: 20px; box-shadow: 0 4px 0 var(--ink); object-fit: cover; background: var(--sky2); }
.gid h3 { margin: 0; font-family: 'Titan', sans-serif; font-weight: 400; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.08; overflow-wrap: anywhere; }
.by { display: flex; align-items: center; gap: 7px; margin-top: 6px; color: var(--grey); font-weight: 600; font-size: 14.5px; flex-wrap: wrap; }
.by img { width: 24px; height: 24px; border-radius: 7px; border: 2px solid var(--ink); }
.by .ver { width: 16px; height: 16px; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.stat { padding: 10px 12px; border: 2px solid var(--ink); border-radius: 14px; background: var(--sky3); min-width: 0; }
.stat small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--grey); }
.stat b { display: block; font-size: 22px; font-weight: 700; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stat.hot { background: var(--yel); }
.glinks { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.gparts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); border-top: var(--b) solid var(--ink); }
.gpart { padding: 22px 26px; min-width: 0; }
.gpart + .gpart { border-left: var(--b) solid var(--ink); }
.gpart h4 { margin: 0 0 12px; font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.srv { display: grid; grid-template-columns: 22px minmax(0, 1fr) 62px 62px; gap: 10px; align-items: center; font-size: 13.5px; font-weight: 600; padding: 4px 0; }
.srv .n { color: var(--mute); }
.srv .bar { height: 16px; border: 2px solid var(--ink); border-radius: 6px; background: #eef0f6; overflow: hidden; }
.srv .bar i { display: block; height: 100%; background: var(--grn); border-right: 2px solid var(--ink); transition: width .8s cubic-bezier(.2,.9,.3,1); }
.srv .bar i.full { background: var(--red); }
.srv .f, .srv .p { text-align: right; color: var(--grey); }
.passes { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; max-height: 336px; overflow: auto; padding: 4px 4px 6px 0; }
.pass { position: relative; padding: 8px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; text-align: center; transition: background .25s, transform .25s, opacity .25s; }
.pass img, .pass .ph { width: 64px; height: 64px; margin: 2px auto 6px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sky2); object-fit: cover; }
.pass b { display: block; font-size: 13px; line-height: 1.2; height: 2.4em; overflow: hidden; }
.pass .rb { margin-top: 4px; font-weight: 700; font-size: 14px; }
.rbx { display: inline-flex; align-items: center; gap: 4px; }
.rbx::before { content: ''; width: 13px; height: 13px; border: 2.5px solid currentColor; border-radius: 3px; transform: rotate(45deg) scale(.82); }
.lineb { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 18px 26px; border-top: var(--b) solid var(--ink); background: var(--ink); color: #fff; }
.lineb code { font: 600 15.5px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--yel); overflow-wrap: anywhere; }
.lineb small { display: block; font: 600 12px 'Fredoka'; letter-spacing: .08em; text-transform: uppercase; color: #9aa0b4; margin-bottom: 3px; }
.gnote { margin: 14px 2px 0; color: var(--grey); font-weight: 600; font-size: 14.5px; }
.gload { padding: 60px 20px; text-align: center; font-weight: 600; color: var(--grey); }

/* ---------- 03 fees become Robux ---------- */
.plan { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 26px; align-items: start; }
.inbox { padding: 24px; background: #fff; border: var(--b) solid var(--ink); border-radius: 24px; box-shadow: 0 7px 0 var(--ink); }
.inbox label { display: block; font-weight: 700; margin-bottom: 8px; }
.inbox .field .unit { font-weight: 700; color: var(--grey); padding-right: 8px; }
.quick { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.solp { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 600; color: var(--grey); font-size: 14.5px; flex-wrap: wrap; }
.solp input { width: 110px; height: 34px; border: 2px solid var(--ink); border-radius: 10px; padding: 0 10px; font-weight: 700; }
.forg { margin-top: 18px; padding-top: 16px; border-top: 2px dashed rgba(17,17,24,.2); font-weight: 600; font-size: 14.5px; color: var(--grey); display: flex; gap: 12px; align-items: center; }
.forg img { width: 44px; height: 44px; border-radius: 11px; border: 2px solid var(--ink); }
.forg b { color: var(--ink); display: block; font-size: 16px; }
.receipt { background: #fff; border: var(--b) solid var(--ink); border-radius: 24px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; }
.receipt .rows { padding: 8px 24px; }
.rrow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 2px dashed rgba(17,17,24,.14); }
.rrow:last-child { border-bottom: 0; }
.rrow span { color: var(--grey); font-weight: 600; font-size: 15px; }
.rrow span em { font-style: normal; color: var(--ink); }
.rrow b { font-size: 20px; font-weight: 700; text-align: right; white-space: nowrap; }
.rrow.big b { font-size: 30px; font-family: 'Titan', sans-serif; font-weight: 400; color: var(--grn2); }
.rrow.dim b { color: var(--grey); font-size: 17px; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; padding: 18px 24px 22px; background: var(--sky3); border-top: var(--b) solid var(--ink); max-height: 300px; overflow: auto; }
.slot { position: relative; padding: 8px 6px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; text-align: center; font-size: 12px; font-weight: 600; opacity: .45; transition: opacity .3s, background .3s, transform .3s; }
.slot img, .slot .ph { width: 40px; height: 40px; margin: 0 auto 4px; border-radius: 50%; border: 2px solid var(--ink); background: var(--sky2); object-fit: cover; }
.slot b { display: block; height: 2.4em; overflow: hidden; line-height: 1.2; }
.slot.buy { opacity: 1; background: var(--yel); transform: translateY(-2px); }
.slot.buy::after { content: ''; position: absolute; right: -8px; top: -10px; width: 26px; height: 26px; background: url('/assets/img/coin-128.png') center / contain no-repeat; animation: drop .5s cubic-bezier(.3,1.4,.5,1) both; animation-delay: var(--dl, 0s); }
@keyframes drop { from { transform: translateY(-40px) rotate(-30deg); opacity: 0 } }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 34px; counter-reset: st; }
.flow li { list-style: none; position: relative; padding: 16px; background: #fff; border: var(--b) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); font-weight: 600; font-size: 14.5px; }
.flow li b { display: block; font-size: 16.5px; margin-bottom: 4px; }
.flow li::before { counter-increment: st; content: counter(st); position: absolute; top: -13px; right: 12px; width: 28px; height: 28px; display: grid; place-items: center; background: var(--grn); color: #fff; border: 2px solid var(--ink); border-radius: 9px; font-weight: 700; }
.flow { padding: 0; margin-bottom: 0; }

/* ---------- 04 the plugin ---------- */
.studio .h2 { color: #fff; }
.plug { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 34px; align-items: start; }
.stage { position: relative; height: 470px; perspective: 1400px; perspective-origin: 50% 30%; border-radius: 24px; overflow: hidden; border: var(--b) solid #000; background: linear-gradient(#3aa2ff, #b2e1ff 62%, #48aa4e 62%); }
.stage .plate { position: absolute; left: -20%; right: -20%; bottom: -40px; height: 230px; transform: rotateX(62deg); transform-origin: 50% 100%; background: var(--grn) radial-gradient(circle at 50% 42%, rgba(255,255,255,.25) 0 7px, rgba(0,0,0,.12) 7.5px 9.5px, transparent 10px) 0 0 / 34px 34px; }
.rig { position: absolute; left: 50%; top: 48px; width: 560px; margin-left: -280px; transform-style: preserve-3d; transform: rotateY(var(--ry, -14deg)) rotateX(var(--rx, 3deg)); transition: transform .5s cubic-bezier(.2,.9,.3,1); }
.rig .frame { position: relative; padding: 12px; background: var(--yel); border: 3px solid #000; border-radius: 10px; box-shadow: 14px 10px 0 rgba(0,0,0,.25); }
.rig .legs { display: flex; justify-content: space-between; width: 66%; margin: 0 auto; height: 76px; }
.rig .legs i { width: 22px; background: var(--ink); border: 3px solid #000; border-top: 0; }
.rig .base { width: 84%; height: 26px; margin: 0 auto; background: var(--grn); border: 3px solid #000; border-radius: 6px; }
.sg { position: relative; width: 800px; height: 450px; transform: scale(.66); transform-origin: 0 0; margin-bottom: -153px; margin-right: -272px; background: linear-gradient(#3aa2ff, #b2e1ff); overflow: hidden; color: var(--ink); font-family: 'Fredoka', sans-serif; }
.sg .hd { height: 64px; background: var(--ink); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; }
.sg .hd .lg { font-family: 'Titan', sans-serif; color: var(--yel); font-size: 42px; }
.sg .hd .st { color: #fff; font-weight: 700; font-size: 24px; letter-spacing: .02em; }
.sg .ti { margin: 10px 24px 0; height: 62px; font-family: 'Titan', sans-serif; font-size: 46px; line-height: 62px; color: #fff; -webkit-text-stroke: 6px var(--ink); paint-order: stroke fill; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg .sts { display: flex; gap: 14px; margin: 12px 24px 0; height: 110px; }
.sg .sts div { flex: 1; background: #fff; border: 3px solid var(--ink); border-radius: 14px; padding: 8px 14px; }
.sg .sts small { display: block; font-weight: 700; color: #5a6074; font-size: 19px; }
.sg .sts b { display: block; font-family: 'Titan', sans-serif; font-weight: 400; font-size: 48px; line-height: 1.15; }
.sg .cn { margin: 16px 24px 0; height: 104px; background: var(--yel); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 18px; }
.sg .cn .r1 { display: flex; justify-content: space-between; font-family: 'Titan', sans-serif; font-size: 42px; line-height: 54px; }
.sg .cn .r2 { font-weight: 700; font-size: 21px; }
.sg .sp { position: absolute; left: 24px; right: 24px; bottom: 14px; height: 44px; display: flex; align-items: flex-end; gap: 4px; }
.sg .sp i { flex: 1; background: var(--ink); opacity: .2; height: 8%; transition: height .6s; }
.sg .sp i.last { opacity: 1; }
.tk { display: flex; height: 92px; width: 560px; border: 3px solid #000; background: var(--ink); overflow: hidden; outline: 12px solid var(--yel); outline-offset: 0; margin: 12px; }
.tk .tg { flex: none; width: 124px; display: grid; place-items: center; background: var(--yel); font-family: 'Titan', sans-serif; font-size: 34px; }
.tk .tw { flex: 1; overflow: hidden; display: flex; align-items: center; }
.tk .tw div { display: flex; white-space: nowrap; animation: tape 60s linear infinite; }
.tk .tw span { font-family: 'Titan', sans-serif; color: #fff; font-size: 30px; margin-right: 40px; }
.tk .tw span em { font-style: normal; color: var(--yel); }
.stagebar { position: absolute; left: 14px; top: 14px; display: flex; gap: 8px; z-index: 3; }
.stagebar .pill { height: 34px; font-size: 14px; }
.stagecap { position: absolute; right: 14px; top: 16px; z-index: 3; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 12px; }
.steps li { position: relative; padding: 14px 16px 14px 60px; background: var(--studio2); border: 2px solid var(--studio3); border-radius: 16px; font-weight: 500; color: #c9cedd; }
.steps li b { display: block; color: #fff; font-weight: 700; font-size: 17px; margin-bottom: 2px; }
.steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 14px; top: 14px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--yel); color: var(--ink); border: 2px solid #000; border-radius: 10px; font-weight: 700; }
.steps kbd { font: 600 13px ui-monospace, Menlo, monospace; background: var(--studio3); color: #fff; border-radius: 6px; padding: 1px 6px; }
.dl { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0 0; }
.spec { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.spec span { padding: 6px 12px; border-radius: 10px; background: var(--studio2); border: 2px solid var(--studio3); font-weight: 600; font-size: 13.5px; color: #c9cedd; }
.code { margin-top: 34px; border: 2px solid var(--studio3); border-radius: 20px; overflow: hidden; background: #111217; }
.code .tabs { display: flex; gap: 2px; background: var(--studio2); border-bottom: 2px solid var(--studio3); overflow-x: auto; }
.code .tabs button { flex: none; padding: 12px 16px; border: 0; background: none; color: #9aa0b4; font-weight: 600; font-size: 14.5px; cursor: pointer; border-bottom: 3px solid transparent; }
.code .tabs button.on { color: #fff; border-bottom-color: var(--yel); background: #111217; }
.code .bar2 { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 2px solid var(--studio3); color: #9aa0b4; font-size: 13.5px; font-weight: 600; flex-wrap: wrap; }
.code .bar2 .btn { min-height: 34px; font-size: 14px; padding: 4px 12px; box-shadow: 0 3px 0 #000; border-color: #000; }
.code pre { margin: 0; max-height: 460px; overflow: auto; padding: 16px 0; font: 500 13.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; color: #d6dae6; counter-reset: ln; tab-size: 4; }
.code pre span.l { display: block; padding: 0 18px 0 60px; position: relative; white-space: pre; }
.code pre span.l::before { counter-increment: ln; content: counter(ln); position: absolute; left: 0; width: 44px; text-align: right; color: #4b5064; }
.k { color: #ff7ab8 } .s { color: #ffd76a } .c { color: #6f7690; font-style: italic } .n { color: #7fd1ff } .f { color: #9ef0a6 }

/* ---------- 05 rules ---------- */
.cannot { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: var(--b) solid var(--ink); border-radius: 22px; box-shadow: 0 7px 0 var(--ink); overflow: hidden; }
.cannot th { text-align: left; padding: 14px 20px; background: var(--ink); color: #fff; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.cannot td { padding: 16px 20px; vertical-align: top; border-top: 2px solid #eceef4; font-weight: 500; }
.cannot td:first-child { width: 46%; font-weight: 600; }
.cannot td:last-child { background: #fbfcff; }
.cannot td b { font-weight: 700; }
.duo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 30px; }
.note { padding: 20px 22px; background: var(--sky3); border: var(--b) solid var(--ink); border-radius: 20px; box-shadow: var(--sh); }
.note h3 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
.note p { margin: 0 0 8px; color: var(--ink2); font-size: 15.5px; }
.note p:last-child { margin-bottom: 0; }
.note.yel { background: var(--yel); }
.note code { font: 600 13px ui-monospace, Menlo, monospace; background: rgba(17,17,24,.08); padding: 1px 5px; border-radius: 5px; overflow-wrap: anywhere; }

/* ---------- 06 FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 880px; }
.faq details { background: #fff; color: var(--ink); border: var(--b) solid var(--ink); border-radius: 18px; box-shadow: var(--sh); }
.faq summary { cursor: pointer; list-style: none; padding: 17px 56px 17px 20px; font-weight: 700; font-size: 18px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 16px; top: 50%; width: 30px; height: 30px; margin-top: -15px; display: grid; place-items: center; background: var(--yel); border: 2px solid var(--ink); border-radius: 9px; font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--ink2); max-width: 72ch; }
.foot { margin-top: 46px; text-align: center; font-weight: 600; color: #eaffea; font-size: 14.5px; }
.foot a { color: #fff; }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 26px; z-index: 90; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; padding: 10px 18px; background: var(--ink); color: #fff; border-radius: 12px; font-weight: 600; transition: opacity .2s, transform .2s; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; } }
@media (max-width: 980px) {
  .gsheet, .gparts, .plan, .plug { grid-template-columns: minmax(0, 1fr); }
  .shots { border-right: 0; border-bottom: var(--b) solid var(--ink); height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .gpart + .gpart { border-left: 0; border-top: var(--b) solid var(--ink); }
  .duo { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --gut: 20px; }
  .nav { grid-template-columns: minmax(0, 1fr); padding: 0 8px; }
  .nav .links { grid-column: 1; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .nav .links::-webkit-scrollbar { display: none; }
  .nav a { font-size: 14.5px; padding: 6px 10px; }
  .hero .top { padding-top: 92px; }
  .band { padding: 70px 0; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .floorbar .meta { margin-left: 0; width: 100%; }
  .floorbar .field { max-width: none; }
  .pick { grid-template-columns: minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lineb { grid-template-columns: minmax(0, 1fr); }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .gmain, .gpart { padding: 18px; }
  .lineb { padding: 16px 18px; }
  .stage { height: 330px; }
  .rig { width: 360px; margin-left: -180px; top: 52px; }
  .sg { transform: scale(.41); margin-bottom: -265px; margin-right: -472px; }
  .tk { width: 330px; height: 70px; } .tk .tg { width: 80px; font-size: 24px; } .tk .tw span { font-size: 22px; }
  .rig .legs { height: 60px; }
  .cannot, .cannot tbody, .cannot tr, .cannot td { display: block; width: 100% !important; }
  .cannot thead { display: none; }
  .cannot td:first-child { border-top: 2px solid #eceef4; padding-bottom: 6px; }
  .cannot td:last-child { border-top: 0; padding-top: 0; background: #fff; }
  .cannot td:last-child::before { content: 'So → '; font-weight: 700; color: var(--grn2); }
  .rrow b { font-size: 17px; } .rrow.big b { font-size: 24px; }
  .code pre span.l { padding-left: 48px; } .code pre span.l::before { width: 34px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  .rv { opacity: 1; transform: none; }
}
