.streamer-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    color: inherit;
    text-decoration: none;
}

.streamer-link,
.streamer-link img {
    -webkit-user-drag: none;
}

.streamer-link:hover,
.streamer-link:focus {
    color: inherit;
    text-decoration: none;
}

.streamer-link:focus-visible {
    outline: 2px solid #00f2fe;
    outline-offset: 3px;
    border-radius: 10px;
}

.streamer-card:has(.streamer-link:hover) {
    transform: translateY(-2px);
    border-color: #67e7ec;
    box-shadow: 0 0 18px rgba(80, 205, 225, 0.28);
}

.streamer-card.is-live:has(.streamer-link:hover) {
    transform: translateY(-2px);
    border-color: #ff5c62;
    box-shadow: 0 0 16px rgba(255, 61, 66, 1), 0 0 32px rgba(255, 61, 66, 0.6);}

.streamer-card-wrapper {
    padding: 3px;
}

.streamer-card {
    position: relative;

    min-height: 120px;
    overflow: hidden;
    border: 2px solid rgba(84, 132, 157, 0.9);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(35, 41, 56, 0.94), rgba(15, 18, 29, 0.95));
    box-shadow: 0 0 12px rgba(50, 139, 184, 0.12);
    color: #fff;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.streamer-card.is-live {
    border-color: #ff565b;
    box-shadow: 0 0 12px rgba(255, 86, 91, 0.9), 0 0 22px rgba(255, 61, 66, 0.32);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.streamer-card .streamer-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    min-height: 108px;
}

.streamer-card .streamer-icon-container {
    position: relative;
    display: inline-block;
    flex-shrink: 0;
}

.streamer-card .streamer-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #67e7ec;
    box-shadow: 0 0 12px rgba(103, 231, 236, 0.35);
    flex-shrink: 0;

    display: block;
    background:
        radial-gradient(circle at 50% 52%, rgba(214, 53, 232, 0.28), transparent 58%),
        linear-gradient(135deg, rgba(43, 234, 255, 0.16), rgba(219, 40, 231, 0.2));
    color: transparent;
}

.streamer-card.is-live .streamer-icon {
    border-color: #ff565b;
    box-shadow: 0 0 12px rgba(255, 86, 91, 0.45);
}

.streamer-card .streamer-info {
    min-width: 0;
}

.streamer-card .streamer-name {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.streamer-card .streamer-meta {
    color: #8f8f9a;
    font-size: 0.82rem;
    overflow-wrap: anywhere;

    margin-top: 0.5rem;

    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.streamer-card .streamer-platform {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    font-size: 0.8rem;
}

.streamer-card .streamer-platform-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.streamer-card .platform-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.streamer-card .live-badge {
    position: absolute;

    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    gap: 0.4rem; /* アイコンとテキストの間隔 */
    padding: 0px 7.5px; /* 内側の余白 */
    background-image: linear-gradient(135deg, #ff0000 0%, #FF8C00 100%); /* 赤からオレンジのグラデーション */
    border-radius: 5px; /* 角を丸く */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* ドロップシャドウ */
    overflow: hidden; /* コンテンツがはみ出さないように */
    white-space: nowrap; /* テキストを改行しない */
    pointer-events: none;
}

.streamer-card .live-badge img {
    height: 20px; /* アイコンの高さ */
    width: auto; /* 幅は自動調整 */
}

.streamer-card .live-badge-text {
    color: white; /* 文字色 */
    font-weight: 600; /* 太字 */
    font-style: italic; /* 斜体 */
    font-size: 14px; /* 文字サイズ */
    letter-spacing: -0.25px; /* 文字間隔を少し詰める */
}
