
.iqytcp-card,
.iqytcp-card * {
    box-sizing: border-box;
}

.iqytcp-card {
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

.iqytcp-logo-wrap {
    flex: 0 0 auto;
}

.iqytcp-logo {
    display: block;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
}

.iqytcp-fallback-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ff0000;
    color: #fff;
}

.iqytcp-content {
    min-width: 0;
}

.iqytcp-channel-name {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
}

.iqytcp-subscriber-text {
    margin-top: 3px;
    font-size: 14px;
    line-height: 1.4;
}

.iqytcp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
    transition: transform .2s ease, opacity .2s ease, background .2s ease;
}

.iqytcp-button:hover {
    transform: translateY(-1px);
}

/* Design 1:
   Small logo on left.
   On the right area: channel name, subscribers, and visit button.
*/
.iqytcp-design-1 {
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, .07);
}

.iqytcp-design-1 .iqytcp-content {
    flex: 1;
}

.iqytcp-design-1 .iqytcp-channel-name {
    color: #1e1e1e;
}

.iqytcp-design-1 .iqytcp-subscriber-text {
    color: #6b6b6b;
}

.iqytcp-design-1 .iqytcp-button {
    color: #ffffff;
    background: #ff0000;
}

.iqytcp-design-1 .iqytcp-button:hover {
    background: #d90000;
}

/* Design 2 */
.iqytcp-design-2 {
    max-width: 620px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 18px;
    background: #111827;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(17, 24, 39, .22);
}

.iqytcp-design-2 .iqytcp-logo {
    width: 64px;
    height: 64px;
    border: 3px solid rgba(255,255,255,.22);
}

.iqytcp-design-2 .iqytcp-fallback-icon {
    width: 64px;
    height: 64px;
}

.iqytcp-design-2 .iqytcp-channel-name {
    color: #ffffff;
}

.iqytcp-design-2 .iqytcp-subscriber-text {
    color: #cbd5e1;
}

.iqytcp-design-2 .iqytcp-button-wrap {
    grid-column: 2;
}

.iqytcp-design-2 .iqytcp-button {
    color: #111827;
    background: #ffffff;
}

/* Design 3 */
.iqytcp-design-3 {
    max-width: 360px;
    padding: 24px;
    text-align: center;
    background: linear-gradient(58deg, #085c1f, #000000);
    /*border: 1px solid #ffe1e1;*/
    /*border-radius: 22px;*/
    box-shadow: 0 12px 35px rgba(255, 0, 0, .08);
}

.iqytcp-design-3 .iqytcp-logo,
.iqytcp-design-3 .iqytcp-fallback-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto;
}

.iqytcp-design-3 .iqytcp-content {
    margin-top: 14px;
}

.iqytcp-design-3 .iqytcp-channel-name {
    color: #FFF;
    font-size: 20px;
}

.iqytcp-design-3 .iqytcp-subscriber-text {
    color: #717171;
}

.iqytcp-design-3 .iqytcp-button-wrap {
    margin-top: 16px;
}

.iqytcp-design-3 .iqytcp-button {
    width: 100%;
    color: #ffffff;
    background: #ff0000;
}

.iqytcp-design-3 .iqytcp-button:hover {
    background: #d90000;
}

@media (max-width: 520px) {
    .iqytcp-design-1 {
        flex-wrap: wrap;
    }

    .iqytcp-design-1 .iqytcp-button-wrap {
        width: 100%;
    }

    .iqytcp-design-1 .iqytcp-button {
        width: 100%;
    }

    .iqytcp-design-2 {
        grid-template-columns: auto 1fr;
    }

    .iqytcp-design-2 .iqytcp-button-wrap {
        grid-column: 1 / -1;
    }

    .iqytcp-design-2 .iqytcp-button {
        width: 100%;
    }
}
