/* A single reading order, including when the board is wide. */
#overlay .opportunity-card .opportunity-lead{font-weight:600;line-height:1.7;}
#overlay .opportunity-card .opportunity-lead strong{color:#f4dfab;white-space:nowrap;}
#overlay .opportunity-card .opportunity-risk{font-size:13px;line-height:1.6;color:#b7c8ad;}
#overlay .opportunity-card .opportunity-odds{display:flex;flex-wrap:wrap;gap:6px 14px;font-size:13px;line-height:1.6;color:#c8d7bf;}
#overlay .opportunity-card .opportunity-odds b{color:#eed8a8;}
#overlay .opportunity-card:has(.opportunity-wait) .choice:disabled{opacity:.78;}
#overlay .opportunity-card .choice{padding:10px 12px;}
#overlay .opportunity-card .choice small{font-size:12px;line-height:1.45;margin-top:3px;}
#overlay .opportunity-card .board-card-actions{margin-top:12px;}
#overlay.board-card-host .modal.streamlined-market{width:min(520px,100%)!important;gap:10px;}
#overlay .streamlined-market .board-card-story,#overlay .streamlined-market .board-card-actions{overflow:visible;padding:0;border:0;background:none;}
#overlay .streamlined-market>.board-trade-footer{position:static;flex:none;display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:10px 0 0;border-top:1px solid #afbb8d33;}
#overlay .streamlined-market>.board-trade-footer>button{flex:1 1 0;min-height:44px;margin:0;padding:10px 6px;font-size:15px;}
#overlay .streamlined-market .market-card-brief>.eyebrow{display:none;}
#overlay .streamlined-market .market-card-brief h2{font-family:system-ui,sans-serif;font-weight:800;font-size:25px;margin:0 0 10px;}
#overlay .streamlined-market .market-card-note{font-size:13px;line-height:1.5;margin:2px 0;}
#overlay .streamlined-market .market-card-foot{flex:1 0 100%;font-size:12px;margin:0;text-align:left;color:#a2b097;}
#overlay .streamlined-market .market-card-price{padding:10px;}
#overlay .streamlined-market .market-card-price>strong{font-size:clamp(30px,3.4vw,40px);margin:3px 0 5px;}
.board-event-card.streamlined-market .board-card-layout{display:flex!important;flex-direction:column;gap:12px;overflow:auto;min-height:0;}
.board-event-card.streamlined-market .board-card-story,.board-event-card.streamlined-market .board-card-actions{overflow:visible;flex:none;min-height:auto;width:100%;}
.board-event-card.streamlined-market .board-card-story{padding:0;border:0;}
.board-event-card.streamlined-market .board-card-actions{padding:0;border:0;}
.streamlined-market .market-card-brief h2{font-size:clamp(23px,2.1vw,34px);margin:6px 0 14px;line-height:1.25;}
.market-card-price{text-align:center;background:rgba(5,22,15,.28);border:1px solid #8b92683b;border-radius:16px;padding:16px 12px;}
.market-card-price>span{display:block;color:#b8c7ac;font-size:14px;font-weight:600;}
.market-card-price>strong{display:block;font-size:clamp(32px,3.8vw,58px);color:#ffe2a0;font-variant-numeric:tabular-nums;line-height:1.25;margin:6px 0 10px;overflow-wrap:anywhere;}
.market-card-price>strong small{font-size:14px;color:#b7c5ab;margin-left:7px;white-space:nowrap;}
.market-card-badge{display:inline-block;border-radius:8px;padding:5px 12px;font-size:14px;color:#e6d08d;background:#b8a55a18;}
.market-card-badge.up{color:#a8e7b6;background:#66bd8620;}.market-card-badge.down{color:#ffada0;background:#dd786620;}
.market-card-facts{display:flex;flex-wrap:wrap;gap:10px;padding:12px 2px;}
.market-card-facts>div{flex:1 1 125px;display:flex;flex-direction:column;gap:5px;}
.market-card-facts span{color:#aab99f;font-size:13px;}.market-card-facts strong{font-size:17px;color:#ecdfba;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.streamlined-market .market-card-note{font-size:14px;line-height:1.6;margin:0;color:#c7cdb7;}
.streamlined-market .modal-actions{display:flex;flex-wrap:wrap;gap:8px;margin:0;position:sticky;bottom:0;background:#1a3024;padding:10px 0 0;z-index:1;}
.streamlined-market .modal-actions button{flex:1 1 110px;min-height:44px;font-size:16px;font-weight:750;}
.streamlined-market .market-card-foot{font-size:12px;margin:6px 0 0;text-align:center;color:#a2b097;}
.streamlined-market .board-card-action-content{overflow:visible;}
.streamlined-market .cash-trade-inputs{grid-template-columns:1fr;}
.streamlined-market .market-card-wait{margin:0;padding:10px;text-align:center;width:100%;}
.streamlined-market .market-card-proceeds{font-size:22px;font-weight:750;color:#ffe2a0;}
.streamlined-market .market-trade-quote{flex:none;display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;padding:8px 0;color:#b8c7ac;font-size:12px;}
.streamlined-market .market-trade-quote strong{font-size:20px;color:#ffe2a0;}.market-trade-quote small{font-size:12px;}
@media(max-width:600px){.streamlined-market .market-card-price{padding:12px 10px;}.streamlined-market .market-card-brief h2{font-size:23px;margin-bottom:10px;}.streamlined-market .market-card-facts{gap:8px;}.streamlined-market .market-card-facts>div{flex-basis:100px;}}

/* Override shared compact-card margins: a gap plus a margin used to create an empty band. */
#overlay .streamlined-market .board-card-layout{gap:8px;padding-right:0;}
#overlay .streamlined-market .board-card-actions{margin:0;}
#overlay .streamlined-market .board-card-actions:not(:has(input,.cash-trade,.market-card-proceeds,.error:not(:empty))){display:none;}
#overlay .streamlined-market .market-card-facts{padding:8px 0;gap:8px 14px;}
#overlay .streamlined-market .market-card-facts>div{gap:3px;}
#overlay .streamlined-market .market-card-note{margin:8px 0 0;}
#overlay .streamlined-market .market-card-facts+.market-card-note{margin-top:2px;}
#overlay .streamlined-market.market-editing .market-card-price,
#overlay .streamlined-market.market-editing .market-card-note{display:none;}
#overlay .streamlined-market.market-editing .market-card-brief h2{font-size:20px;margin:0;}
#overlay .streamlined-market.market-editing .cash-preview{margin:8px 0 0;}
#overlay .streamlined-market.market-editing .cash-preview-main{gap:8px;}
#overlay .streamlined-market.market-editing .market-card-brief{display:none;}
#overlay .streamlined-market.market-editing .cash-preview-main{display:block;margin:0;}
#overlay .streamlined-market.market-editing .cash-preview-main>span:first-child{display:flex;align-items:center;justify-content:space-between;gap:8px;}
#overlay .streamlined-market.market-editing .cash-preview-main>span:nth-child(2){display:none;}
#overlay .streamlined-market.market-editing .cash-preview-main strong{font-size:20px;margin:0;}
#overlay .streamlined-market.market-editing .cash-preview-details{margin-top:6px;padding-top:6px;gap:4px 10px;}
#overlay .streamlined-market .market-card-brief h2{margin-bottom:8px;}
#overlay .streamlined-market .market-card-price{padding:8px 10px;}
#overlay .streamlined-market .market-card-price>strong{font-size:clamp(30px,3.4vw,38px);}
#overlay .streamlined-market .market-card-badge{padding:4px 10px;}
#overlay .streamlined-market>.board-trade-footer{padding-top:8px;gap:6px 8px;}
#overlay .streamlined-market>.board-trade-footer>button{min-height:40px;padding:8px 6px;}

.market-quantity{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0;color:#bfceb4;font-size:13px}.market-quantity>div{display:flex;align-items:center;gap:6px}.market-quantity button{min-width:36px;min-height:36px;padding:5px 9px}.market-quantity output{min-width:24px;text-align:center;font-weight:800;color:#ffe0a0}.rematch-ranking{overflow-x:auto}#rematchCountdown{font-size:14px;color:#dfc184}@media(max-width:600px){.market-quantity{flex-wrap:wrap;font-size:11px}.market-quantity button{min-width:32px;min-height:32px;padding:3px 6px}.rematch-ranking .result-table{font-size:12px}}

.market-quantity button{border:1px solid #87976a88;border-radius:7px;background:#304c37;color:#f4d992;font:inherit;cursor:pointer}.market-quantity button:disabled{opacity:.4;cursor:default}.market-quantity button:focus-visible{outline:2px solid #f4cc74;outline-offset:2px}

/* Informational BTC card shares the board footprint; no decision controls. */
#overlay .btc-market-notice .board-card-layout{display:block}#overlay .btc-market-notice .board-card-actions{display:none}#overlay .btc-market-notice .btc-notice-trend{margin:12px 0 6px;padding:10px 12px;border:1px solid #71856155;border-radius:12px;background:#0d251b66}#overlay .btc-notice-trend figcaption{display:flex;justify-content:space-between;gap:8px;color:#b8c8b2;font-size:12px;margin-bottom:8px}#overlay .btc-notice-trend figcaption span{font-size:11px}#overlay .btc-notice-spark{display:block;width:100%;height:82px}#overlay .btc-notice-footer{margin:10px 0 0;text-align:center;color:#d4c18c;font-size:12px}@media(max-width:600px){#overlay .btc-notice-spark{height:65px}#overlay .btc-notice-trend figcaption{font-size:11px;flex-wrap:wrap}}

#overlay .btc-market-notice .btc-notice-spark{height:60px;min-height:0}#overlay .btc-market-notice .btc-notice-trend{margin:8px 0 6px;padding:8px 10px}#overlay .btc-market-notice .market-card-brief h2{font-size:22px;margin-bottom:8px}
#overlay.board-card-host:has(.btc-market-notice){height:min(var(--card-height),calc(100dvh - var(--card-top) - 8px))}
#overlay .btc-market-notice .market-card-price>strong{font-size:32px}#overlay .btc-market-notice .market-card-price{padding:6px 8px}#overlay .btc-market-notice .btc-notice-trend{padding:6px 8px}#overlay .btc-market-notice .btc-notice-spark{height:50px}
