.niriv-comment-overlay {
position: fixed;
inset: 0;
background: rgba(0, 0, 0, 0.4);
display: grid;
place-items: end center; z-index: 9999;
opacity: 0;
transition: opacity 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
.niriv-comment-overlay.is-open {
opacity: 1;
} .niriv-comment-modal {
width: min(600px, 95vw); height: min(600px, 85vh); background: #ffffff; color: #1d1d1f; border-radius: 20px 20px 0 0; box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15), 0 8px 25px rgba(0, 0, 0, 0.1);
transform: translateY(100%);
opacity: 0;
will-change: transform, opacity;
transition: transform 400ms cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 300ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
overflow: hidden;
margin-bottom: 0;
display: flex;
flex-direction: column;
border: 1px solid rgba(0, 0, 0, 0.1);
}
.niriv-comment-overlay.is-open .niriv-comment-modal {
transform: translateY(0);
opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
.niriv-comment-modal { 
transition: transform 200ms ease, opacity 150ms ease; 
}
.niriv-comment-overlay { 
transition: opacity 150ms ease; 
}
} .niriv-comment-modal__header {
position: sticky;
top: 0;
z-index: 2;
display: flex;
align-items: center;
justify-content: space-between;
padding: 16px 20px 16px; background: #ffffff; color: #1d1d1f; border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
.niriv-comment-modal__title { 
display: inline-flex; 
align-items: center; 
gap: 10px; 
color: #1d1d1f; }
.niriv-comment-modal__header h3 {
margin: 0;
font-size: 16px; font-weight: 600; letter-spacing: -0.022em; color: #1d1d1f; }
.niriv-comment-modal__close {
appearance: none;
border: none;
background: rgba(0, 0, 0, 0.06); font-size: 16px;
line-height: 1;
cursor: pointer;
color: #1d1d1f; width: 30px;
height: 30px;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.niriv-comment-modal__close:hover {
background: rgba(0, 0, 0, 0.1);
color: #1d1d1f;
transform: scale(1.05);
} .niriv-comment-modal__body {
flex: 1;
overflow: auto;
padding: 16px 20px 0; display: flex;
flex-direction: column;
background: #ffffff; } #niriv-comment-list {
flex: 1;
overflow: auto;
padding: 8px 4px 12px;
background: #ffffff; }
#niriv-comment-list ol { margin: 0; padding: 0; }
#niriv-comment-list ol > li { 
list-style: none; 
padding: 12px 6px; margin-bottom: 6px; }
#niriv-comment-list .comment-body { 
padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.06); 
background: transparent; }
#niriv-comment-list ol > li:last-child .comment-body { border-bottom: 0; } #niriv-comment-list .comment-meta {
margin-bottom: 6px !important;
font-size: 12px !important; color: #8e8e93 !important; }
#niriv-comment-list .comment-content {
margin-bottom: 8px !important;
line-height: 1.4 !important;
font-size: 14px !important; color: #1d1d1f !important; } #niriv-comment-list .comment-reply-link,
#niriv-comment-list .reply,
#niriv-comment-list .comment-edit-link {
display: inline-block !important;
float: right !important;
clear: none !important; margin-top: 6px !important;
margin-left: 10px !important; color: #8e8e93 !important; text-decoration: none !important;
font-size: 11px !important; font-weight: 500 !important;
}
#niriv-comment-list .comment-reply-link:hover,
#niriv-comment-list .reply:hover,
#niriv-comment-list .comment-edit-link:hover {
color: #1d1d1f !important; } .niriv-comment-login-prompt {
display: grid;
place-items: center;
padding: 20px;
background: #ffffff; }
.niriv-login-card {
text-align: center;
background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.06);
border-radius: 16px; padding: 20px 24px;
box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}
.niriv-login-text { 
color: #6d6d70; 
margin-bottom: 12px; 
font-size: 14px; line-height: 1.4;
}
.niriv-login-btn { 
display: inline-block; 
background: #1d1d1f; color: #fff; 
padding: 8px 16px; border-radius: 12px; 
text-decoration: none; 
font-size: 13px; font-weight: 500;
transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.niriv-login-btn:hover { 
background: #000000; transform: translateY(-1px);
} .niriv-comment-modal__composer {
position: sticky;
bottom: 0;
background: #ffffff; border-top: 1px solid rgba(0, 0, 0, 0.08);
padding: 12px 16px 20px; align-items: center;
gap: 0; width: 100%; box-sizing: border-box; }
.niriv-composer-inner {
position: relative;
display: flex;
align-items: center;
flex: 1; background: #f9fafb; border: 1px solid #e5e7eb; border-radius: 20px; padding: 8px 12px; transition: all 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
min-width: 0; max-width: none; box-sizing: border-box; width: 100%; }
.niriv-composer-inner:focus-within {
border-color: #d1d5db; background: #ffffff; box-shadow: none; } .niriv-composer-avatar { 
flex: 0 0 auto;
width: 24px; height: 24px; margin-right: 8px; } .niriv-composer-emoji,
.niriv-emoji-popover,
.niriv-inline-emoji,
.niriv-inline-emoji-popover,
#niriv-emoji-popover,
.emoji-picker,
.emoji-button,
[class*="emoji"] {
display: none !important;
visibility: hidden !important;
}
#niriv-composer-text {
flex: 1;
border: none;
outline: none;
background: transparent;
font-size: 14px; color: #1d1d1f;
line-height: 1.4;
padding: 0; width: 100%; min-width: 0; }
#niriv-composer-text::placeholder {
color: #8e8e93; font-size: 14px; }
.niriv-composer-send {
flex: 0 0 auto;
border: none;
background: #3b82f6; color: #fff;
width: 32px;
height: 32px;
border-radius: 50%;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 200ms ease;
order: 3; margin-left: 4px; }
.niriv-composer-send:hover { 
background: #2563eb; }
.niriv-composer-send:active {
transform: scale(0.95);
} #niriv-comment-modal-content #respond {
max-width: 100%;
} #niriv-comment-modal-content textarea,
#niriv-comment-modal-content input[type="text"],
#niriv-comment-modal-content input[type="email"] {
width: 100%;
border-radius: 12px; border: 1px solid #e5e7eb;
background: #f9fafb;
transition: all 200ms ease;
font-size: 14px; }
#niriv-comment-modal-content textarea:focus,
#niriv-comment-modal-content input[type="text"]:focus,
#niriv-comment-modal-content input[type="email"]:focus {
border-color: #d1d5db; background: #ffffff;
box-shadow: none; outline: none;
} @media (max-width: 640px) {
.niriv-comment-overlay { place-items: end stretch; }
.niriv-comment-modal {
width: 100vw;
height: 75vh;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
margin-bottom: 0;
}
.niriv-comment-modal__composer {
padding-bottom: max(20px, env(safe-area-inset-bottom)); }
}