/* 观点模块（个股页 / 题材详情 / 观点独立页共用） */
.op-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.op-tabs { display: flex; gap: 6px; }
.op-tabs button { font-size: 12px; padding: 3px 12px; border-radius: 12px; background: transparent; border: 1px solid #2e2e2e; color: #8a8a8a; cursor: pointer; }
.op-tabs button.on { color: #e8c35a; border-color: rgba(232, 195, 90, .55); background: rgba(232, 195, 90, .12); }
.op-ai { font-size: 12px; color: #e8c35a; border: 1px solid rgba(232, 195, 90, .55); padding: 4px 12px; border-radius: 3px; text-decoration: none; }
.op-ai:hover { background: rgba(232, 195, 90, .12); }
.op-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; margin-bottom: 12px; }
.op-cap { display: block; font-size: 11px; color: #8a8a8a; margin: 4px 0; }
.op-bar { display: flex; height: 8px; border-radius: 4px; overflow: hidden; background: #1c1c1c; margin: 2px 0 4px; }
.op-bar i { display: block; height: 100%; }
.op-zero { margin: 2px 0 4px; font-size: 12px; color: var(--muted); }
.op-bull { background: #ff3b30; fill: #ff3b30; color: #ff3b30; } .op-bear { background: #16c45c; fill: #16c45c; color: #16c45c; } .op-flat { background: #6b6b6b; fill: #6b6b6b; color: #a5a5a5; }
.op-legend { display: flex; gap: 12px; font-size: 11px; color: #a5a5a5; }
.op-bull-t { color: #ff3b30; } .op-bear-t { color: #16c45c; }
.op-trend { width: 100%; height: auto; display: block; }
.op-axis { stroke: #2e2e2e; } .op-tick { fill: #8a8a8a; font-size: 10px; } .op-turn { fill: #e8c35a; }
.op-orgs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 8px; }
.op-orgs .op-cap { display: inline; margin: 0 4px 0 0; }
.op-orgs em { font-style: normal; font-size: 11px; border: 1px solid #2e2e2e; padding: 0 6px; color: #c7c7c7; }
.op-list { list-style: none; margin: 0; padding: 0; display: grid; }
.op-list li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; padding: 9px 0; border-top: 1px solid #1e1e1e; }
.op-list time { font: 12px monospace; color: #8a8a8a; }
.op-list b { font-size: 11px; font-weight: 600; background: none !important; margin-right: 8px; }
.op-list em { font-style: normal; font-size: 12px; color: #a5a5a5; }
.op-list u { text-decoration: none; font-size: 11px; color: #8ab4ff; border: 1px solid rgba(138, 180, 255, .4); padding: 0 5px; margin-left: 8px; }
.op-list p { margin: 3px 0 0; font-size: 14px; line-height: 1.5; }
.op-list a { color: inherit; text-decoration: none; } .op-list a:hover { color: #e8c35a; text-decoration: underline; }
.op-empty { color: #8a8a8a; font-size: 13px; padding: 14px 0; }
@media (max-width: 760px) { .op-grid { grid-template-columns: 1fr; } .op-list li { grid-template-columns: 1fr; gap: 2px; } }
.dashboard .opinion-panel { order: 4; grid-column: 1 / -1; }

/* 观点库（/cloud#opinions 与 /opinions） */
.ol-search { position: relative; }
.ol-search input { width: 260px; background: #ffffff0a; border: 1px solid var(--line); color: inherit; padding: 7px 12px; border-radius: 3px; font-size: 13px; }
.ol-drop { position: absolute; right: 0; top: calc(100% + 4px); width: 280px; background: var(--panel); border: 1px solid var(--line); z-index: 20; padding: 4px 0; box-shadow: 0 10px 30px #000a; }
.ol-drop button { display: flex; justify-content: space-between; width: 100%; border: 0; border-radius: 0; padding: 7px 12px; text-align: left; }
.ol-drop button:hover { background: #ffffff10; }
.ol-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
.ol-sum { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 18px; border: 1px solid var(--line); background: var(--panel); padding: 12px 16px; margin-bottom: 12px; }
.ol-cap { display: block; font-size: 11px; color: var(--muted); margin-bottom: 6px; }
.ol-ai p { font-size: 13px; line-height: 1.75; margin: 0 0 4px; } .ol-ai p b { color: var(--gold); margin-right: 8px; font-weight: 600; }
.ol-ai .xj-btn { margin-top: 8px; }
.ol-muted { color: var(--muted); font-size: 12px; }
.ol-list { display: grid; gap: 10px; }
.ol-card { border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; display: grid; gap: 8px; }
.ol-card header { display: flex; gap: 10px; align-items: center; }
.ol-card header div { flex: 1; min-width: 0; } .ol-card header b { display: block; font-size: 14px; } .ol-card header small { font-size: 11px; }
.ol-av { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; flex: none; }
.ol-card h3 { font-size: 15px; font-weight: 500; line-height: 1.6; } .ol-card h3 a:hover { color: var(--gold); }
.ol-card > p { font-size: 13px; color: #b9bbc2; line-height: 1.7; }
.ol-rate { display: flex; gap: 16px; font-size: 12px; color: var(--muted); } .ol-rate b { color: var(--gold); font-weight: 500; margin-left: 4px; }
.ol-target { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; } .ol-target > span { color: var(--muted); }
.ol-target .jx-chip { font-size: 12px; padding: 2px 8px; }
.ol-board { border: 1px solid var(--line); background: var(--panel); padding: 12px 14px; align-self: start; display: grid; gap: 4px; }
.ol-board h4 { font-size: 12px; color: var(--muted); font-weight: 500; margin: 6px 0 4px; }
.ol-brow { display: grid; grid-template-columns: minmax(0, 1fr) 70px 24px; gap: 8px; align-items: center; border: 0; border-radius: 0; padding: 5px 2px; text-align: left; font-size: 13px; }
.ol-brow:hover { background: #ffffff0a; } .ol-brow b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ol-brow .nl-bar { display: flex; height: 5px; background: #ffffff10; } .ol-brow small { text-align: right; }
#ol-filter .jx-chip.on { border-color: var(--gold); color: var(--gold); } #ol-filter .jx-chip button { border: 0; padding: 0 0 0 6px; font-size: 11px; }
@media (max-width: 900px) { .ol-wrap, .ol-sum { grid-template-columns: minmax(0, 1fr); } .ol-board { order: -1; } .ol-search input { width: 100%; } .ol-search { width: 100%; } }
.ol-perm { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; color: var(--muted, #91949d); margin-top: 8px; }
.ol-lock { border: 1px dashed #6b5629; background: #1a150b; padding: 10px 14px; font-size: 13px; margin-bottom: 10px; }
.ol-lock b { color: var(--gold, #e8c35a); }

/* Keep rating labels intact while long values wrap within the card. */
.ol-rate { flex-wrap: wrap; }
.ol-rate > span { display: inline-flex; align-items: baseline; gap: 4px; min-width: 0; max-width: 100%; }
.ol-rate .ol-rate-label { flex: none; white-space: nowrap; }
.ol-rate b { min-width: 0; margin-left: 0; overflow-wrap: anywhere; }
