body.cc-standalone {
    margin: 0;
    font-family: Arial, "Noto Sans TC", sans-serif;
    color: #192634;
    background: #f3f6f9;
    line-height: 1.6;
}

.cc-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 16px 20px 40px;
}

.cc-layout a {
    color: #006359;
}

.cc-columns {
    display: flex;
    align-items: flex-start;
}

.cc-columns section {
    flex: 3 1 0%;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    background: #fff;
}

.cc-columns section:first-child {
    flex: 2 1 0%;
    margin-right: 18px;
}

.cc-columns nav a {
    display: block;
    margin-bottom: 6px;
    padding: 7px 9px;
    word-wrap: break-word;
}

.cc-columns nav a[aria-current="page"] {
    border-radius: 6px;
    background: #d9f3e8;
    font-weight: bold;
}

.cc-columns article,
.cc-columns form {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #dfe7ee;
}

.cc-columns label {
    display: block;
    margin-bottom: 12px;
}

.cc-columns input,
.cc-columns select,
.cc-columns textarea,
.cc-columns button {
    box-sizing: border-box;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #cbd7df;
    border-radius: 7px;
    font: inherit;
    background: #fff;
}

.cc-columns input,
.cc-columns select,
.cc-columns textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
}

.cc-columns button {
    color: #fff;
    background: #006359;
    cursor: pointer;
}

.cc-body {
    white-space: pre-wrap;
    word-wrap: break-word;
}

@media screen and (max-width: 760px) {
    .cc-columns {
        display: block;
    }

    .cc-columns section:first-child {
        margin-right: 0;
        margin-bottom: 18px;
    }
}

.cc-community-banner img {
    display: block;
    width: 100%;
    height: clamp(150px, 29vw, 340px);
    object-fit: cover;
    object-position: center;
}

.cc-community-description {
    color: #475569;
    line-height: 1.7;
    margin: 10px 0 18px;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.cc-embedded {
    padding: 0 0 22px;
    scroll-margin-top: 20px;
}

.cc-embedded .cc-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 18px;
}

.cc-embedded .cc-columns section:first-child {
    margin: 0;
}

.cc-embedded .cc-current section + section {
    margin-top: 12px;
}

.cc-topic-list {
    max-height: 16rem;
    overflow-y: auto;
}

@media (max-width: 760px) {
    .cc-embedded .cc-columns { grid-template-columns: minmax(0, 1fr); }
}

.cc-layout .cc-media-columns {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
    gap: 18px;
}

.cc-media-columns > div,
.cc-media-columns > div > section {
    min-width: 0;
    margin: 0;
}

.cc-media-columns section + section {
    margin-top: 12px;
}

.cc-media {
    display: grid;
    gap: 12px;
    margin: 10px 0;
}
.cc-media figure { margin: 0; min-width: 0; }
.cc-media img,
.cc-media video {
    display: block;
    max-width: 100%;
    max-height: 420px;
    margin: 0 auto;
    border-radius: 8px;
}
.cc-media video { width: 100%; background: #192634; }
.cc-media figcaption,
.cc-upload-note { color: #475569; font-size: 0.875rem; overflow-wrap: anywhere; }

@media (max-width: 760px) {
    .cc-layout .cc-media-columns { grid-template-columns: minmax(0, 1fr); }
    .cc-media-right { grid-row: 1; }
    .cc-media-columns > div > section:first-child { margin: 0; }
}

#cc-responses { scroll-margin-top: 20px; }
.cc-topic-feed {
    max-height: 42rem;
    overflow-y: auto;
    overflow-wrap: anywhere;
    padding: 0 8px 4px 0;
}
.cc-topic-feed .cc-topic-card:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.cc-post-actions,
.cc-post-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.cc-post-heading { justify-content: space-between; }
.cc-post-heading h2 { margin: 0; }
.cc-post-dialog {
    box-sizing: border-box;
    width: min(560px, calc(100% - 24px));
    max-height: calc(100% - 24px);
    overflow: auto;
    overscroll-behavior: contain;
    padding: 18px;
    border: 1px solid #dfe7ee;
    border-radius: 12px;
    background: #fff;
    color: #192634;
}
.cc-post-dialog::backdrop { background: rgba(19, 32, 46, .62); }
.cc-attachments {
    min-width: 0;
    margin: 0 0 12px;
    padding: 10px;
    border: 1px solid #dfe7ee;
    border-radius: 8px;
}
.cc-attachment-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 89px));
    gap: 8px;
}
.cc-attachment-card,
.cc-attachment-list .cc-attachment-add {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
}
.cc-attachment-card {
    overflow: hidden;
    background: #edf2f7;
    border: 1px solid #cbd7e2;
}
.cc-attachment-list .cc-attachment-add {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px dashed #8a9bae;
    background: #f6f9fc;
    color: #174568;
    font-size: 1.75rem;
}
.cc-attachment-list .cc-attachment-add[hidden] { display: none; }
.cc-attachment-preview {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    touch-action: none;
    cursor: grab;
    user-select: none;
}
.cc-attachment-preview img,
.cc-attachment-preview video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}
.cc-attachment-preview .cc-video-mark {
    position: absolute;
    left: 5px;
    bottom: 4px;
    padding: 2px 5px;
    border-radius: 4px;
    color: white;
    background: #182839;
    pointer-events: none;
}
.cc-attachment-card [data-cc-remove] {
    position: absolute;
    top: 3px;
    right: 3px;
    min-height: 26px;
    width: 26px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #182839;
    color: white;
    font-size: 18px;
    line-height: 1;
}
.cc-attachment-preview:focus-visible { outline: 2px solid #175a8c; outline-offset: -3px; }
.cc-attachment-card.is-dragging { opacity: .55; }
.cc-attachment-card.is-drop-target { outline: 2px solid #007e75; outline-offset: -2px; }
.cc-attachments .cc-attachment-picker[hidden],
.cc-attachments .cc-attachment-card input[hidden] { display: none; }
.cc-post-dialog button:disabled { opacity: .5; cursor: default; }
.cc-attachment-status:empty { display: none; }

.cc-topic-card { scroll-margin-top: 10px; }
.cc-topic-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin: 12px 0;
}
.cc-topic-actions form { margin: 0; padding: 0; border: 0; }
.cc-topic-actions a,
.cc-topic-actions button {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 40px;
    padding: 6px 10px;
    border: 1px solid #cbd7df;
    border-radius: 7px;
    color: #174568;
    background: #f6f9fc;
    text-decoration: none;
    font: inherit;
}
.cc-topic-actions button[aria-pressed="true"] { background: #d6eee7; }
.cc-share-status:not(:empty) { flex-basis: 100%; }

.cc-share-dialog [data-cc-share-native][hidden] { display: none; }
.cc-share-dialog .cc-share-topic { overflow-wrap: anywhere; }
.cc-share-dialog .cc-share-status:empty { display: none; }

.cc-public-comments,
.cc-public-comment,
#cc-comment-form { scroll-margin-top: 12px; }

.cc-public-comments {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #dfe7ee;
}
.cc-public-comments h4 { margin: 0 0 10px; }
.cc-public-comment {
    margin: 6px 0 6px calc(var(--cc-comment-depth) * 12px);
    padding: 8px 10px;
    border-inline-start: 2px solid #cbd7df;
    background: #f6f9fc;
    overflow-wrap: anywhere;
}
.cc-public-comment p { margin: 6px 0; }
.cc-public-comment:target { outline: 2px solid #007e75; }
.cc-comment-parent { margin-inline-start: 6px; font-size: .875rem; }

.cc-share-dialog [data-cc-share-close] {
    display: inline-grid;
    place-items: center;
    width: 40px;
    min-height: 40px;
    font-size: 1.5rem;
    text-decoration: none;
}
.cc-share-dialog[data-cc-share-fallback][open] {
    position: fixed;
    inset: 0;
    z-index: 10000;
    margin: auto;
    height: fit-content;
    box-shadow: 0 0 0 100vmax rgba(19, 32, 46, .62);
}

.cc-columns .cc-search form {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 0;
    border: 0;
}
.cc-columns .cc-search input[type=search] { flex: 1; width: auto; min-width: 8rem; margin: 0; }
.cc-topic-actions a,
.cc-topic-actions button { gap: 4px; }
.cc-public-comments { display: none; }
.cc-public-comments.is-open,
.cc-public-comments:target { display: block; }
.cc-inline-compose { margin: 6px 0; scroll-margin-top: 12px; }
.cc-inline-compose summary { cursor: pointer; color: #174568; font-size: .9375rem; }
.cc-columns .cc-inline-compose form,
.cc-columns .cc-comment-like { border: 0; padding: 0; margin: 6px 0; }
.cc-columns .cc-inline-compose textarea {
    -webkit-appearance: none;
    appearance: none;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    border: 0;
    border-bottom: 2px solid #8294a8;
    border-radius: 0;
    padding: 6px 0;
    min-height: 38px;
    background: transparent;
    box-shadow: none;
    resize: none;
}
.cc-columns .cc-inline-compose textarea:focus {
    outline: none;
    border-bottom-color: #007e75;
    box-shadow: none;
}
.cc-inline-buttons { display: flex; justify-content: flex-end; gap: 6px; margin-top: 5px; }
.cc-inline-buttons [data-cc-cancel],
.cc-columns .cc-comment-like button { color: #174568; background: #f6f9fc; }
.cc-columns .cc-comment-like button { min-height: 32px; }
.cc-columns .cc-comment-like button[aria-pressed=true] { background: #d6eee7; }

.cc-public-comments .cc-public-comment {
    margin-inline-start: calc(var(--cc-comment-depth) * clamp(18px, 5vw, 32px));
}
.cc-public-comments .cc-public-reply {
    border-inline-start-color: #8ba6bb;
    background: #edf3f7;
}
.cc-inline-compose textarea { scroll-margin-block: 64px; }
.cc-vote-status:not(:empty) { display: block; font-size: .875rem; }

.cc-public-comments.is-collapsed { display: none; }

.cc-reply-controls { position: relative; min-height: 24px; }
.cc-public-comment .cc-reply-controls .cc-inline-compose { margin: 0; }
.cc-public-comment .cc-reply-controls summary,
.cc-columns .cc-reply-controls button[data-cc-collapse-replies],
.cc-columns .cc-reply-controls .cc-reply-unavailable {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 24px;
    padding: 2px 5px;
    border: 1px solid #cbd7df;
    border-radius: 4px;
    color: #174568;
    background: #f6f9fc;
    font-size: .625rem;
    line-height: 1;
}
.cc-reply-controls summary::-webkit-details-marker { display: none; }
.cc-public-comment .cc-reply-controls summary,
.cc-columns .cc-reply-controls .cc-reply-unavailable { width: 3rem; }
.cc-columns .cc-reply-controls .cc-reply-unavailable { opacity: .6; cursor: default; }
.cc-columns .cc-reply-controls button[data-cc-collapse-replies] {
    position: absolute;
    inset-inline-start: 3.25rem;
    inset-block-start: 0;
}
.cc-columns .cc-public-comment .cc-reply-controls textarea {
    display: block;
    border: 0;
    border-bottom: 2px solid #8294a8;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}
.cc-columns .cc-public-comment .cc-reply-controls textarea:focus {
    outline: none;
    border-bottom-color: #007e75;
}
.cc-public-comment[hidden] { display: none; }

.cc-columns .cc-reply-controls button[data-cc-collapse-replies] {
    min-height: 20px;
    padding: 2px 5px;
    font-size: .625rem;
    font-weight: normal;
}
.cc-reply-controls-only button[data-cc-collapse-replies] { position: static !important; }