body.ct-community-site { background: #150f23; }
.ct-community-site .entry-content > .ct-wall {
    max-width: 1340px;
    width: 100%;
}
.ct-community-site .hostinger-ai-page-title { display: none; }
.ct-community {
    --ct-bg: #150f23;
    --ct-panel: #251a37;
    --ct-field: #1a1329;
    --ct-ink: #faf3ff;
    --ct-muted: #d0c2e2;
    --ct-line: #624b77;
    --ct-accent: #efb6fa;
    --ct-focus: #b4f5e4;
    box-sizing: border-box;
    color: var(--ct-ink);
    color-scheme: dark;
    font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.55;
    margin: 16px auto 32px;
    padding: clamp(10px, 2vw, 28px);
    background: var(--ct-bg);
}
.ct-community *, .ct-community *::before, .ct-community *::after { box-sizing: border-box; }
.ct-community h1, .ct-community h2, .ct-community p { margin: 0 0 .65em; }
.ct-community h1 {
    color: var(--ct-ink);
    font-size: clamp(31px, 5vw, 60px);
    line-height: 1.06;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
}
.ct-community h2 { color: var(--ct-ink); font-size: clamp(20px, 3vw, 26px); line-height: 1.25; }
.ct-community a { color: var(--ct-accent); text-underline-offset: .24em; overflow-wrap: anywhere; }
.ct-community :focus-visible { outline: 3px solid var(--ct-focus); outline-offset: 4px; }
.ct-community [hidden] { display: none !important; }

.ct-wall-nav, .ct-wall-nav__links, .ct-wall-brand, .ct-profile-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 15px;
    min-width: 0;
}
.ct-wall-nav { justify-content: space-between; margin-bottom: 18px; }
.ct-wall-brand { color: var(--ct-ink) !important; font-size: 20px; text-decoration: none; }
.ct-wall-brand img { border-radius: 9px; }
.ct-wall-nav__links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    border-radius: 8px;
    padding: 7px 10px;
    font-weight: 650;
    text-decoration: none;
}
.ct-wall-nav__links a:hover, .ct-wall-nav__links a[aria-current="page"] { background: #38284b; }

.ct-wall-cover {
    border: 1px solid var(--ct-line);
    background: var(--ct-panel);
    border-radius: 23px;
    overflow: hidden;
    margin-bottom: clamp(18px, 3vw, 32px);
}
.ct-wall-cover__art {
    position: relative;
    height: clamp(142px, 22vw, 310px);
    background: #33204b;
}
.ct-wall-cover__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-wall-cover__art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #171025aa, transparent 56%);
    pointer-events: none;
}
.ct-wall-cover__details {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 12px clamp(12px, 2vw, 24px);
    padding: clamp(14px, 3vw, 27px);
}
.ct-wall-cover__details h1, .ct-wall-cover__details p { margin-bottom: 0; }
.ct-wall-cover__details p { margin-top: 5px; color: var(--ct-muted); }
.ct-wall-cover__title { flex: 1 1 230px; min-width: 0; }
.ct-profile-avatar {
    display: grid;
    place-items: center;
    flex: 0 0 clamp(66px, 11vw, 112px);
    width: clamp(66px, 11vw, 112px);
    aspect-ratio: 1;
    margin-top: clamp(-58px, -5vw, -34px);
    align-self: flex-start;
    border: 4px solid var(--ct-panel);
    border-radius: 26px;
    background: #433059;
    font-size: clamp(39px, 6vw, 70px);
    overflow: hidden;
}
.ct-profile-avatar img, .ct-card__avatar img { object-fit: contain; width: 100%; height: 100%; }
.ct-profile-links { flex: 0 1 auto; }
.ct-copy-status { color: var(--ct-focus); font-size: .875rem; }

.ct-community .ct-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(225px, .43fr);
    gap: clamp(15px, 2.4vw, 30px);
    align-items: start;
}
.ct-community .ct-layout > *, .ct-community .ct-feed, .ct-community .ct-sidebar { min-width: 0; }
.ct-community .ct-sidebar, .ct-community .ct-feed { display: grid; gap: 16px; }
.ct-community .ct-panel {
    padding: clamp(14px, 2.3vw, 26px);
    border: 1px solid var(--ct-line);
    border-radius: 17px;
    background: var(--ct-panel);
    min-width: 0;
}
.ct-community .ct-composer { margin-bottom: 16px; }
.ct-community .ct-empty h2 { margin-bottom: 0; }
.ct-community .ct-card { display: flex; gap: 12px; align-items: center; min-width: 0; margin: 0 0 14px; }
.ct-card__avatar {
    display: grid;
    place-items: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border: 1px solid var(--ct-line);
    border-radius: 13px;
    background: #433059;
    overflow: hidden;
    font-size: 25px;
}
.ct-card__body { min-width: 0; }
.ct-community .ct-card__name { display: block; font-weight: 750; color: var(--ct-ink); }
.ct-community .ct-id {
    display: block;
    margin-top: 3px;
    color: var(--ct-muted);
    font-size: .78rem;
    overflow-wrap: anywhere;
}
.ct-community .ct-comment .ct-id { display: none; }
.ct-community .ct-comment__text { font-size: 1rem; overflow-wrap: anywhere; }
.ct-entry-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
}
.ct-entry-actions form, .ct-profile-links form { margin: 0; }
.ct-community .ct-entry-actions [aria-pressed="true"] {
    border-color: var(--ct-focus);
    color: var(--ct-focus);
}
.ct-thread { margin-top: 16px; scroll-margin-top: 18px; }
.ct-thread-reply { padding-block: 14px; border-top: 1px solid var(--ct-line); }
.ct-community .ct-thread-reply .ct-id { display: none; }
.ct-community .ct-muted, .ct-community .ct-time { color: var(--ct-muted); font-size: .875rem; font-weight: 400; }
.ct-community .ct-time { display: block; margin-top: 8px; }
.ct-community .ct-reply {
    appearance: none;
    min-height: 40px;
    padding: 5px 0;
    border: 0;
    background: transparent;
    color: var(--ct-accent);
    font: inherit;
    font-size: .875rem;
    text-decoration: underline;
    cursor: pointer;
}

.ct-community .ct-form { display: grid; gap: 13px; margin: 0; }
.ct-community .ct-field { display: grid; gap: 4px; min-width: 0; font-weight: 650; }
.ct-community .ct-field input, .ct-community .ct-field textarea, .ct-community .ct-field select {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--ct-line);
    border-radius: 9px;
    background: var(--ct-field);
    color: var(--ct-ink);
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    font-weight: 400;
}
.ct-community textarea { min-height: 90px; resize: vertical; }
.ct-community input::placeholder, .ct-community textarea::placeholder { color: #c5b1d1; }
.ct-community fieldset { padding: 0; border: 0; min-width: 0; margin: 0; }
.ct-community legend { font-weight: 700; }
.ct-community .ct-form > p, .ct-community .ct-panel > :last-child { margin-bottom: 0; }
.ct-avatar-choice {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 10px;
    min-height: 44px;
    border: 1px solid var(--ct-line);
    border-radius: 9px;
    cursor: pointer;
}
.ct-avatar-choice:has(input:checked) { border-color: var(--ct-focus); }
.ct-avatar-preview { display: inline-flex; align-items: center; font-size: 24px; }
.ct-avatar-preview img { width: 28px; height: 28px; }
.ct-community input[type="checkbox"], .ct-community input[type="radio"] { accent-color: var(--ct-accent); }
.ct-community .ct-button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 9px 14px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: var(--ct-accent);
    color: #1b1029;
    font: inherit;
    font-weight: 750;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}
.ct-community .ct-form .ct-button { justify-self: start; }
.ct-community .ct-button:hover { background: #ffd4ff; color: #1b1029; }
.ct-community .ct-button--secondary { border-color: var(--ct-line); color: var(--ct-ink); background: transparent; }
.ct-community .ct-button--secondary:hover { background: #392751; color: var(--ct-ink); }
.ct-community .ct-notice {
    padding: 12px 15px;
    border: 1px solid #73aa9e;
    border-radius: 10px;
    background: #163434;
    color: #cef9ec;
}
.ct-community .ct-links, .ct-community .ct-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}
.ct-community .ct-pagination { justify-content: space-between; }
.ct-community .ct-attachment { margin: 0 0 12px; min-width: 0; }
.ct-community .ct-attachment figcaption { margin-top: 6px; font-size: .875rem; overflow-wrap: anywhere; }
.ct-community .ct-video-cover, .ct-community .ct-video__frame, .ct-community .ct-social-frame {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: #170e25;
}
.ct-community .ct-video-cover {
    display: grid;
    place-items: center;
    aspect-ratio: 16 / 9;
    min-height: 142px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}
.ct-video-cover > img, .ct-video-cover > span { grid-area: 1 / 1; }
.ct-video-cover > img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.ct-video-cover > span {
    z-index: 1;
    padding: 10px 15px;
    border-radius: 999px;
    background: var(--ct-accent);
    color: #20102c;
    font-size: 16px;
    font-weight: 750;
}
.ct-community .ct-video__frame { aspect-ratio: 16 / 9; min-height: 200px; }
.ct-community .ct-social-frame { height: clamp(345px, 56vw, 548px); }
.ct-community .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
@media (max-width: 760px) {
    .ct-community .ct-layout { grid-template-columns: minmax(0, 1fr); }
    .ct-wall-nav__links { gap: 4px; }
}
@media (orientation: landscape) and (min-width: 640px) and (max-width: 1000px) {
    .ct-community .ct-layout { grid-template-columns: minmax(0, 1fr) minmax(196px, .42fr); }
    .ct-wall-cover__art { height: clamp(126px, 28vh, 196px); }
}
@media (max-width: 430px) {
    .ct-wall-nav { gap: 4px; }
    .ct-wall-nav__links a { padding-inline: 7px; font-size: .93rem; }
    .ct-wall-cover__title { flex-basis: 155px; }
    .ct-profile-links { flex-basis: 100%; }
    .ct-community .ct-panel { padding-inline: 12px; }
}
