/* Boorio Insights — page styles on top of the shared site styles */
:root { --good: #16a34a; --bad: #dc2626; --neutral: #8e8e93; --card: #fff; }
.risk-banner { background: #fff7e6; border-bottom: 1px solid #f3d9a4; color: #5c4400; font-size: 13.5px; line-height: 1.45; padding: 9px 22px; text-align: center; }
.risk-banner a { color: #7a5600; text-decoration: underline; }
.ins { max-width: 1120px; margin: 0 auto; padding: 22px 22px 40px; }
.ins-h1 { font-size: 34px; line-height: 1.1; letter-spacing: -0.03em; margin: 0; }
.ins-sub { color: var(--grey); margin: 6px 0 18px; }
.muted { color: var(--grey); } .small { font-size: 13px; }
.up { color: var(--good); } .down { color: var(--bad); }

.ins-search { position: relative; margin: 0 0 22px; }
.ins-search input { width: 100%; font: inherit; font-size: 17px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--soft); color: var(--ink); outline: none; }
.ins-search input:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(0,113,227,.12); }
.ins-results { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.12); max-height: 420px; overflow: auto; }
.ins-results button { display: flex; width: 100%; gap: 12px; align-items: center; padding: 10px 14px; border: 0; background: none; font: inherit; text-align: left; cursor: pointer; color: var(--ink); }
.ins-results button:hover, .ins-results button.on { background: var(--soft); }
.ins-results img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.ins-results .tag { margin-left: auto; font-size: 12px; color: var(--grey); white-space: nowrap; }
.ins-results .hd { padding: 8px 14px 4px; font-size: 12px; color: var(--grey); text-transform: uppercase; letter-spacing: .04em; }

.ins-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.ins-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ins-table th { text-align: left; font-size: 12.5px; font-weight: 600; color: var(--grey); padding: 10px 12px; border-bottom: 1px solid var(--line); background: var(--soft); }
.ins-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ins-table tr:last-child td { border-bottom: 0; }
.ins-table tbody tr { cursor: pointer; } .ins-table tbody tr:hover td { background: #fafafc; }
.ins-table .r { text-align: right; } .ins-table .c { text-align: center; }
.coin-cell { display: flex; gap: 10px; align-items: center; } .coin-cell img { width: 26px; height: 26px; border-radius: 50%; }
.coin-cell b { font-weight: 600; } .coin-cell span { color: var(--grey); font-size: 13px; }
.spark { display: block; }
@media (max-width: 760px) { .hide-m { display: none; } }
@media (max-width: 560px) { .hide-s { display: none; } .ins-h1 { font-size: 28px; } }

.badge { display: inline-block; min-width: 92px; text-align: center; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 980px; }
.b-sb { background: rgba(22,163,74,.16); color: #0f7a36; } .b-b { background: rgba(22,163,74,.09); color: #16a34a; }
.b-n { background: rgba(142,142,147,.14); color: #636366; }
.b-s { background: rgba(220,38,38,.09); color: #dc2626; } .b-ss { background: rgba(220,38,38,.16); color: #b91c1c; }

.coin-head { display: flex; gap: 14px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.coin-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--soft); }
.coin-price { margin-left: auto; text-align: right; } .coin-price .big { font-size: 30px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 16px; }
.card-h { font-size: 19px; margin: 0 0 12px; letter-spacing: -0.02em; }
.card-bar { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.seg { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.seg button { font: inherit; font-size: 13.5px; border: 1px solid var(--line); background: #fff; color: var(--ink); border-radius: 980px; padding: 5px 12px; cursor: pointer; }
.seg button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.chart { width: 100%; height: 420px; display: block; cursor: grab; touch-action: none; } .chart.drag { cursor: grabbing; }
.subchart { width: 100%; height: 90px; display: block; margin-top: 6px; }
@media (max-width: 560px) { .chart { height: 320px; } }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; } .grid2 .card { margin-bottom: 16px; }
@media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } }

.gauges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 760px) { .gauges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.gauge { text-align: center; border: 1px solid var(--line); border-radius: 16px; padding: 12px 8px; }
.gauge h3 { margin: 0 0 4px; font-size: 13px; color: var(--grey); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.gauge svg { width: 100%; max-width: 180px; height: auto; display: block; margin: 0 auto; }
.gauge .lbl { font-size: 17px; font-weight: 700; margin-top: 2px; } .gauge .cnt { font-size: 12.5px; color: var(--grey); }
.analysis ul { margin: 0; padding-left: 18px; color: var(--ink); } .analysis li { margin-bottom: 8px; }
.facts table, .det table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.facts td, .det td, .det th { padding: 7px 4px; border-bottom: 1px solid var(--line); } .facts td:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
.det th { text-align: left; font-size: 12.5px; color: var(--grey); font-weight: 600; }
.det { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; } @media (max-width: 760px) { .det { grid-template-columns: 1fr; } }
.safety-row { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-bottom: 1px solid var(--line); } .safety-row:last-child { border-bottom: 0; }
.safety-row .ico { width: 22px; flex: none; text-align: center; }
.disclaimer { font-size: 12.5px; color: var(--grey); line-height: 1.5; margin-top: 26px; border-top: 1px solid var(--line); padding-top: 14px; }
.ins-err { background: #fff1f1; border: 1px solid #f5c2c2; color: #8a1c1c; padding: 10px 14px; border-radius: 12px; margin: 10px 0; font-size: 14px; }
.retry { font: inherit; font-size: 13px; margin-left: 8px; padding: 3px 10px; border-radius: 980px; border: 1px solid #f5c2c2; background: #fff; color: #8a1c1c; cursor: pointer; }
