/* Custom Glassmorphic Dark Scrollbar for entire site & elements */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 18, 36, 0.5);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 140, 248, 0.7);
}

/* Firefox Scrollbar support */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.4) rgba(15, 18, 36, 0.5);
}

body {
    background-color: #0c0f1d;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    overflow: hidden;
}

/* Fullscreen video layout covering the background */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    pointer-events: none;
}

/* Semi-transparent dark overlay to keep text readable */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 8, 20, 0.45);
    z-index: -1;
    pointer-events: none;
}

.container {
    text-align: center;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 600px;
    padding: 0 1.5rem;
    box-sizing: border-box;
}

.title {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.not-larpers-title {
    background: linear-gradient(135deg, #4ade80 30%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: blink-green 1.2s ease-in-out infinite alternate;
}

@keyframes blink-green {
    0% {
        opacity: 1;
        filter: drop-shadow(0 0 10px rgba(74, 222, 128, 0.8));
    }
    100% {
        opacity: 0.35;
        filter: drop-shadow(0 0 2px rgba(34, 197, 94, 0.2));
    }
}

.stupidity-widget {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 100;
    font-size: 2.2rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ff7e5f 30%, #feb47b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.stupidity-widget:hover {
    transform: scale(1.05);
}

.list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.8rem;
    line-height: 2.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.list li {
    transition: transform 0.2s ease;
}

.list li:hover {
    transform: scale(1.04);
}

.profile-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    cursor: pointer;
    font-weight: 600;
}

.profile-link:hover {
    color: #818cf8;
    text-shadow: 0 0 12px rgba(129, 140, 248, 0.6);
}

.profile-container {
    perspective: 1000px;
    max-width: 420px;
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-height: 96vh;
}

/* Glassmorphic card styling - COMPLETELY FIXED AND STATIC */
.profile-card {
    background: rgba(15, 18, 36, 0.45);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
    text-align: left;
    box-sizing: border-box;
    width: 100%;
    flex-shrink: 0;
}

/* Standalone Comments Card */
.comments-card {
    background: rgba(15, 18, 36, 0.45);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    padding: 1rem 1.25rem;
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
    max-height: 48vh;
    flex-shrink: 1;
}

.comments-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.profile-card:hover {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7),
                0 0 40px rgba(99, 102, 241, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Discord Banner */
.profile-banner {
    height: 110px;
    background: linear-gradient(135deg, #5865F2, #4752c4);
    position: relative;
    width: 100%;
    background-size: cover;
    background-position: center;
}

/* Back button overlaying the banner */
.back-btn {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background: rgba(15, 18, 36, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.back-btn:hover {
    background: rgba(15, 18, 36, 0.75);
    border-color: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: translateX(-2px);
}

/* Avatar details */
.profile-card-header {
    padding: 0 1.5rem 1rem;
    position: relative;
    margin-top: -45px; /* Pull details over the banner */
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 0.5rem;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    border: 4px solid #141729; /* Blends with card container background */
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
}

.avatar-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 104%;
    height: 104%;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    z-index: 1;
    filter: blur(8px);
    opacity: 0.5;
    transition: opacity 0.3s, filter 0.3s;
    background-size: cover;
    background-position: center;
}

.profile-card:hover .avatar-glow {
    opacity: 0.85;
    filter: blur(12px);
}

.profile-display-name {
    font-size: 1.6rem;
    margin: 0.25rem 0 0.1rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-username {
    font-size: 0.9rem;
    color: #94a3b8;
    margin: 0;
    font-weight: 500;
}

/* Card Body detail grid */
.profile-card-body {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
}

.detail-label {
    color: #94a3b8;
    font-weight: 600;
}

.detail-value {
    color: #f1f5f9;
    font-weight: 500;
    text-align: right;
}

/* Copy ID styling */
.copyable-id {
    cursor: pointer;
    transition: opacity 0.15s;
    user-select: none;
}

.copyable-id:hover .detail-value {
    color: #a5b4fc;
    text-decoration: underline;
}

.copy-icon {
    margin-left: 0.5rem;
    opacity: 0.5;
    transition: opacity 0.15s, transform 0.15s;
    color: #94a3b8;
}

.copyable-id:hover .copy-icon {
    opacity: 1;
    color: #a5b4fc;
    transform: scale(1.08);
}

/* Actions styling */
.profile-actions {
    padding: 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    color: #e2e8f0;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.social-link svg {
    transition: transform 0.2s ease;
    z-index: 2;
    opacity: 0.85;
}

.social-link span {
    z-index: 2;
    flex-grow: 1;
    text-align: left;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--hover-color, #5865F2);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    color: #fff;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25), 
                0 0 12px var(--glow-color, rgba(88, 101, 242, 0.15));
}

.social-link:hover::before {
    opacity: 0.1;
}

.social-link:hover svg {
    transform: scale(1.1) rotate(-3deg);
    opacity: 1;
}

/* Brand styling colors */
.social-link.discord {
    --hover-color: #5865F2;
    --glow-color: rgba(88, 101, 242, 0.3);
}

/* Toast Copy notification */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #e2e8f0;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5),
                0 0 12px rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    opacity: 0;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
    display: block; /* ensure it's block-level but hidden via opacity and translate */
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to {
        opacity: 0;
        transform: translateY(-12px) scale(0.98);
    }
}

.animated-fade-in {
    animation: fadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animated-fade-out {
    animation: fadeOut 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Footer Credit */
.footer-credit {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
    font-family: inherit;
    pointer-events: none;
    z-index: 100;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* ================= COMMENTS SECTION STYLING ================= */

.corner-auth-widget {
    position: fixed;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 100;
}

.corner-login-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(15, 18, 36, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    padding: 0.55rem 1rem;
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 650;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.corner-login-btn:hover {
    background: #5865F2;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.4);
}

.corner-user-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(15, 18, 36, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.4rem 0.85rem;
    border-radius: 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.corner-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.corner-user-name {
    font-size: 0.88rem;
    font-weight: 650;
    color: #f1f5f9;
}

.corner-logout-btn {
    background: none;
    border: none;
    color: #f87171;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0 0 0 0.3rem;
    transition: opacity 0.15s;
}

.corner-logout-btn:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.comments-section {
    padding: 1.25rem 1.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    width: 100%;
}

.comments-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    gap: 1rem;
}

.comments-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #e2e8f0;
}

.comments-title svg {
    color: #818cf8;
}

.auth-user-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    color: #cbd5e1;
}

.auth-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.btn-logout {
    background: none;
    border: none;
    color: #f87171;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0 0 0 0.4rem;
    text-decoration: underline;
}

.btn-discord-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1rem;
    background: #5865F2;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 650;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(88, 101, 242, 0.35);
    white-space: normal;
    text-align: center;
}

.btn-discord-login:hover {
    background: #4752c4;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(88, 101, 242, 0.5);
}

.mass-delete-btn {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #f87171;
    padding: 0.3rem 0.65rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 650;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.mass-delete-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.6);
    color: #fff;
    transform: translateY(-1px);
}

.comment-select-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.25);
    cursor: pointer;
    margin-right: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    position: relative;
}

.comment-select-checkbox:hover {
    border-color: #ef4444;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.3);
}

.comment-select-checkbox:checked {
    background: #ef4444;
    border-color: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.comment-select-checkbox:checked::after {
    content: '';
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-top: -2px;
}

.comment-item.comment-plus {
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: inset 2px 0 0 rgba(34, 197, 94, 0.6);
}

.comment-item.comment-minus {
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: inset 2px 0 0 rgba(239, 68, 68, 0.6);
}

.comment-input-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.rep-selector {
    display: flex;
    gap: 0.6rem;
    margin-bottom: 0.25rem;
}

.rep-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.95rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    transition: all 0.2s ease;
    user-select: none;
}

.rep-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.rep-option.rep-plus:hover, .rep-option.rep-plus.active {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
}

.rep-option.rep-minus:hover, .rep-option.rep-minus.active {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
}

.rep-tag {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.03em;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
}

.rep-tag.plus-rep {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.rep-tag.minus-rep {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.comment-item.comment-plus {
    border: 1px solid rgba(34, 197, 94, 0.2);
    box-shadow: inset 2px 0 0 rgba(34, 197, 94, 0.6);
}

.comment-item.comment-minus {
    border: 1px solid rgba(239, 68, 68, 0.2);
    box-shadow: inset 2px 0 0 rgba(239, 68, 68, 0.6);
}

.comment-textarea {
    width: 100%;
    min-height: 65px;
    max-height: 120px;
    padding: 0.75rem 0.9rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    resize: vertical;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.comment-textarea:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.comment-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.5rem;
}

.char-counter {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 500;
}

.comment-submit-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff;
    border: none;
    padding: 0.6rem 1.4rem;
    border-radius: 10px;
    font-weight: 650;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.comment-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    overflow-y: auto !important;
    padding-right: 0.35rem;
    margin-top: 0.5rem;
    flex: 1;
    min-height: 80px;
}

/* Custom Scrollbar for comments */
.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: rgba(15, 18, 36, 0.4);
    border-radius: 10px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: rgba(129, 140, 248, 0.7);
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 1rem;
    transition: background 0.2s, border-color 0.2s;
    position: relative;
}

.comment-item.pinned {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.04);
}

.pinned-badge {
    position: absolute;
    top: 0.65rem;
    right: 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fbbf24;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 0.15rem 0.45rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.comment-author-bar {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.5rem;
    padding-right: 4.5rem;
}

.comment-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}

.comment-author-name {
    font-weight: 650;
    font-size: 0.92rem;
    color: #f1f5f9;
}

.comment-date {
    font-size: 0.75rem;
    color: #64748b;
    margin-left: auto;
}

.comment-text {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.45;
    margin: 0.35rem 0 0.75rem;
    word-break: break-word;
    white-space: pre-wrap;
}

.comment-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.comment-reactions {
    display: flex;
    gap: 0.5rem;
}

.reaction-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    border-radius: 8px;
    padding: 0.25rem 0.6rem;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.reaction-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.reaction-btn.active.like {
    background: rgba(34, 197, 94, 0.15);
    border-color: rgba(34, 197, 94, 0.4);
    color: #4ade80;
}

.reaction-btn.active.dislike {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.admin-actions {
    display: flex;
    gap: 0.4rem;
}

.admin-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    transition: color 0.15s;
    display: flex;
    align-items: center;
}

.admin-btn:hover {
    color: #cbd5e1;
}

.admin-btn.delete:hover {
    color: #f87171;
}

.admin-btn.pin:hover {
    color: #fbbf24;
}

.no-comments {
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    padding: 1.5rem 0;
}

