:root { --bg: #0f1218; --panel: #161b23; --panel2: #1c222c; --line: #2a3240; --text: #e6e9ef; --muted: #8b95a7; --accent: #4c8dff; --green: #2ecc71; --red: #ff5c5c; --yellow: #f5c542; --yellow-bg: rgba(245, 197, 66, 0.14); --lead: #ff9f43; --follow: #4c8dff; } * { box-sizing: border-box; } body { margin: 0; background: var(--bg); color: var(--text); font: 13px/1.4 "Segoe UI", system-ui, sans-serif; } header { background: var(--panel); border-bottom: 1px solid var(--line); padding: 10px 16px; } .title { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; } .title h1 { font-size: 16px; margin: 0; font-weight: 600; } .title .hint { color: var(--muted); } .settings { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: flex-end; } .field { display: flex; flex-direction: column; gap: 3px; } .field label { color: var(--muted); font-size: 11px; white-space: nowrap; } .field input, .field select { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 5px 7px; width: 92px; font: inherit; } .field select { width: 230px; } .check { display: flex; align-items: center; gap: 6px; color: var(--text); font-size: 12px; padding-bottom: 6px; white-space: nowrap; } .more { display: none; margin-top: 8px; } .more.open { display: flex; } button { background: var(--panel2); color: var(--text); border: 1px solid var(--line); border-radius: 6px; padding: 6px 12px; font: inherit; cursor: pointer; } button:hover { border-color: var(--accent); } button.primary { background: var(--accent); border-color: var(--accent); color: #fff; } button.start { background: rgba(46, 204, 113, 0.15); border-color: var(--green); color: var(--green); font-weight: 600; } button.stop { background: rgba(255, 92, 92, 0.12); border-color: var(--red); color: var(--red); font-weight: 600; } button:disabled { opacity: 0.35; cursor: default; } #settingsMsg { color: var(--muted); margin-left: 8px; } main { display: grid; grid-template-columns: 270px 1fr; min-height: calc(100vh - 120px); } aside { border-right: 1px solid var(--line); padding: 12px; display: flex; flex-direction: column; gap: 8px; overflow-y: auto; } aside h2, section h2 { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin: 0 0 4px; } .tile { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; cursor: pointer; position: relative; } .tile:hover { border-color: #3a4558; } .tile.active { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; } .tile .sym { font-size: 16px; font-weight: 700; } .tabs { display: flex; gap: 4px; padding: 8px 16px 0; background: var(--bg); border-bottom: 1px solid var(--line); } .tab { border-radius: 8px 8px 0 0; border-bottom: none; padding: 8px 18px; font-weight: 600; color: var(--muted); } .tab.on { background: var(--panel); color: var(--text); border-color: var(--line); } #arbRows tr { cursor: pointer; } td.plancell { white-space: normal; min-width: 380px; max-width: 460px; vertical-align: top; cursor: default; } div.plancell { white-space: normal; padding: 4px 2px 6px; font-size: 12px; position: sticky; left: 0; max-width: min(1200px, calc(100vw - 60px)); } div.plancell ol.plan { font-size: 12.5px; margin-top: 4px; } .planbtn { font-size: 11px; padding: 2px 8px; white-space: nowrap; cursor: pointer; } ol.plan { margin: 0; padding-left: 18px; font-size: 11.5px; line-height: 1.45; } ol.plan li { margin-bottom: 2px; } #arbRows tr.detail td { background: var(--panel2); cursor: default; } th[data-s] { cursor: pointer; } th[data-s].sorted { color: var(--accent); } .exname { font-weight: 600; } .links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; } .links a { color: var(--accent); text-decoration: none; font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; background: var(--panel2); } .links a:hover { border-color: var(--accent); } .cex { font-size: 11px; font-weight: 600; border-radius: 4px; padding: 1px 6px; vertical-align: middle; background: rgba(76, 141, 255, 0.15); color: var(--accent); border: 1px solid rgba(76, 141, 255, 0.4); } .fit { font-size: 11px; border-radius: 6px; padding: 3px 7px; margin: 4px 0 6px; } .fit-check { color: var(--muted); background: rgba(139, 149, 167, 0.1); } .fit-no { color: var(--red); background: rgba(255, 92, 92, 0.1); } .fit-near { color: var(--yellow); background: var(--yellow-bg); } .fit-ok, .fit-new { color: var(--green); background: rgba(46, 204, 113, 0.14); font-weight: 600; } .tile.fit-ok, .tile.fit-new { border-color: rgba(46, 204, 113, 0.6); box-shadow: 0 0 10px rgba(46, 204, 113, 0.25); } .tile.fit-new { animation: pulse 1.6s ease-in-out infinite; } @keyframes pulse { 50% { box-shadow: 0 0 18px rgba(46, 204, 113, 0.65); } } .tile.fit-ok.active, .tile.fit-new.active { border-color: var(--accent); } .tile.plus { border-style: dashed; text-align: center; padding: 14px 12px 10px; } .tile.plus .plusicon { font-size: 30px; line-height: 30px; color: var(--accent); font-weight: 300; } button.add { background: rgba(76, 141, 255, 0.15); border-color: var(--accent); color: var(--accent); padding: 3px 10px; } tr.leadrow td { background: rgba(46, 204, 113, 0.07); } .tile .route { color: var(--muted); font-size: 11px; margin: 2px 0 6px; } .tile .row { display: flex; justify-content: space-between; font-size: 12px; } .dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; position: absolute; top: 12px; right: 34px; background: #555; } .tile .del { position: absolute; top: 5px; right: 6px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: transparent; color: var(--muted); font-size: 16px; line-height: 22px; cursor: pointer; } .tile .del:hover { background: rgba(231, 76, 60, 0.18); color: var(--red, #e74c3c); } .dot.run { background: var(--green); box-shadow: 0 0 6px var(--green); } .badge { background: var(--yellow-bg); color: var(--yellow); border-radius: 10px; padding: 0 7px; font-size: 11px; } .pos { color: var(--green); } .neg { color: var(--red); } .mut { color: var(--muted); } section.center { padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; min-width: 0; } .card { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; } .coinhead { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; } .coinhead .name { font-size: 18px; font-weight: 700; } .coinhead .feeds { color: var(--muted); font-size: 12px; } .chartbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 10px; flex-wrap: wrap; } .legend { display: flex; gap: 16px; font-size: 12px; } .legend i { display: inline-block; width: 14px; height: 3px; vertical-align: middle; margin-right: 6px; border-radius: 2px; } .range button { padding: 3px 9px; font-size: 12px; } .range button.on { border-color: var(--accent); color: var(--accent); } canvas { width: 100%; height: 240px; display: block; } .stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; } .stat { background: var(--panel2); border-radius: 8px; padding: 8px 10px; } .stat .k { color: var(--muted); font-size: 11px; } .stat .v { font-size: 17px; font-weight: 600; margin-top: 2px; } .controls { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; } .statusline { color: var(--muted); font-size: 12px; } table { width: 100%; border-collapse: collapse; font-size: 12px; } th { text-align: left; color: var(--muted); font-weight: 500; padding: 6px 8px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); } td { padding: 6px 8px; border-bottom: 1px solid #222a35; white-space: nowrap; } td.why { white-space: normal; color: var(--muted); max-width: 320px; } tr.open td { background: var(--yellow-bg); } tr.open td:first-child { border-left: 3px solid var(--yellow); } tr.flash td { animation: flash 1.5s ease-out; } @keyframes flash { from { background: rgba(245, 197, 66, 0.45); } } .x { background: transparent; border: 1px solid var(--red); color: var(--red); border-radius: 50%; width: 22px; height: 22px; padding: 0; line-height: 18px; font-weight: 700; } .x:hover { background: var(--red); color: #fff; } .tablewrap { max-height: 46vh; overflow: auto; } .empty { color: var(--muted); padding: 30px; text-align: center; } .realbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 8px; padding: 6px 10px; border: 1px dashed var(--line); border-radius: 8px; } .realbar.on { border: 1px solid var(--red); background: rgba(255, 92, 92, 0.08); } .realtag { background: var(--red); color: #fff; border-radius: 4px; padding: 0 5px; font-size: 10px; font-weight: 700; } .keygrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 10px; } .keycard { background: var(--panel2); border-radius: 8px; padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; } .keycard input { background: var(--panel); border: 1px solid var(--line); color: var(--text); border-radius: 6px; padding: 5px 8px; } button.realon { background: rgba(255, 92, 92, 0.18); border-color: var(--red); color: var(--red); font-weight: 700; } .calcbtn { margin-left: auto; align-self: center; margin-bottom: 6px; border-color: var(--accent); color: var(--accent); background: rgba(76, 141, 255, 0.12); font-weight: 600; } .calcbtn.on { background: var(--accent); color: #fff; } .calcpanel { position: fixed; top: 52px; right: 16px; z-index: 50; width: min(460px, calc(100vw - 32px)); max-height: calc(100vh - 70px); overflow-y: auto; background: var(--panel); border: 1px solid var(--accent); border-radius: 10px; padding: 12px 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); } .calchead { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 14px; } .calcgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; } .calcgrid .field input { width: 100%; } .calcout { margin-top: 10px; display: flex; flex-direction: column; gap: 6px; } .calcout .big { background: var(--panel2); border-radius: 8px; padding: 8px 10px; } .calcout .big b { font-size: 18px; color: var(--green); } .calcout .row2 { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; } .calcout .note { color: var(--muted); font-size: 11.5px; } @media (max-width: 800px) { main { grid-template-columns: 1fr; } aside { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); } .tile { min-width: 200px; } }