/* A quiet market surface: black price, electric fill, glass event controls. */
.market-card { padding: 28px; background: #fff; border: 1px solid #e7e7e9; border-radius: 32px; box-shadow: 0 3px 8px #17171903,0 18px 55px #17171905; overflow: hidden; }
.market-header { align-items: center; gap: 22px; }
.market-identity { gap: 13px; }
.market-identity h2 { font-size: 24px; font-weight: 600; letter-spacing: -.025em; }
.market-identity p { font-size: 13px; color: #777; }
.token-emblem { width: 44px; height: 44px; border-radius: 15px; background: linear-gradient(155deg,#555d4d,#171e10 55%,#080e04); color: #c3ff35; border: 1px solid #434c38; box-shadow: inset 0 1px 1px #ffffff90,inset 0 -2px 3px #0008,0 3px 7px #1112; }
.token-emblem svg { width: 28px; height: 28px; filter: drop-shadow(0 1px 3px #b6fb0a30); }
.market-mode { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid #e6e6e9; border-radius: 99px; background: #f5f5f7; }
.market-mode button { min-height: 32px; padding: 6px 12px; border: 0; border-radius: 99px; background: transparent; color: #78787d; font-size: 12px; }
.market-mode button[aria-pressed=true] { background: #fff; color: #1a1a1c; box-shadow: 0 1px 5px #00000012; }
.market-mode button:disabled { color: #85858a; }
.market-toolbar { margin: 27px 0 15px; align-items: flex-end; gap: 25px; }
.market-quote { align-items: baseline; gap: 15px; }
#market-price { font-size: clamp(34px,3.5vw,48px); font-weight: 550; letter-spacing: -.035em; line-height: 1.12; }
#market-change { font-size: 14px; font-weight: 500; }
#market-change[data-direction=up] { color: #367a24; }
#market-change[data-direction=down] { color: #af3434; }
.market-ranges { background: #f3f3f5; padding: 4px; gap: 2px; border: 1px solid #ececee; border-radius: 99px; }
.market-ranges button { min-height: 34px; min-width: 42px; padding-inline: 10px; color: #68686d; font-size: 12px; }
.market-ranges button[aria-pressed=true] { background: #171719; color: #fff; box-shadow: 0 2px 5px #0002; }
.market-ranges button:not(:disabled):hover { background: #e5e5e9; color: #171719; }
.market-ranges button[aria-pressed=true]:hover { background: #303034; color: #fff; }
.market-valuations { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 25px; padding-bottom: 20px; color: #7a7a80; font-size: 13px; }
.market-valuations>span>strong { margin-left: 6px; color: #2b2c2d; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.market-valuations .market-status { margin-left: auto; border: 0; padding: 0; background: transparent; color: #7a7a80; font-size: 12px; }
.market-stage { height: min(56vh,520px); min-height: 340px; margin-top: 0; border: 1px solid #efeff1; border-radius: 20px; background: linear-gradient(180deg,#fafafa,#fafbf8); touch-action: none; cursor: crosshair; isolation: isolate; }
.market-stage>svg { overflow: visible; }
.market-stage:active { cursor: grabbing; }
.market-stage:focus-visible { outline: 2px solid #747b67; outline-offset: 4px; }
.market-axis { font-family: ui-monospace,SFMono-Regular,Menlo,monospace; font-size: 11px; fill: #89898e; }
.price-grid { stroke: #1111110d; stroke-width: 1; }
.price-line { fill: none; stroke: #161918; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.price-now-line { stroke: #17191960; stroke-width: 1; stroke-dasharray: 3 5; }
.price-now-label { fill: #fff; font-size: 10px; font-weight: 500; }
.crosshair-line { stroke: #575b5866; stroke-dasharray: 3 4; }
.chart-charge-marker { cursor: pointer; outline: none; }
.chart-charge-marker:focus-visible .marker-shell { stroke: #18200e; stroke-width: 3; }
.chart-charge-marker:hover .marker-shell { stroke: #c6fc59; stroke-width: 1.8; }
.charge-marker-stem { stroke: #6f981d80; stroke-width: 1; stroke-dasharray: 2 3; }
.market-tooltip { top: 12px; border: 1px solid #ffffff; border-radius: 13px; padding: 10px 14px; background: #fffffff0; color: #3b3d39; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 3px 8px #161a1008,0 10px 30px #161a1012; font-size: 12px; line-height: 1.8; max-width: calc(100% - 16px); white-space: pre-line; }
.chart-controls { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; padding: 16px 0 20px; }
.chart-legend { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; color: #68686d; font-size: 13px; }
.chart-legend>span { display: inline-flex; align-items: center; gap: 8px; }
.legend-price { width: 20px; height: 2px; background: #171919; }
.legend-charge { display: inline-grid; place-items: center; width: 23px; height: 23px; border: 1px solid #65744f; border-radius: 7px; background: linear-gradient(145deg,#525a45,#142008); box-shadow: inset 0 1px 0 #ffffff80,0 1px 3px #17200b15; }
.legend-charge svg { width: 20px; height: 20px; fill: #c3ff35; }
.chart-hint { color: #86868b; font-size: 12px; }
.chart-navigation { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid #e8e8e9; border-radius: 99px; background: linear-gradient(#fff,#f6f6f8); box-shadow: 0 2px 6px #18181804,inset 0 1px 0 #fff; }
.chart-navigation button { min-width: 30px; min-height: 30px; padding: 4px 8px; border: 0; border-radius: 99px; background: transparent; color: #515256; font-size: 14px; }
.chart-navigation button:disabled { color: #bcbcc1; }
.chart-navigation button:hover:not(:disabled) { background: #e9e9ed; }
#chart-reset,#chart-play { font-size: 12px; }
#chart-play { padding-inline: 12px; border-left: 1px solid #e3e3e7; border-radius: 0 99px 99px 0; }
.market-pool { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 22px; padding: 20px 0; border-top: 1px solid #e9e9ec; border-bottom: 1px solid #e9e9ec; background: #fff; }
.market-pool>div { min-width: 0; }
.market-pool span { display: block; color: #808086; font-size: 12px; margin-bottom: 5px; }
.market-pool strong { font-size: 14px; font-weight: 500; color: #343537; }
.chart-execution { display: flex; align-items: center; gap: 22px; padding: 21px 0; }
.execution-copy { margin-right: auto; min-width: 0; }
.execution-copy strong { display: block; font-size: 14px; font-weight: 500; }
.execution-copy>span { display: block; margin-top: 5px; color: #808086; font-size: 12px; }
.execution-steps { list-style: none; display: flex; align-items: center; gap: 6px; padding: 0; margin: 0; }
.execution-steps li { white-space: nowrap; font-size: 12px; color: #85858a; padding: 6px 9px; border-radius: 99px; }
.execution-steps li[aria-current=step] { color: #253314; background: #e8f9cc; }
#chart-run-charge { display: inline-flex; align-items: center; gap: 13px; min-height: 38px; padding: 9px 15px; background: #171719; color: #fff; border: 0; border-radius: 99px; font-size: 12px; white-space: nowrap; }
#chart-run-charge:hover { background: #343438; }
#chart-run-charge:disabled { opacity: .5; }
.chart-burn-summary { padding: 0 0 18px; }
.burn-share { width: 100%; height: 10px; overflow: hidden; border-radius: 99px; background: #f0f1ee; box-shadow: inset 0 1px 2px #252c1210; }
.burn-share>span { display: block; height: 100%; background: linear-gradient(90deg,#a3e719,#c3ff47); border-radius: 99px; min-width: 1px; }
.chart-burn-summary p { color: #7a7a80; font-size: 13px; line-height: 1.6; margin: 12px 0 0; }
.chart-burn-summary strong { color: #292b26; font-weight: 500; }
.market-footer { border-top: 1px solid #e9e9ec; min-height: 0; padding: 17px 0 0; font-size: 12px; color: #85858a; }
@media (max-width: 1000px) { .chart-execution { flex-wrap: wrap; gap: 14px; } .execution-copy { flex-basis: 100%; } .execution-steps { margin-right: auto; } .chart-hint { display: none; } }
@media (max-width: 760px) { .market-toolbar { flex-wrap: wrap; gap: 18px; } .market-valuations { gap: 9px 20px; } .market-pool { grid-template-columns: repeat(2,minmax(0,1fr)); } .chart-controls { gap: 12px; } .chart-navigation { margin-left: auto; } }
@media (max-width: 640px) { .market-card { padding: 22px 20px; border-radius: 24px; } .market-header { flex-wrap: wrap; gap: 16px; } .market-mode { margin-left: auto; } .market-identity h2 { font-size: 21px; } .market-quote { align-items: baseline; flex-direction: row; gap: 10px; } #market-price { font-size: 34px; } #market-change { font-size: 12px; } .market-toolbar { display: flex; margin-top: 23px; } .market-ranges { width: 100%; justify-content: space-between; gap: 0; padding: 3px; } .market-ranges button { min-width: 0; flex: 1; padding-inline: 5px; } .market-valuations { font-size: 12px; padding-bottom: 18px; } .market-valuations .market-status { margin-left: 0; } .market-valuations>span>strong { font-size: 12px; } .market-stage { height: 360px; min-height: 320px; margin-inline: -8px; width: calc(100% + 16px); border-radius: 16px; } .market-axis { font-size: 10px; } .price-now-label { font-size: 9px; } .chart-legend { gap: 13px; font-size: 12px; } .chart-navigation { margin-left: 0; } .chart-execution { gap: 14px 10px; } .execution-steps { gap: 1px; } .execution-steps li { padding: 6px 7px; } .chart-burn-summary p { font-size: 12px; } .market-footer { align-items: flex-start; gap: 15px; } .market-currency { white-space: nowrap; } }
