/* GMEX story. Every selector is prefixed gx. Mood from the screens: near-black, one teal accent. */
.gx { background: #0b0c0e; color: #f2f3f3; --gx-acc: #5cc7a6; container-type: inline-size; }
.story:has(.gx), .story:has(.gx) .story-scene, .story:has(.gx) .story-prog { background: #0b0c0e; color: #f2f3f3; }
.gx-layer { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: translateY(14px); pointer-events: none; visibility: hidden; transition: transform 420ms var(--ease), opacity 420ms var(--ease), visibility 0s linear 420ms; }
.story[data-layer="split"] .gx-l-split, .story[data-layer="earn"] .gx-l-earn, .story[data-layer="wallet"] .gx-l-wallet, .story[data-layer="convert"] .gx-l-convert, .story[data-layer="order"] .gx-l-order, .story[data-layer="desk"] .gx-l-desk { opacity: 1; transform: none; visibility: visible; transition-delay: 0s; }
.gx-card { width: min(92%, 30rem); box-sizing: border-box; background: #121316; border: 1px solid #23252a; border-radius: 14px; padding: 1rem; display: grid; gap: .65rem; }
.gx-card.gx-table { width: min(94%, 44rem); }
.gx small, .gx-sub { color: #9ca0a6; font-size: .75rem; }
.gx-h { margin: 0; font-size: 1rem; font-weight: 600; }
.gx-up { color: var(--gx-acc); } .gx-dn { color: #e0607a; }

/* 1. two panes */
.gx-two { width: min(92%, 40rem); display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; align-items: end; }
.gx-pane { box-sizing: border-box; border: 1px solid #23252a; background: #121316; padding: .9rem; display: grid; gap: .5rem; align-content: start; }
.gx-phone { border-radius: 22px; min-height: 12rem; border-color: var(--gx-acc); }
.gx-deskp { border-radius: 10px; min-height: 8rem; }
.gx-pane b { font-weight: 500; } .gx-pane strong { font-size: 1.35rem; }
.gx-bar { display: block; height: .5rem; border-radius: 4px; background: #23252a; } .gx-short { width: 60%; }
.gx-phone .gx-bar { background: linear-gradient(90deg, #5cc79c, #4fb5b8); }

/* 2. earn eco-tokens */
.gx-earn { position: relative; width: min(92%, 36rem); height: 14rem; display: grid; align-content: center; }
.gx-earn .gx-big { font-size: clamp(2.4rem, 12cqw, 4.4rem); line-height: .95; font-weight: 800; background: linear-gradient(90deg, #5cc79c, #4fb5b8); -webkit-background-clip: text; background-clip: text; color: transparent; position: relative; z-index: 1; }
.gx-earn .gx-white { background: none; color: #fff; }
.gx-amp { font-size: clamp(3rem, 14cqw, 5.5rem); line-height: .7; color: transparent; -webkit-text-stroke: 1px var(--gx-acc); }
.gx-coin { position: absolute; right: 0; top: 50%; width: clamp(5rem, 28cqw, 9rem); aspect-ratio: 1; transform: translateY(-50%); border-radius: 50%; background: linear-gradient(90deg, #5cc79c, #4fb5b8); opacity: .85; display: grid; place-items: center; }
.gx-coin i { width: 46%; aspect-ratio: 1; border-radius: 50%; background: #0b0c0e; }

/* 3. wallet */
.gx-narrow { width: min(92%, 22rem); }
.gx-who { display: grid; grid-template-columns: auto 1fr auto; gap: .6rem; align-items: center; }
.gx-who b { display: block; } .gx-av { width: 2rem; height: 2rem; border-radius: 50%; background: #23252a; }
.gx-claim { background: #5cc7a6; color: #0b0c0e; border-radius: 6px; padding: .2rem .7rem; font-size: .8rem; }
.gx-have { text-align: center; display: grid; gap: .15rem; } .gx-have strong { font-size: 1.7rem; }
.gx-tabs { display: flex; justify-content: center; gap: 1.4rem; font-size: .85rem; color: #9ca0a6; border-bottom: 1px solid #23252a; padding-bottom: .5rem; }
.gx-tabs .on { color: #fff; text-decoration: underline; text-decoration-color: var(--gx-acc); text-underline-offset: .45rem; }
.gx-projs { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.gx-proj { display: grid; gap: .25rem; } .gx-proj b { font-size: 1rem; color: var(--gx-acc); font-weight: 600; }
.gx-pic { display: block; height: 3.4rem; border-radius: 8px; background: linear-gradient(135deg, #3d7f8c, #5a7f55); }
.gx-proj:nth-child(2) .gx-pic { background: linear-gradient(135deg, #4a6b45, #7d9b6c); }

/* 4. converter */
.gx-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); font-size: .7rem; color: #7d8187; text-align: center; border-top: 2px solid #23252a; }
.gx-steps li { padding-top: .35rem; margin-top: -2px; border-top: 2px solid transparent; } .gx-steps li.on { color: var(--gx-acc); border-top-color: var(--gx-acc); }
.gx-h { text-align: center; }
.gx-box { background: #1a1c20; border-radius: 10px; padding: .7rem .8rem; display: grid; gap: .1rem; } .gx-box strong { font-size: 1.5rem; margin-bottom: .4rem; }
.gx-keys { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; gap: .3rem; font-size: 1.05rem; }
.gx-btn { background: linear-gradient(90deg, #5cc79c, #4fb5b8); color: #0b0c0e; border-radius: 8px; text-align: center; padding: .5rem; font-weight: 600; }

/* 5. the desk */
.gx-top { display: flex; justify-content: space-between; gap: .6rem; font-size: .8rem; } .gx-top span { color: #9ca0a6; }
.gx-vol { background: #17181c; border-radius: 10px; padding: .6rem .7rem; display: grid; gap: .35rem; }
.gx-mv { display: flex; justify-content: space-between; gap: .6rem; font-size: .8rem; background: #1d1f24; border-radius: 6px; padding: .35rem .55rem; } .gx-mv b { font-weight: 500; }
.gx-hh { margin-top: .2rem; }
.gx-hold { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1fr 1fr; gap: .4rem; font-size: .78rem; padding: .3rem 0; border-bottom: 1px solid #1d1f24; }
.gx-hd { color: #9ca0a6; font-weight: 600; } .gx-nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@container (max-width: 480px) {
  .gx-avg { display: none; } .gx-hold { grid-template-columns: 2.2fr 1fr 1fr 1fr; font-size: .7rem; }
  .gx-card { padding: .75rem; gap: .5rem; } .gx-top span { display: none; } .gx-keys { font-size: .9rem; gap: .15rem; }
  .gx-two { gap: .6rem; } .gx-earn { height: 11rem; }
}
@media (prefers-reduced-motion: reduce) { .gx-layer { transition: none; } }


/* 6. the real institution screen: Story.shot fills a view a little inside the scene */
.gx-view { position: absolute; inset: 4%; }
