/* Deep Brief bento layout — scoped to coin detail (full rail = .fm-coin-detail-root) */
.flipmania-scope.fm-coin-detail-root #fm-panel-deep,
.flipmania-scope.fm-coin-detail-root #fm-deep-body {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento {
    --bento-bg: var(--fm-dash-bg, #0a0e14);
    --bento-panel: rgba(17, 23, 34, 0.95);
    --bento-panel-2: rgba(13, 19, 28, 0.95);
    --bento-border: var(--fm-stat-border-strong, #1c2738);
    --bento-text: var(--fm-stat-text, #e6edf5);
    --bento-dim: var(--fm-stat-dim, #9aa8bd);
    --bento-faint: var(--fm-stat-mute, #6e8093);
    --bento-bull: var(--fm-stat-bull, #2bd4a0);
    --bento-bear: var(--fm-stat-bear, #ff5c72);
    --bento-amber: #f5a623;
    --bento-accent: var(--fm-stat-accent, #4d8dff);
    color: var(--bento-text);
    font-family: var(--fm-font-sans, inherit);
    line-height: 1.5;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 8px;
    box-sizing: border-box;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-head {
    margin-bottom: 22px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-head h2 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-crumb {
    font-family: var(--fm-font-mono);
    font-size: 11px;
    color: var(--bento-faint);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-left: 12px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-sub {
    color: var(--bento-dim);
    font-size: 14px;
    margin: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
    align-items: center;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-ticker {
    font-family: var(--fm-font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--bento-accent);
    background: rgba(77, 141, 255, 0.1);
    border: 1px solid rgba(77, 141, 255, 0.25);
    border-radius: 8px;
    padding: 5px 10px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-win {
    font-family: var(--fm-font-mono);
    font-size: 11px;
    color: var(--bento-faint);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-warn {
    background: rgba(255, 92, 114, 0.08);
    border: 1px solid rgba(255, 92, 114, 0.35);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--bento-dim);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 13px;
    width: 100%;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile {
    background: var(--bento-panel);
    border: 1px solid var(--bento-border);
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02) inset, 0 18px 40px -28px rgba(0, 0, 0, 0.8);
    position: relative;
    overflow: hidden;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-lbl {
    font-family: var(--fm-font-mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    color: var(--bento-dim);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 12px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-lbl::before {
    content: '';
    width: 11px;
    height: 1.5px;
    background: var(--bento-faint);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--score {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(130% 120% at 50% -10%, #16202e, var(--bento-panel-2));
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-gz {
    position: relative;
    margin: 6px 0 4px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-gz-num {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--fm-font-mono);
    font-weight: 700;
    font-size: 46px;
    letter-spacing: -0.02em;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-gz-den {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 30px;
    text-align: center;
    font-family: var(--fm-font-mono);
    font-size: 12px;
    color: var(--bento-faint);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-band {
    margin-top: 10px;
    font-family: var(--fm-font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--bento-amber);
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 99px;
    padding: 7px 15px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-band--good,
.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-band--bullish {
    color: var(--bento-bull);
    background: rgba(43, 212, 160, 0.1);
    border-color: rgba(43, 212, 160, 0.3);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-band--weak,
.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-band--bearish {
    color: var(--bento-bear);
    background: rgba(255, 92, 114, 0.1);
    border-color: rgba(255, 92, 114, 0.3);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-cap {
    margin-top: 8px;
    font-size: 11px;
    color: var(--bento-faint);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-family: var(--fm-font-mono);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--verdict {
    grid-column: span 2;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-verdict {
    font-size: 15.5px;
    line-height: 1.55;
    color: #dde4ee;
    margin: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-verdict b {
    color: var(--bento-amber);
    font-weight: 600;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--metric {
    grid-column: span 1;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-metric-val {
    font-family: var(--fm-font-mono);
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-track {
    height: 5px;
    background: rgba(15, 22, 32, 0.8);
    border-radius: 9px;
    margin-top: 11px;
    overflow: hidden;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-track i {
    display: block;
    height: 100%;
    border-radius: 9px;
    background: var(--bento-accent);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-track--low i {
    background: var(--bento-bear);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-metric-note {
    font-size: 11px;
    color: var(--bento-faint);
    margin-top: 8px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--catalyst {
    grid-column: span 4;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-catalyst {
    font-size: 15px;
    line-height: 1.65;
    color: #cdd6e2;
    margin: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bull {
    grid-column: span 2;
    box-shadow: inset 3px 0 0 var(--bento-bull), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bear {
    grid-column: span 2;
    box-shadow: inset 3px 0 0 var(--bento-bear), 0 18px 40px -28px rgba(0, 0, 0, 0.8);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bull .fm-bento-lbl {
    color: var(--bento-bull);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bull .fm-bento-lbl::before {
    background: var(--bento-bull);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bear .fm-bento-lbl {
    color: var(--bento-bear);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bear .fm-bento-lbl::before {
    background: var(--bento-bear);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme {
    padding: 11px 0;
    border-bottom: 1px solid var(--bento-border);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme:last-child {
    border: 0;
    padding-bottom: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme:first-of-type {
    padding-top: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme-t {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-weight: 600;
    font-size: 14.5px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme-t em {
    font-style: normal;
    font-family: var(--fm-font-mono);
    font-size: 13px;
    flex: 0 0 auto;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bull .fm-bento-theme-t em {
    color: var(--bento-bull);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bear .fm-bento-theme-t em {
    color: var(--bento-bear);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme-p {
    font-size: 13px;
    color: var(--bento-dim);
    line-height: 1.5;
    margin: 5px 0 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-theme-src {
    font-family: var(--fm-font-mono);
    font-size: 10.5px;
    color: var(--bento-accent);
    margin-top: 6px;
    letter-spacing: 0.04em;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--nums {
    grid-column: span 4;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-numsrow {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-num {
    flex: 1 1 150px;
    background: var(--bento-panel-2);
    border: 1px solid var(--bento-border);
    border-radius: 12px;
    padding: 13px 15px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-num b {
    font-family: var(--fm-font-mono);
    font-size: 22px;
    font-weight: 600;
    color: var(--bento-bull);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-num small {
    display: block;
    color: var(--bento-dim);
    font-size: 11.5px;
    margin-top: 3px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-num small i {
    font-style: normal;
    color: var(--bento-faint);
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--news {
    grid-column: span 4;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-news a {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--bento-border);
    text-decoration: none;
    color: #dde4ee;
    font-size: 14.5px;
    line-height: 1.35;
    transition: 0.12s;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-news a:last-child {
    border: 0;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-news a:hover {
    color: #fff;
    padding-left: 6px;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-news-meta {
    flex: 0 0 auto;
    text-align: right;
    font-family: var(--fm-font-mono);
    font-size: 10.5px;
    color: var(--bento-dim);
    letter-spacing: 0.03em;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-news-meta b {
    display: block;
    color: var(--bento-accent);
    font-weight: 600;
}

.flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-inspector {
    margin-top: 18px;
}

@media (max-width: 680px) {
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--score,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--verdict,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--catalyst,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bull,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--bear,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--nums,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--news,
    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--metric {
        grid-column: span 2;
    }

    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-tile--score {
        grid-row: auto;
    }

    .flipmania-scope.fm-coin-detail-root .fm-coin-bento .fm-bento-head h2 {
        font-size: 25px;
    }
}
