/* ENERGY 106 CONNECTION BUNDLE V1 */

/* SOURCE: css/energy-crew/v3.css */
/* RL-ENERGY-CREW-REBUILD-V3 */

/* Energy Crew V3 styles are scoped to the component. */

.ecv3 {
    --ec-pink: #fa2fa5;
    --ec-purple: #22122e;
    display: grid;
    grid-template-columns: minmax(235px, 35%) minmax(0, 1fr);
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    background: #1b142c;
    color: #fff;
    box-shadow: 0 13px 38px rgba(15, 7, 32, .21);
    font-family: inherit;
}

.ecv3[hidden],
.ecv3 [hidden] {
    display: none !important;
}

.ecv3__promo {
    background: linear-gradient(
        148deg,
        #f33ca9 0%,
        #c51a85 63%,
        #8c116f 100%
    );
    padding: 25px 26px;
    min-height: 407px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    isolation: isolate;
}

.ecv3__brand {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .12em;
    color: #fff;
}

.ecv3__brand span:last-child {
    color: #3d0d3b;
    background: #fff;
    padding: 3px 5px;
    margin-left: 4px;
    border-radius: 2px;
}

.ecv3__brand-signal {
    font-size: 18px;
    margin-right: 8px;
}

.ecv3__kicker {
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
    color: #ffe6f6;
}

.ecv3__promo h2 {
    font-size: clamp(34px, 3.7vw, 54px);
    line-height: .93;
    letter-spacing: -.055em;
    font-weight: 1000;
    color: #fff;
    margin: 16px 0 13px;
}

.ecv3__promo h2 em {
    font-style: normal;
    color: #31112f;
}

.ecv3__promo-middle p {
    font-size: 13px;
    line-height: 1.5;
    color: #fff;
    max-width: 290px;
    margin: 0;
}

.ecv3__promo-foot {
    font-weight: 800;
    font-size: 10px;
    letter-spacing: .1em;
    color: #ffe8f6;
}

.ecv3__promo-foot span {
    margin: 0 6px;
}

.ecv3__content {
    min-width: 0;
    padding: 0;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(102, 37, 102, .28),
            transparent 56%
        ),
        #1b152a;
}

.ecv3__tabs {
    display: flex;
    gap: 4px;
    padding: 13px 21px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.ecv3__tab {
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    background: transparent;
    color: #aa9eb8;
    padding: 11px 9px 12px;
    font: inherit;
    font-weight: 800;
    font-size: 11px;
    line-height: 1.2;
    letter-spacing: .08em;
    cursor: pointer;
}

.ecv3__tab.is-active {
    color: #fff;
    border-bottom-color: var(--ec-pink);
}

.ecv3__tab:focus-visible,
.ecv3 button:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.ecv3__panel {
    padding: 24px 25px 16px;
    min-height: 345px;
}

.ecv3__panel[hidden] {
    display: none !important;
}

.ecv3__heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.ecv3__heading h3 {
    color: #fff;
    font-size: clamp(18px, 2.1vw, 24px);
    font-weight: 950;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0;
}

.ecv3__heading p {
    color: #bcaacb;
    font-size: 12px;
    margin: 7px 0 0;
}

.ecv3__status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-weight: 850;
    font-size: 10px;
    letter-spacing: .06em;
    color: #e8dbe8;
    white-space: nowrap;
    background: #35233e;
    padding: 7px 9px;
    border-radius: 20px;
}

.ecv3__status span,
.ecv3__pulse {
    width: 7px;
    height: 7px;
    display: inline-block;
    background: var(--ec-pink);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(250, 47, 165, .12);
}

.ecv3__activity {
    min-height: 205px;
}

.ecv3__item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .085);
}

.ecv3__item:first-child {
    padding-top: 0;
}

.ecv3__item:last-child {
    border-bottom: 0;
}

.ecv3__icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    background: rgba(250, 47, 165, .11);
    color: #ff66bf;
}

.ecv3__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ecv3__detail {
    min-width: 0;
}

.ecv3__detail a {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    font-weight: 850;
    color: #fff !important;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.ecv3__detail a:hover {
    text-decoration: underline;
}

.ecv3__detail p {
    color: #c6b3d1;
    font-size: 12px;
    line-height: 1.3;
    margin: 3px 0 0;
    overflow-wrap: anywhere;
}

.ecv3__time {
    align-self: start;
    text-align: right;
    white-space: nowrap;
    color: #a99bb6;
    font-size: 10px;
    font-weight: 700;
    padding-top: 4px;
}

.ecv3__empty {
    padding: 38px 5px;
    color: #c6b3d1;
    font-size: 13px;
    line-height: 1.5;
}


/* RL-ENERGY-CREW-COMPACT-NICKNAME-V1 */

.ecv3__profile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.ecv3__profile[hidden] {
    display: none !important;
}

.ecv3__profile-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    max-width: 185px;
    padding: 8px 11px !important;
    border: 1px solid rgba(250, 47, 165, .42) !important;
    border-radius: 7px !important;
    background: rgba(250, 47, 165, .11) !important;
    color: #ff91d0 !important;
    font-family: inherit;
    font-size: 11px !important;
    font-weight: 850 !important;
    line-height: 1.2;
    cursor: pointer;
    transition: background .15s ease;
}

.ecv3__profile-edit:hover {
    background: rgba(250, 47, 165, .22) !important;
}

.ecv3__profile-edit svg {
    flex-shrink: 0;
}

.ecv3__profile-edit [data-ecv3-name] {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ecv3__profile-hint {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 220px;
    max-width: 80vw;
    z-index: 5;
    padding: 10px 12px;
    border: 1px solid #70456b;
    border-radius: 7px;
    background: #38213f;
    color: #fff;
    font-size: 11px;
    line-height: 1.5;
    box-shadow: 0 8px 24px rgba(0,0,0,.24);
}

.ecv3__profile-hint[hidden] {
    display: none !important;
}

@media (max-width: 430px) {
    .ecv3__profile-edit {
        max-width: 142px;
        font-size: 10px !important;
        padding: 7px 8px !important;
    }
}

.ecv3__footer {
    margin-top: 17px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    color: #9c8fae;
    font-size: 10px;
}

.ecv3__footer > span:first-child {
    display: flex;
    gap: 7px;
    align-items: center;
}

.ecv3__pulse {
    width: 6px;
    height: 6px;
}

.ecv3__about h3 {
    color: #fff;
    font-size: 23px;
    font-weight: 900;
    margin: 0 0 15px;
}

.ecv3__about p {
    color: #cbbcd6;
    font-size: 13px;
    line-height: 1.7;
    margin: 0 0 14px;
}

/* Edit Profile popup */

.ecv3__modal {
    padding: 0;
    border: 1px solid #5f3155;
    max-width: 490px;
    width: calc(100% - 28px);
    border-radius: 13px;
    color: #fff;
    background: #21132c;
    box-shadow: 0 20px 80px rgba(0, 0, 0, .65);
}

.ecv3__modal::backdrop {
    background: rgba(9, 4, 18, .76);
}

.ecv3__form {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.ecv3__modal-top {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
}

.ecv3__modal-top span {
    font-size: 10px;
    letter-spacing: .16em;
    color: #f58dc7;
    font-weight: 900;
}

.ecv3__modal-top h2 {
    font-size: 22px;
    font-weight: 950;
    color: #fff;
    line-height: 1.1;
    margin: 6px 0;
}

.ecv3__close {
    font-size: 25px;
    color: #fff;
    background: none;
    border: 0;
    cursor: pointer;
}

.ecv3__form label {
    color: #fff;
    font-weight: 850;
    font-size: 12px;
    margin: 4px 0;
}

.ecv3__form label small {
    font-size: 10px;
    color: #bda9ca;
    font-weight: 500;
}

.ecv3__form input:not([type="checkbox"]),
.ecv3__form select {
    box-sizing: border-box;
    border: 1px solid #5b466b !important;
    background: #34223f !important;
    color: #fff !important;
    border-radius: 7px !important;
    padding: 11px !important;
    font: inherit !important;
    font-size: 13px !important;
    width: 100%;
    min-height: 43px;
}

.ecv3__form input:focus,
.ecv3__form select:focus {
    outline: 2px solid #fb65bd;
    outline-offset: 1px;
}

.ecv3__hint {
    font-size: 11px;
    color: #bda9ca;
    margin: 0 0 7px;
}

.ecv3__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px;
}

.ecv3__form-grid > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecv3__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
    margin-top: 12px !important;
    font-weight: 500 !important;
    color: #cfbed8 !important;
}

.ecv3__consent input {
    margin-top: 2px;
    accent-color: #ec2798;
    flex-shrink: 0;
}

.ecv3__error {
    border: 1px solid #aa426d;
    background: #55213f;
    border-radius: 7px;
    padding: 9px 11px;
    color: #fff;
    font-size: 12px;
}

.ecv3__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
}

.ecv3__actions button {
    border-radius: 7px;
    padding: 10px 13px;
    font-size: 12px;
    font-weight: 850;
    cursor: pointer;
}

.ecv3__cancel {
    border: 1px solid #654d71;
    background: transparent;
    color: #fff;
}

.ecv3__save {
    background: #f52ca6;
    color: #fff;
    border: 1px solid #f52ca6;
}

.ecv3__save:disabled {
    opacity: .6;
    cursor: wait;
}

@media (max-width: 800px) {
    .ecv3 {
        grid-template-columns: minmax(0, 1fr);
    }

    .ecv3__promo {
        min-height: 175px;
        padding: 20px 23px;
        gap: 19px;
    }

    .ecv3__promo h2 {
        font-size: 33px;
        margin: 10px 0;
    }

    .ecv3__promo-middle p {
        display: none;
    }

    .ecv3__content {
        min-height: 360px;
    }
}

@media (max-width: 430px) {
    .ecv3__panel {
        padding: 19px 16px 15px;
    }

    .ecv3__tabs {
        padding-left: 12px;
    }

    .ecv3__heading h3 {
        font-size: 19px;
    }

    .ecv3__item {
        gap: 8px;
        grid-template-columns: 30px minmax(0, 1fr) 64px;
    }

    .ecv3__time {
        font-size: 9px;
    }

    .ecv3__detail a,
    .ecv3__detail p {
        font-size: 11px;
    }

    .ecv3__footer {
        font-size: 9px;
    }

    .ecv3__form-grid {
        grid-template-columns: 1fr;
    }

    .ecv3__form {
        padding: 19px;
    }
}


/* SOURCE: css/energy-crew/reference-home-v6.css */
/* 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;
  }
}


/* SOURCE: css/energy-crew/connection-home-theme-v1.css */
/*
 RL-E106-CONNECTION-HOME-THEME-V1

 Energy 106 homepage only.
 Reuse existing Vibe homepage design variables.
 No feed, player or nickname behaviour changes.
*/

body.vibe-site .e106-crew-ad-layout {

    --connection-bg:
        var(--vibe-bg-card, #250638);

    --connection-border:
        var(--vibe-border-medium, #522761);

    --connection-radius:
        var(--vibe-card-radius, 5px);

    --connection-pink:
        var(--vibe-primary, #ed1584);

    --connection-white:
        var(--vibe-text-primary, #ffffff);

    --connection-muted:
        var(--vibe-text-muted, #d2bbdc);
}

/* Match the advertising image card to the same border system */

body.vibe-site
.e106-crew-ad-layout > :first-child {
    border: 1px solid var(--connection-border) !important;
    border-radius: var(--connection-radius) !important;
    box-shadow: none !important;
    overflow: hidden;
}

/* Match the entire Connection panel to standard Vibe cards */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference {
    background: var(--connection-bg) !important;
    border: 1px solid var(--connection-border) !important;
    border-radius: var(--connection-radius) !important;
    box-shadow: none !important;
    color: var(--connection-white) !important;
    overflow: hidden;
}

/* Remove the mismatched separate purple background */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__content,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__panel,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__promo {
    background: var(--connection-bg) !important;
    box-shadow: none !important;
}

/* Header divider */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__promo {
    border-bottom: 1px solid var(--connection-border) !important;
}

/* Use the same heading typeface and white as the homepage */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__brand {
    color: var(--connection-white) !important;
    font-family: var(--rl-heading-font, inherit) !important;
    font-weight: 900 !important;
}

/* Pink heading accent */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__brand::before,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__brand::after {
    background-color: var(--connection-pink) !important;
}

/* Align activity dividers and other internal lines */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__item,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__tabs,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3r6__footer {
    border-color: var(--connection-border) !important;
}

/* Listener nicknames */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__detail a {
    color: var(--connection-white) !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__detail a:hover,
body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__detail a:focus-visible {
    color: var(--connection-pink) !important;
    text-decoration: none !important;
    border-bottom: 0 !important;
}

/* Supporting listener text */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__detail p,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__time {
    color: var(--connection-muted) !important;
}

/* Matching accents for listener icons and actions */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__icon,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__icon svg,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3r6__more {
    color: var(--connection-pink) !important;
}

/* About and nickname actions */

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__tab,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__profile-edit {
    color: var(--connection-muted) !important;
}

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__tab:hover,

body.vibe-site
.e106-crew-ad-layout
.ecv3.ecv3--reference .ecv3__profile-edit:hover {
    color: var(--connection-pink) !important;
}

/* Mobile keeps its current stacking and dimensions.
   These colour and border settings also apply on mobile. */


/* SOURCE: css/energy-crew/advert-split-v1.css */
/* RL-E106-ADVERT-SPLIT-REBUILD-V3 */

/* Existing desktop split */

.e106-crew-ad-layout {
    display: grid;
    grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
    gap: 16px;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    margin: 10px 0 0;
    padding: 0;
}

.e106-crew-ad-layout__art,
.e106-crew-ad-layout__feed {
    min-width: 0;
}

/* Advertising card */

.e106-crew-ad-layout__art {
    display: block;
    position: relative;
    min-height: 0;
    padding: 0;
    margin: 0;
    overflow: hidden;
    line-height: 0;
    box-sizing: border-box;
    background: #21112e;

    border: 1px solid var(--e106-home-card-border, #523866);
    border-radius: var(--e106-home-card-radius, 5px);
}

/* Link fills complete inner card */

.e106-crew-ad-layout__link {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    line-height: 0;
    text-decoration: none;
    background: transparent;
    box-sizing: border-box;
}

.e106-crew-ad-layout__link[href] {
    cursor: pointer;
}

.e106-crew-ad-layout__link[href]:focus-visible {
    outline: 3px solid var(--e106-yellow, #ecdd0e);
    outline-offset: -3px;
}

/* Image covers the link without letterboxing */

body.vibe-site
.e106-crew-ad-layout
.e106-crew-ad-layout__image {
    display: block !important;
    position: static !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    object-fit: cover !important;
    object-position: center center !important;
    vertical-align: top !important;
}

/* Preserve Energy Connection feed */

.e106-crew-ad-layout__feed {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.e106-crew-ad-layout__feed > .ecv3 {
    width: 100%;
    height: 100%;
    min-width: 0;
    margin: 0;
}

/* Tablet/mobile: feed first, artwork second */

@media (max-width: 1050px) {
    .e106-crew-ad-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .e106-crew-ad-layout__feed {
        order: 1;
    }

    .e106-crew-ad-layout__art {
        order: 2;
        width: 100%;
        height: auto;
        aspect-ratio: 1000 / 468;
    }
}

