.soso-community {
    align-self: flex-start !important;
    height: auto !important;
    max-height: none !important;
    flex: none !important;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 20px 60px;
    box-sizing: border-box;
    color: #2f2b31;
}

.soso-community *,
.soso-community *::before,
.soso-community *::after {
    box-sizing: border-box;
}

.soso-community__hero {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    padding: 26px 28px;
    border: 1px solid #f1dfe7;
    border-radius: 26px;
    background: linear-gradient(135deg, #fffafa 0%, #fff5f8 55%, #fffdf8 100%);
    box-shadow: 0 10px 30px rgba(100, 74, 86, .06);
}

.soso-community__hero-icon {
    display: grid;
    place-items: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .9);
    border: 1px solid rgba(239, 215, 225, .95);
    font-size: 28px;
}

.soso-community__hero-copy {
    min-width: 0;
}

.soso-community__eyebrow {
    margin: 0 0 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    color: #bb8499;
}

.soso-community__hero h1 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px);
    line-height: 1.25;
    letter-spacing: -.03em;
}

.soso-community__hero-copy > p:last-child {
    margin: 9px 0 0;
    color: #777078;
    font-size: 14px;
    line-height: 1.7;
}

.soso-community__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.soso-community-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #ece5e8;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(62, 47, 54, .045);
}

.soso-community-card__head {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 13px;
    padding: 20px 20px 16px;
}

.soso-community-card__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 16px;
    background: #fff6f9;
    border: 1px solid #f5e4eb;
    font-size: 22px;
}

.soso-community-card__title-wrap {
    min-width: 0;
}

.soso-community-card__title-wrap h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.soso-community-card__title-wrap p {
    margin: 5px 0 0;
    color: #8a8288;
    font-size: 12.5px;
    line-height: 1.5;
}

.soso-community-card__more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 12px;
    color: #9d687c;
    background: #fff7fa;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.soso-community-card__more:hover {
    background: #fdeef4;
}

.soso-community-card__body {
    padding: 0 20px 20px;
}

.soso-community-list {
    margin: 0;
    padding: 4px 0 0;
    list-style: none;
    border-top: 1px solid #f2edef;
}

.soso-community-list li {
    border-bottom: 1px solid #f4f0f2;
}

.soso-community-list li:last-child {
    border-bottom: 0;
}

.soso-community-list__link {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 8px;
    padding: 12px 2px;
    color: #514a50;
    text-decoration: none;
}

.soso-community-list__link::before {
    content: '';
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #e9b8ca;
}

.soso-community-list__subject {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13.5px;
}

.soso-community-list__new {
    flex: 0 0 auto;
    padding: 3px 6px;
    border-radius: 999px;
    background: #fff0f5;
    color: #c27391;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .03em;
}

.soso-community-list time {
    flex: 0 0 auto;
    color: #aaa1a7;
    font-size: 11px;
}

.soso-community-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 142px;
    padding: 24px 18px;
    border: 1px dashed #eadde3;
    border-radius: 18px;
    background: #fffbfc;
    color: #71686e;
    text-align: center;
    text-decoration: none;
}

.soso-community-empty > span {
    margin-bottom: 7px;
    font-size: 22px;
}

.soso-community-empty strong {
    font-size: 13px;
}

.soso-community-empty small {
    margin-top: 5px;
    color: #aaa0a6;
    font-size: 11px;
}

.soso-community__notice {
    display: flex;
    gap: 12px;
    margin-top: 18px;
    padding: 18px 20px;
    border: 1px solid #f0dfe6;
    border-radius: 18px;
    background: #fff9fb;
}

.soso-community__notice > span {
    font-size: 22px;
}

.soso-community__notice strong {
    display: block;
    margin-bottom: 4px;
}

.soso-community__notice p {
    margin: 0;
    color: #81777d;
    font-size: 12px;
    line-height: 1.65;
}

.soso-community__notice code {
    padding: 2px 5px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .04);
}

@media (max-width: 860px) {
    .soso-community {
        padding: 18px 14px 42px;
    }

    .soso-community__hero {
        padding: 20px;
        border-radius: 22px;
    }

    .soso-community__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

@media (max-width: 560px) {
    .soso-community__hero {
        align-items: flex-start;
        gap: 12px;
        padding: 18px;
    }

    .soso-community__hero-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
        border-radius: 15px;
        font-size: 23px;
    }

    .soso-community__hero-copy > p:last-child {
        font-size: 13px;
    }

    .soso-community-card {
        border-radius: 20px;
    }

    .soso-community-card__head {
        grid-template-columns: 42px minmax(0, 1fr);
        padding: 17px 16px 13px;
    }

    .soso-community-card__icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        font-size: 20px;
    }

    .soso-community-card__more {
        grid-column: 1 / -1;
        justify-self: stretch;
        justify-content: center;
        margin-top: 2px;
    }

    .soso-community-card__body {
        padding: 0 16px 16px;
    }

    .soso-community-list__link {
        padding: 11px 0;
    }

    .soso-community-list__new {
        display: none;
    }
}

@media (prefers-color-scheme: dark) {
    html:not([data-theme='light']) .soso-community {
        color: #f5eef2;
    }

    html:not([data-theme='light']) .soso-community__hero,
    html:not([data-theme='light']) .soso-community-card,
    html:not([data-theme='light']) .soso-community__notice {
        border-color: #443940;
        background: #272227;
        box-shadow: none;
    }

    html:not([data-theme='light']) .soso-community__hero {
        background: linear-gradient(135deg, #2b252a 0%, #30252b 100%);
    }

    html:not([data-theme='light']) .soso-community__hero-icon,
    html:not([data-theme='light']) .soso-community-card__icon {
        border-color: #4d3f46;
        background: #342b30;
    }

    html:not([data-theme='light']) .soso-community__hero-copy > p:last-child,
    html:not([data-theme='light']) .soso-community-card__title-wrap p,
    html:not([data-theme='light']) .soso-community__notice p {
        color: #b9adb4;
    }

    html:not([data-theme='light']) .soso-community-card__more {
        color: #e3a9bf;
        background: #392c32;
    }

    html:not([data-theme='light']) .soso-community-list,
    html:not([data-theme='light']) .soso-community-list li {
        border-color: #40363b;
    }

    html:not([data-theme='light']) .soso-community-list__link {
        color: #e8dfe4;
    }

    html:not([data-theme='light']) .soso-community-empty {
        border-color: #4a3d44;
        background: #2d272b;
        color: #cbbfc5;
    }
}

/* quick menu + section headings */
.soso-community__section {
    margin-top: 22px;
}

.soso-community__section:first-of-type {
    margin-top: 0;
}

.soso-community__section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 12px;
    padding: 0 3px;
}

.soso-community__section-head h2 {
    margin: 1px 0 0;
    font-size: 19px;
    line-height: 1.35;
    letter-spacing: -.025em;
}

.soso-community__section-head > p {
    margin: 0;
    color: #948b91;
    font-size: 12.5px;
    line-height: 1.55;
    text-align: right;
}

.soso-community__section-kicker {
    margin: 0;
    color: #c0879d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.soso-community-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.soso-community-shortcut {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 17px;
    border: 1px solid #eee3e8;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 7px 20px rgba(69, 49, 59, .035);
    color: #4b4449;
    text-decoration: none;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.soso-community-shortcut:hover {
    transform: translateY(-2px);
    border-color: #e9cbd7;
    box-shadow: 0 10px 26px rgba(91, 60, 73, .07);
}

.soso-community-shortcut__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border: 1px solid #f1e4e9;
    border-radius: 16px;
    background: #fff7fa;
    font-size: 22px;
}

.soso-community-shortcut__body {
    display: block;
    min-width: 0;
}

.soso-community-shortcut__body strong,
.soso-community-shortcut__body small {
    display: block;
}

.soso-community-shortcut__body strong {
    overflow: hidden;
    color: #413a3f;
    font-size: 14px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.soso-community-shortcut__body small {
    margin-top: 5px;
    color: #948b91;
    font-size: 11.5px;
    line-height: 1.45;
}

.soso-community-shortcut__arrow {
    color: #c994a8;
    font-size: 16px;
}

.soso-community__section--boards {
    margin-top: 28px;
}

@media (max-width: 1080px) {
    .soso-community-shortcuts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .soso-community__section-head {
        display: block;
    }

    .soso-community__section-head > p {
        margin-top: 5px;
        text-align: left;
    }

    .soso-community-shortcuts {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .soso-community-shortcut {
        padding: 14px;
        border-radius: 17px;
    }

    .soso-community-shortcut__body small {
        font-size: 11px;
    }
}
