:root{--bg: #eae3cf;--panel: #ffffff;--card: #ffffff;--border: #e7e0cc;--card-border: #efeadb;--text: #33302a;--muted: #a39b86;--muted-strong: #6f6a5d;--red: #df4b3e;--gold: #d8a200;--silver: #aeb0b3;--bronze: #c07f4a;--link: #4a78c4;font-family:Hiragino Maru Gothic ProN,Hiragino Kaku Gothic ProN,Yu Gothic,Meiryo,system-ui,sans-serif;color:var(--text)}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--bg)}.app{min-height:100vh}.site-header{background:var(--panel);text-align:center;padding:28px 16px 22px}.site-title{display:inline-flex;align-items:center;gap:10px;margin:0;font-size:30px;font-weight:800;letter-spacing:.08em}.crown-icon{color:var(--text)}.site-subtitle{margin:8px 0 0;font-size:12px;letter-spacing:.18em;color:var(--muted-strong)}.content{max-width:720px;margin:0 auto;padding:28px 16px 48px}.filters{text-align:center;margin-bottom:36px}.filter-row{display:flex;align-items:center;justify-content:center;gap:12px;margin-bottom:10px}.filter-select{min-width:200px;padding:10px 16px;border:none;border-radius:22px;background:#fff;font-size:14px;font-weight:600;color:var(--text);text-align:center;box-shadow:0 1px 2px #0000000f;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23999' d='M2 4l4 4 4-4z'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;background-size:12px}.filter-label{font-size:14px;color:var(--text)}.filter-check{display:inline-flex;align-items:center;gap:8px;margin-top:8px;font-size:13px;font-weight:600;cursor:pointer}.filter-note{margin:20px 0 0;font-size:12px;font-weight:600;line-height:1.7;color:var(--muted-strong)}.ranking-heading{font-size:14px;font-weight:700;margin:0 0 14px;color:var(--text)}.ranking-list{display:flex;flex-direction:column;gap:22px}.message{padding:24px;text-align:center;color:var(--muted-strong);font-size:14px}.message.error{color:var(--red);line-height:1.8}.message code{background:#0000000f;padding:2px 6px;border-radius:4px}.card{background:var(--card);border:1px solid var(--card-border);border-radius:14px;padding:20px 24px 24px;box-shadow:0 1px 3px #0000000a}.card-top{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:6px}.card-rank{font-size:14px;font-weight:800;color:var(--muted-strong)}.card-updated{font-size:11px;color:var(--muted)}.card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;padding-bottom:18px;border-bottom:1px solid var(--card-border);margin-bottom:18px}.card-title{display:flex;align-items:center;gap:10px;min-width:0}.card-name{margin:0;font-size:22px;font-weight:800;line-height:1.3;word-break:break-word}.hq-badge{display:inline-block;margin-left:8px;padding:2px 7px;border-radius:5px;background:#b88a2e;color:#fff;font-size:12px;font-weight:700;vertical-align:middle;letter-spacing:.05em}.rank-crown{flex-shrink:0;display:inline-flex}.rank-crown.gold{color:var(--gold)}.rank-crown.silver{color:var(--silver)}.rank-crown.bronze{color:var(--bronze)}.rank-icon{flex-shrink:0;border-radius:6px}.rank-num{flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#f0ebdc;font-size:13px;font-weight:800;color:var(--muted-strong)}.card-links{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.card-links a{font-size:12px;font-weight:600;color:var(--muted-strong);text-decoration:none;white-space:nowrap}.card-links a:hover{color:var(--link);text-decoration:underline}.card-totals{display:flex;align-items:center;gap:28px;margin-bottom:20px}.total-amount{display:flex;align-items:baseline;gap:10px}.badge-total{align-self:center;background:var(--red);color:#fff;font-size:12px;font-weight:700;padding:4px 10px;border-radius:5px}.total-value{font-size:26px;font-weight:800;letter-spacing:.01em}.unit{font-size:12px;color:var(--muted-strong)}.trade-count{display:flex;align-items:baseline;gap:10px}.count-label{font-size:12px;font-weight:700;color:var(--muted-strong);background:#f3eee0;padding:4px 10px;border-radius:5px}.count-value{font-size:22px;font-weight:800}.card-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;background:#faf8f1;border-radius:10px;padding:16px 8px}.stat{text-align:center}.stat-label{display:inline-block;font-size:11px;font-weight:700;color:var(--muted-strong);background:#efeadb;padding:3px 12px;border-radius:4px;margin-bottom:10px}.stat-value{font-size:20px;font-weight:800;margin-bottom:8px}.stat-unit{font-size:11px;font-weight:600;color:var(--muted-strong)}.stat-range{display:flex;align-items:center;justify-content:center;gap:8px;font-size:11px;color:var(--link)}.range-key,.range-sep{color:var(--muted)}.site-footer{text-align:center;padding:24px 16px 40px;font-size:12px;color:var(--muted-strong)}.site-footer a{color:var(--link)}@media (max-width: 560px){.content{padding:20px 12px 40px}.filter-row{flex-direction:column;gap:4px}.card{padding:18px 16px 20px}.card-totals{flex-direction:column;align-items:flex-start;gap:12px}.card-head{flex-direction:column}.card-links{flex-direction:row;align-items:flex-start;gap:14px}.card-stats{gap:6px;padding:14px 6px}.stat-label{font-size:10px;padding:3px 8px;margin-bottom:8px}.stat-value{font-size:16px;white-space:nowrap}.stat-range{flex-direction:column;gap:1px}.stat-range .range-sep{display:none}}@media (max-width: 400px){.site-title{font-size:24px}.site-subtitle{letter-spacing:.12em}.card-name{font-size:18px}.total-value{font-size:22px}.stat-value{font-size:14px}}
