/* RL-E106-CREW-REFERENCE-V6 */

/* ONE COMPACT ENERGY CREW PANEL */

.ecv3.ecv3--reference {
    display: block;
    grid-template-columns: none;
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: auto;
    overflow: hidden;

    border: 1px solid #58336d;
    border-radius: 12px;

    background: #21112e;
    color: #fff;

    box-shadow: none;
}

/* HEADER */

.ecv3.ecv3--reference .ecv3__promo {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 13px;

    position: relative;
    isolation: auto;

    width: 100%;
    min-height: 0;
    height: auto;

    margin: 0;
    padding: 17px 21px;

    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(183,122,218,.24);
}

.ecv3.ecv3--reference .ecv3__promo::after,
.ecv3.ecv3--reference .ecv3__promo-middle,
.ecv3.ecv3--reference .ecv3__promo-foot {
    display: none !important;
    content: none;
}

/* ENERGY CREW HEADING */

.ecv3.ecv3--reference .ecv3__brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    order: 1;
    gap: 12px;

    margin: 0;
    padding: 0;

    color: #fff;
    font-size: clamp(18px,1.7vw,24px);
    font-weight: 950;
    letter-spacing: -.025em;
    line-height: 1.1;
    white-space: nowrap;
}

.ecv3.ecv3--reference .ecv3__brand::before {
    content: "";
    width: 5px;
    height: 27px;
    border-radius: 3px;
    background: #f20b91;
}

.ecv3.ecv3--reference .ecv3__brand::after {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #f20b91;
}

/* ABOUT / LIVE ACTIVITY LINK IN HEADER */

.ecv3.ecv3--reference .ecv3__tabs {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    order: 2;

    margin: 0 0 0 auto;
    padding: 0;

    gap: 0;
    border: 0;
    background: transparent;
}

.ecv3.ecv3--reference .ecv3__tab {
    padding: 5px 0;
    margin: 0;

    color: #b9a4c9;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 0;
    text-transform: none;

    border: 0;
    background: transparent;
    cursor: pointer;
}

.ecv3.ecv3--reference .ecv3__tab.is-active {
    display: none !important;
}

.ecv3.ecv3--reference .ecv3__tab:not(.is-active):hover {
    color: #ff6ebc;
}

/* ORIGINAL NICKNAME CONTROL */

.ecv3.ecv3--reference
.ecv3__promo > .ecv3__profile {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    order: 3;

    gap: 0;
    width: auto;
    min-width: 0;
    max-width: 100%;

    margin: 0;
    padding: 0 0 0 18px;

    border: 0;
    border-left: 1px solid #7a5688;
    border-radius: 0;

    background: transparent;
    box-shadow: none;
}

.ecv3.ecv3--reference
.ecv3__promo > .ecv3__profile[hidden] {
    display: none !important;
}

.ecv3.ecv3--reference .ecv3__profile-info {
    display: none;
}

.ecv3.ecv3--reference .ecv3__profile-edit {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    margin: 0;
    padding: 5px 0 !important;

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    color: #e9a1d0 !important;
    font-size: 12px !important;
    font-weight: 750 !important;
    text-transform: none;
}

.ecv3.ecv3--reference .ecv3__profile-edit:hover {
    color: #fff !important;
    background: transparent !important;
}

/* CONTENT */

.ecv3.ecv3--reference .ecv3__content {
    display: block;
    min-width: 0;
    min-height: 0;
    background: transparent;
}

.ecv3.ecv3--reference .ecv3__panel {
    min-height: 0;
    margin: 0;
    padding: 0 21px 12px;
    background: transparent;
}

/* Preserve the original accessible status and heading
   without duplicating a large visual heading. */

.ecv3.ecv3--reference .ecv3__heading {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    padding: 0;
    margin: 0;
    border: 0;
}

/* ONE-COLUMN FLAT FEED */

.ecv3.ecv3--reference .ecv3__activity {
    display: grid;
    grid-template-columns: minmax(0,1fr);

    width: 100%;
    min-width: 0;
    min-height: 0;

    gap: 0;
    margin: 0;
    padding: 0;
}

.ecv3.ecv3--reference .ecv3__item,
.ecv3.ecv3--reference .ecv3__item:first-child,
.ecv3.ecv3--reference .ecv3__item:last-child {
    display: grid;
    grid-template-columns: 25px minmax(0,1fr) auto;
    grid-template-rows: auto;
    align-items: center;
    align-content: center;
    gap: 12px;

    min-width: 0;
    min-height: 49px;

    margin: 0;
    padding: 10px 0;

    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(186,133,216,.23);
    border-radius: 0;

    box-shadow: none;
}

/* PINK HEADPHONE ICON */

.ecv3.ecv3--reference .ecv3__icon {
    grid-column: 1;
    grid-row: 1;

    display: grid;
    place-items: center;

    width: 23px;
    height: 23px;

    padding: 0;
    margin: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    color: #f51a9b;
}

.ecv3.ecv3--reference .ecv3__icon svg {
    width: 21px;
    height: 21px;
}

/* NICKNAME AND DEVICE ON ONE LINE */

.ecv3.ecv3--reference .ecv3__detail {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;

    grid-column: 2;
    grid-row: 1;

    gap: 2px 6px;
    min-width: 0;

    margin: 0;
    padding: 0;
}

.ecv3.ecv3--reference .ecv3__detail a {
    display: inline;
    width: auto;

    color: #fff !important;
    font-size: 13px;
    font-weight: 850;
    line-height: 1.3;

    text-decoration: none;
    overflow-wrap: anywhere;
}

.ecv3.ecv3--reference .ecv3__detail a:hover {
    color: #ff75c3 !important;
    text-decoration: underline;
}

.ecv3.ecv3--reference .ecv3__detail p {
    display: inline;

    margin: 0;
    padding: 0;

    color: #bca9c9;
    font-size: 12px;
    font-weight: 450;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* RIGHT-ALIGNED ACTIVITY TIME */

.ecv3.ecv3--reference .ecv3__time {
    display: block;

    grid-column: 3;
    grid-row: 1;

    justify-self: end;
    align-self: center;

    margin: 0;
    padding: 0;

    color: #a997b8;
    font-size: 11px;
    font-weight: 650;

    white-space: nowrap;
    text-align: right;
}

/* FOUR MOST RECENT ENTRIES INITIALLY */

.ecv3.ecv3--reference:not(.ecv3r6--expanded)
.ecv3__activity > .ecv3__item:nth-child(n+5) {
    display: none;
}

/* HIDE THE PREVIOUS COMPACT VERSION'S BUTTON */

.ecv3.ecv3--reference .ecv3c__more {
    display: none !important;
}

/* NEW FOOTER */

.ecv3.ecv3--reference .ecv3r6__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;

    gap: 10px;
    min-height: 38px;
    padding-top: 10px;

    color: #9f8dae;
    font-size: 10px;
}

.ecv3.ecv3--reference .ecv3r6__more {
    display: inline-flex;
    align-items: center;

    margin: 0 0 0 auto;
    padding: 4px 0;

    color: #fa239c;
    background: none;
    border: 0;

    font: inherit;
    font-size: 12px;
    font-weight: 850;

    cursor: pointer;
}

.ecv3.ecv3--reference .ecv3r6__more:hover {
    color: #fff;
}

.ecv3.ecv3--reference .ecv3r6__more[hidden] {
    display: none !important;
}

.ecv3.ecv3--reference .ecv3__empty {
    grid-column: 1 / -1;

    margin: 0;
    padding: 18px 0;

    color: #bca9c9;
    font-size: 12px;
}

/* ORIGINAL FOOTER HIDDEN; NOT DELETED */

.ecv3.ecv3--reference .ecv3__footer {
    display: none;
}

/* ABOUT THE CREW */

.ecv3.ecv3--reference .ecv3__about {
    padding: 19px 21px;
}

.ecv3.ecv3--reference .ecv3__about h3 {
    font-size: 19px;
    color: #fff;
}

.ecv3.ecv3--reference .ecv3__about p {
    color: #cbb8d6;
    font-size: 12px;
    line-height: 1.65;
}

/* MOBILE */

@media (max-width: 700px) {
    .ecv3.ecv3--reference .ecv3__promo {
        padding: 13px 14px;
        gap: 10px;
    }

    .ecv3.ecv3--reference .ecv3__brand {
        font-size: 17px;
        gap: 7px;
    }

    .ecv3.ecv3--reference .ecv3__brand::before {
        height: 22px;
        width: 4px;
    }

    .ecv3.ecv3--reference .ecv3__brand::after {
        width: 7px;
        height: 7px;
    }

    .ecv3.ecv3--reference .ecv3__tab,
    .ecv3.ecv3--reference .ecv3__profile-edit {
        font-size: 11px !important;
    }

    .ecv3.ecv3--reference .ecv3__panel {
        padding: 0 14px 11px;
    }

    .ecv3.ecv3--reference .ecv3__item,
    .ecv3.ecv3--reference .ecv3__item:first-child,
    .ecv3.ecv3--reference .ecv3__item:last-child {
        min-height: 46px;
        padding: 9px 0;

        grid-template-columns: 19px minmax(0,1fr) auto;
        gap: 8px;
    }

    .ecv3.ecv3--reference .ecv3__icon,
    .ecv3.ecv3--reference .ecv3__icon svg {
        width: 18px;
        height: 18px;
    }

    .ecv3.ecv3--reference .ecv3__detail a {
        font-size: 11px;
    }

    .ecv3.ecv3--reference .ecv3__detail p {
        font-size: 10px;
    }

    .ecv3.ecv3--reference .ecv3__time {
        font-size: 9px;
    }

    .ecv3.ecv3--reference .ecv3__about {
        padding: 15px 14px;
    }
}

@media (max-width: 440px) {
    .ecv3.ecv3--reference .ecv3__promo {
        row-gap: 8px;
    }

    .ecv3.ecv3--reference .ecv3__tabs {
        margin-left: auto;
    }

    .ecv3.ecv3--reference
    .ecv3__promo > .ecv3__profile {
        padding-left: 9px;
    }
}

@media (max-width: 350px) {
    .ecv3.ecv3--reference .ecv3__item {
        grid-template-columns: 19px minmax(0,1fr);
        grid-template-rows: auto auto;
    }

    .ecv3.ecv3--reference .ecv3__time {
        grid-column: 2;
        grid-row: 2;
        justify-self: start;
        text-align: left;
    }
}


/* RL-E106-CREW-HEIGHT-FIX-V8
   Energy 106 homepage desktop only.
   Adjust the active Reference V6 component.
*/

@media (min-width: 1051px) {

    /* Smaller branded header */

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__promo {
        min-height: 0 !important;
        padding: 10px 15px !important;
        gap: 9px !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__brand {
        font-size: 19px !important;
        line-height: 1.05 !important;
        gap: 8px !important;
        letter-spacing: -0.02em !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__brand::before {
        height: 21px !important;
        width: 4px !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__brand::after {
        width: 7px !important;
        height: 7px !important;
    }

    /* Keep About and nickname controls compact */

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__tab,
    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__profile-edit {
        font-size: 11px !important;
    }

    /* Reduce vertical space around the feed */

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__panel {
        padding: 0 15px 6px !important;
    }

    /* Shorter, cleaner activity rows */

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__item,
    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__item:first-child,
    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__item:last-child {
        min-height: 41px !important;
        padding: 7px 0 !important;
        column-gap: 9px !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__icon,
    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__icon svg {
        width: 18px !important;
        height: 18px !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__detail a {
        font-size: 12px !important;
        line-height: 1.2 !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__detail p {
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3__time {
        font-size: 10px !important;
    }

    /* Reduce Show More footer spacing */

    .e106-crew-ad-layout
    .ecv3.ecv3--reference .ecv3r6__footer {
        min-height: 0 !important;
        padding-top: 5px !important;
    }
}


/* RL-CONNECTION-FIVE-FIXED-V2
   Five entries inside the ORIGINAL four-row area.
   Energy 106 desktop homepage only.
*/
@media (min-width: 900px) {

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity {
    height: var(--ecv3r6-four-height) !important;
    min-height: 0 !important;
    display: grid !important;
    grid-template-rows: repeat(5, minmax(0, 1fr)) !important;
    row-gap: 0 !important;
    overflow: hidden !important;
  }

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity > .ecv3__item {
    min-height: 0 !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity > .ecv3__item:nth-child(5) {
    display: grid !important;
  }

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity > .ecv3__item:nth-child(n+6) {
    display: none !important;
  }
}


/* RL-CONNECTION-SIX-COMPACT-V3
   6 visible activities on desktop without making the card taller.
   Hides the footer/show-more row and fits 6 entries in the existing compact area.
*/
@media (min-width: 900px) {

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity {
    grid-template-rows: repeat(6, minmax(0, 1fr)) !important;
  }

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity > .ecv3__item:nth-child(6) {
    display: grid !important;
  }

  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity > .ecv3__item:nth-child(n+7) {
    display: none !important;
  }

  /* Hide the footer row directly after the activity list
     so "Show more" disappears without increasing height. */
  body.vibe-site .e106-crew-ad-layout
  .ecv3.ecv3--reference.ecv3r6--five-fixed:not(.ecv3r6--expanded)
  .ecv3__activity + * {
    display: none !important;
  }
}
