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

.community-chatroom-page {
    --cr-navy: #11295f;
    --cr-blue: #158feb;
    --cr-blue-dark: #0872cf;
    --cr-cyan: #63d8ff;
    --cr-pink: #f34e87;
    --cr-yellow: #ffca3d;
    --cr-violet: #8461ed;
    --cr-surface: rgba(255, 255, 255, .97);
    --cr-border: #c5dcf4;
    --cr-muted: #68799c;
    overflow-x: hidden;
    color: var(--cr-navy);
    background:
        radial-gradient(circle at 4% 9%, rgba(108, 218, 255, .22), transparent 20rem),
        radial-gradient(circle at 95% 20%, rgba(138, 101, 255, .15), transparent 24rem),
        linear-gradient(180deg, #edf9ff 0, #f7faff 38rem, #f4f8ff 100%);
}

.community-chatroom-page .community-main {
    overflow: clip;
}

.community-chatroom-page button,
.community-chatroom-page input,
.community-chatroom-page textarea,
.community-chatroom-page select {
    font: inherit;
}

.community-chatroom-page button,
.community-chatroom-page a {
    -webkit-tap-highlight-color: transparent;
}

.community-chatroom-page img {
    max-width: 100%;
}

.community-chatroom-page .community-header {
    display: block;
    width: 100%;
    padding: 0;
}

.community-chatroom-page .community-header__inner {
    grid-template-columns: 220px minmax(0, 1fr) max-content;
    gap: clamp(12px, 1.4vw, 24px);
    width: calc(100% - 64px);
    max-width: none;
}

.community-chatroom-page .community-header__brand {
    width: 208px;
}

.community-chatroom-page .community-header__brand img {
    width: 208px;
    max-width: 100%;
}

.community-chatroom-page .community-nav {
    display: block;
    min-width: 0;
}

.community-chatroom-page .community-nav__links {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: clamp(2px, .45vw, 8px);
    white-space: nowrap;
}

.community-chatroom-page .community-nav__links > a {
    padding-inline: clamp(5px, .5vw, 9px);
    font-size: clamp(.7rem, .76vw, .82rem);
}

.community-chatroom-page .community-nav__mobile-actions {
    display: none;
}

.community-chatroom-page .community-header__actions {
    justify-self: end;
}

.community-chatroom-page .community-footer-v5 {
    position: relative;
    padding: 44px 0 22px;
    overflow: hidden;
    color: #deefff;
    border: 0;
    background: #062462 url('/assets/community/chatroom/v1/decor/footer-gradient.svg') center/cover no-repeat;
}

.community-chatroom-page .community-footer-v5__inner {
    display: grid;
    grid-template-columns: 1.55fr repeat(3, 1fr) 1.15fr;
    gap: 28px;
    width: min(1260px, calc(100% - 48px));
    margin: auto;
}

.community-chatroom-page .community-footer-v5__brand img {
    width: 205px;
    height: auto;
}

.community-chatroom-page .community-footer-v5 p {
    margin: 12px 0 0;
    line-height: 1.7;
}

.community-chatroom-page .community-footer-v5 h2 {
    margin: 4px 0 12px;
    color: #fff;
    font-size: .92rem;
}

.community-chatroom-page .community-footer-v5 nav {
    display: grid;
    align-content: start;
    gap: 8px;
}

.community-chatroom-page .community-footer-v5 a {
    color: #cce8ff;
    text-decoration: none;
}

.community-chatroom-page .community-footer-v5 a:hover,
.community-chatroom-page .community-footer-v5 a:focus-visible {
    color: #fff49a;
}

.community-chatroom-page .community-footer-v5__social div {
    display: flex;
    gap: 9px;
}

.community-chatroom-page .community-footer-v5__social a {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 50%;
    color: #083b85;
    background: #c9eeff;
    font-weight: 900;
}

.community-chatroom-page .community-footer-v5__copyright {
    width: min(1260px, calc(100% - 48px));
    margin: 28px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(194, 230, 255, .25);
    text-align: center;
    font-size: .82rem;
}

.community-chatroom-page .community-footer-v5 .community-back-top {
    position: absolute;
    right: 28px;
    bottom: 22px;
    display: block;
    width: 55px;
}

.community-chatroom-page .community-footer-v5 .community-back-top img {
    display: block;
    width: 100%;
    height: auto;
}

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.cr-page {
    width: min(1500px, calc(100% - 32px));
    margin-inline: auto;
    padding: 18px 0 40px;
}

.cr-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff6ad;
    font-size: .74rem;
    font-weight: 1000;
    letter-spacing: .16em;
}

.cr-eyebrow::before {
    width: 20px;
    height: 2px;
    content: "";
    border-radius: 99px;
    background: currentColor;
}

.cr-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(110px, .6fr) minmax(380px, 1.3fr) minmax(260px, .85fr);
    align-items: center;
    min-height: 300px;
    margin-bottom: 18px;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, .85);
    border-radius: 30px;
    color: #fff;
    background:
        radial-gradient(circle at 17% 26%, rgba(255, 230, 103, .95) 0 2px, transparent 3px),
        radial-gradient(circle at 31% 69%, rgba(255, 255, 255, .9) 0 2px, transparent 3px),
        radial-gradient(circle at 73% 22%, rgba(255, 117, 205, .9) 0 3px, transparent 4px),
        radial-gradient(circle at 88% 63%, rgba(95, 225, 255, .9) 0 2px, transparent 3px),
        linear-gradient(118deg, #063487 0%, #0e6fda 42%, #5d39c7 77%, #142d82 100%);
    box-shadow: 0 18px 45px rgba(25, 91, 171, .24), inset 0 0 70px rgba(27, 225, 255, .2);
}

.cr-hero::before,
.cr-hero::after {
    position: absolute;
    z-index: -1;
    content: "";
    pointer-events: none;
}

.cr-hero::before {
    inset: 0;
    opacity: .54;
    background-image:
        linear-gradient(115deg, transparent 0 12%, rgba(255, 255, 255, .12) 12.2% 12.5%, transparent 12.8%),
        linear-gradient(65deg, transparent 0 70%, rgba(104, 233, 255, .18) 70.2% 70.5%, transparent 70.8%);
}

.cr-hero::after {
    right: -9%;
    bottom: -32%;
    width: 58%;
    height: 78%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(74, 229, 255, .42), transparent 68%);
    filter: blur(8px);
}

.cr-hero__copy {
    z-index: 2;
    padding: 30px 20px;
    text-align: center;
    text-shadow: 0 4px 14px rgba(4, 25, 104, .55);
}

.cr-hero__copy h1 {
    margin: 4px 0 2px;
    color: #fff;
    font-size: clamp(3rem, 5.6vw, 5.7rem);
    font-weight: 1000;
    line-height: .98;
    letter-spacing: -.08em;
    -webkit-text-stroke: 2px rgba(15, 50, 132, .75);
    filter: drop-shadow(0 5px 0 #ff78a4);
}

.cr-hero__copy p {
    margin: 20px 0 0;
    color: #fff;
    font-size: clamp(1rem, 1.7vw, 1.4rem);
    font-weight: 900;
}

.cr-hero__stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 17px;
}

.cr-hero__stats span {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    padding: 7px 13px;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 999px;
    background: rgba(6, 34, 116, .32);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2);
    backdrop-filter: blur(8px);
    font-size: .78rem;
    font-weight: 800;
}

.cr-hero__stats strong {
    color: #fff3a1;
    font-size: 1rem;
}

.cr-hero__mascot {
    z-index: 1;
    width: min(100%, 280px);
    height: 260px;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(5, 25, 95, .36));
}

.cr-hero__mascot--yellow {
    align-self: end;
    justify-self: center;
    transform: translate(-5%, 10%) rotate(-6deg);
}

.cr-hero__mascot--blue {
    align-self: end;
    justify-self: center;
    height: 292px;
    transform: translateY(8%);
}

.cr-hero__speech {
    position: absolute;
    z-index: 3;
    top: 58px;
    right: 24%;
    padding: 12px 18px;
    border: 3px solid #fff;
    border-radius: 22px;
    color: #17306f;
    background: #fff;
    box-shadow: 0 8px 20px rgba(7, 25, 91, .25);
    font-size: .85rem;
    font-weight: 1000;
    transform: rotate(-3deg);
}

.cr-hero__speech::after {
    position: absolute;
    right: 18px;
    bottom: -10px;
    width: 16px;
    height: 16px;
    content: "";
    background: #fff;
    transform: rotate(45deg);
}

.cr-hero__orb {
    position: absolute;
    z-index: 0;
    width: 90px;
    aspect-ratio: 1;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    box-shadow: 0 0 30px #56dfff, inset 0 0 22px rgba(255, 255, 255, .45);
}

.cr-hero__orb--one {
    top: 38px;
    left: 8%;
}

.cr-hero__orb--two {
    right: 5%;
    bottom: 28px;
    width: 62px;
    box-shadow: 0 0 28px #ff6bad, inset 0 0 18px rgba(255, 255, 255, .5);
}

.cr-system-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    padding: 13px 18px;
    border: 1px solid #f1c85f;
    border-radius: 16px;
    color: #6d4c00;
    background: #fff8d7;
    box-shadow: var(--xl-shadow);
}

.cr-system-alert strong {
    white-space: nowrap;
}

.cr-layout {
    display: grid;
    grid-template-columns: minmax(225px, 270px) minmax(470px, 1fr) minmax(240px, 292px);
    align-items: start;
    gap: 16px;
}

.cr-sidebar {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.cr-panel {
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(135, 180, 227, .65);
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(230, 248, 255, .8), rgba(255, 255, 255, .97) 88px),
        #fff;
    box-shadow: 0 12px 28px rgba(39, 94, 158, .13), inset 0 1px 0 #fff;
}

.cr-panel__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 54px;
    padding: 11px 14px;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .18), transparent 55%),
        linear-gradient(135deg, #067ad5, #2caef1);
    box-shadow: inset 0 -1px 0 rgba(4, 65, 155, .25);
}

.cr-my-rooms .cr-panel__heading {
    background: linear-gradient(135deg, #1ca8e7, #54cff1);
}

.cr-sidebar--members .cr-panel:nth-child(2) .cr-panel__heading {
    background: linear-gradient(135deg, #4588ee, #7a75ec);
}

.cr-rules .cr-panel__heading {
    background: linear-gradient(135deg, #285fda, #805ee7);
}

.cr-panel__heading img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0, 44, 124, .28));
}

.cr-panel__heading h2 {
    min-width: 0;
    margin: 0;
    font-size: .98rem;
    font-weight: 1000;
    letter-spacing: .01em;
}

.cr-panel__close {
    display: none;
    width: 34px;
    height: 34px;
    margin-left: auto;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 41, 116, .22);
    font-size: 1.35rem;
    cursor: pointer;
}

.cr-room-browser,
.cr-my-rooms,
.cr-sidebar--members .cr-panel {
    padding-bottom: 13px;
}

.cr-room-search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    margin: 13px 12px 9px;
    padding: 4px 5px 4px 10px;
    border: 1px solid #b8d8f3;
    border-radius: 999px;
    background: #fff;
    box-shadow: inset 0 2px 5px rgba(24, 90, 160, .06);
}

.cr-room-search img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.cr-room-search input {
    width: 100%;
    min-width: 0;
    padding: 7px 3px;
    border: 0;
    outline: 0;
    color: var(--cr-navy);
    background: transparent;
    font-size: .78rem;
}

.cr-room-search button {
    padding: 7px 10px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: var(--cr-blue);
    font-size: .72rem;
    font-weight: 900;
    cursor: pointer;
}

.cr-room-filters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin: 0 12px 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #d8e6f7;
}

.cr-room-filters a {
    padding: 6px 2px;
    border-radius: 9px;
    color: #3265aa;
    font-size: .7rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.cr-room-filters a.is-active,
.cr-room-filters a:hover {
    color: #fff;
    background: linear-gradient(135deg, #1f91ed, #5baff9);
}

.cr-room-browser h3 {
    margin: 0 13px 7px;
    color: #ad6b00;
    font-size: .8rem;
    font-weight: 1000;
}

.cr-room-list {
    display: grid;
    gap: 3px;
    padding: 0 8px;
}

.cr-room-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 8px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--cr-navy);
    text-decoration: none;
    transition: .16s ease;
}

.cr-room-card:hover,
.cr-room-card:focus-visible,
.cr-room-card.is-active {
    border-color: #a8d3f5;
    background: linear-gradient(135deg, #fff7cf, #f2fbff 72%);
    box-shadow: 0 6px 14px rgba(38, 111, 187, .12);
    outline: 0;
    transform: translateY(-1px);
}

.cr-room-card > img {
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f7ff;
    box-shadow: 0 2px 8px rgba(18, 86, 157, .2);
}

.cr-room-card > span {
    display: grid;
    min-width: 0;
    gap: 2px;
}

.cr-room-card strong {
    overflow: hidden;
    font-size: .78rem;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-room-card small {
    overflow: hidden;
    color: var(--cr-muted);
    font-size: .65rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-room-card small i {
    display: inline-block;
    width: 6px;
    height: 6px;
    margin-right: 3px;
    border-radius: 50%;
    background: #25c980;
    box-shadow: 0 0 0 2px rgba(37, 201, 128, .14);
}

.cr-room-card b {
    color: #f35a8c;
    font-size: .82rem;
}

.cr-room-list--compact {
    margin: 10px 0;
}

.cr-room-list--compact .cr-room-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding-block: 6px;
}

.cr-room-list--compact .cr-room-card > img {
    width: 38px;
    height: 38px;
}

.cr-empty-mini,
.cr-inline-login {
    display: block;
    margin: 8px 12px;
    color: var(--cr-muted);
    font-size: .74rem;
    font-weight: 700;
    line-height: 1.55;
    text-align: center;
}

.cr-inline-login {
    color: var(--cr-blue-dark);
}

.cr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 38px;
    padding: 8px 15px;
    border: 1px solid #9fc9eb;
    border-radius: 999px;
    color: #1769ae;
    background: #fff;
    box-shadow: 0 4px 10px rgba(39, 101, 166, .12);
    font-size: .76rem;
    font-weight: 1000;
    text-decoration: none;
    cursor: pointer;
}

.cr-button:hover,
.cr-button:focus-visible {
    filter: brightness(.98);
    outline: 3px solid rgba(38, 151, 232, .22);
    outline-offset: 2px;
}

.cr-button--primary {
    border-color: #0a78d0;
    color: #fff;
    background: linear-gradient(180deg, #35b9f3, #0878dc);
}

.cr-button--accent {
    border-color: #e42f70;
    color: #fff;
    background: linear-gradient(180deg, #ff6b9a, #ef376f);
}

.cr-button--soft {
    color: #2277b8;
    background: linear-gradient(180deg, #f9fdff, #e7f3ff);
}

.cr-button--violet {
    border-color: #6745db;
    color: #fff;
    background: linear-gradient(180deg, #8f70ef, #6545d6);
}

.cr-button--block {
    width: calc(100% - 24px);
    margin-inline: 12px;
}

.cr-chat-column {
    min-width: 0;
}

.cr-chat-panel {
    overflow: hidden;
    background: rgba(255, 255, 255, .98);
}

.cr-chat-header {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 11px;
    min-height: 76px;
    padding: 10px 13px;
    color: #fff;
    background:
        radial-gradient(circle at 85% 20%, rgba(126, 229, 255, .5), transparent 11rem),
        linear-gradient(120deg, #0a68cc, #168eea 55%, #3ab7ef);
}

.cr-chat-header__avatar {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(255, 255, 255, .85);
    border-radius: 15px;
    object-fit: cover;
    background: #d9f4ff;
    box-shadow: 0 5px 13px rgba(4, 43, 121, .25);
}

.cr-chat-header h2 {
    margin: 0;
    overflow: hidden;
    font-size: 1.06rem;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-chat-header p {
    margin: 3px 0 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .88);
    font-size: .68rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-chat-header__actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.cr-chat-header__actions form {
    margin: 0;
}

.cr-icon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 34px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: 999px;
    color: #fff;
    background: rgba(0, 66, 157, .2);
    font-size: .66rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.cr-icon-button img {
    width: 19px;
    height: 19px;
    object-fit: contain;
}

.cr-icon-button.is-active {
    color: #ffe0eb;
    background: rgba(231, 37, 104, .42);
}

.cr-chat-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 0 12px;
    border-bottom: 1px solid #dbe7f5;
    background: #fff;
}

.cr-chat-tabs a {
    position: relative;
    padding: 13px 5px 11px;
    color: #65749a;
    font-size: .76rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.cr-chat-tabs a::after {
    position: absolute;
    right: 20%;
    bottom: -1px;
    left: 20%;
    height: 3px;
    content: "";
    border-radius: 9px 9px 0 0;
    background: transparent;
}

.cr-chat-tabs a.is-active {
    color: #116fd1;
}

.cr-chat-tabs a.is-active::after {
    background: #168de9;
}

.cr-pinned {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: start;
    gap: 8px;
    margin: 12px 13px 3px;
    padding: 10px 12px;
    border: 1px solid #ffadb9;
    border-radius: 14px;
    color: #76344b;
    background: linear-gradient(135deg, #fff5f6, #fff);
}

.cr-pinned > span {
    font-size: 1rem;
}

.cr-pinned strong {
    display: block;
    margin-bottom: 2px;
    color: #ed416d;
    font-size: .72rem;
}

.cr-pinned p {
    margin: 0;
    overflow-wrap: anywhere;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1.5;
}

.cr-pinned time {
    color: #a06c7a;
    font-size: .63rem;
}

.cr-message-stream {
    display: grid;
    align-content: start;
    gap: 12px;
    height: clamp(460px, 55vw, 640px);
    padding: 16px 14px 22px;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-color: #b8d9ef transparent;
    background:
        radial-gradient(circle at 10% 20%, rgba(55, 174, 243, .06) 0 2px, transparent 3px),
        radial-gradient(circle at 90% 68%, rgba(140, 96, 239, .07) 0 3px, transparent 4px),
        linear-gradient(180deg, #fff, #fafdff);
}

.cr-message {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    width: min(84%, 580px);
}

.cr-message.is-mine {
    grid-template-columns: minmax(0, 1fr) 42px;
    justify-self: end;
}

.cr-message.is-mine .cr-message__avatar {
    grid-column: 2;
    grid-row: 1;
}

.cr-message.is-mine .cr-message__content {
    grid-column: 1;
    grid-row: 1;
}

.cr-message__avatar {
    width: 42px;
    height: 42px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e7f7ff;
    box-shadow: 0 3px 9px rgba(30, 92, 158, .2);
}

.cr-message__content {
    display: grid;
    min-width: 0;
    gap: 4px;
}

.cr-message__meta {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    color: var(--cr-muted);
    font-size: .63rem;
}

.cr-message.is-mine .cr-message__meta {
    justify-content: flex-end;
}

.cr-message__meta strong {
    overflow: hidden;
    color: #233f75;
    font-size: .72rem;
    font-weight: 1000;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-level,
.cr-message__type {
    padding: 2px 5px;
    border-radius: 999px;
    color: #2874b3;
    background: #dff2ff;
    font-size: .56rem;
    font-weight: 900;
}

.cr-message__type {
    color: #7b4f00;
    background: #ffedb3;
}

.cr-message__meta time {
    margin-left: auto;
}

.cr-message.is-mine .cr-message__meta time {
    margin-left: 0;
}

.cr-message__bubble {
    position: relative;
    min-width: 80px;
    padding: 10px 12px;
    border: 1px solid #d1e2f2;
    border-radius: 6px 17px 17px 17px;
    color: #263c6c;
    background: #fff;
    box-shadow: 0 5px 12px rgba(35, 84, 137, .09);
}

.cr-message.is-mine .cr-message__bubble {
    border-color: #0f7ce0;
    border-radius: 17px 6px 17px 17px;
    color: #fff;
    background: linear-gradient(135deg, #0876d7, #32a2f3);
    box-shadow: 0 8px 18px rgba(13, 112, 206, .22);
}

.cr-message.is-announcement .cr-message__bubble {
    border-color: #ffa7b6;
    color: #74364b;
    background: #fff6f7;
}

.cr-message.is-activity .cr-message__bubble {
    border-color: #ffd266;
    color: #644900;
    background: #fffaf0;
}

.cr-message.is-question .cr-message__bubble {
    border-color: #b7a7f5;
    color: #42317e;
    background: #f7f4ff;
}

.cr-message__bubble p {
    margin: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.6;
}

.cr-message__sticker {
    display: block;
    width: min(120px, 100%);
    max-height: 120px;
    margin: -5px;
    object-fit: contain;
}

.cr-message__image {
    display: block;
    width: min(320px, 100%);
    max-height: 300px;
    margin-top: 6px;
    border-radius: 12px;
    object-fit: cover;
}

.cr-message__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.cr-message.is-mine .cr-message__actions {
    justify-content: flex-end;
}

.cr-message__actions form {
    display: inline-flex;
    margin: 0;
}

.cr-reaction,
.cr-message__text-action {
    min-height: 25px;
    padding: 3px 7px;
    border: 1px solid #d2e1f0;
    border-radius: 999px;
    color: #637596;
    background: #fff;
    font-size: .62rem;
    font-weight: 800;
    cursor: pointer;
}

.cr-reaction.is-active {
    border-color: #ff8eae;
    color: #d83569;
    background: #fff1f6;
}

.cr-reaction:disabled {
    cursor: default;
    opacity: .68;
}

.cr-message__text-action {
    border-color: transparent;
    background: transparent;
}

.cr-message__text-action.is-danger {
    color: #cf3e5f;
}

.cr-chat-empty-state {
    display: grid;
    align-self: center;
    justify-items: center;
    gap: 5px;
    padding: 32px;
    color: var(--cr-muted);
    text-align: center;
}

.cr-chat-empty-state > span {
    font-size: 2rem;
}

.cr-chat-empty-state strong {
    color: #2b5088;
}

.cr-chat-empty-state p {
    margin: 0;
    font-size: .76rem;
}

.cr-composer {
    padding: 9px 13px 12px;
    border-top: 1px solid #d5e3f2;
    background: linear-gradient(180deg, #fff, #f5faff);
}

.cr-live-status {
    display: flex;
    align-items: center;
    gap: 5px;
    min-height: 20px;
    color: #3f7797;
    font-size: .62rem;
    font-weight: 700;
}

.cr-live-status i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #26c982;
    box-shadow: 0 0 0 3px rgba(38, 201, 130, .12);
}

.cr-compose-form {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px;
    padding: 6px 6px 6px 9px;
    border: 1px solid #c9dced;
    border-radius: 17px;
    background: #fff;
    box-shadow: inset 0 2px 5px rgba(37, 82, 133, .05);
}

.cr-compose-form textarea {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    min-width: 0;
    max-height: 110px;
    padding: 7px 3px;
    resize: vertical;
    border: 0;
    outline: 0;
    color: var(--cr-navy);
    background: transparent;
    font-size: .78rem;
    line-height: 1.5;
}

.cr-compose-tools {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 3px;
}

.cr-compose-tools button {
    display: grid;
    width: 29px;
    height: 29px;
    place-items: center;
    padding: 4px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    cursor: pointer;
}

.cr-compose-tools button:hover {
    background: #eaf6ff;
}

.cr-compose-tools img {
    width: 21px;
    height: 21px;
    object-fit: contain;
}

.cr-compose-tools [data-chat-file-name] {
    position: absolute;
    right: 100px;
    bottom: 100%;
    max-width: 180px;
    overflow: hidden;
    color: #447395;
    font-size: .62rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-send-button {
    grid-column: 3;
    grid-row: 1;
    min-width: 72px;
    min-height: 38px;
    padding: 7px 16px;
    border: 1px solid #e22b69;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #ff6e9a, #ef326c);
    box-shadow: 0 5px 12px rgba(226, 43, 105, .25);
    font-size: .76rem;
    font-weight: 1000;
    cursor: pointer;
}

.cr-send-button:disabled {
    cursor: wait;
    opacity: .65;
}

.cr-sticker-strip {
    display: flex;
    gap: 4px;
    margin-top: 7px;
    padding: 5px 3px 1px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
}

.cr-sticker-strip button {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    padding: 3px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;
    cursor: pointer;
}

.cr-sticker-strip button:hover,
.cr-sticker-strip button:focus-visible {
    border-color: #9ed1f2;
    background: #eaf7ff;
    outline: 0;
    transform: translateY(-2px);
}

.cr-sticker-strip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cr-compose-login,
.cr-compose-restriction {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 11px;
    border: 1px solid #b7d7ee;
    border-radius: 14px;
    background: #f3faff;
}

.cr-compose-login p {
    margin: 0;
    color: #476785;
    font-size: .75rem;
    font-weight: 700;
}

.cr-compose-restriction {
    align-items: flex-start;
    flex-direction: column;
    color: #8f3d50;
    border-color: #f0afbd;
    background: #fff3f6;
    font-size: .74rem;
}

.cr-chat-empty {
    display: grid;
    min-height: 570px;
    place-items: center;
    align-content: center;
    padding: 30px;
    text-align: center;
}

.cr-chat-empty img {
    width: 170px;
}

.cr-chat-empty h2 {
    margin: 10px 0 0;
}

.cr-chat-empty p {
    color: var(--cr-muted);
}

.cr-member-strip {
    display: flex;
    gap: 3px;
    padding: 12px 12px 7px;
    overflow: hidden;
}

.cr-member-strip img {
    width: 34px;
    height: 34px;
    margin-right: -8px;
    border: 2px solid #fff;
    border-radius: 50%;
    object-fit: cover;
    background: #e6f6ff;
}

.cr-member-list {
    display: grid;
    gap: 2px;
    padding: 3px 9px 10px;
}

.cr-member-row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) auto;
    align-items: center;
    gap: 7px;
    padding: 6px 4px;
    border-radius: 11px;
    color: var(--cr-navy);
    text-decoration: none;
}

.cr-member-row:hover {
    background: #edf8ff;
}

.cr-member-avatar {
    position: relative;
    display: inline-grid;
    flex: 0 0 auto;
}

.cr-member-avatar img {
    width: 36px;
    height: 36px;
    border: 1px solid #c4dbef;
    border-radius: 50%;
    object-fit: cover;
    background: #e8f7ff;
}

.cr-member-avatar i {
    position: absolute;
    right: -1px;
    bottom: 1px;
    width: 9px;
    height: 9px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #1ec77b;
}

.cr-member-row > span:nth-child(2) {
    display: grid;
    min-width: 0;
}

.cr-member-row strong {
    overflow: hidden;
    font-size: .72rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-member-row small {
    color: var(--cr-muted);
    font-size: .59rem;
}

.cr-member-row b {
    color: #16ad70;
    font-size: .58rem;
}

.cr-recommend-list {
    display: grid;
    gap: 4px;
    padding: 10px 9px 4px;
}

.cr-recommend-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 5px;
    padding: 5px;
    border-radius: 12px;
}

.cr-recommend-list article:hover {
    background: #f1f9ff;
}

.cr-recommend-list article > a {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--cr-navy);
    text-decoration: none;
}

.cr-recommend-list img {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    background: #e7f6ff;
}

.cr-recommend-list span {
    display: grid;
    min-width: 0;
}

.cr-recommend-list strong {
    overflow: hidden;
    font-size: .69rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-recommend-list small {
    color: #db7b22;
    font-size: .57rem;
}

.cr-recommend-list form {
    margin: 0;
}

.cr-recommend-list button {
    padding: 5px 9px;
    border: 1px solid #ff7da1;
    border-radius: 999px;
    color: #e23c6d;
    background: #fff;
    font-size: .62rem;
    font-weight: 900;
    cursor: pointer;
}

.cr-rules ol {
    display: grid;
    gap: 8px;
    margin: 12px 12px 14px;
    padding-left: 23px;
    color: #435c85;
    font-size: .68rem;
    font-weight: 700;
    line-height: 1.45;
}

.cr-rules li::marker {
    color: var(--cr-blue);
    font-weight: 1000;
}

.cr-report-room {
    margin: 0 12px 2px;
}

.cr-report-room summary {
    padding: 7px 10px;
    border: 1px solid #a994ee;
    border-radius: 999px;
    color: #6345cc;
    background: #f6f3ff;
    font-size: .68rem;
    font-weight: 900;
    text-align: center;
    cursor: pointer;
}

.cr-report-room form {
    display: grid;
    gap: 7px;
    margin-top: 8px;
}

.cr-report-room label {
    display: grid;
    gap: 3px;
    color: #576a88;
    font-size: .65rem;
    font-weight: 800;
}

.cr-report-room select,
.cr-report-room textarea {
    width: 100%;
    padding: 7px;
    border: 1px solid #c4d7ea;
    border-radius: 9px;
    color: var(--cr-navy);
    background: #fff;
    font-size: .7rem;
}

.cr-report-room .cr-button {
    width: 100%;
    margin: 0;
}

.cr-cta {
    position: relative;
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto 96px;
    align-items: center;
    gap: 15px;
    min-height: 128px;
    margin-top: 18px;
    padding: 13px 18px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 27px;
    color: #fff;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 236, 102, .7) 0 2px, transparent 3px),
        radial-gradient(circle at 86% 68%, rgba(255, 120, 205, .7) 0 2px, transparent 3px),
        linear-gradient(115deg, #116bd6, #1d9af0 55%, #4c5fe3);
    box-shadow: 0 14px 32px rgba(35, 91, 170, .2);
}

.cr-cta > img {
    width: 120px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 8px 10px rgba(4, 42, 115, .3));
}

.cr-cta > img:last-child {
    width: 95px;
}

.cr-cta h2 {
    margin: 2px 0 8px;
    color: #fff;
    font-size: clamp(1.1rem, 2.2vw, 1.65rem);
    font-weight: 1000;
    text-shadow: 0 3px 5px rgba(4, 38, 114, .35);
}

.cr-cta > div > span {
    color: #fff1a1;
    font-size: .72rem;
    font-weight: 900;
}

.cr-cta nav {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.cr-cta nav a {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 999px;
    color: #fff;
    background: rgba(4, 66, 158, .18);
    font-size: .62rem;
    font-weight: 800;
    text-decoration: none;
}

.cr-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 17px;
    border: 3px solid #fff;
    border-radius: 999px;
    color: #1556a1;
    background: linear-gradient(180deg, #fff, #e9f5ff);
    box-shadow: 0 7px 0 rgba(5, 64, 154, .32);
    font-size: .86rem;
    font-weight: 1000;
    text-decoration: none;
    white-space: nowrap;
}

.cr-cta__button span {
    color: var(--cr-pink);
    font-size: 1.3rem;
}

.cr-mobile-toolbar {
    display: none;
}

.cr-drawer-overlay {
    position: fixed;
    z-index: 190;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(8, 27, 68, .48);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.cr-drawer-overlay[hidden] {
    display: none;
}

body.cr-drawer-open {
    overflow: hidden;
}

/* Create page */
.cr-create-page {
    width: min(980px, calc(100% - 32px));
}

.cr-create-hero {
    position: relative;
    min-height: 210px;
    padding: 38px clamp(24px, 7vw, 70px);
    overflow: hidden;
    border-radius: 28px 28px 0 0;
    color: #fff;
    background: linear-gradient(125deg, #0874d4, #2c9cec 62%, #7255df);
    box-shadow: var(--xl-shadow);
}

.cr-create-hero > a,
.cr-members-hero > a {
    display: inline-block;
    margin-bottom: 20px;
    color: #e4f6ff;
    font-size: .76rem;
    font-weight: 900;
    text-decoration: none;
}

.cr-create-hero h1,
.cr-members-hero h1 {
    margin: 3px 0 7px;
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 1000;
    letter-spacing: -.05em;
}

.cr-create-hero p {
    max-width: 600px;
    margin: 0;
    color: rgba(255, 255, 255, .86);
    font-weight: 700;
}

.cr-create-hero > img {
    position: absolute;
    right: 3%;
    bottom: -27%;
    width: 240px;
    filter: drop-shadow(0 10px 15px rgba(6, 32, 106, .3));
}

.cr-create-form {
    display: grid;
    gap: 18px;
    padding: clamp(20px, 4vw, 42px);
    border: 1px solid var(--cr-border);
    border-top: 0;
    border-radius: 0 0 28px 28px;
    background: #fff;
    box-shadow: var(--xl-shadow);
}

.cr-create-form fieldset {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 20px;
    border: 1px solid #d4e4f4;
    border-radius: 18px;
    background: linear-gradient(180deg, #fbfdff, #fff);
}

.cr-create-form legend {
    padding: 0 8px;
    color: #1d5795;
    font-size: .95rem;
    font-weight: 1000;
}

.cr-create-form legend span {
    display: inline-grid;
    width: 26px;
    height: 26px;
    margin-right: 5px;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: var(--cr-blue);
}

.cr-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.cr-create-form label {
    display: grid;
    gap: 6px;
    color: #38587d;
    font-size: .78rem;
    font-weight: 900;
}

.cr-create-form label > span:first-child {
    color: #294d7e;
}

.cr-create-form input:not([type="checkbox"]),
.cr-create-form select,
.cr-create-form textarea {
    width: 100%;
    min-width: 0;
    padding: 11px 12px;
    border: 1px solid #bcd4e9;
    border-radius: 11px;
    outline: 0;
    color: var(--cr-navy);
    background: #fff;
    font-size: .82rem;
    font-weight: 600;
}

.cr-create-form input:focus,
.cr-create-form select:focus,
.cr-create-form textarea:focus {
    border-color: var(--cr-blue);
    box-shadow: 0 0 0 3px rgba(21, 143, 235, .13);
}

.cr-create-form textarea {
    resize: vertical;
    line-height: 1.6;
}

.cr-create-form small {
    color: var(--cr-muted);
    font-size: .67rem;
    font-weight: 600;
}

.cr-create-form b,
.cr-validation {
    color: #cf315a;
    font-size: .68rem;
}

.cr-validation:empty {
    display: none;
}

.cr-check-field {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
}

.cr-check-field input {
    width: 18px;
    height: 18px;
    accent-color: var(--cr-blue);
}

.cr-check-field b {
    grid-column: 2;
}

.cr-create-actions {
    display: flex;
    justify-content: flex-end;
    gap: 9px;
}

/* Members page */
.cr-members-page {
    width: min(1080px, calc(100% - 32px));
}

.cr-members-hero {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    min-height: 220px;
    padding: 34px 42px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(125deg, #086fd0, #2aa8ed 58%, #795be4);
    box-shadow: var(--xl-shadow);
}

.cr-members-hero > a {
    grid-column: 1 / -1;
    margin: 0;
}

.cr-members-hero > img {
    width: 100px;
    height: 100px;
    border: 4px solid rgba(255, 255, 255, .75);
    border-radius: 24px;
    object-fit: cover;
    background: #def4ff;
}

.cr-members-hero p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
    font-weight: 800;
}

.cr-members-directory {
    margin-top: 16px;
    padding: 24px;
}

.cr-members-directory > header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.cr-members-directory h2 {
    margin: 0;
    color: #234f87;
}

.cr-members-directory > header span {
    color: var(--cr-muted);
    font-size: .75rem;
}

.cr-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.cr-members-grid article {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 1px solid #d5e5f3;
    border-radius: 16px;
    background: #fff;
}

.cr-members-grid .cr-member-avatar img {
    width: 52px;
    height: 52px;
}

.cr-members-grid article > div {
    display: grid;
}

.cr-members-grid strong {
    overflow: hidden;
    color: #254a79;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cr-members-grid small {
    color: var(--cr-muted);
}

.cr-members-grid article > b,
.cr-members-grid article > span:last-child {
    padding: 4px 7px;
    border-radius: 999px;
    color: #7051cb;
    background: #f0ebff;
    font-size: .65rem;
}

.cr-members-grid article > span.is-online {
    color: #0c9c63;
    background: #e8fff5;
}

@media (max-width: 1260px) {
    .community-chatroom-page .community-footer-v5__inner {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }

    .community-chatroom-page .community-footer-v5__social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1179px) {
    .community-chatroom-page .community-header__inner {
        grid-template-columns: minmax(190px, 1fr) auto auto;
        width: min(100% - 32px, 1120px);
    }

    .community-chatroom-page .community-nav {
        position: static;
        display: block;
    }

    .community-chatroom-page .community-menu-toggle {
        display: grid;
    }

    .community-chatroom-page .community-nav__links {
        position: absolute;
        z-index: 105;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 7px;
        padding: 14px max(20px, calc((100% - 960px) / 2));
        border-bottom: 1px solid #cde9fa;
        background: rgba(255, 255, 255, .99);
        box-shadow: 0 12px 20px rgba(14, 74, 145, .12);
        white-space: normal;
    }

    .community-chatroom-page .community-nav.is-open .community-nav__links,
    .community-chatroom-page .community-nav__links.is-open {
        display: grid;
    }
}

@media (max-width: 1260px) {
    .cr-layout {
        grid-template-columns: minmax(220px, 250px) minmax(470px, 1fr);
    }

    .cr-sidebar--members {
        grid-column: 1 / -1;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .cr-sidebar--members .cr-panel {
        height: 100%;
    }

    .cr-member-list {
        max-height: 260px;
        overflow: auto;
    }
}

@media (max-width: 980px) {
    .cr-page {
        width: min(100% - 24px, 820px);
    }

    .cr-hero {
        grid-template-columns: 140px minmax(0, 1fr) 170px;
        min-height: 260px;
    }

    .cr-hero__mascot {
        height: 220px;
    }

    .cr-hero__mascot--blue {
        height: 240px;
    }

    .cr-hero__speech {
        display: none;
    }

    .cr-layout {
        display: block;
    }

    .cr-mobile-toolbar {
        position: sticky;
        z-index: 55;
        top: 6px;
        display: flex;
        justify-content: space-between;
        gap: 8px;
        margin-bottom: 10px;
        pointer-events: none;
    }

    .cr-mobile-toolbar button {
        min-height: 38px;
        padding: 8px 14px;
        border: 1px solid #85bfe8;
        border-radius: 999px;
        color: #fff;
        background: linear-gradient(180deg, #269de8, #0874ce);
        box-shadow: 0 6px 14px rgba(18, 93, 164, .2);
        font-size: .74rem;
        font-weight: 900;
        pointer-events: auto;
        cursor: pointer;
    }

    .cr-sidebar {
        position: fixed;
        z-index: 200;
        inset: 0 auto 0 0;
        display: block;
        width: min(350px, calc(100vw - 42px));
        padding: 16px;
        overflow-y: auto;
        visibility: hidden;
        background: rgba(238, 249, 255, .98);
        box-shadow: 16px 0 35px rgba(11, 51, 105, .26);
        transform: translateX(-105%);
        transition: transform .22s ease, visibility .22s;
    }

    .cr-sidebar--members {
        right: 0;
        left: auto;
        transform: translateX(105%);
    }

    .cr-sidebar.is-open {
        visibility: visible;
        transform: translateX(0);
    }

    .cr-sidebar .cr-panel {
        margin-bottom: 14px;
    }

    .cr-panel__close {
        display: grid;
        place-items: center;
    }

    .cr-chat-column {
        width: 100%;
    }

    .cr-message-stream {
        height: min(62vh, 650px);
        min-height: 460px;
    }

    .cr-cta {
        grid-template-columns: 90px minmax(0, 1fr) auto;
    }

    .cr-cta > img {
        width: 90px;
    }

    .cr-cta > img:last-child {
        display: none;
    }

    .cr-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .community-chatroom-page .community-header__inner {
        grid-template-columns: minmax(145px, 1fr) auto auto;
        width: min(100% - 24px, 680px);
    }

    .community-chatroom-page .community-header__brand,
    .community-chatroom-page .community-header__brand img {
        width: 174px;
    }

    .community-chatroom-page .community-nav__links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 12px;
    }

    .community-chatroom-page .community-nav__mobile-actions {
        display: contents;
    }

    .community-chatroom-page .community-footer-v5__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
        width: calc(100% - 32px);
    }

    .community-chatroom-page .community-footer-v5__brand {
        grid-column: 1 / -1;
    }

    .community-chatroom-page .community-footer-v5__copyright {
        width: calc(100% - 32px);
        padding-right: 55px;
        text-align: left;
    }

    .community-chatroom-page .community-footer-v5 .community-back-top {
        right: 14px;
        bottom: 16px;
        width: 45px;
    }
}

@media (max-width: 680px) {
    .cr-page,
    .cr-create-page,
    .cr-members-page {
        width: min(100% - 16px, 620px);
        padding-top: 10px;
    }

    .cr-hero {
        grid-template-columns: 78px minmax(0, 1fr) 88px;
        min-height: 205px;
        border-width: 2px;
        border-radius: 21px;
    }

    .cr-hero__copy {
        padding: 20px 0;
    }

    .cr-hero__copy h1 {
        font-size: clamp(2.1rem, 11vw, 3.2rem);
        -webkit-text-stroke-width: 1px;
        filter: drop-shadow(0 3px 0 #ff78a4);
    }

    .cr-hero__copy p {
        margin-top: 12px;
        font-size: .8rem;
    }

    .cr-hero__stats {
        gap: 3px;
        margin-top: 10px;
    }

    .cr-hero__stats span {
        padding: 5px 7px;
        font-size: .57rem;
    }

    .cr-hero__stats strong {
        font-size: .68rem;
    }

    .cr-hero__mascot {
        width: 105px;
        height: 145px;
    }

    .cr-hero__mascot--yellow {
        transform: translate(-9%, 10%) rotate(-6deg);
    }

    .cr-hero__mascot--blue {
        height: 154px;
        transform: translate(4%, 8%);
    }

    .cr-eyebrow {
        font-size: .55rem;
    }

    .cr-panel {
        border-radius: 18px;
    }

    .cr-chat-header {
        grid-template-columns: 46px minmax(0, 1fr);
        padding: 9px;
    }

    .cr-chat-header__avatar {
        width: 46px;
        height: 46px;
        border-radius: 13px;
    }

    .cr-chat-header__actions {
        grid-column: 1 / -1;
        justify-content: flex-start;
        overflow-x: auto;
    }

    .cr-icon-button {
        flex: 0 0 auto;
    }

    .cr-chat-tabs {
        display: flex;
        overflow-x: auto;
    }

    .cr-chat-tabs a {
        flex: 1 0 70px;
    }

    .cr-pinned {
        margin-inline: 8px;
    }

    .cr-message-stream {
        min-height: 420px;
        height: 58vh;
        padding: 12px 9px 18px;
    }

    .cr-message {
        width: 96%;
        grid-template-columns: 36px minmax(0, 1fr);
    }

    .cr-message.is-mine {
        grid-template-columns: minmax(0, 1fr) 36px;
    }

    .cr-message__avatar {
        width: 36px;
        height: 36px;
    }

    .cr-message__bubble {
        padding: 9px 10px;
    }

    .cr-message__bubble p {
        font-size: .74rem;
    }

    .cr-composer {
        padding-inline: 8px;
    }

    .cr-compose-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .cr-compose-form textarea {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 52px;
    }

    .cr-compose-tools {
        grid-column: 1;
        grid-row: 2;
    }

    .cr-send-button {
        grid-column: 2;
        grid-row: 2;
    }

    .cr-compose-login {
        align-items: stretch;
        flex-direction: column;
    }

    .cr-sticker-strip button {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .cr-cta {
        grid-template-columns: 70px minmax(0, 1fr);
        padding: 12px;
        border-radius: 20px;
    }

    .cr-cta > img {
        width: 70px;
        height: 90px;
    }

    .cr-cta h2 {
        font-size: 1rem;
    }

    .cr-cta nav {
        display: none;
    }

    .cr-cta__button {
        grid-column: 1 / -1;
        justify-self: center;
        padding: 10px 15px;
        font-size: .75rem;
    }

    .cr-create-hero {
        min-height: 190px;
        padding: 28px 20px;
        border-radius: 22px 22px 0 0;
    }

    .cr-create-hero > img {
        right: -28px;
        width: 170px;
        opacity: .38;
    }

    .cr-create-form {
        padding: 14px;
        border-radius: 0 0 22px 22px;
    }

    .cr-create-form fieldset {
        padding: 14px;
    }

    .cr-form-grid {
        grid-template-columns: 1fr;
    }

    .cr-create-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .cr-create-actions .cr-button {
        width: 100%;
    }

    .cr-members-hero {
        grid-template-columns: 76px minmax(0, 1fr);
        min-height: 190px;
        padding: 24px 18px;
        border-radius: 22px;
    }

    .cr-members-hero > img {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .cr-members-hero h1 {
        font-size: 1.8rem;
    }

    .cr-members-directory {
        padding: 15px;
    }

    .cr-members-directory > header {
        align-items: flex-start;
        flex-direction: column;
    }

    .cr-members-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .community-chatroom-page *,
    .community-chatroom-page *::before,
    .community-chatroom-page *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
