body {
    background: #07111d;
}

.itssoso-suite-runtime {
    padding: 28px 0 90px;
    color: #ffffff;
}

.itssoso-suite-hero {
    margin: 0 0 30px;
    padding: 54px 36px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 15% 10%, rgba(255,115,64,.24), transparent 32%),
        radial-gradient(circle at 85% 15%, rgba(80,120,255,.18), transparent 34%),
        linear-gradient(135deg,#101827,#050b14);
    border: 1px solid rgba(255,255,255,.08);
}

.itssoso-suite-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #ff9559;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .2em;
}

.itssoso-suite-hero h1 {
    margin: 0 0 18px;
    color: #ffffff !important;
    font-size: clamp(46px,7vw,84px);
    line-height: .92;
    letter-spacing: -.05em;
}

.itssoso-suite-hero p {
    max-width: 850px;
    color: rgba(255,255,255,.78) !important;
    font-size: 19px;
    line-height: 1.65;
}

.itssoso-suite-map {
    margin-bottom: 36px;
}

#itssoso-discovery-map {
    width: 100%;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    background: #091018;
}

.itssoso-suite-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(320px,1fr));
    gap: 26px;
}

.itssoso-suite-card {
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: 0 16px 42px rgba(0,0,0,.24);
}

.itssoso-suite-card__media {
    position: relative;
    height: 260px;
    background-size: cover;
    background-position: center;
}

.itssoso-suite-card__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,rgba(0,0,0,.86),rgba(0,0,0,.16));
}

.itssoso-suite-card__chips {
    position: absolute;
    inset: 16px;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 8px;
}

.itssoso-suite-card__chips span {
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(0,0,0,.68);
    color: #fff;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
}

.itssoso-suite-card__chips .is-live {
    background: #00ff88;
    color: #04120b;
}

.itssoso-suite-card__body {
    padding: 24px;
}

.itssoso-suite-card__district {
    margin-bottom: 10px;
    color: #ffaf71;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
}

.itssoso-suite-card h3 {
    margin: 0 0 12px;
    color: #ffffff !important;
    font-size: 28px;
    line-height: 1.08;
}

.itssoso-suite-card p {
    min-height: 78px;
    margin: 0 0 18px;
    color: rgba(255,255,255,.74) !important;
    line-height: 1.6;
}

.itssoso-suite-card__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    color: rgba(255,255,255,.76);
    font-size: 13px;
}

.itssoso-suite-empty {
    padding: 34px;
    border-radius: 24px;
    color: #fff;
    background: rgba(255,255,255,.05);
}

.runtime-tonight .itssoso-suite-hero {
    background:
        radial-gradient(circle at 20% 0%, rgba(255,0,140,.24), transparent 36%),
        radial-gradient(circle at 85% 15%, rgba(120,80,255,.2), transparent 34%),
        linear-gradient(135deg,#17091d,#050912);
}

.runtime-marketplace .itssoso-suite-hero {
    background:
        radial-gradient(circle at 20% 0%, rgba(255,190,70,.22), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(0,255,180,.15), transparent 34%),
        linear-gradient(135deg,#171108,#07110e);
}

.runtime-business .itssoso-suite-hero {
    background:
        radial-gradient(circle at 20% 0%, rgba(0,255,180,.15), transparent 34%),
        radial-gradient(circle at 85% 15%, rgba(90,140,255,.17), transparent 34%),
        linear-gradient(135deg,#061614,#071018);
}

@media (max-width: 768px) {
    .itssoso-suite-hero {
        padding: 40px 22px;
    }

    #itssoso-discovery-map {
        min-height: 360px;
    }
}

/* =========================================================
   ITSSOSO SUITES CONTRAST HOTFIX
   ========================================================= */

.itssoso-suite-runtime {
    background: #07111d !important;
    color: #ffffff !important;
}

.itssoso-suite-runtime .itssoso-suite-card {
    background: #101826 !important;
    border: 1px solid rgba(255,255,255,.08) !important;
}

.itssoso-suite-runtime .itssoso-suite-card__body {
    background: #101826 !important;
    color: #ffffff !important;
}

.itssoso-suite-runtime .itssoso-suite-card h3 {
    color: #ffffff !important;
}

.itssoso-suite-runtime .itssoso-suite-card p {
    color: rgba(255,255,255,.82) !important;
}

.itssoso-suite-runtime .itssoso-suite-card__district {
    color: #ffb06d !important;
}

.itssoso-suite-runtime .itssoso-suite-card__footer {
    color: rgba(255,255,255,.72) !important;
}

.itssoso-suite-runtime .itssoso-suite-card__chips span {
    background: rgba(0,0,0,.72) !important;
    color: #ffffff !important;
}

.itssoso-suite-runtime .itssoso-suite-hero {
    background:
        radial-gradient(circle at top left,
            rgba(255,115,64,.18),
            transparent 30%
        ),
        linear-gradient(
            135deg,
            #101827,
            #050b14
        ) !important;
}

.itssoso-suite-runtime .itssoso-suite-hero h1 {
    color: #ffffff !important;
}

.itssoso-suite-runtime .itssoso-suite-hero p {
    color: rgba(255,255,255,.82) !important;
}

/* Shell/theme override protection */

.itssoso-suite-runtime * {
    box-sizing: border-box;
}

/* ============================================================
   ENTITY RUNTIME V1
   ============================================================ */

/* ---- Layout ---- */
.itssoso-entity {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px 80px;
    color: #fff;
}

.itssoso-entity__body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    margin-top: 28px;
}

@media (max-width: 860px) {
    .itssoso-entity__body {
        grid-template-columns: 1fr;
    }
}

/* ---- Hero ---- */
.entity-hero {
    position: relative;
    min-height: 480px;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    background: #0a1520;
}

.entity-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    opacity: .55;
}

.entity-hero__backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,10,18,.92) 0%, rgba(5,10,18,.3) 60%, transparent 100%);
}

.entity-hero__inner {
    position: relative;
    z-index: 1;
    padding: 40px 36px;
    width: 100%;
}

.entity-hero__meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.entity-hero__type {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
}

.entity-hero__live-badge {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
}

.live-badge--high    { background: rgba(255,80,80,.25);  color: #ff6b6b; border: 1px solid rgba(255,80,80,.4); }
.live-badge--rising  { background: rgba(255,160,50,.2);  color: #ffb347; border: 1px solid rgba(255,160,50,.35); }
.live-badge--building{ background: rgba(80,180,255,.18); color: #5bb8ff; border: 1px solid rgba(80,180,255,.3); }
.live-badge--quiet   { background: rgba(255,255,255,.08);color: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.12); }

.entity-hero__boost-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,200,50,.18);
    color: #ffc83a;
    border: 1px solid rgba(255,200,50,.35);
    letter-spacing: .08em;
}

.entity-hero__title {
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: .95;
    margin: 0 0 14px;
    color: #fff;
}

.entity-hero__district {
    font-size: 14px;
    color: rgba(255,255,255,.65);
    margin-bottom: 12px;
}

.entity-hero__district a {
    color: inherit;
    text-decoration: none;
}

.entity-hero__district a:hover {
    color: #fff;
}

.entity-hero__subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.72);
    line-height: 1.55;
    max-width: 560px;
    margin: 0;
}

.entity-hero__countdown {
    margin-top: 14px;
    font-size: 15px;
    font-weight: 600;
    color: #ffb347;
}

.entity-hero__price {
    margin-top: 12px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
}

/* ---- Section titles ---- */
.entity-section-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    margin: 0 0 16px;
}

/* ---- Pulse ---- */
.entity-pulse {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 20px 22px;
    margin-bottom: 22px;
}

.entity-pulse__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
    margin-bottom: 10px;
}

.entity-pulse__state {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 12px;
}

.entity-pulse__energy {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.01em;
    color: #fff;
}

.entity-pulse__score {
    font-size: 13px;
    color: rgba(255,255,255,.45);
    font-variant-numeric: tabular-nums;
}

.entity-pulse__bar {
    height: 4px;
    background: rgba(255,255,255,.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 10px;
}

.entity-pulse__fill {
    height: 100%;
    border-radius: 2px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
}

.pulse--high    .entity-pulse__fill { background: #ff6b6b; }
.pulse--rising  .entity-pulse__fill { background: #ffb347; }
.pulse--building .entity-pulse__fill{ background: #5bb8ff; }
.pulse--quiet   .entity-pulse__fill { background: rgba(255,255,255,.2); }

.entity-pulse__signals {
    font-size: 12px;
    color: rgba(255,255,255,.35);
}

/* ---- Gallery ---- */
.entity-gallery { margin-bottom: 24px; }

.entity-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 180px 130px;
    gap: 8px;
    border-radius: 16px;
    overflow: hidden;
}

.entity-gallery__item {
    background-size: cover;
    background-position: center;
    background-color: #0d1b2a;
}

.entity-gallery__item--primary {
    grid-column: span 2;
    grid-row: span 2;
}

/* ---- Signals ---- */
.entity-signals { margin-bottom: 24px; }

.entity-signals__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entity-signal {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    padding: 14px 16px;
    transition: border-color .15s;
}

.entity-signal--live {
    border-color: rgba(255,107,107,.3);
}

.entity-signal__left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.entity-signal__live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff6b6b;
    animation: entity-pulse-dot 1.4s ease infinite;
    flex-shrink: 0;
}

@keyframes entity-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(.7); }
}

.entity-signal__type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.entity-signal__title {
    font-size: 14px;
    color: #fff;
    flex: 1;
}

.entity-signal__score {
    font-size: 12px;
    color: rgba(255,200,50,.7);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Actions ---- */
.entity-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 18px;
    margin-bottom: 20px;
}

.entity-action {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 10px;
    padding: 12px 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all .15s;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.entity-action:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.2);
}

.entity-action--active {
    background: rgba(255,200,50,.12);
    border-color: rgba(255,200,50,.3);
    color: #ffc83a;
}

.entity-action__icon {
    font-size: 16px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

/* ---- Map ---- */
.entity-map {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.entity-map__canvas {
    width: 100%;
    height: 220px;
    background: #091018;
}

.entity-map__address {
    padding: 14px 16px 4px;
    font-size: 13px;
    color: rgba(255,255,255,.55);
}

.entity-map__directions {
    display: block;
    padding: 10px 16px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #5bb8ff;
    text-decoration: none;
}

/* ---- Nearby ---- */
.entity-nearby {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 18px;
}

.entity-nearby__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.entity-nearby__item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.entity-nearby__item:last-child { border-bottom: none; }

.entity-nearby__item--live .entity-nearby__live-dot {
    display: inline-block;
}

.entity-nearby__live-dot {
    display: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff6b6b;
    flex-shrink: 0;
    animation: entity-pulse-dot 1.4s ease infinite;
}

.entity-nearby__type {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    color: rgba(255,255,255,.35);
    flex-shrink: 0;
}

.entity-nearby__body { flex: 1; min-width: 0; }

.entity-nearby__title {
    font-size: 13px;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.entity-nearby__district {
    font-size: 11px;
    color: rgba(255,255,255,.35);
    margin-top: 2px;
}

.entity-nearby__distance {
    font-size: 11px;
    color: rgba(255,255,255,.3);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ---- Intelligence ---- */
.entity-intelligence {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 24px;
}

.entity-intelligence__score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.entity-intelligence__score-label {
    font-size: 12px;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .08em;
}

.entity-intelligence__score-value {
    font-size: 16px;
    font-weight: 700;
    color: #ffc83a;
}

.entity-intelligence__forecast {
    font-size: 14px;
    color: rgba(255,255,255,.72);
    line-height: 1.5;
    margin-bottom: 16px;
    padding: 12px 14px;
    background: rgba(80,180,255,.07);
    border-radius: 10px;
    border: 1px solid rgba(80,180,255,.15);
}

.entity-intelligence__forecast-icon {
    margin-right: 6px;
}

.entity-intelligence__trends-label,
.entity-intelligence__recs-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.35);
    margin-bottom: 10px;
}

.entity-intelligence__trends {
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.entity-intelligence__trend-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.65);
}

.entity-intelligence__recs {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.entity-intelligence__rec-item {
    font-size: 13px;
    color: #5bb8ff;
    text-decoration: none;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.entity-intelligence__rec-item:last-child { border-bottom: none; }

/* ---- Discovery card canonical link ---- */
.itssoso-suite-card {
    position: relative;
}
.itssoso-suite-card__link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
}
.itssoso-suite-card__chips,
.itssoso-suite-card__body {
    position: relative;
    z-index: 2;
}

/* ============================================================
   ENTITY PAGE — DARK THEME BODY OVERRIDE
   Scoped to body.itssoso-entity-page to win over main.css
   and single.css light-mode body/root defaults without
   breaking any other page on the platform.
   ============================================================ */

body.itssoso-entity-page {
    background: #07111d !important;
    color: #ffffff !important;
}

body.itssoso-entity-page .itssoso-entity {
    color: #ffffff;
}

/* Kill any white-card bleed from single.css .itssoso-card */
body.itssoso-entity-page .itssoso-card,
body.itssoso-entity-page .itssoso-single {
    background: transparent;
    box-shadow: none;
    border: none;
}

/* Text visibility — override --text:#222 from main.css tokens */
body.itssoso-entity-page p,
body.itssoso-entity-page h1,
body.itssoso-entity-page h2,
body.itssoso-entity-page h3,
body.itssoso-entity-page h4,
body.itssoso-entity-page li,
body.itssoso-entity-page span,
body.itssoso-entity-page div {
    color: inherit;
}

body.itssoso-entity-page a {
    color: #5bb8ff;
}

body.itssoso-entity-page a:hover {
    color: #8cd1ff;
}

/* ---- Entity map canvas ---- */
/* The entity page uses #itssoso-entity-map (not #itssoso-discovery-map) */
#itssoso-entity-map {
    width: 100%;
    height: 220px;
    min-height: 220px;
    background: #0d1e2e;
    border-radius: 12px;
    display: block;
}

/* Leaflet tiles load on top of this background — ensure it's visible */
#itssoso-entity-map .leaflet-container {
    background: #0d1e2e;
    border-radius: 12px;
    height: 100%;
    min-height: 220px;
}

/* Override single.css #itssoso-single-map if it bleeds in */
body.itssoso-entity-page #itssoso-single-map {
    background: #0d1e2e;
}

/* ============================================================
   ENTITY SECTIONS — EXPLICIT DARK BACKGROUNDS
   rgba(255,255,255,.04) panels become white on a white body.
   Force solid dark backgrounds so text is always readable.
   ============================================================ */

.entity-pulse,
.entity-intelligence,
.entity-nearby,
.entity-actions,
.entity-map,
.entity-gallery,
.entity-signals {
    background: #0d1b2e !important;
    border-color: rgba(255,255,255,.1) !important;
}

.entity-action {
    background: #172438 !important;
    border-color: rgba(255,255,255,.12) !important;
    color: #fff !important;
}

.entity-action:hover {
    background: #1e2f47 !important;
}

.entity-action--active {
    background: rgba(255,200,50,.15) !important;
    color: #ffc83a !important;
}

.entity-nearby__item {
    border-bottom-color: rgba(255,255,255,.08) !important;
}

/* Section titles */
.entity-section-title {
    color: rgba(255,255,255,.5) !important;
}

/* Pulse text */
.entity-pulse__label {
    color: rgba(255,255,255,.5) !important;
}

.entity-pulse__energy {
    color: #fff !important;
}

.entity-pulse__score {
    color: rgba(255,255,255,.45) !important;
}

.entity-pulse__signals {
    color: rgba(255,255,255,.4) !important;
}

/* Nearby text */
.entity-nearby__type {
    color: rgba(255,255,255,.4) !important;
}

.entity-nearby__title {
    color: #fff !important;
}

.entity-nearby__district {
    color: rgba(255,255,255,.4) !important;
}

.entity-nearby__distance {
    color: rgba(255,255,255,.35) !important;
}

/* Intelligence text */
.entity-intelligence__score-label {
    color: rgba(255,255,255,.45) !important;
}

.entity-intelligence__score-value {
    color: #ffc83a !important;
}

.entity-intelligence__trends-label,
.entity-intelligence__recs-label {
    color: rgba(255,255,255,.4) !important;
}

.entity-intelligence__trend-tag {
    background: rgba(255,255,255,.08) !important;
    border-color: rgba(255,255,255,.12) !important;
    color: rgba(255,255,255,.7) !important;
}

.entity-intelligence__rec-item {
    color: #5bb8ff !important;
    border-bottom-color: rgba(255,255,255,.07) !important;
}

/* Map address/directions */
.entity-map__address {
    color: rgba(255,255,255,.6) !important;
}

.entity-map__directions {
    color: #5bb8ff !important;
}

/* ── City-aware empty state ─────────────────────────────────────────────── */
.itssoso-suite-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 24px;
    text-align: center;
    gap: 12px;
}
.itssoso-suite-empty__icon  { font-size: 40px; }
.itssoso-suite-empty__title { font-size: 20px; font-weight: 700; color: #fff; }
.itssoso-suite-empty__msg   { font-size: 15px; color: rgba(255,255,255,.5); max-width: 400px; line-height: 1.5; }
.itssoso-suite-empty__cta   {
    margin-top: 8px;
    display: inline-block;
    padding: 10px 24px;
    background: #2e86ab;
    color: #fff;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background .15s;
}
.itssoso-suite-empty__cta:hover { background: #1b5f80; color: #fff; }

/* ── Claim button & inline panel ──────────────────────────────────────────── */
.entity-action--claim  { background: rgba(184,134,11,.12) !important; color: rgba(245,158,11,.75) !important; border-color: rgba(245,158,11,.18) !important; }
.entity-action--claim:hover { background: rgba(184,134,11,.22) !important; color: #f59e0b !important; }
.entity-action--manage { background: rgba(46,134,171,.12) !important; color: rgba(91,184,255,.75) !important; border-color: rgba(91,184,255,.18) !important; }

/* Inline claim panel — sits below action bar, no overlay, no blocking */
.entity-claim-panel {
    margin-top: 8px;
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 10px 0 4px;
}
.entity-claim-panel__inner {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.entity-claim-panel__text {
    font-size: 12px;
    color: rgba(255,255,255,.35);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.entity-claim-panel__submit {
    background: none;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 999px;
    color: rgba(255,255,255,.5);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    cursor: pointer;
    letter-spacing: .02em;
    transition: border-color .12s, color .12s;
}
.entity-claim-panel__submit:hover { border-color: rgba(255,255,255,.35); color: rgba(255,255,255,.8); }
.entity-claim-panel__msg {
    font-size: 12px;
    color: rgba(255,255,255,.45);
    padding: 6px 0;
}
.entity-claim-panel__msg--ok   { color: rgba(74,222,128,.8); }
.entity-claim-panel__msg--err  { color: rgba(248,113,113,.8); }
.entity-claim-panel__msg--info { color: rgba(147,197,253,.8); }
/* ── Badges on cards ── */
.itssoso-suite-card__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 10px 14px 12px;
}
.itssoso-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    background: rgba(46,134,232,.15);
    color: #4a9eff;
    border: 1px solid rgba(46,134,232,.25);
    white-space: nowrap;
}
/* ── Badges on single pages ── */
.entity-badges { padding: 16px 20px; display: flex; flex-direction: column; gap: 10px; }
.entity-badges__positive, .entity-badges__negative { display: flex; flex-wrap: wrap; gap: 8px; }
.entity-badge { font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; white-space: nowrap; }
.entity-badge--positive { background: rgba(46,134,232,.12); color: #55aaff; border: 1px solid rgba(46,134,232,.2); }
.entity-badge--negative { background: rgba(224,92,42,.08); color: #e05c2a; border: 1px solid rgba(224,92,42,.2); }

/* ── Reactions + Comments ── */
.entity-reactions { padding: 24px 20px; border-top: 1px solid rgba(255,255,255,.06); }
.entity-reactions__header h3, .entity-comments h3 { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); letter-spacing: 2px; text-transform: uppercase; margin: 0 0 14px; }
.entity-reactions__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.entity-reaction-btn { display: flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 20px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04); color: rgba(255,255,255,.7); font-size: 13px; cursor: pointer; transition: all .2s; }
.entity-reaction-btn:hover { border-color: rgba(46,134,232,.4); background: rgba(46,134,232,.1); color: #fff; }
.entity-reaction-btn.is-active { border-color: #2e86e8; background: rgba(46,134,232,.2); color: #fff; }
.reaction-count { font-size: 11px; color: rgba(255,255,255,.4); min-width: 12px; }
.entity-comments { margin-top: 24px; border-top: 1px solid rgba(255,255,255,.06); padding-top: 24px; }
.entity-comment { display: grid; grid-template-columns: auto 1fr auto auto; gap: 8px; align-items: start; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.04); font-size: 14px; }
.comment-author { font-weight: 700; color: #2e86e8; white-space: nowrap; }
.comment-body { color: rgba(255,255,255,.8); line-height: 1.5; }
.comment-time { font-size: 11px; color: rgba(255,255,255,.3); white-space: nowrap; }
.comment-flag { background: none; border: none; cursor: pointer; font-size: 11px; opacity: .4; padding: 0; }
.no-comments { font-size: 13px; color: rgba(255,255,255,.3); padding: 12px 0; }
.entity-comments__form textarea { width: 100%; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; color: #fff; font-size: 14px; padding: 12px; resize: none; outline: none; font-family: inherit; }
.entity-comments__form textarea:focus { border-color: #2e86e8; }
.comment-form-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.comment-char-count { font-size: 11px; color: rgba(255,255,255,.3); }
.entity-comments__login-prompt { margin-top: 16px; font-size: 13px; }
.entity-comments__login-prompt a { color: #2e86e8; text-decoration: none; }

/* ═══════════════════════════════════════════════════════════════
 * v36.0.0 — Card visual hierarchy
 *
 * Goals:
 *   1. LIVE NOW cards visually dominate the page
 *   2. Each category gets distinct color + emoji
 *   3. Remove misleading stock photo background
 *   4. Status chip replaces meaningless "Pulse 50"
 *
 * Specificity: .itssoso-suite-card--v36 wins over base styles.
 * ═══════════════════════════════════════════════════════════════ */

.itssoso-suite-card--v36 {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid rgba(148, 163, 184, 0.12);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    min-height: 320px;
}

.itssoso-suite-card--v36:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    border-color: rgba(148, 163, 184, 0.28);
}

/* ── Visual: gradient + giant emoji (replaces stock photo) ─── */
.itssoso-suite-card--v36 .itssoso-suite-card__visual {
    position: relative;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.itssoso-suite-card--v36 .itssoso-suite-card__emoji {
    font-size: 72px;
    line-height: 1;
    filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.35));
    transition: transform 300ms ease;
}

.itssoso-suite-card--v36:hover .itssoso-suite-card__emoji {
    transform: scale(1.08) rotate(-3deg);
}

/* ── Chips: category + status (replaces "EVENT / Pulse 50") ─ */
.itssoso-suite-card--v36 .itssoso-suite-card__chips {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    pointer-events: none;
    z-index: 2;
}

.itssoso-suite-card--v36 .itssoso-suite-card__category-chip {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(4px);
}

.itssoso-suite-card--v36 .is-card-status {
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.itssoso-suite-card--v36 .is-card-status--live {
    background: #ef4444;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.35), 0 0 20px rgba(239, 68, 68, 0.55);
}

.itssoso-suite-card--v36 .is-card-status__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff;
    animation: v36-live-pulse 1.6s ease-in-out infinite;
}

@keyframes v36-live-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.85); }
}

/* ── Body: title + description ──────────────────────────── */
.itssoso-suite-card--v36 .itssoso-suite-card__body {
    padding: 14px 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.itssoso-suite-card--v36 .itssoso-suite-card__district {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #fbbf24;
    text-transform: none;
}

.itssoso-suite-card--v36 h3 {
    color: #f1f5f9;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

.itssoso-suite-card--v36 p {
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ── LIVE NOW cards: visually dominant ──────────────────── */
.itssoso-suite-card--v36.is-card--live {
    border-color: rgba(239, 68, 68, 0.55);
    box-shadow:
        0 0 0 1px rgba(239, 68, 68, 0.35),
        0 0 28px rgba(239, 68, 68, 0.18),
        0 8px 20px rgba(0, 0, 0, 0.5);
}

.itssoso-suite-card--v36.is-card--live .itssoso-suite-card__visual {
    height: 180px;
}

.itssoso-suite-card--v36.is-card--live .itssoso-suite-card__emoji {
    font-size: 88px;
    animation: v36-live-emoji-breathe 3.6s ease-in-out infinite;
}

@keyframes v36-live-emoji-breathe {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}

.itssoso-suite-card--v36.is-card--live h3 {
    font-size: 17px;
    color: #fff;
}

/* Animated pulse ring on live cards */
.itssoso-suite-card--v36 .itssoso-suite-card__pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.45);
    transform: translate(-50%, -50%);
    animation: v36-ring-expand 2.4s ease-out infinite;
    pointer-events: none;
}

@keyframes v36-ring-expand {
    0%   { transform: translate(-50%, -50%) scale(0.6); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.6); opacity: 0;   }
}

/* ── Link overlay covers the whole card ────────────────── */
.itssoso-suite-card--v36 .itssoso-suite-card__link {
    position: absolute;
    inset: 0;
    z-index: 3;
    text-indent: -9999px;
    overflow: hidden;
}

/* ── Grid: live cards span 2 columns on desktop ─────────── */
@media (min-width: 768px) {
    .itssoso-suite-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 18px;
    }
    .itssoso-suite-card--v36.is-card--live {
        grid-column: span 2;
    }
}

@media (max-width: 767px) {
    .itssoso-suite-grid {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }
}

/* ── Badges row (genres etc) ─────────────────────────────── */
.itssoso-suite-card--v36 .itssoso-suite-card__badges {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.itssoso-suite-card--v36 .itssoso-badge {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.14);
    color: #cbd5e1;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
