/* A connected network: resources out, Meddioo Coin back to each account. */
.network-hero { max-width: 1340px; padding-top: 24px; }
.node-network-demo { --gpu-color: #8062ad; --cpu-color: #427ca2; --data-color: #287d6e; --flow-duration: 3.6s; }
.node-network-demo .node-network-poster { padding: 29px 26px 23px; border-top: 0; }
.node-network-demo .story-poster[data-archived] { display: none !important; }
.node-poster-heading { text-align: center; margin: 0 auto 10px; }
.node-network-poster .node-poster-heading h1 { font-size: clamp(28px, 3vw, 37px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; }
.node-poster-heading p { margin-top: 11px; font-size: 13px; color: #737985; }
.transfer-key { display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 18px; color: #737985; font-size: 10px; }
.transfer-key > span { display: flex; align-items: center; gap: 7px; }
.transfer-key img { width: 19px; height: 19px; }
.resource-key-line { position: relative; width: 28px; height: 2px; background: linear-gradient(90deg,#8169a9,#3d8a85); }
.resource-key-line::after { content: ''; position: absolute; right: 0; top: -3px; width: 7px; height: 7px; border-top: 1px solid #3d8a85; border-right: 1px solid #3d8a85; transform: rotate(45deg); }
.node-network-figure { margin: 0; }
.node-network-canvas { position: relative; height: 700px; overflow: hidden; isolation: isolate; border-radius: 12px; background: radial-gradient(ellipse at 50% 44%,#fff 0%,#ffffffc4 30%,transparent 72%),radial-gradient(circle,#cbd2dd .65px,transparent .85px) 0 0 / 22px 22px,#fdfdfe; }
.node-network-links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 0; pointer-events: none; }
.node-mesh-link { stroke: #c7cfdc; stroke-width: 1.15; stroke-dasharray: 3 6; }
.node-resource-path { stroke-width: 1.6; }
.flow-gpu { stroke: #ad98cc; }
.flow-cpu { stroke: #83abc6; }
.flow-data { stroke: #7aa99c; }
.node-coin-path { stroke: #d3b16d; stroke-width: 1.1; stroke-dasharray: 2 4; }
.network-identity { position: absolute; top: 41%; left: 50%; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; white-space: nowrap; }
.network-identity > img { width: 90px; height: 90px; margin-bottom: 14px; }
.network-identity > strong { font-size: 19px; font-weight: 500; letter-spacing: -.035em; color: #3b3d47; }
.network-identity > span:not(.network-orbit) { margin-top: 7px; font-size: 11px; color: #77808e; }
.network-orbit { position: absolute; width: 244px; height: 244px; left: 50%; top: 40%; transform: translate(-50%,-50%); border: 1px solid #e7ecf3; border-radius: 50%; z-index: -1; background: radial-gradient(circle,#fff 40%,#fffffff0 63%,#ffffffa8 78%); }
.network-orbit::after { content: ''; position: absolute; inset: -19px; border: 1px dashed #e3e9f1; border-radius: 50%; }
.network-peer { position: absolute; z-index: 2; width: 264px; display: flex; align-items: center; }
.peer-mina { left: 3%; top: 70px; }
.peer-leo { right: 3%; top: 70px; }
.peer-reverse { flex-direction: row-reverse; }
.peer-noor { left: 50%; bottom: 18px; transform: translateX(-50%); width: 140px; flex-direction: column-reverse; }
.peer-person { width: 112px; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.peer-avatar { width: 65px; height: 65px; position: relative; display: grid; place-items: center; margin-bottom: 8px; }
.peer-icon { width: 60px; height: 60px; color: #687387; }
.peer-wallet { position: absolute; width: 24px; height: 24px; right: -4px; bottom: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px #fdfdfe; z-index: 3; }
.peer-person > strong { font-size: 14px; font-weight: 500; letter-spacing: -.02em; color: #414b5c; line-height: 1.4; }
.peer-balances { display: grid; justify-items: center; align-content: start; gap: 4px; margin-top: 7px; min-height: 38px; }
.peer-delta { display: flex; align-items: baseline; gap: 7px; font-size: 10px; line-height: 1.4; }
.peer-delta b { font: 500 12px/1.4 ui-monospace,Consolas,monospace; }
.delta-credit { color: #337b66; }
.delta-debit { color: #976652; }
.peer-machine-link { position: relative; height: 1px; min-width: 24px; flex: 1; background: #bdc7d6; align-self: center; margin-bottom: 18px; }
.peer-machine-link::before,.peer-machine-link::after { content: ''; position: absolute; top: -2px; width: 5px; height: 5px; background: #aebcce; border: 1px solid #fcfcfd; border-radius: 50%; }
.peer-machine-link::before { left: 0; } .peer-machine-link::after { right: 0; }
.network-device { width: 128px; flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; }
.network-device > strong { order: 2; margin-top: 7px; color: #697487; font-size: 10px; font-weight: 500; line-height: 1.4; }
.device-symbol { width: 82px; height: 74px; position: relative; display: grid; place-items: center; background: #fdfdfe; border-radius: 50%; }
.device-symbol > .icon { width: 82px; height: 74px; color: #738299; }
.device-symbol > .node-mark { position: absolute; width: 28px; height: 28px; left: 27px; top: 14px; }
.cloud-peer { width: 146px; flex-direction: column; }
.peer-cloud { left: 14%; top: 430px; }
.peer-partner { right: 14%; top: 430px; }
.cloud-device { width: 110px; }
.cloud-device .device-symbol,.cloud-device .device-symbol > .icon { width: 100px; height: 83px; }
.cloud-device .device-symbol > .node-mark { width: 29px; height: 29px; top: 33px; left: 38px; }
.cloud-device .peer-wallet { left: -2px; right: auto; bottom: 0; }
.cloud-peer .peer-person { width: 146px; margin-top: 7px; }
.cloud-node-caption { margin-top: 3px; font-size: 10px; color: #7f8998; }
.cloud-peer .peer-balances { min-height: 0; }
.peer-noor .peer-machine-link { min-width: 1px; width: 1px; min-height: 16px; flex: none; margin: 3px 0 10px; }
.peer-noor .peer-machine-link::before,.peer-noor .peer-machine-link::after { left: -2px; right: auto; }
.peer-noor .peer-machine-link::before { top: 0; } .peer-noor .peer-machine-link::after { top: auto; bottom: 0; }
.peer-noor .peer-balances { min-height: 0; margin-top: 5px; }
.network-packet,.coin-packet { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; offset-anchor: 50% 50%; offset-rotate: 0deg; offset-distance: 46%; visibility: hidden; }
[data-network-ready] :is(.network-packet,.coin-packet) { visibility: visible; }
.network-packet { display: flex; align-items: center; gap: 6px; min-width: 78px; padding: 5px 8px; border: 1px solid; border-radius: 6px; background: #fff; box-shadow: 0 3px 8px #393c5110; font-size: 10px; line-height: 1.2; }
.network-packet .icon { width: 15px; height: 15px; }
.network-packet strong { font-weight: 500; }
.network-packet > span { font: 9px ui-monospace,Consolas,monospace; padding-left: 5px; border-left: 1px solid #e6e7ed; color: #777e8b; }
.packet-gpu { color: var(--gpu-color); border-color: #d7cae8; }
.packet-cpu { color: var(--cpu-color); border-color: #cadde9; }
.packet-data { color: var(--data-color); border-color: #c8ded5; }
.coin-packet { width: 27px; height: 27px; filter: drop-shadow(0 2px 3px #aa833830); offset-distance: 56%; }
.coin-packet img { width: 100%; height: 100%; }
[data-flow="gpu"] { --flow-delay: -1.1s; }
[data-flow="cpu"] { --flow-delay: -2.1s; }
[data-flow="data"] { --flow-delay: -.5s; }
.packet-repeat { --repeat-offset: -1.8s; }
.packet-repeat[data-flow="data"], .packet-repeat[data-flow="cpu"] { display: none; }
.network-packet[data-flow="cpu"] { --packet-start: 15%; --packet-end: 74%; }
.node-network-demo[data-motion="playing"] :is(.network-packet,.coin-packet) { animation: transfer-packet var(--flow-duration) linear calc(var(--flow-delay) + var(--repeat-offset,0s)) infinite; animation-play-state: var(--flow-play-state,running); }
.node-network-demo[data-motion="playing"] .node-mesh-link { animation: mesh-flow 4s linear infinite; animation-play-state: var(--flow-play-state,running); }
@keyframes transfer-packet { 0% { offset-distance: var(--packet-start,5%); opacity: 0; } 14%,86% { opacity: 1; } 100% { offset-distance: var(--packet-end,95%); opacity: 0; } }
@keyframes mesh-flow { to { stroke-dashoffset: -36; } }
.balance-journey { display: grid; grid-template-columns: 1fr 65px 1fr 65px 1fr; gap: 25px; align-items: center; padding: 23px 50px 21px; border-top: 1px solid #eaeef3; border-bottom: 1px solid #eaeef3; margin-top: 12px; }
.journey-step { display: flex; align-items: center; gap: 12px; }
.journey-step > .icon { width: 31px; height: 31px; color: #7f8b9b; }
.journey-step > div { display: flex; flex-direction: column; gap: 5px; }
.journey-step strong { font-size: 13px; color: #454c57; font-weight: 500; white-space: nowrap; }
.journey-step span { font-size: 10px; color: #848998; }
.journey-balance > img { width: 44px; height: 44px; }
.journey-connector { position: relative; height: 1px; background: #dfc99d; }
.journey-connector::after { content: ''; position: absolute; right: 0; top: -3px; width: 6px; height: 6px; border-top: 1px solid #bd9e63; border-right: 1px solid #bd9e63; transform: rotate(45deg); }
.journey-connector img { position: absolute; top: -9px; width: 18px; height: 18px; left: 40%; }
.node-network-demo[data-motion="playing"] .journey-connector img { animation: balance-flow 3s linear infinite; animation-play-state: var(--flow-play-state,running); }
@keyframes balance-flow { from { left: 0; opacity: 0; } 20%,80% { opacity: 1; } to { left: calc(100% - 18px); opacity: 0; } }
.balance-outcomes { display: flex; flex-direction: column; gap: 13px; border-left: 1px solid #e5e9ef; padding-left: 22px; }
.balance-outcomes > span { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #667182; white-space: nowrap; }
.balance-outcomes .icon { width: 16px; height: 16px; }
.transfer-explanation { text-align: center; font-size: 10px; color: #818794; margin-top: 16px; line-height: 1.7; }
@media (max-width:1100px) {
  .node-network-demo .node-network-poster { padding-inline: 20px; }
  .network-peer { width: 233px; } .peer-person { width: 102px; } .network-device { width: 110px; }
  .peer-mina { left: 1%; } .peer-leo { right: 1%; }
  .peer-noor { width: 140px; } .cloud-peer { width: 146px; }
  .peer-cloud { left: 12%; } .peer-partner { right: 12%; }
  .balance-journey { padding-inline: 10px; gap: 15px; grid-template-columns: 1fr 32px 1fr 32px 1fr; }
  .journey-step { gap: 8px; } .journey-step strong { font-size: 12px; } .balance-outcomes { padding-left: 13px; }
}
@media (min-width:681px) and (max-width:850px) {
  .network-peer { width: 200px; } .peer-person { width: 86px; } .network-device { width: 90px; }
  .peer-avatar { width: 57px; height: 57px; } .peer-icon { width: 53px; height: 53px; }
  .peer-wallet { width: 22px; height: 22px; }
  .device-symbol,.device-symbol > .icon { width: 74px; height: 66px; }
  .device-symbol > .node-mark { width: 25px; height: 25px; left: 24px; top: 12px; }
  .peer-noor { width: 140px; } .cloud-peer { width: 140px; }
  .peer-cloud { left: 7%; } .peer-partner { right: 7%; }
  .network-orbit { width: 210px; height: 210px; } .network-orbit::after { inset: -14px; }
  .network-identity > img { width: 80px; height: 80px; }
  .balance-journey { grid-template-columns: 1fr 20px 1fr 20px 1fr; gap: 7px; padding-inline: 0; }
  .journey-step > .icon { width: 24px; height: 24px; } .journey-balance > img { width: 32px; height: 32px; }
  .journey-step strong { font-size: 11px; } .journey-step span { font-size: 9px; } .balance-outcomes > span { font-size: 10px; }
  .packet-repeat { display: none; }
}
@media (max-width:680px) {
  .network-hero { width: calc(100% - 24px); padding-top: 14px; }
  .node-network-demo .node-network-poster { padding: 25px 10px 18px; }
  .node-network-poster .node-poster-heading h1 { font-size: 28px; max-width: 300px; margin-inline: auto; }
  .node-poster-heading p { max-width: 250px; margin-inline: auto; font-size: 11px; line-height: 1.8; }
  .transfer-key { gap: 17px; font-size: 9px; margin-top: 14px; }
  .node-network-canvas { height: 1010px; background-size: auto,18px 18px,auto; }
  .network-peer,.peer-reverse { width: 126px; flex-direction: column; }
  .peer-mina { left: 3%; top: 38px; } .peer-leo { right: 3%; top: 38px; }
  .peer-person { width: 120px; } .peer-person > strong { font-size: 12px; }
  .peer-avatar { width: 55px; height: 55px; margin-bottom: 7px; } .peer-icon { width: 51px; height: 51px; }
  .peer-wallet { width: 22px; height: 22px; right: -3px; }
  .peer-balances { min-height: 33px; gap: 2px; margin-top: 5px; } .peer-delta { font-size: 9px; } .peer-delta b { font-size: 11px; }
  .peer-machine-link { min-width: 1px; width: 1px; height: 18px; min-height: 18px; flex: none; margin: 7px 0; }
  .peer-machine-link::before,.peer-machine-link::after { left: -2px; right: auto; }
  .peer-machine-link::before { top: 0; } .peer-machine-link::after { top: auto; bottom: 0; }
  .network-device { width: 92px; } .network-device > strong { font-size: 9px; margin-top: 5px; }
  .device-symbol,.device-symbol > .icon { width: 68px; height: 61px; }
  .device-symbol > .node-mark { width: 23px; height: 23px; left: 22px; top: 11px; }
  .cloud-peer { width: 118px; } .peer-cloud { left: 3%; top: 562px; } .peer-partner { right: 3%; top: 562px; }
  .cloud-device .device-symbol,.cloud-device .device-symbol > .icon { width: 84px; height: 73px; }
  .cloud-device .device-symbol > .node-mark { width: 25px; height: 25px; left: 31px; top: 28px; }
  .cloud-peer .peer-person { width: 118px; margin-top: 7px; } .cloud-peer .peer-person > strong { font-size: 11px; }
  .cloud-node-caption { font-size: 9px; } .cloud-peer .peer-balances { min-height: 0; }
  .network-identity { top: 40.5%; } .network-identity > img { width: 78px; height: 78px; margin-bottom: 12px; }
  .network-identity > strong { font-size: 16px; } .network-identity > span:not(.network-orbit) { font-size: 9px; }
  .network-orbit { width: 180px; height: 180px; } .network-orbit::after { inset: -14px; }
  .peer-noor { left: 50%; bottom: 20px; flex-direction: column-reverse; }
  .peer-noor .peer-machine-link { min-height: 17px; margin-block: 5px 9px; }
  .node-mesh-link[data-mesh-path="mina-noor"],.node-mesh-link[data-mesh-path="leo-noor"],.node-mesh-link[data-mesh-path="cloud-partner"] { display: none; }
  .network-packet { min-width: 53px; padding: 5px; gap: 4px; font-size: 9px; --packet-start: 22%; --packet-end: 78%; }
  .network-packet > span { display: none; } .network-packet .icon { width: 13px; height: 13px; }
  .coin-packet { width: 23px; height: 23px; --packet-start: 8%; --packet-end: 97%; }
  .packet-repeat { display: none; }
  .balance-journey { grid-template-columns: 1fr 30px 1fr; gap: 20px 10px; padding: 22px 6px; }
  .journey-step { flex-direction: column; text-align: center; gap: 8px; } .journey-step > div { gap: 4px; }
  .journey-step strong { font-size: 11px; } .journey-step span { font-size: 9px; }
  .journey-step > .icon { width: 32px; height: 32px; } .journey-balance > img { width: 36px; height: 36px; }
  .journey-connector:nth-of-type(2) { display: none; }
  .balance-outcomes { grid-column: 1/-1; border-left: 0; border-top: 1px solid #e9edf2; padding: 17px 0 0; flex-direction: row; justify-content: center; gap: 20px; }
  .balance-outcomes > span { font-size: 10px; } .transfer-explanation { font-size: 9px; margin-inline: 8px; }
}
@media (max-width:370px) {
  .node-network-demo .node-network-poster { padding-inline: 7px; }
  .node-network-poster .node-poster-heading h1 { font-size: 25px; }
  .network-peer { width: 106px; } .peer-mina,.peer-cloud { left: 1%; } .peer-leo,.peer-partner { right: 1%; }
  .peer-person,.cloud-peer .peer-person { width: 106px; }
  .peer-avatar { width: 51px; height: 51px; } .peer-icon { width: 48px; height: 48px; }
  .network-device { width: 82px; } .device-symbol,.device-symbol > .icon { width: 64px; height: 58px; }
  .device-symbol > .node-mark { width: 22px; height: 22px; left: 21px; top: 10px; }
  .cloud-device .device-symbol,.cloud-device .device-symbol > .icon { width: 78px; height: 69px; }
  .cloud-device .device-symbol > .node-mark { left: 28px; top: 27px; width: 23px; height: 23px; }
  .network-orbit { width: 163px; height: 163px; } .network-orbit::after { inset: -12px; }
  .network-packet { min-width: 47px; font-size: 8px; padding: 4px; }
  .coin-packet { width: 21px; height: 21px; }
}
@media (prefers-reduced-motion:reduce) {
  .node-network-demo :is(.network-packet,.coin-packet,.node-mesh-link,.journey-connector img) { animation: none !important; }
  .packet-repeat { display: none; }
}
@media print {
  .node-network-demo .story-poster[data-archived] { display: none !important; }
  .node-network-canvas { break-inside: avoid; }
  .node-network-demo :is(.network-packet,.coin-packet,.node-mesh-link,.journey-connector img) { animation: none !important; }
  .packet-repeat { display: none; }
}
