.tc-offer .tc-tool { margin-block: 30px 8px; padding: clamp(18px, 3vw, 30px); border: 1px solid #41453a; border-radius: 14px; background: #10130e; color: #f4f5ef; min-width: 0; font-variant-numeric: tabular-nums; }
.tc-tool [hidden] { display: none !important; }
.tc-offer .tc-ticker, .tc-offer .tc-dashboard { background: #101826; border-color: #29313d; border-radius: 28px; padding: clamp(20px, 4vw, 36px); }
.tc-offer .tc-ticker table { table-layout: auto; }
.tc-offer .tc-ticker thead, .tc-offer .tc-ticker tbody tr:nth-child(even) { background: transparent; }
.tc-offer .tc-ticker th, .tc-offer .tc-ticker td { padding: 22px 12px; border-color: #29313d; }
.tc-offer .tc-ticker td, .tc-offer .tc-ticker thead th:not(:first-child) { text-align: right; white-space: nowrap; }
.tc-ticker small { display: block; color: #a1a9b5; font-size: 12px; }
.tc-offer .tc-demo-up { color: #00c990; }
.tc-offer .tc-demo-down { color: #ff615b; }
.tc-dashboard-price { display: block; font-size: clamp(28px, 5vw, 44px); line-height: 1.5; }
.tc-demo-chart { height: 200px; overflow: hidden; margin: 24px 0 28px; padding-bottom: 12px; border-bottom: 1px solid #29313d; }
.tc-demo-track { display: flex; align-items: end; gap: 10px; height: 100%; }
.tc-demo-track span { flex: 0 0 calc((100% - 60px) / 7); border-top: 2px solid #00c990; border-radius: 4px 4px 0 0; background: linear-gradient(#00c99030, #00c99005); }
.tc-demo-track .tc-bar-down { border-color: #ff615b; background: linear-gradient(#ff615b30, #ff615b05); }
.tc-demo-actions { display: flex; gap: 18px; }
.tc-demo-actions button { flex: 1; font-weight: 700; }
.tc-demo-actions .tc-demo-sell { color: #ff615b; border-color: #65343b; background: #ff615b15; }
.tc-demo-actions .tc-demo-buy { color: #00c990; border-color: #22574e; background: #00c99015; }
.tc-dashboard [data-demo-result] { margin: 16px 0; font-size: 14px; }
.tc-payment-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; align-items: start; }
.tc-payment-grid .tc-ecosystem-card { flex: 0 1 210px; }
.tc-payment-grid .tc-ecosystem-card[open] { flex-basis: 290px; }
.tc-payment-grid summary { min-height: 64px; }
.tc-service-image, .tc-payment-image { flex-shrink: 0; object-fit: contain; }
.tc-phone-stage { display: grid; place-items: center; overflow: hidden; padding: 28px 20px; background: radial-gradient(ellipse at center, #123527 0%, transparent 65%); }
.tc-phone { display: block; width: min(100%, 320px); height: auto; object-fit: contain; filter: drop-shadow(0 24px 28px #0005); animation: tc-phone-float 6s ease-in-out infinite; }
@keyframes tc-phone-float { 0%, 100% { transform: translateY(5px) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@media (prefers-reduced-motion: reduce) { .tc-phone { animation: none; } }
@media (max-width: 640px) { .tc-payment-grid .tc-ecosystem-card { flex-basis: 100%; } }
.tc-ecosystem-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tc-ecosystem-card { border: 1px solid #41453a; border-radius: 14px; background: #151a13; overflow: hidden; }
.tc-ecosystem-card:hover, .tc-ecosystem-card[open] { border-color: #ddec81; }
.tc-ecosystem-card summary { display: flex; align-items: center; gap: 10px; min-height: 80px; padding: 16px; font-weight: 600; list-style: none; }
.tc-ecosystem-card summary::-webkit-details-marker { display: none; }
.tc-ecosystem-card summary::after { content: '+'; margin-left: auto; flex: 0 0 auto; color: #ddec81; }
.tc-ecosystem-card[open] summary::after { content: '−'; }
.tc-ecosystem-card summary:focus-visible { outline-offset: -4px; }
.tc-ecosystem-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; height: 30px; border-radius: 8px; background: #263126; color: #eaff00; font: 700 13px/1 sans-serif; }
.tc-offer .tc-ecosystem-card p { margin: 0; padding: 0 16px 18px; font-size: 14px; line-height: 1.6; color: #bfc5b4; }
@media (max-width: 1000px) { .tc-ecosystem-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tc-ecosystem-grid { grid-template-columns: 1fr; } }
.tc-tool .tc-tool-marker { display: block; color: #ddec81; font: 600 12px/1.5 monospace; letter-spacing: .16em; margin-bottom: 16px; }
.tc-offer .tc-tool h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; margin: 0 0 12px; }
.tc-offer .tc-tool .tc-tool-intro { color: #bfc5b4; line-height: 1.6; font-size: 15px; margin-bottom: 22px; }
.tc-tool button, .tc-tool select, .tc-tool summary { cursor: pointer; }
.tc-tool button, .tc-tool select, .tc-tool input { min-height: 44px; font: inherit; border: 1px solid #59604d; border-radius: 7px; background: #080b06; color: #f4f5ef; padding: 10px 12px; }
.tc-tool :is(button, input, select, summary, [tabindex]):focus-visible { outline: 2px solid #eaff00; outline-offset: 3px; }
.tc-offer .tc-tool .tc-tool-test { color: #ddec81; font-size: 12px; margin: 0 0 18px; }
[data-comparison] th { width: 40%; }
.tc-feature-label { display: flex; align-items: baseline; gap: 10px; }
.tc-feature-icon { flex: 0 0 1.3em; text-align: center; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.tc-tool button { font-size: 14px; }
.tc-tool button:hover { border-color: #eaff00; }
.tc-tool button[aria-pressed="true"] { background: #eaff00; color: #151900; border-color: #eaff00; }
.tc-tool-table-wrap { overflow-x: auto; max-width: 100%; }
.tc-offer .tc-tool table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 14px; line-height: 1.5; margin: 0; }
.tc-offer .tc-tool th, .tc-offer .tc-tool td { text-align: left; padding: 14px 10px; border-bottom: 1px solid #343b2d; overflow-wrap: anywhere; }
.tc-tool thead { background: #20271a; }
.tc-tool tbody th { font-weight: 400; color: #e1e5d9; }
.tc-tool tbody tr:nth-child(even) { background: #161c11; }
.tc-tool-unknown { color: #aeb6a3; }
.tc-tool-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tc-tool label { display: flex; flex-direction: column; gap: 7px; color: #d6ddca; font-size: 13px; line-height: 1.5; }
.tc-tool input, .tc-tool select { width: 100%; min-width: 0; font-size: 16px; }
.tc-tool label small { color: #aab39e; font-size: 11px; }
.tc-tool input[aria-invalid="true"] { border-color: #ffad9c; }
.tc-tool-actions { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-top: 18px; }
.tc-tool-actions label { max-width: 240px; }
.tc-tool-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid #343b2d; }
.tc-tool-metrics > div:last-child { grid-column: 1 / -1; }
.tc-tool-metrics span { display: block; font-size: 12px; color: #c1cab5; }
.tc-tool-metrics strong { display: block; font-size: clamp(20px, 2.8vw, 30px); line-height: 1.4; overflow-wrap: anywhere; }
.tc-tool-metrics > div:nth-child(2) strong { color: #eaff00; }
.tc-tool-metrics > div:last-child strong { font-size: 21px; }
.tc-tool-chart { margin: 24px 0 14px; }
.tc-tool-chart figcaption { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 12px; color: #d6ddca; }
.tc-tool-chart figcaption span::before { content: ''; display: inline-block; width: 20px; border-top: 2px solid #eaff00; margin-right: 8px; vertical-align: middle; }
.tc-tool-chart figcaption .tc-tool-legend-gross::before { border-top: 2px dashed #83bee0; }
.tc-tool-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.tc-tool-chart line { stroke: #343b2d; }
.tc-tool-chart text { fill: #bfc9b2; font: 12px Arial, sans-serif; }
.tc-tool-chart polyline { fill: none; stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.tc-chart-gross { stroke: #83bee0; stroke-dasharray: 6 5; }
.tc-chart-net { stroke: #eaff00; }
.tc-tool-yearly summary { padding: 12px 0; font-size: 14px; color: #ddec81; min-height: 44px; }
.tc-tool-yearly .tc-tool-table-wrap { max-height: 300px; }
.tc-offer .tc-tool .tc-tool-note { margin: 22px 0 0; font-size: 12px; line-height: 1.65; color: #acb79e; }
.tc-offer .tc-tool .tc-tool-error { color: #ffad9c; margin: 20px 0 0; font-size: 14px; }
.tc-market-card { margin: 18px 0 0; padding: 18px; border: 1px solid #343b2d; border-radius: 8px; background: #0b0f08; }
.tc-market-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 18px; }
.tc-market-card figcaption b { color: #edf5df; }
.tc-market-change { font-size: 16px; margin: 8px 0 16px; }
.tc-market-change small { color: #bfc9b2; font-size: 12px; margin-left: 6px; }
.tc-market-up { color: #ddec81; stroke: #ddec81; }
.tc-market-down { color: #ffad9c; stroke: #ffad9c; }
.tc-market-card svg { display: block; width: 100%; height: 140px; }
.tc-market-grid { stroke: #30372a; fill: none; }
.tc-market-line { stroke-width: 2.5; fill: none; vector-effect: non-scaling-stroke; }
.tc-market-scale, .tc-market-dates { display: flex; justify-content: space-between; gap: 10px; color: #aebba0; font-size: 11px; }
.tc-market-asof { font-size: 12px; }
.tc-market a { color: #ddec81; }
.tc-portfolio-layout { display: grid; grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; align-items: center; margin: 26px 0; }
.tc-portfolio-sliders { display: grid; gap: 14px; }
.tc-portfolio-sliders label > span, .tc-portfolio-cash { display: flex; justify-content: space-between; gap: 12px; }
.tc-portfolio input[type="range"] { padding: 0; border: 0; accent-color: #eaff00; min-height: 30px; }
.tc-portfolio-cash { font-size: 13px; color: #bfc5b4; }
.tc-portfolio-donut { width: 160px; height: 160px; border-radius: 50%; display: grid; place-items: center; }
.tc-portfolio-donut span { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: #10130e; font-size: 26px; font-weight: 700; }
.tc-portfolio-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.tc-portfolio-values > div { border-left: 3px solid #eaff00; padding-left: 10px; }
.tc-portfolio-values .tc-asset-eth { border-color: #83bee0; }
.tc-portfolio-values .tc-asset-other { border-color: #c5a3ed; }
.tc-portfolio-values .tc-asset-cash { border-color: #59604d; }
.tc-portfolio-values span { display: block; font-size: 12px; color: #bfc5b4; }
.tc-portfolio-values strong { font-size: 18px; overflow-wrap: anywhere; }
@media (max-width: 480px) {
  .tc-portfolio-layout { grid-template-columns: 1fr; }
  .tc-portfolio-donut { justify-self: center; }
  .tc-tool-fields { grid-template-columns: 1fr; gap: 14px; }
  .tc-offer .tc-tool table { font-size: 12px; }
  .tc-offer .tc-tool td, .tc-offer .tc-tool th { padding: 12px 6px; }
  .tc-tool-metrics { grid-template-columns: 1fr; }
  .tc-tool-chart figcaption { font-size: 11px; }
}


/* Keep payment/ecosystem names readable: never split a brand name mid-word. */
.tc-ecosystem-card summary > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: normal; word-break: normal; }
.tc-payment-grid .tc-ecosystem-card summary > span { font-size: 15px; }
@media (max-width: 640px) {
  .tc-ecosystem-card summary > span { white-space: normal; overflow-wrap: normal; word-break: normal; }
}
