/* r16: readable, explicitly inactive Flow weights beside actual positions. */
.flow-weight-panel{margin:24px 0 32px;padding:22px 26px;background:#161a19ed;border:1px solid #d1ef8526;border-radius:12px;color:#eef2e7}.flow-weight-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px}.flow-weight-heading>strong{font-size:16px;font-weight:600}.flow-weight-heading>span{font-size:11px;color:#bac5af}.flow-weight-values{display:grid;grid-template-columns:1fr .8fr 1.6fr;gap:24px}.flow-weight-values>div{display:grid;gap:5px}.flow-weight-values span,.flow-weight-values small{font-size:11px;color:#b4beb0}.flow-weight-values strong{font-size:24px;font-weight:500;font-variant-numeric:tabular-nums;color:#e2f1c8}.flow-weight-values strong small{font-size:12px}.flow-weight-values i{font-size:13px;font-style:normal;color:#65715d;margin:0 7px}.flow-weight-tiers{margin-top:20px;border-top:1px solid #ffffff16;padding-top:14px}.flow-weight-tiers summary{cursor:pointer;display:flex;justify-content:space-between;gap:14px;font-size:12px;color:#dae6ca}.flow-weight-tiers summary span{font-size:11px;color:#bdd08f}.flow-weight-tiers p{font-size:12px;line-height:1.8;color:#bcc5b5;max-width:78ch;margin:15px 0 0}.flow-weight-tiers a{color:#d1ef85}.flow-tier-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:15px}.flow-tier-list>span{display:flex;gap:14px;padding:8px 12px;border:1px solid #ffffff18;border-radius:6px;font-size:11px}.flow-tier-list b{font-weight:400;color:#c0cbb5}.flow-tier-list strong{color:#d1ef85;font-weight:500}.flow-weight-compact{padding:17px 20px;margin-top:0}.flow-weight-compact .flow-weight-values strong{font-size:21px}.lp-flow-weight{margin:0 0 18px;padding:12px 0;border-bottom:1px solid #ffffff16}.lp-flow-weight>div{display:flex;justify-content:space-between;align-items:center}.lp-flow-weight>div span{font-size:12px;color:#b8c3ac}.lp-flow-weight strong{color:#d1ef85;font-size:22px;font-weight:600}.lp-flow-weight p{font-size:11px;line-height:1.6;margin:6px 0;color:#bcc5b5}.lp-flow-weight p span{display:block;color:#aeb8a4}.lp-flow-weight a{font-size:11px;color:#d1ef85}.market-weight{display:grid;justify-items:center;gap:4px;text-align:center;font-variant-numeric:tabular-nums}.market-weight strong{font-size:17px;color:#d1ef85;font-weight:600}.market-weight small{font-size:9px;color:#b5c0ab}.market-entry{cursor:pointer}.market-entry:focus-visible{outline:2px solid #d1ef85;outline-offset:-3px}.market-entry a,.market-entry button{cursor:pointer}.market-weights-note{font-size:11px;color:#b7c2ab;line-height:1.7;margin:14px 0}.market-weights-note a{color:#d1ef85}.position-mode-nav{display:flex;align-items:center;gap:14px;padding:12px 0;margin:10px 0 22px;border-bottom:1px solid #ffffff1b}.position-mode-nav>a{padding:9px 13px;border-radius:6px;font-size:13px}.position-mode-nav>a[aria-current=page]{background:#d1ef8518;color:#e0f3c2}.position-mode-nav>span{font-size:12px;color:#b4bbb1;margin-left:auto;max-width:54ch}.lp-price-axis{pointer-events:auto!important;touch-action:none;cursor:ns-resize;z-index:4;user-select:none;-webkit-user-select:none}.lp-price-axis span{pointer-events:none}.lp-plot{touch-action:none;cursor:grab}.lp-plot.is-panning{cursor:grabbing}.lp-price-axis.is-scaling{cursor:ns-resize}.lp-price-axis:focus-visible,.lp-plot:focus-visible{outline:2px solid #d1ef85;outline-offset:3px}.lp-price-axis:hover{background:#d1ef8508;border-radius:4px}.lp-drag-hint{line-height:1.7}dialog{overscroll-behavior:contain}dialog::backdrop{overscroll-behavior:none}.modal-scroll-locked{overscroll-behavior:none}.vault-wallet-state{font-size:12px;color:#bfd695}.managed-explainer{max-width:74ch;font-size:13px;line-height:1.8;color:#c0c9b6}
@media(max-width:760px){.flow-weight-panel{padding:18px;margin:18px 0 24px}.flow-weight-values{grid-template-columns:1fr 1fr;gap:20px}.flow-weight-values>div:last-child{grid-column:1/-1;border-top:1px solid #ffffff12;padding-top:14px}.flow-weight-heading{align-items:flex-start}.flow-weight-tiers summary{flex-wrap:wrap}.flow-weight-tiers summary span{font-size:10px}.flow-tier-list{gap:7px}.flow-tier-list>span{flex:1 1 135px;justify-content:space-between}.position-mode-nav{gap:8px;flex-wrap:wrap}.position-mode-nav>span{flex-basis:100%;margin:0}.position-mode-nav>a{font-size:12px}}

/* Flow rules span the detail page; protocol programs retain their own row. */
.reward-section{grid-template-columns:1fr 1fr}.reward-section>div:first-child,.reward-section>.flow-weight-panel{grid-column:1/-1}.reward-section>.flow-weight-panel{margin:0}.reward-section h2{max-width:none}
@media(max-width:600px){.reward-section{grid-template-columns:1fr}.reward-section>div:first-child,.reward-section>.flow-weight-panel{grid-column:1}.reward-section .flow-weight-values{grid-template-columns:1fr 1fr}}
/* Keep decorative scenery inside the viewport without clipping product content. */
.world-background{transform:none}
/* r18: subdued woodland with a brighter local torch reveal. */
.intro .art-base{filter:brightness(.68) saturate(.72);opacity:.52}
.intro .intro-shade{background:linear-gradient(90deg,#02040399 0%,#02040340 34%,transparent 65%)}
@media(max-width:760px){.intro .intro-shade{background:linear-gradient(180deg,#020403 25%,#02040399 33%,transparent 52%)}}

/* A small leaf carries the weight explanation without repeating numbers in every row. */
.market-weight{justify-self:center;align-self:center}
.market-weight-leaf{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:30px;padding:6px 9px;border:1px solid #d1ef8530;border-radius:999px;background:#d1ef8510;color:#d1ef85;font-size:10px;line-height:1.2;white-space:nowrap;transition:background .15s,border-color .15s}
.market-weight-leaf svg{width:14px;height:14px;flex-shrink:0}
.market-weight-leaf:hover,.market-weight-leaf[aria-expanded=true]{background:#d1ef8524;border-color:#d1ef8560}
.market-weight-leaf:focus-visible{outline:2px solid #d1ef85;outline-offset:3px}
.market-weight-tip{position:fixed;inset:auto;margin:0;width:232px;max-width:calc(100vw - 24px);padding:15px 17px;background:#20251f;color:#e8eddf;border:1px solid #d1ef853a;border-radius:10px;box-shadow:0 10px 32px #0006;text-align:left;pointer-events:auto;font-family:Manrope,sans-serif;font-variant-numeric:tabular-nums}
.market-weight-tip:popover-open{display:grid;gap:8px}
.market-weight-tip>span{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:12px}
.market-weight-tip strong{font-size:20px;color:#d1ef85;font-weight:600}
.market-weight-tip small{font-size:10px;line-height:1.7;color:#c0cbb6}
@media(max-width:600px){.market-weight{grid-column:1;grid-row:3;justify-self:start}}

/* r20: restore the familiar leaf + LP points capsule. */
@media(min-width:601px) and (max-width:1100px){.market-weight-leaf{font-size:9px;gap:4px;padding-inline:7px}}
@media(pointer:coarse){.market-weight-leaf{min-height:40px}}
