:root{color:#2c3e50;background:#f5f5f5;font-family:Segoe UI,PingFang SC,Microsoft YaHei,sans-serif;line-height:1.5}*{box-sizing:border-box}html,body{margin:0;min-height:100vh;max-width:100%;overflow-x:hidden}button,input,a{font:inherit}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #3498db;outline-offset:2px}.topbar{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding:12px 20px;background:#fff;border-bottom:1px solid #ddd}.brand{color:#2c3e50;font-weight:700;text-decoration:none;font-size:20px}.nav-links{display:flex;gap:8px}.nav-links a,.ghost{color:#2c3e50;text-decoration:none;padding:8px 12px;border-radius:6px;min-height:44px;display:inline-flex;align-items:center}.nav-links a.active,.nav-links a:hover{background:#eaf4fc;color:#2980b9}.session{margin-left:auto;display:flex;align-items:center;gap:12px}.lang-switch{font-weight:600}.clock{font-size:14px}.clock strong{display:block}.clock span{color:#5d6d7e}.me-box{text-align:right;font-size:14px}.me-box b{font-size:16px}.page{padding:16px 20px 40px;max-width:1200px;margin:0 auto;min-width:0}.desk,.trade{display:grid;gap:16px}.trade{grid-template-columns:240px minmax(0,1fr) 280px;grid-template-areas:"names stage ticket";align-items:start}.finder{grid-area:names}.stage{grid-area:stage;display:flex;flex-direction:column;gap:16px;min-width:0;touch-action:pan-y}.head,.chart-card,.ticket,.finder,.stage{min-width:0}.ticket{grid-area:ticket}.card{background:#fff;border:1px solid #ddd;border-radius:8px;padding:14px 16px;min-width:0}.section-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.section-head h2{margin:0}.chip{border:1px solid #ccc;background:#fff;color:#2c3e50;border-radius:999px;min-height:44px;padding:6px 12px;cursor:pointer;white-space:nowrap}.chip.on{background:#eaf4fc;border-color:#3498db;color:#2980b9}.finder .chip{align-self:flex-start}.short{display:none}.card h2{margin:0 0 10px;font-size:16px;color:#2c3e50}.note{color:#5d6d7e;font-size:13px;margin:0 0 12px}.table-wrap{overflow-x:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:14px}.rank-table th,.rank-table td{white-space:nowrap}.who-cell{max-width:28vw;overflow:hidden;text-overflow:ellipsis}th,td{text-align:left;padding:8px 6px;border-bottom:1px solid #eee}th{color:#5d6d7e;font-weight:600}.num{text-align:right;font-variant-numeric:tabular-nums}.up{color:#1a7f37}.down{color:#c0392b}.muted{color:#7f8c8d}.filters{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.filters .search{flex:1 1 200px;margin:0}.sort{display:flex;align-items:center;gap:8px;color:#5d6d7e;font-size:14px;margin:0}.sort select{min-height:44px;border:1px solid #ccc;border-radius:6px;padding:8px 10px;background:#fff;color:#2c3e50;font-size:16px}.chip-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.quotes{display:flex;flex-direction:column;gap:8px}.quote{display:flex;align-items:stretch;border:1px solid #eee;border-radius:8px;background:#fff;overflow:hidden;min-height:64px}.star{flex:none;width:44px;border:0;background:transparent;color:#b0bec5;cursor:pointer}.star.on{color:#e67e22}.star-icon{width:20px;height:20px;display:block;margin:0 auto}.star-icon path{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round}.star.on .star-icon path{fill:currentColor}.quote-link{flex:1;min-width:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px 10px 0;text-decoration:none;color:inherit}.quote:hover,.quote.current{border-color:#3498db;background:#f8fbfe}.who{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px}.who strong{font-size:15px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.px{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:none}.px b{font-variant-numeric:tabular-nums;line-height:1.2}.tags{display:flex;gap:6px;flex-wrap:wrap}.tag{font-size:12px;padding:1px 6px;border-radius:999px;background:#eef2f5;color:#2c3e50}.tag.idle{background:#fdebd0}.tag.halt{background:#f5b7b1}.finder{display:flex;flex-direction:column;gap:8px;position:relative}.finder .filters{flex-direction:column;align-items:stretch}.finder .filters .search{flex:none;width:100%}.finder .sort{width:100%}.finder .sort span{flex:none;white-space:nowrap}.finder .sort select{flex:1;width:auto;min-width:0;max-width:none}.filter-menu{position:relative}.filter-menu summary{list-style:none;cursor:pointer;min-height:44px;border:1px solid #ccc;border-radius:6px;padding:8px 12px;background:#fff;color:#2c3e50;display:flex;align-items:center;justify-content:space-between;gap:8px}.filter-menu summary::-webkit-details-marker{display:none}.filter-menu summary:after{content:"";border:solid #5d6d7e;border-width:0 2px 2px 0;padding:3px;transform:rotate(45deg);margin-top:-4px}.filter-menu[open] summary:after{transform:rotate(-135deg);margin-top:4px}.filter-menu summary span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-menu .menu{position:absolute;z-index:5;left:0;right:0;margin-top:4px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 8px 24px #2c3e501f;padding:4px;display:flex;flex-direction:column}.filter-menu .menu button{text-align:left;border:0;background:transparent;color:#2c3e50;min-height:36px;border-radius:6px;padding:6px 10px;cursor:pointer}.filter-menu .menu button.on,.filter-menu .menu button:hover{background:#eaf4fc;color:#2980b9}.search{width:100%;min-height:44px;padding:8px 10px;border:1px solid #ccc;border-radius:6px;font-size:16px;color:#2c3e50;background:#fff}.finder-list{display:flex;flex-direction:column;gap:4px;max-height:70vh;overflow:auto}.finder-list a{display:flex;justify-content:space-between;gap:8px;padding:10px;min-height:44px;border-radius:8px;text-decoration:none;color:inherit}.finder-list a.current,.finder-list a:hover{background:#eaf4fc}.chart{width:100%;height:240px}.worth-chart{height:180px}.worth-line{fill:none;stroke:#3498db;stroke-width:2.5}.worth-card{margin-bottom:16px}.chart path,.chart .play-move{fill:none;stroke:#3498db;stroke-width:2}.chart .trade-move{stroke:#e67e22;stroke-width:2.5}.chart .dot.trade{fill:#e67e22}.chart-key{display:flex;gap:16px;margin:8px 0 0;color:#5d6d7e;font-size:13px}.range-row{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 8px}.range-row .chip{min-height:32px;padding:4px 12px}.swatch{display:inline-block;width:18px;height:3px;margin-right:6px;vertical-align:middle;border-radius:2px}.swatch.play{background:#3498db}.swatch.trade{background:#e67e22}.chart text{font-size:12px;fill:#5d6d7e;font-family:Segoe UI,sans-serif}.chart .now{font-size:13px;font-weight:700;fill:#2c3e50}.chart .grid{stroke:#eee}.chart .axis{stroke:#ccc}.chart .dot{fill:#3498db;stroke:#fff;stroke-width:2}.spark{width:88px;height:28px;display:block;overflow:hidden}.spark path{fill:none;stroke:#3498db;stroke-width:1.5}.head-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.head-top h2{margin:0}.head .star{width:36px;height:36px}.head-price{font-size:32px;font-weight:700;margin:4px 0}.meta{display:flex;gap:16px;flex-wrap:wrap;color:#5d6d7e;font-size:14px}label{display:block;font-size:14px;margin-bottom:6px}input[type=number]{width:100%;min-height:44px;padding:8px 10px;border:1px solid #ccc;border-radius:6px;margin-bottom:8px}.cost{margin:0 0 12px;font-weight:700;color:#2c3e50}.actions{display:flex;gap:8px}.actions button{flex:1;min-height:44px;border:0;border-radius:6px;background:#3498db;color:#fff;cursor:pointer}.actions button.sell{background:#2c3e50}.actions button:disabled{background:#bdc3c7;cursor:not-allowed}.error{background:#fdedec;color:#922b21;border-radius:6px;padding:8px 10px;margin-bottom:10px}@media(max-width:900px){.page{padding:10px 10px 28px}.topbar{padding:8px 12px 0;gap:4px 8px;align-items:center}.brand{order:1;font-size:18px}.session{order:2;margin-left:auto;flex-basis:auto;gap:8px}.clock{font-size:12px}.clock strong{display:inline;margin-right:6px}.me-box{font-size:12px;text-align:right}.cash-line{display:none}.nav-links{order:3;flex:1 0 100%;margin:0 -12px;padding:0 8px 6px;gap:2px;overflow-x:auto;flex-wrap:nowrap}.nav-links a,.ghost{padding:6px 10px;white-space:nowrap}.card{padding:10px 12px}.card h2{margin-bottom:8px}.filters,.finder .filters{flex-flow:row nowrap;margin-bottom:8px}.filters .search,.finder .filters .search{flex:1 1 auto;min-width:0;width:auto}.finder .sort,.finder .sort select{width:auto}.sort span{display:none}.sort select{width:42vw;max-width:160px;padding:8px}.chip-row{flex-wrap:nowrap;overflow-x:auto;margin-bottom:8px;scrollbar-width:none}.chip-row::-webkit-scrollbar{display:none}.chip,.finder .chip{flex:none;min-height:44px;padding:6px 12px}.quotes{gap:6px}.wide{display:none}.short{display:inline}.who-cell{max-width:46vw}.trade{grid-template-columns:1fr;grid-template-areas:"names" "stage" "ticket"}.finder-list{display:none;position:absolute;z-index:20;left:0;right:0;top:calc(100% - 6px);max-height:50vh;padding:6px;background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 8px 24px #2c3e501f}.finder-list.open{display:flex}.spark{width:64px;height:24px}.head-price{font-size:28px}.chart{height:160px}}
