.major-markets{display:flex;gap:10px;max-width:650px;margin:14px auto 0;padding:0 16px}.major-quote{display:grid;grid-template-columns:24px auto 1fr;gap:3px 8px;align-items:center;flex:1;min-width:0;border:1px solid #30435a;border-radius:10px;background:#101c2bc9;padding:9px 12px;text-decoration:none;color:#dcecff;font-size:12px}.major-quote img{grid-row:1/3;object-fit:contain}.major-quote strong{font-size:11px}.major-price{text-align:right;font-size:12px;font-variant-numeric:tabular-nums}.major-changes{grid-column:2/4;display:flex;gap:10px;font:9px ui-monospace,monospace;white-space:nowrap}.major-quote:hover{border-color:#a8cfff}.major-quote.is-stale{opacity:.65}
#pulse-mode>.major-markets{flex:0 0 auto;align-self:center;width:min(650px,100%);box-sizing:border-box;margin:0;padding:0}#pulse-mode .major-quote{padding:5px 9px}#pulse-mode .major-quote img{width:20px;height:20px}#pulse-mode .major-price{font-size:11px}#pulse-mode .major-changes{font-size:8px}
#pulse-mode .pulse-chat-preview{display:block;clear:both;width:100%;margin-top:7px;min-height:28px;padding:5px 8px;text-align:left;border:1px solid #39506a;border-radius:7px;background:#162639;color:#d2e5fc;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.community-chat{box-sizing:border-box;width:min(560px,calc(100vw - 20px));height:min(690px,calc(100dvh - 20px));max-height:calc(100dvh - 20px);padding:18px;background:#0c1929;color:#dceaff;border:1px solid #506b88;border-radius:16px;overflow:hidden}.community-chat[open]{display:flex;flex-direction:column;gap:10px}.community-chat header{display:flex;align-items:center;justify-content:space-between;gap:10px;flex:none}.community-chat h2{margin:0;font-size:24px}.community-chat .chat-note{font-size:10px;color:#92adc9;line-height:1.45;margin:0;flex:none}.chat-status{font-size:11px;line-height:1.4;color:#a5d5ef;margin:0;flex:none}.chat-messages{flex:1;min-height:70px;overflow:auto;overscroll-behavior:contain;padding:4px;background:#081421;border-radius:8px}.chat-message{padding:10px;border-bottom:1px solid #263a51;overflow-wrap:anywhere}.chat-message>div{display:flex;gap:9px;align-items:center;font-size:10px}.chat-message strong{color:#acd0ff}.chat-message time{color:#8ca6c2;margin-left:auto;white-space:nowrap}.chat-message p{font-size:13px;line-height:1.5;margin:5px 0 0;white-space:pre-wrap}.chat-message .chat-mute{padding:2px 4px;min-height:26px;font-size:9px;background:none;border:0;color:#91aeca}.chat-join,.chat-compose{display:flex;gap:8px;flex:none}.chat-join input,.chat-compose input{width:0;min-width:0;flex:1;font-size:14px;background:#102237;border:1px solid #39526d;border-radius:8px;color:#e4efff;padding:10px}.chat-join button,.chat-compose button{font-size:12px;padding:9px 14px;min-height:42px}.chat-quick,.chat-tools{display:flex;gap:8px;flex:none}.chat-quick button{padding:3px 12px;min-height:30px}.chat-tools button{padding:5px 8px;min-height:30px;font-size:10px}.chat-empty{padding:15px;font-size:12px;color:#9cb5cf}.chat-compose[hidden],.chat-join[hidden],.chat-quick[hidden]{display:none}
@media(max-width:700px){.major-markets{gap:6px;margin:7px auto 0;padding:0 10px}.major-quote{padding:6px 8px;gap:2px 5px;grid-template-columns:19px auto 1fr}.major-quote img{width:19px;height:19px}.major-price{font-size:11px}.major-changes{font-size:8px;gap:7px}.hero-actions .heartbeat-sound,.hero-actions .open-chat{font-size:10px;padding:6px 9px;min-height:32px}.community-chat{padding:12px;gap:8px}.community-chat h2{font-size:21px}#pulse-mode .pulse-controls{flex-wrap:wrap;gap:4px}#pulse-mode .pulse-controls .heartbeat-sound,#pulse-mode .pulse-controls .open-chat{padding:4px 7px;min-height:27px;font-size:9px}}
@media(max-height:650px){#pulse-mode>.major-markets{max-width:500px}#pulse-mode .major-quote{padding:3px 6px}#pulse-mode .major-quote img{width:16px;height:16px}#pulse-mode .major-changes{font-size:7px}#pulse-mode .pulse-chat-preview{min-height:21px;font-size:8px;padding:3px 5px;margin-top:4px}.community-chat .chat-note{font-size:9px}.community-chat .chat-tools{display:none}}
/* Preserve legible coins on short phones: allow a small vertical scroll instead of shrinking the radar to 100px. */
@media(max-height:700px) and (orientation:portrait){#pulse-mode{overflow-y:auto}#pulse-mode .desk-main{flex:none;grid-template-rows:auto 260px auto}#pulse-mode .desk-visual{min-height:260px}}

/* The surrounding preview already explains its simulated viewport; keep the phone canvas focused on the radar. */
@media(orientation:portrait) and (max-width:900px){#pulse-mode .pulse-context-note{display:none}}

.liquidation-notice{display:block;width:min(650px,calc(100% - 20px));margin:6px auto;padding:8px 12px;border:1px solid #e9778e;border-radius:9px;background:#351a2a;color:#ffd8df;font-size:12px;text-align:left;flex:none}.liquidation-notice[data-side="buy"]{border-color:#66dbaa;background:#102e29;color:#b8ffe5}.liquidation-notice[hidden]{display:none}.liquidation-detail{box-sizing:border-box;width:min(520px,calc(100vw - 24px));max-height:85dvh;overflow:auto;background:#0d1b2c;color:#dceaff;border:1px solid #577391;border-radius:16px;padding:20px}.liquidation-detail h2{font-size:23px}.liquidation-detail p{line-height:1.6;font-size:14px}.liquidation-detail a{display:block;margin-top:14px;color:#a8ceff}.liquidation-detail>button{float:right}

.chat-filter-test{font-size:11px;flex:none}.chat-filter-test input{width:100%;box-sizing:border-box;background:#12263b;border:1px solid #4c6883;color:#dcecff;border-radius:6px;padding:8px;margin-top:6px}.chat-filter-test p{margin:6px 0;color:#b7d6f3}.pulse-chat .chat-filter-test[open]{max-height:110px;overflow:auto}

.community-chat .chat-challenges{flex:none;max-height:150px;overflow:auto;margin:5px 0;border:1px solid #588974;border-radius:10px;background:linear-gradient(125deg,#153d32,#102537)}.community-chat .chat-challenges[hidden]{display:none}.chat-challenges article{padding:11px 12px;border-bottom:1px solid #355647}.chat-challenges strong,.chat-challenges small{display:block;font-size:12px;line-height:1.5;color:#c5f4db}.chat-challenges small{font-size:10px;color:#a3c7ba}.community-chat .chat-challenges a{display:inline-block;padding:10px 12px;border-radius:6px;background:#b3efd4;color:#12372c;font-size:11px;font-weight:750;margin-top:7px}
