.nts-forum,
.nts-thread {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1.75rem 2rem;
    background: #f7f7fb;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
}

.nts-forum__title {
    margin-top: 0;
    margin-bottom: 1.25rem;
    font-size: 1.6rem;
    font-weight: 600;
    color: #222;
}

.nts-notice {
    padding: 0.75rem 1rem;
    background: #fff5d8;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #8a6d1b;
    margin-bottom: 1rem;
}

.nts-field-group {
    margin-bottom: 0.75rem;
}

.nts-field-group label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    font-size: 0.95rem;
}

.nts-field-group input[type="text"],
.nts-field-group textarea {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #d2d6f0;
    font-size: 0.95rem;
    font-family: inherit;
    resize: vertical;
    background: #fff;
}

.nts-field-group input[type="text"]:focus,
.nts-field-group textarea:focus {
    outline: none;
    border-color: #6371ff;
    box-shadow: 0 0 0 2px rgba(99, 113, 255, 0.15);
}

.nts-actions {
    margin-top: 0.5rem;
}

.nts-button {
    display: inline-block;
    padding: 0.55rem 1.1rem;
    font-size: 0.95rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.nts-button--primary {
    background: #4c6fff;
    color: #fff;
}

.nts-button--primary:hover {
    background: #3b59dc;
}

.nts-thread-list,
.nts-post-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.nts-thread-item {
    padding: 0.9rem 1rem;
    margin-bottom: 0.6rem;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.02);
    transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.nts-thread-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}

.nts-thread-item--empty {
    text-align: center;
    font-style: italic;
    color: #666;
}

.nts-thread-title-link {
    text-decoration: none;
    color: #222;
}

.nts-thread-title-link:hover .nts-thread-title {
    text-decoration: underline;
}

.nts-thread-title {
    font-weight: 600;
    font-size: 1rem;
}

.nts-thread-meta {
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    align-items: center;
    justify-content: space-between;
}

.nts-thread-meta__author {
    font-weight: 500;
}

.nts-thread-meta__date {
    opacity: 0.9;
}

.nts-thread-meta__actions {
    margin-left: auto;
}

.nts-thread-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e0e3fb;
}

.nts-thread-header__author {
    font-weight: 500;
    margin-right: 0.5rem;
}

.nts-thread-header-meta {
    font-size: 0.9rem;
    color: #555;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.nts-back-link {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.nts-back-link a {
    text-decoration: none;
    color: #4c6fff;
}

.nts-back-link a:hover {
    text-decoration: underline;
}

.nts-thread-starter {
    display: flex;
    gap: 0.75rem;
    padding: 1.1rem 1.1rem;
    margin: 0 0 1rem 0;
    border-radius: 10px;
    background: #eef3ff;
    border-left: 4px solid #4c6fff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.02);
}

.nts-post-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    margin-bottom: 0.7rem;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.02);
}

.nts-post-avatar {
    flex: 0 0 auto;
}

.nts-avatar-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #4c6fff;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
}

.nts-post-body {
    flex: 1 1 auto;
}

.nts-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 0.35rem;
}

.nts-post-meta__author {
    font-weight: 600;
}

.nts-post-meta__actions {
    margin-left: auto;
}

.nts-post-content {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #222;
}

.nts-message {
    padding: 0.6rem 0.9rem;
    margin: 0.75rem 0;
    border-radius: 6px;
    font-size: 0.9rem;
}

.nts-message--success {
    background: #e6ffed;
    border: 1px solid #b7ffd2;
}

.nts-message--error {
    background: #ffecec;
    border: 1px solid #ffb3b3;
}

.nts-pagination {
    margin-top: 1rem;
    text-align: center;
}

.nts-pagination__link,
.nts-pagination__current {
    display: inline-block;
    margin: 0 0.15rem;
    padding: 0.3rem 0.6rem;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
}

.nts-pagination__link {
    background: #e3e5ff;
    color: #333;
}

.nts-pagination__link:hover {
    background: #c7cbff;
}

.nts-pagination__current {
    font-weight: 600;
    background: #4c6fff;
    color: #fff;
}

.nts-report-form {
    display: inline;
}

.nts-report-button {
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 0;
}

.nts-report-button:hover {
    color: #555;
    text-decoration: underline;
}
