:root {
    color-scheme: dark;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", sans-serif;
    background: #07111f;
    color: #eef5ff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(54, 116, 181, 0.14), transparent 36%),
        #07111f;
    color: #eef5ff;
}

main {
    width: min(100% - 40px, 1080px);
    margin: 0 auto;
    padding: 34px 0 72px;
}

header {
    margin-bottom: 42px;
}

h1 {
    margin: 0;
    font-size: 2.1rem;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

.brand-sub {
    margin-top: 7px;
    color: #7fa9d5;
    font-size: 0.78rem;
    letter-spacing: 0.2em;
}

nav {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

nav a {
    color: #dcecff;
    text-decoration: none;
    padding: 9px 17px;
    border: 1px solid #294b6e;
    border-radius: 999px;
    background: rgba(12, 31, 50, 0.65);
    transition: 0.18s ease;
}

nav a:hover {
    border-color: #5fa9ef;
    background: #132a42;
    transform: translateY(-1px);
}

.section-title {
    margin: 0;
    font-size: 1.7rem;
}

.section-note {
    margin: 7px 0 22px;
    color: #87a7c8;
    font-size: 0.95rem;
}

.stream-list {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.stream-card {
    position: relative;
    padding: 20px 22px;
    overflow: hidden;
    background: rgba(14, 30, 47, 0.93);
    border: 1px solid #1d3a56;
    border-radius: 16px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.stream-card:hover {
    border-color: #3f78a9;
    transform: translateY(-1px);
}

.stream-card:nth-child(1) {
    border-color: #d8ae55;
    background:
        linear-gradient(90deg, rgba(216, 174, 85, 0.10), transparent 42%),
        rgba(14, 30, 47, 0.96);
}

.stream-card:nth-child(2) {
    border-color: #8ca8c4;
    background:
        linear-gradient(90deg, rgba(159, 185, 210, 0.09), transparent 42%),
        rgba(14, 30, 47, 0.96);
}

.stream-card:nth-child(3) {
    border-color: #a97855;
    background:
        linear-gradient(90deg, rgba(169, 120, 85, 0.09), transparent 42%),
        rgba(14, 30, 47, 0.96);
}

.stream-rank {
    display: inline-flex;
    align-items: center;
    min-width: 38px;
    margin-bottom: 7px;
    color: #77bdff;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.stream-card:nth-child(1) .stream-rank {
    color: #ffd978;
    font-size: 1rem;
}

.stream-card:nth-child(2) .stream-rank {
    color: #c7d9eb;
    font-size: 0.95rem;
}

.stream-card:nth-child(3) .stream-rank {
    color: #d8a078;
    font-size: 0.92rem;
}

.stream-name {
    font-size: 1.12rem;
    line-height: 1.45;
    font-weight: 750;
}

.stream-title {
    margin-top: 5px;
    color: #b9cbe0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.metrics {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px 22px;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid rgba(100, 140, 180, 0.17);
    font-size: 0.9rem;
    color: #94abc3;
}

.metric strong {
    margin-left: 3px;
    color: #f5f9ff;
    font-weight: 700;
}

.metric .positive,
.positive {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 7px;
    background: rgba(71, 210, 137, 0.12);
    color: #78efad;
    font-size: 1rem;
    font-weight: 800;
}

.metric .negative,
.negative {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 7px;
    background: rgba(255, 111, 111, 0.10);
    color: #ff9999;
    font-weight: 700;
}

.muted {
    color: #7891aa;
}

.watch-link {
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
    color: #78bdff;
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.watch-link:hover {
    color: #b2dbff;
}

@media (min-width: 760px) {
    .stream-card:nth-child(1) {
        padding: 24px 26px;
    }

    .stream-card:nth-child(1) .stream-name {
        font-size: 1.22rem;
    }

    .stream-card:nth-child(1) .positive {
        font-size: 1.12rem;
    }
}

@media (max-width: 600px) {
    main {
        width: min(100% - 20px, 1080px);
        padding: 22px 0 52px;
    }

    header {
        margin-bottom: 32px;
    }

    h1 {
        font-size: 1.65rem;
    }

    .brand-sub {
        font-size: 0.7rem;
    }

    nav {
        margin-top: 18px;
    }

    nav a {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.45rem;
    }

    .stream-card {
        padding: 16px;
        border-radius: 13px;
    }

    .stream-name {
        font-size: 1rem;
    }

    .stream-title {
        font-size: 0.88rem;
    }

    .metrics {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 9px 12px;
        font-size: 0.84rem;
    }

    .watch-link {
        margin-top: 13px;
    }
}

/* Top 3 emphasis */
.stream-card:nth-child(1) {
    border-width: 3px;
}

.stream-card:nth-child(2),
.stream-card:nth-child(3) {
    border-width: 2px;
}

/* Stronger Top 3 borders */
.stream-card:nth-child(1) {
    border-width: 4px;
}

.stream-card:nth-child(2),
.stream-card:nth-child(3) {
    border-width: 3px;
}

/* Front page growth layout */
.front-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.front-growth {
    flex: 0 0 auto;
    min-width: 110px;
    text-align: right;
}

.front-growth-label {
    margin-bottom: 5px;
    color: #7692ad;
    font-size: 0.74rem;
}

.front-growth-value {
    font-size: 1.45rem;
    line-height: 1;
    font-weight: 850;
}

.front-growth-value.positive,
.front-growth-value.negative {
    padding: 7px 11px;
    border-radius: 9px;
}

.stream-card:nth-child(1) .front-growth-value {
    font-size: 1.75rem;
}

.stream-card:nth-child(2) .front-growth-value,
.stream-card:nth-child(3) .front-growth-value {
    font-size: 1.6rem;
}

@media (max-width: 600px) {
    .front-top {
        gap: 12px;
    }

    .front-growth {
        min-width: 88px;
    }

    .front-growth-label {
        font-size: 0.68rem;
    }

    .front-growth-value {
        font-size: 1.15rem;
    }

    .stream-card:nth-child(1) .front-growth-value,
    .stream-card:nth-child(2) .front-growth-value,
    .stream-card:nth-child(3) .front-growth-value {
        font-size: 1.3rem;
    }
}

/* Front growth fine tuning */
.front-growth {
    padding-top: 6px;
}

.front-growth-label {
    margin-bottom: 7px;
    font-size: 0.8rem;
    font-weight: 650;
    letter-spacing: 0.02em;
}

.stream-card:nth-child(1) .front-growth-value {
    font-size: 1.95rem;
}

.stream-card:nth-child(2) .front-growth-value,
.stream-card:nth-child(3) .front-growth-value {
    font-size: 1.65rem;
}

@media (max-width: 600px) {
    .front-growth {
        padding-top: 4px;
    }

    .front-growth-label {
        font-size: 0.72rem;
    }

    .stream-card:nth-child(1) .front-growth-value {
        font-size: 1.45rem;
    }

    .stream-card:nth-child(2) .front-growth-value,
    .stream-card:nth-child(3) .front-growth-value {
        font-size: 1.35rem;
    }
}

/* Hero */
.hero {
    margin-bottom: 48px;
    padding: 46px 44px;
    border: 1px solid #23415f;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            rgba(20, 51, 79, 0.96),
            rgba(10, 25, 42, 0.96)
        );
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}

.hero-copy {
    max-width: 760px;
}

.hero-kicker {
    color: #6faee8;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.hero-title {
    margin: 12px 0 0;
    font-size: clamp(2rem, 5vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: 0.02em;
}

.hero-description {
    margin: 16px 0 0;
    color: #b8cde2;
    font-size: 1.05rem;
    line-height: 1.8;
}

.hero-status {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 24px;
    padding: 9px 14px;
    border: 1px solid rgba(88, 170, 229, 0.25);
    border-radius: 999px;
    background: rgba(4, 18, 31, 0.46);
    color: #9eb8d2;
    font-size: 0.9rem;
}

.hero-status strong {
    color: #ffffff;
    font-size: 1.08rem;
}

.hero-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #67e8a5;
    box-shadow: 0 0 10px rgba(103, 232, 165, 0.7);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.18s ease;
}

.hero-button.primary {
    background: #2c86d1;
    color: #ffffff;
}

.hero-button.primary:hover {
    background: #3b97e5;
    transform: translateY(-1px);
}

.hero-button.secondary {
    border: 1px solid #315878;
    background: rgba(7, 22, 37, 0.45);
    color: #d8eaff;
}

.hero-button.secondary:hover {
    background: #122c45;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .hero {
        margin-bottom: 36px;
        padding: 28px 20px;
        border-radius: 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .hero-status {
        margin-top: 20px;
        font-size: 0.84rem;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-button {
        width: 100%;
    }
}

/* Site header */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding: 14px 0;
}

.site-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: inherit;
    text-decoration: none;
}

.site-brand-mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #2f6690;
    border-radius: 50%;
    background: #10283d;
    color: #73b8ff;
    font-size: 1.1rem;
    box-shadow: 0 0 18px rgba(77, 157, 225, 0.15);
}

.site-brand-name {
    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1.1;
}

.site-brand .brand-sub {
    margin-top: 4px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.site-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 15px;
    border: 1px solid #315878;
    border-radius: 999px;
    background: rgba(10, 28, 45, 0.65);
    color: #d9ebff;
    font-size: 0.84rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.18s ease;
}

.site-nav a:hover {
    border-color: #4d8fc4;
    background: #15314b;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        margin-bottom: 22px;
    }

    .site-nav {
        width: 100%;
    }

    .site-nav a {
        flex: 1;
    }
}

/* Light layout step 1 */
body {
    background:
        linear-gradient(180deg, #eef7ff 0%, #f8fbff 34%, #f4f8fc 100%);
    color: #17324d;
}

.site-brand-name,
.hero-title,
.section-title {
    color: #17324d;
}

.site-brand-mark {
    border-color: #8fc3ec;
    background: #ffffff;
    color: #2687d8;
    box-shadow: 0 6px 18px rgba(38, 135, 216, 0.12);
}

.site-nav a {
    border-color: #b7d6ee;
    background: rgba(255, 255, 255, 0.9);
    color: #24577f;
}

.site-nav a:hover {
    border-color: #6caee0;
    background: #ffffff;
}

.hero {
    position: relative;
    overflow: hidden;
    border-color: #b9d8ef;
    background:
        radial-gradient(
            circle at 82% 18%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.3) 22%,
            transparent 42%
        ),
        linear-gradient(
            135deg,
            #dff2ff 0%,
            #edf8ff 48%,
            #cdeaff 100%
        );
    box-shadow: 0 16px 36px rgba(54, 119, 170, 0.12);
}

.hero::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -90px;
    width: 320px;
    height: 220px;
    border-radius: 50%;
    background: rgba(91, 174, 231, 0.11);
    filter: blur(2px);
    pointer-events: none;
}

.hero-copy {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    color: #357fb8;
}

.hero-description {
    color: #496b86;
}

.hero-status {
    border-color: #b5d7ee;
    background: rgba(255, 255, 255, 0.72);
    color: #52718b;
}

.hero-status strong {
    color: #17324d;
}

.hero-status-dot {
    background: #22b879;
    box-shadow: 0 0 9px rgba(34, 184, 121, 0.35);
}

.hero-button.primary {
    background: #1687df;
    color: #ffffff;
}

.hero-button.primary:hover {
    background: #0879ce;
}

.hero-button.secondary {
    border-color: #9fc8e7;
    background: rgba(255, 255, 255, 0.8);
    color: #24618f;
}

.hero-button.secondary:hover {
    background: #ffffff;
}

.section-note,
.brand-sub {
    color: #4f7da1;
}

/* Light ranking cards */
.stream-card {
    background: rgba(255, 255, 255, 0.94);
    color: #17324d;
    border-color: #c7dced;
    box-shadow: 0 8px 22px rgba(60, 105, 140, 0.08);
}

.stream-card:nth-child(1) {
    background:
        linear-gradient(
            135deg,
            #fffdf7 0%,
            #ffffff 72%
        );
}

.stream-card:nth-child(2) {
    background:
        linear-gradient(
            135deg,
            #f9fcff 0%,
            #ffffff 72%
        );
}

.stream-card:nth-child(3) {
    background:
        linear-gradient(
            135deg,
            #fffaf7 0%,
            #ffffff 72%
        );
}

.stream-name,
.stream-title,
.metric,
.metric strong {
    color: #17324d;
}

.stream-title {
    color: #55728a;
}

.metrics {
    border-top-color: #d9e7f1;
}

.stream-rank {
    color: #315e83;
}

.stream-card:nth-child(1) .stream-rank {
    color: #b98715;
}

.stream-card:nth-child(2) .stream-rank {
    color: #6f879d;
}

.stream-card:nth-child(3) .stream-rank {
    color: #a7663b;
}

.front-growth-label {
    color: #6b89a1;
}

.front-growth-value.positive {
    background: #e4f8ef;
    color: #12865b;
}

.front-growth-value.negative {
    background: #fff0f0;
    color: #c75b5b;
}

.watch-link {
    color: #1687df;
}

/* Stream thumbnail */
.stream-thumbnail {
    display: block;
    width: 220px;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 16px;
    object-fit: cover;
    border: 1px solid #d5e3ee;
    border-radius: 12px;
    background: #eef4f8;
    box-shadow: 0 6px 18px rgba(55, 94, 125, 0.08);
}

@media (min-width: 760px) {
    .front-card {
        display: grid;
        grid-template-columns: 220px minmax(0, 1fr);
        column-gap: 20px;
        align-items: start;
    }

    .front-card .stream-thumbnail {
        grid-column: 1;
        grid-row: 1 / span 3;
        margin-bottom: 0;
    }

    .front-card .front-top,
    .front-card .metrics,
    .front-card .watch-link {
        grid-column: 2;
    }
}

@media (max-width: 759px) {
    .stream-thumbnail {
        width: 100%;
    }
}

/* Mobile hero title tuning */
@media (max-width: 600px) {
    .hero-title {
        font-size: 1.82rem;
        line-height: 1.28;
        letter-spacing: 0;
    }
}

/* Mobile-only hero title break */
.mobile-break {
    display: none;
}

@media (max-width: 600px) {
    .mobile-break {
        display: inline;
    }
}

/* Mobile compact ranking cards */
.mobile-growth {
    display: none;
}

.stats-area {
    grid-column: 2;
}

@media (max-width: 759px) {
    .front-card {
        display: grid;
        grid-template-columns: 112px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 10px;
        padding: 14px;
        align-items: start;
    }

    .front-card .stream-thumbnail {
        grid-column: 1;
        grid-row: 1;
        width: 112px;
        margin: 0;
        border-radius: 10px;
    }

    .front-card .front-top {
        grid-column: 2;
        grid-row: 1;
        display: block;
        min-width: 0;
        position: static;
        padding: 0;
        min-height: 0;
    }

    .front-card .front-top > div:first-child {
        width: 100%;
        min-width: 0;
    }

    /* PC用の右上10分増加はスマホでは非表示 */
    .front-card .front-top > .front-growth {
        display: none;
    }

    .front-card .stream-rank {
        position: static;
        margin: 0 0 5px;
        font-size: 0.78rem;
    }

    .front-card .stream-name {
        width: 100%;
        padding: 0;
        margin: 0;
        font-size: 1rem;
        line-height: 1.35;
    }

    .front-card .stream-title {
        width: 100%;
        margin-top: 4px;
        padding: 0;
        font-size: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* 棒線下：左に統計、右に10分増加 */
    .front-card .stats-area {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 16px;
        align-items: center;
        margin-top: 2px;
        padding-top: 11px;
        border-top: 1px solid #d9e7f1;
    }

    .front-card .stats-area .metrics {
        display: grid;
        gap: 5px;
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 0.78rem;
    }

    .front-card .metric {
        white-space: nowrap;
    }

    .front-card .mobile-growth {
        display: block;
        min-width: 86px;
        text-align: right;
    }

    .front-card .mobile-growth .front-growth-label {
        margin-bottom: 5px;
        font-size: 0.66rem;
        white-space: nowrap;
    }

    .front-card .mobile-growth .front-growth-value,
    .stream-card:nth-child(1) .mobile-growth .front-growth-value,
    .stream-card:nth-child(2) .mobile-growth .front-growth-value,
    .stream-card:nth-child(3) .mobile-growth .front-growth-value {
        display: inline-block;
        padding: 6px 9px;
        font-size: 1.05rem;
        white-space: nowrap;
    }

    .front-card .watch-link {
        grid-column: 1 / -1;
        margin-top: 0;
        font-size: 0.82rem;
    }
}

/* Mobile thumbnail top alignment */
@media (max-width: 759px) {
    .front-card .stream-thumbnail {
        margin-top: 4px;
    }
}

/* LIVE page cards */
.live-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr) auto;
    column-gap: 20px;
    row-gap: 10px;
    align-items: start;
}

.live-card .stream-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 3;
    margin: 0;
}

.live-main {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
}

.live-main .stream-rank {
    margin-bottom: 5px;
}

.live-viewers {
    grid-column: 3;
    grid-row: 1;
    min-width: 110px;
    text-align: right;
}

.live-viewers-label {
    margin-bottom: 5px;
    color: #6b89a1;
    font-size: 0.72rem;
    font-weight: 700;
}

.live-viewers-value {
    display: inline-block;
    padding: 7px 11px;
    border-radius: 9px;
    background: #e5f4ff;
    color: #126aa8;
    font-size: 1.35rem;
    font-weight: 850;
    line-height: 1;
}

.live-stats {
    grid-column: 2 / 4;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    padding-top: 10px;
    border-top: 1px solid #d9e7f1;
    font-size: 0.8rem;
}

.live-card .watch-link {
    grid-column: 2 / 4;
}

/* LIVE mobile */
@media (max-width: 759px) {
    .live-card {
        grid-template-columns: 112px minmax(0, 1fr);
        column-gap: 14px;
        row-gap: 10px;
        padding: 14px;
    }

    .live-card .stream-thumbnail {
        grid-column: 1;
        grid-row: 1;
        width: 112px;
        margin-top: 4px;
    }

    .live-main {
        grid-column: 2;
        grid-row: 1;
    }

    .live-main .stream-name {
        font-size: 1rem;
        line-height: 1.35;
    }

    .live-main .stream-title {
        margin-top: 4px;
        font-size: 0.8rem;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .live-viewers {
        grid-column: 1 / -1;
        grid-row: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        min-width: 0;
        padding-top: 11px;
        border-top: 1px solid #d9e7f1;
        text-align: left;
    }

    .live-viewers-label {
        margin: 0;
        font-size: 0.78rem;
    }

    .live-viewers-value {
        font-size: 1.1rem;
    }

    .live-stats {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 7px 18px;
        padding-top: 0;
        border-top: 0;
        font-size: 0.78rem;
    }

    .live-card .watch-link {
        grid-column: 1 / -1;
        font-size: 0.82rem;
    }
}

/* LIVE desktop width tuning */
@media (min-width: 760px) {
    .live-list {
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================================
   Streamer detail page
   ============================================================ */

.streamer-profile {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 36px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #c7dced;
    border-radius: 18px;
    box-shadow: 0 8px 22px rgba(60, 105, 140, 0.08);
}

.streamer-profile-image {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    object-fit: cover;
    border: 1px solid #d5e3ee;
    border-radius: 50%;
    background: #eef4f8;
}

.streamer-profile-main {
    min-width: 0;
}

.streamer-profile-kicker {
    margin-bottom: 6px;
    color: #4f7da1;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.streamer-profile-name {
    margin: 0;
    color: #17324d;
    font-size: 1.8rem;
    line-height: 1.3;
}

.streamer-screen-id {
    margin-top: 7px;
    color: #6b89a1;
    font-size: 0.9rem;
    overflow-wrap: anywhere;
}

.streamer-section {
    margin-top: 34px;
}

.streamer-live-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    margin-top: 18px;
}

.streamer-live-card .stream-thumbnail {
    width: 220px;
    margin: 0;
}

.streamer-live-main {
    min-width: 0;
}

.streamer-current-viewers {
    margin-top: 16px;
    color: #6b89a1;
    font-size: 0.82rem;
}

.streamer-current-viewers strong {
    display: inline-block;
    margin-left: 8px;
    padding: 7px 11px;
    border-radius: 9px;
    background: #e5f4ff;
    color: #126aa8;
    font-size: 1.25rem;
    font-weight: 850;
}

.streamer-live-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 14px;
    color: #55728a;
    font-size: 0.82rem;
}

.streamer-live-meta strong {
    color: #17324d;
}

.streamer-history-list {
    display: grid;
    gap: 12px;
}

.streamer-history-card {
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #c7dced;
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(60, 105, 140, 0.06);
}

.streamer-history-date {
    color: #6b89a1;
    font-size: 0.78rem;
    font-weight: 700;
}

.streamer-history-title {
    margin-top: 6px;
    color: #17324d;
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 750;
}

.streamer-history-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px 20px;
    margin-top: 11px;
    color: #55728a;
    font-size: 0.8rem;
}

.streamer-history-meta strong {
    color: #17324d;
}

@media (max-width: 759px) {
    .streamer-profile {
        gap: 16px;
        padding: 18px;
        border-radius: 14px;
    }

    .streamer-profile-image {
        width: 72px;
        height: 72px;
        flex-basis: 72px;
    }

    .streamer-profile-name {
        font-size: 1.35rem;
    }

    .streamer-live-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .streamer-live-card .stream-thumbnail {
        width: 100%;
    }

    .streamer-history-card {
        padding: 15px;
    }

    .streamer-history-meta {
        display: grid;
        gap: 5px;
    }
}

/* Streamer detail link */
.streamer-link {
    color: inherit;
    text-decoration: none;
}

.streamer-link:hover {
    color: #1687df;
    text-decoration: underline;
}

/* Streamer detail desktop width tuning */
@media (min-width: 760px) {
    .streamer-profile,
    .streamer-section {
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
    }
}
