.how-body {
  background: var(--vela-bg-0);
}

.how-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: var(--vela-t1);
  font-family: var(--vela-font);
  background:
    radial-gradient(ellipse 80% 40% at 10% -10%, rgba(0, 224, 198, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 30% at 100% 0%, rgba(240, 193, 74, 0.08), transparent 50%),
    var(--vela-bg-0);
}

.how-page > .ox-chain-credit {
  margin-top: auto;
}

.how-top {
  display: flex;
  align-items: center;
  gap: 22px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 8px;
}

.how-brand {
  display: flex;
  flex: 0 0 auto;
}

.how-top__copy {
  min-width: 0;
  flex: 1;
}

.how-top__copy p,
.how-rail > p,
.how-math > p:first-child {
  margin: 0;
  color: var(--vela-acc);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.how-top__copy h1,
.how-math h2 {
  margin: 2px 0 0;
  color: var(--vela-t0);
  font-size: 28px;
  line-height: 1.15;
}

.how-lang {
  display: grid;
  gap: 4px;
  color: var(--vela-t2);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.how-lang select {
  min-width: 148px;
  border: 1px solid var(--vela-line-2);
  border-radius: 999px;
  background: var(--vela-bg-2);
  color: var(--vela-t0);
  font: 600 14px/1 var(--vela-font);
  padding: 10px 14px;
}

.how-join {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: var(--vela-acc);
  color: #04221e;
  font-weight: 800;
  padding: 12px 18px;
  text-decoration: none;
  white-space: nowrap;
}

.how-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.how-lead {
  letter-spacing: 0;
  text-transform: none;
  color: var(--vela-t1);
  font-size: 16px;
  font-weight: 500;
  margin: 8px 0 18px;
}

.how-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.how-rail {
  position: sticky;
  top: 16px;
  border: 1px solid var(--vela-line);
  border-radius: 18px;
  background: rgba(8, 16, 24, 0.86);
  padding: 14px;
}

.how-rail ol {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.how-rail button {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  text-align: start;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--vela-t1);
  padding: 8px;
}

.how-rail button.is-on {
  background: var(--vela-acc-soft);
  color: var(--vela-t0);
}

.how-rail button > span:first-child,
.how-rail em {
  color: var(--vela-t2);
  font-size: 12px;
  font-style: normal;
}

.how-rail strong,
.how-rail small {
  display: block;
}

.how-rail strong {
  color: inherit;
  font-size: 14px;
}

.how-rail small {
  color: var(--vela-t2);
  font-size: 12px;
}

.how-eq {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 14px;
}

.how-eq b {
  width: 3px;
  height: 4px;
  border-radius: 2px;
  background: var(--vela-acc);
  animation: how-eq 0.8s ease-in-out infinite;
}

.how-eq b:nth-child(2) {
  animation-delay: 0.15s;
}

.how-eq b:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes how-eq {
  50% {
    height: 14px;
  }
}

.how-player {
  overflow: hidden;
  border: 1px solid var(--vela-line-2);
  border-radius: 22px;
  background: #070b12;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.how-stage {
  position: relative;
  min-height: 520px;
  background:
    radial-gradient(circle at 50% 42%, rgba(0, 224, 198, 0.08), transparent 46%),
    linear-gradient(180deg, #0c1522, #070b12 70%);
  cursor: pointer;
}

.how-rec {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--vela-t0);
  font-size: 13px;
  pointer-events: none;
}

.how-rec i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vela-t2);
}

.how-rec i.is-live {
  background: #ff5d73;
  box-shadow: 0 0 0 4px rgba(255, 93, 115, 0.18);
}

.how-rec em {
  margin-inline-start: auto;
  color: var(--vela-t1);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.how-scene {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 12px;
  height: 580px;
  padding: 48px 16px 136px;
}

.how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: auto;
}

.how-steps button {
  width: 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  text-align: start;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--vela-t2);
  font: 600 13px/1.3 var(--vela-font);
  padding: 7px 8px;
}

.how-steps button i {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.06);
  font-style: normal;
  font-size: 11px;
}

.how-steps button.is-done {
  color: var(--vela-t1);
}

.how-steps button.is-on {
  border-color: var(--vela-line-2);
  background: var(--vela-acc-soft);
  color: var(--vela-t0);
}

.how-steps button.is-on i,
.how-steps button.is-done i {
  background: var(--vela-acc);
  color: #04221e;
}

.how-visual {
  position: relative;
  min-width: 0;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.how-canvas {
  position: relative;
  min-width: 0;
  height: 100%;
  border-radius: 16px;
  background: rgba(5, 10, 16, 0.45);
  overflow: hidden;
}

.how-cap {
  position: absolute;
  z-index: 4;
  left: 16px;
  right: 16px;
  bottom: 14px;
  margin: 0;
  border-radius: 14px;
  background: rgba(5, 8, 12, 0.82);
  color: var(--vela-t0);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
  text-align: center;
  padding: 12px 16px;
  max-height: 7.4em;
  overflow: auto;
}

.how-poster {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 0;
  background: rgba(5, 8, 12, 0.42);
  color: white;
  cursor: pointer;
}

.how-poster span {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vela-acc);
  box-shadow: 0 0 0 0 rgba(0, 224, 198, 0.45);
  animation: how-pulse 1.8s ease-out infinite;
}

.how-poster svg,
.how-ctrl svg {
  width: 28px;
  height: 28px;
  fill: #04221e;
}

.how-poster strong {
  font-size: 18px;
}

.how-poster small {
  color: var(--vela-t0);
  font-size: 13px;
}

@keyframes how-pulse {
  70% {
    box-shadow: 0 0 0 16px rgba(0, 224, 198, 0);
  }
}

.how-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  background: #05080e;
}

.how-ctrl,
.how-skip,
.how-next,
.how-cc {
  border: 0;
  background: transparent;
  color: var(--vela-t0);
}

.how-ctrl {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vela-acc);
}

.how-ctrl svg {
  width: 16px;
  height: 16px;
}

.how-skip {
  width: 28px;
  font-size: 22px;
  line-height: 1;
}

.how-skip:disabled {
  opacity: 0.35;
}

.how-scrub {
  position: relative;
  flex: 1;
  height: 22px;
  cursor: pointer;
}

.how-scrub > i {
  position: absolute;
  left: 0;
  top: 9px;
  height: 4px;
  border-radius: 99px;
  background: var(--vela-acc);
  pointer-events: none;
}

.how-scrub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 9px;
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.how-scrub button {
  position: absolute;
  top: 0;
  height: 22px;
  border: 0;
  background: transparent;
}

.how-scrub button.is-on::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
}

.how-cc,
.how-next {
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  padding: 6px 8px;
}

.how-cc {
  color: var(--vela-acc);
  border: 1px solid var(--vela-line-2);
}

.how-voice {
  width: 34px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--vela-line-2);
  background: transparent;
  color: var(--vela-t2);
}

.how-voice svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.how-voice.is-on {
  color: var(--vela-acc);
  border-color: var(--vela-acc);
}

.how-voice:disabled {
  opacity: 0.4;
}

.how-cap.is-speaking {
  box-shadow: inset 0 0 0 1px rgba(0, 224, 198, 0.45);
}

.how-next {
  background: rgba(255, 255, 255, 0.06);
}

.how-math {
  margin-top: 16px;
  border: 1px solid var(--vela-line);
  border-radius: 18px;
  background: rgba(8, 16, 24, 0.78);
  padding: 18px 18px 8px;
}

.how-math h2 {
  font-size: 22px;
}

.how-formula {
  margin: 12px 0;
  border-radius: 12px;
  background: #071018;
  color: var(--vela-acc-2);
  font-weight: 800;
  padding: 12px 14px;
}

.how-example {
  margin: 0 0 12px;
  color: var(--vela-t0);
}

.how-math ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

.how-math li {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 12px;
  min-height: 84px;
}

.how-browser {
  width: min(420px, 92%);
  margin: 18px auto 0;
  border: 1px solid var(--vela-line-2);
  border-radius: 16px;
  background: #0d1824;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.how-browser__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  background: #101c2a;
  color: var(--vela-t2);
  font-size: 12px;
}

.how-browser__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #355066;
}

.how-browser__bar i:first-child {
  background: #ff5d73;
}

.how-browser__bar i:nth-child(2) {
  background: var(--vela-gold);
}

.how-browser__bar i:nth-child(3) {
  background: var(--vela-ok);
}

.how-browser__bar span {
  margin-inline-start: 8px;
}

.how-browser__body {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.how-browser__body h3 {
  margin: 0;
  font-size: 18px;
}

.how-field,
.how-chip-btn,
.how-chain,
.how-meter,
.how-terms,
.how-go,
.how-success,
.how-read,
.how-id {
  border-radius: 10px;
  border: 1px solid transparent;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.how-field,
.how-chip-btn,
.how-go {
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.04);
}

.how-field {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: var(--vela-t2);
  font-size: 12px;
}

.how-field b {
  color: var(--vela-t0);
  min-height: 1em;
}

.how-field.is-hot b::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-inline-start: 2px;
  background: var(--vela-acc);
  animation: how-caret 1s steps(1) infinite;
  vertical-align: text-bottom;
}

@keyframes how-caret {
  50% {
    opacity: 0;
  }
}

.how-field.is-hot,
.how-chip-btn.is-hot,
.how-go.is-hot {
  border-color: var(--vela-acc);
  transform: translateY(-1px);
}

.how-chip-btn,
.how-go {
  font-weight: 800;
  color: var(--vela-t0);
}

.how-go {
  text-align: center;
  background: var(--vela-acc);
  color: #04221e;
}

.how-chain,
.how-read {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--vela-t2);
  font-size: 12px;
  opacity: 0.45;
}

.how-terms {
  display: none;
  align-items: center;
  gap: 6px;
  color: var(--vela-ok);
  font-size: 12px;
}

.how-chain.is-on,
.how-read.is-on,
.how-meter.is-on {
  opacity: 1;
  color: var(--vela-t0);
}

.how-terms.is-on {
  display: flex;
}

.how-chain i,
.how-chain em,
.how-chain b {
  font-style: normal;
}

.how-chain i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--vela-ok);
}

.how-chain em {
  border-radius: 99px;
  background: var(--vela-acc-soft);
  color: var(--vela-acc);
  padding: 2px 6px;
}

.how-meter i {
  display: block;
  height: 6px;
  margin-top: 6px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.how-meter u {
  display: block;
  width: 0;
  height: 100%;
  background: var(--vela-acc);
  text-decoration: none;
}

.how-meter.is-on u {
  width: 100%;
  transition: width 0.8s ease;
}

.how-success,
.how-id {
  display: none;
  justify-content: space-between;
  background: rgba(62, 224, 160, 0.12);
  color: var(--vela-ok);
  padding: 8px 10px;
}

.how-success.is-in,
.how-id.is-in {
  display: flex;
  animation: how-cut 0.45s ease;
}

.how-pop {
  position: absolute;
  right: 12px;
  bottom: 18px;
  width: 168px;
  display: grid;
  gap: 4px;
  border-radius: 14px;
  background: #f4f7fb;
  color: #14202c;
  padding: 12px;
  animation: how-cut 0.35s ease;
}

.how-pop p,
.how-pop em {
  margin: 0;
  color: #5c7084;
  font-size: 11px;
  font-style: normal;
}

.how-pop strong {
  font-size: 16px;
}

.how-pop b {
  justify-self: start;
  border-radius: 99px;
  background: #04221e;
  color: var(--vela-acc);
  font-size: 12px;
  padding: 4px 8px;
}

.how-split {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.how-split.is-in {
  display: grid;
}

.how-split li,
.how-dash span,
.how-note,
.how-counts li,
.how-ranks li,
.how-share li,
.how-faces span,
.how-legs article,
.how-place li,
.how-node {
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.how-split li {
  display: grid;
  padding: 6px;
  text-align: center;
  animation: how-cut 0.4s ease both;
}

.how-split b,
.how-node strong,
.how-tree__pay b {
  color: var(--vela-acc);
}

.how-dash {
  width: 168px;
  display: none;
  gap: 6px;
}

.how-dash.is-in {
  display: grid;
  animation: how-cut 0.45s ease;
}

.how-dash p {
  margin: 0;
  color: var(--vela-t0);
  font-weight: 800;
}

.how-dash span {
  padding: 6px 8px;
  font-size: 12px;
  color: var(--vela-t0);
}

.how-dash span[data-kind="hold"] {
  color: var(--vela-gold);
}

.how-join,
.how-login {
  display: grid;
  align-content: center;
  justify-items: center;
}

.how-login {
  grid-auto-flow: column;
  align-items: center;
  gap: 16px;
}

.how-wd {
  display: grid;
  align-content: center;
  justify-items: center;
}

.how-wd .how-browser {
  margin-top: 0;
}

.how-bal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
}

.how-bal span {
  color: var(--vela-t2);
  font-size: 12px;
}

.how-bal strong {
  color: var(--vela-acc);
  font-size: 22px;
}

.how-wd__src {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.how-wd__src li {
  display: grid;
  justify-items: center;
  padding: 6px 4px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 12px;
  animation: how-cut 0.4s ease both;
}

.how-wd__src b {
  color: var(--vela-acc);
}

.how-wd__src li[data-kind="hold"] {
  opacity: 0.55;
}

.how-wd__src li.is-hot {
  opacity: 1;
  outline: 1px solid var(--vela-gold);
}

.how-wd__src li[data-kind="hold"] b,
.how-wd__hold {
  color: var(--vela-gold);
}

.how-wd__min,
.how-wd__hold {
  margin: 0;
  font-size: 12px;
}

.how-wd__min {
  color: var(--vela-t2);
  opacity: 0;
}

.how-wd__min.is-on {
  opacity: 1;
}

.how-ref,
.how-level,
.how-orbit,
.how-stack,
.how-royal {
  display: grid;
  place-items: center;
}

.how-ref {
  grid-template-rows: auto auto auto;
  align-content: center;
  gap: 8px;
}

.how-node {
  min-width: 140px;
  display: grid;
  justify-items: center;
  padding: 10px 14px;
}

.how-node b,
.how-node span {
  display: block;
}

.how-node b {
  color: var(--vela-t0);
}

.how-node--you {
  border: 1px solid var(--vela-acc);
}

.how-node--new {
  opacity: 0;
  transform: translateY(12px);
}

.how-node--new.is-in {
  opacity: 1;
  transform: none;
  transition: 0.45s ease;
}

.how-node strong {
  display: none;
}

.how-node strong.is-in {
  display: block;
  animation: how-cut 0.4s ease;
}

.how-ref__stem {
  width: 2px;
  height: 28px;
  background: var(--vela-line-2);
}

.how-coin {
  position: absolute;
  left: calc(50% - 18px);
  bottom: 78px;
  width: 36px;
  height: 36px;
  display: none;
  place-items: center;
  border-radius: 50%;
  background: var(--vela-gold);
  color: #2a2108;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.how-coin.is-fly {
  display: grid;
  animation: how-fly 0.9s ease forwards;
}

@keyframes how-fly {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  to {
    transform: translate(86px, -78px);
  }
}

.how-note {
  position: absolute;
  left: 16px;
  margin: 0;
  max-width: 180px;
  padding: 8px 10px;
  color: var(--vela-t0);
  font-size: 13px;
  opacity: 0;
}

.how-note.is-in {
  opacity: 1;
  animation: how-cut 0.4s ease;
}

.how-note--dim {
  left: auto;
  right: 16px;
  color: var(--vela-t1);
}

.how-pips,
.how-chain,
.how-place ol,
.how-counts,
.how-ranks,
.how-share ol,
.how-clubs ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.how-level {
  align-content: center;
  gap: 16px;
  padding: 12px;
}

.how-pips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.how-pips li {
  min-width: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--vela-t2);
  text-align: center;
  padding: 4px;
  font-size: 11px;
}

.how-pips li.is-on {
  background: var(--vela-gold-soft);
  color: var(--vela-gold);
}

.how-pips b,
.how-pips span {
  display: block;
}

.how-chain {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.how-chain li {
  width: 108px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  padding: 8px;
  color: var(--vela-t2);
}

.how-chain li b,
.how-chain li span,
.how-chain li em,
.how-chain li strong {
  display: block;
  font-style: normal;
}

.how-chain li.done,
.how-chain li.pay {
  color: var(--vela-t0);
  border: 1px solid var(--vela-acc);
}

.how-chain li.skip {
  color: var(--vela-bad);
  border: 1px dashed var(--vela-bad);
}

.how-chain li.is-end {
  color: var(--vela-gold);
}

.how-cut {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  animation: how-cut 0.45s ease;
}

@keyframes how-cut {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.how-place {
  display: grid;
  justify-items: center;
  gap: 16px;
}

.how-place__src {
  width: 92px;
  height: 92px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--vela-acc-soft);
  color: var(--vela-t0);
}

.how-place__src b {
  font-size: 28px;
}

.how-place__stack {
  margin: 0;
  color: var(--vela-acc);
  font-size: 13px;
  font-weight: 700;
}

.how-place ol {
  display: flex;
  gap: 8px;
}

.how-place li {
  width: 72px;
  text-align: center;
  padding: 8px 4px;
  opacity: 0.35;
  transform: translateY(10px);
}

.how-place li.is-in {
  opacity: 1;
  transform: none;
  transition: 0.45s ease;
  transition-delay: var(--d);
  border: 1px solid var(--vela-acc);
}

.how-place li b,
.how-place li span {
  display: block;
  color: var(--vela-t0);
  font-size: 12px;
}

.how-ring-layout {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 8px;
  padding: 8px;
}

.how-ring {
  position: relative;
  height: 100%;
  min-height: 280px;
}

.how-ring__spin {
  position: absolute;
  inset: 8%;
  border: 1px dashed rgba(0, 224, 198, 0.35);
  border-radius: 50%;
}

.how-ring.is-cycle .how-ring__spin {
  animation: how-spin 8s linear infinite;
}

@keyframes how-spin {
  to {
    transform: rotate(360deg);
  }
}

.how-ring__core,
.how-ring > span {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.how-ring__core {
  left: 50%;
  top: 50%;
  width: 74px;
  height: 74px;
  transform: translate(-50%, -50%);
  background: #102033;
  color: var(--vela-t0);
  text-align: center;
}

.how-ring > span {
  width: 28px;
  height: 28px;
  margin: -14px 0 0 -14px;
  background: #1a2c3e;
  color: var(--vela-t1);
  font-size: 12px;
  font-weight: 800;
}

.how-ring > span.is-on {
  background: var(--vela-acc);
  color: #04221e;
  transform: scale(1.08);
}

.how-ring.is-cycle > span {
  animation: how-seat 1.4s ease infinite;
  animation-delay: var(--d);
}

@keyframes how-seat {
  40% {
    background: var(--vela-acc);
    color: #04221e;
  }
}

.how-ring > span[data-kind="pay"].is-on {
  background: var(--vela-ok);
}

.how-ring > span[data-kind="hold"].is-on {
  background: var(--vela-gold);
  color: #2a2108;
}

.how-ring__side ul {
  list-style: none;
  margin: 8px 0;
  padding: 0;
  display: grid;
  gap: 4px;
}

.how-ring__side li {
  display: grid;
  grid-template-columns: 10px 1fr auto;
  gap: 6px;
  align-items: center;
  color: var(--vela-t2);
  font-size: 12px;
}

.how-ring__side li.is-on {
  color: var(--vela-t0);
}

.how-ring__side i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.how-ring__side li[data-kind="pay"] i {
  background: var(--vela-ok);
}

.how-ring__side li[data-kind="hold"] i {
  background: var(--vela-gold);
}

.how-ring__side li[data-kind="stack"] i {
  background: #7aa2ff;
}

.how-holdbar {
  display: none;
  margin-top: 8px;
}

.how-holdbar.is-on {
  opacity: 1;
}

.how-holdbar i {
  display: block;
  height: 8px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--vela-gold), transparent 30%);
}

.how-holdbar.is-on i {
  background: linear-gradient(90deg, var(--vela-gold), var(--vela-gold));
  animation: how-fill 1s ease;
}

@keyframes how-fill {
  from {
    transform: scaleX(0.15);
    transform-origin: left;
  }
}

.how-holdbar span,
.how-clubs small {
  color: var(--vela-t1);
  font-size: 12px;
}

.how-clubs ol {
  display: flex;
  align-items: end;
  gap: 10px;
  height: 240px;
}

.how-clubs li {
  width: 64px;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 4px;
  color: var(--vela-t0);
}

.how-clubs i {
  width: 28px;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--vela-acc), #0c6e63);
}

.how-clubs li.is-on i {
  background: var(--vela-gold);
}

.how-tree,
.how-counts,
.how-pool,
.how-legs,
.how-ranks,
.how-share {
  width: min(460px, 94%);
}

.how-tree {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.how-tree__seat {
  margin: 0;
  color: #7aa2ff;
  font-weight: 800;
}

.how-tree__row {
  display: flex;
  gap: 8px;
}

.how-tree__row span,
.how-faces span {
  min-width: 54px;
  text-align: center;
  border-radius: 12px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--vela-t2);
}

.how-tree__row span.is-on {
  background: rgba(122, 162, 255, 0.18);
  color: var(--vela-t0);
  border: 1px solid #7aa2ff;
}

.how-tree__pay {
  display: none;
  gap: 8px;
  align-items: center;
  color: var(--vela-t0);
}

.how-tree__pay.is-in {
  display: flex;
  animation: how-cut 0.4s ease;
}

.how-tree__pay b {
  font-size: 28px;
}

.how-counts {
  display: grid;
  gap: 8px;
}

.how-counts li,
.how-ranks li,
.how-pool li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  color: var(--vela-t0);
}

.how-counts small {
  color: var(--vela-t2);
}

.how-pool,
.how-legs,
.how-share {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.how-pool__jar {
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 60%, #6d4dff, #24164d 70%);
  color: white;
  text-align: center;
  animation: how-cut 0.45s ease;
}

.how-pool__jar b {
  font-size: 28px;
}

.how-pool ol {
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.how-legs {
  grid-template-columns: 1fr 1fr;
  width: min(420px, 94%);
}

.how-legs article {
  display: grid;
  justify-items: center;
  padding: 22px 10px;
  color: var(--vela-t0);
}

.how-legs b {
  font-size: 40px;
}

.how-legs article.is-ok {
  border: 1px solid #b08cff;
  background: rgba(109, 77, 255, 0.16);
}

.how-ranks {
  display: grid;
  gap: 6px;
}

.how-share {
  width: min(520px, 96%);
}

.how-share p {
  margin: 0;
  color: var(--vela-t0);
}

.how-share ol {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: 100%;
}

.how-share li {
  text-align: center;
  padding: 8px 2px;
  color: var(--vela-t0);
  font-size: 12px;
}

.how-share li.is-on {
  background: rgba(176, 140, 255, 0.25);
  border: 1px solid #b08cff;
}

.how-faces {
  display: none;
  gap: 8px;
}

.how-faces.is-in {
  display: flex;
}

.how-faces b,
.how-faces em {
  display: block;
  font-style: normal;
  color: var(--vela-t0);
}

@media (max-width: 980px) {
  .how-page {
    overflow-x: clip;
  }

  .how-top,
  .how-wrap {
    width: min(1180px, calc(100% - 24px));
  }

  .how-top {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand join"
      "title title"
      "lang lang";
    gap: 12px 10px;
    align-items: center;
    padding-top: 16px;
  }

  .how-brand {
    grid-area: brand;
  }

  .how-join {
    grid-area: join;
    justify-self: end;
    margin: 0;
    padding: 10px 16px;
  }

  .how-top__copy {
    grid-area: title;
    order: 0;
  }

  .how-top__copy h1 {
    font-size: 26px;
  }

  .how-lang {
    grid-area: lang;
  }

  .how-lang select {
    width: 100%;
    min-width: 0;
  }

  .how-lead {
    font-size: 15px;
    line-height: 1.5;
  }

  .how-layout,
  .how-main,
  .how-rail,
  .how-player,
  .how-scene,
  .how-visual,
  .how-canvas {
    min-width: 0;
  }

  .how-layout,
  .how-scene,
  .how-ring-layout,
  .how-math ul {
    display: grid;
    grid-template-columns: 1fr;
  }

  .how-rail {
    position: static;
    padding: 12px;
  }

  .how-rail ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: visible;
    gap: 8px;
  }

  .how-rail li {
    min-width: 0;
  }

  .how-rail button {
    height: 100%;
    align-items: start;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.03);
  }

  .how-rail button.is-on {
    border-color: rgba(0, 224, 198, 0.5);
  }

  .how-rail small {
    white-space: normal;
  }

  .how-player {
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  }

  .how-stage {
    min-height: 0;
  }

  .how-scene {
    height: auto;
    min-height: 0;
    padding: 46px 12px 8px;
    gap: 10px;
  }

  .how-visual {
    height: auto;
  }

  .how-canvas {
    height: auto;
    min-height: 280px;
  }

  .how-steps {
    flex-direction: row;
    flex-wrap: wrap;
    overflow: visible;
  }

  .how-steps li {
    min-width: 0;
  }

  .how-steps button {
    width: auto;
    border-radius: 999px;
    padding: 8px 12px;
  }

  .how-cap {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0 12px 12px;
    max-height: 8.8em;
    font-size: 14px;
    overflow-wrap: anywhere;
  }

  .how-login,
  .how-wd {
    grid-auto-flow: row;
  }

  .how-dash {
    width: min(100%, 320px);
  }

  .how-browser {
    width: min(420px, 100%);
    margin-top: 8px;
  }

  .how-note,
  .how-note--dim {
    position: static;
    max-width: none;
  }

  .how-pop {
    position: static;
    width: min(220px, 100%);
    margin: 8px auto;
  }

  .how-poster span {
    width: 72px;
    height: 72px;
  }

  .how-controls {
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px 12px 12px;
  }

  .how-ctrl,
  .how-voice,
  .how-skip {
    min-width: 40px;
    min-height: 40px;
  }

  .how-voice {
    width: 40px;
    height: 40px;
  }

  .how-scrub {
    order: 5;
    flex: 1 1 100%;
    height: 28px;
  }

  .how-next {
    order: 6;
    flex: 1 1 100%;
    margin: 0;
    padding: 10px 12px;
    text-align: center;
  }

  .how-formula,
  .how-example,
  .how-math li {
    overflow-wrap: anywhere;
  }

  .how-place ol,
  .how-clubs ol {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
  }

  .how-share ol {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .how-share li {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 640px) {
  .how-top__copy h1 {
    font-size: 22px;
  }

  .how-wrap {
    padding-bottom: calc(36px + env(safe-area-inset-bottom));
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-page *,
  .how-page *::before,
  .how-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
