/* PoNovinite – comments */
.nn-cmx { --cm-gap: 14px; }
.nn-cmx__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.nn-cmx__title { margin: 0; font-size: 22px; display: flex; align-items: center; gap: 10px; }
.nn-cmx__count { display: inline-flex; min-width: 28px; height: 28px; padding: 0 9px; align-items: center; justify-content: center; border-radius: 999px; background: var(--nn-accent); color: #fff; font-size: 14px; font-weight: 700; }
.nn-cmx__order { border: 1px solid var(--nn-border); background: var(--nn-bg); color: var(--nn-text); border-radius: 999px; padding: 6px 30px 6px 12px; font: inherit; font-size: 14px; cursor: pointer; }
.nn-cmx__closed, .nn-cmx__empty { color: var(--nn-muted); text-align: center; padding: 18px 0 6px; }

/* ---- form ---- */
.nn-cmf { margin: 0 0 22px; }
.nn-cmf__box { border: 1.5px solid var(--nn-border); border-radius: 14px; background: var(--nn-bg); transition: border-color .15s, box-shadow .15s; overflow: hidden; }
.nn-cmf.is-open .nn-cmf__box, .nn-cmf__box:focus-within { border-color: var(--nn-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--nn-accent) 12%, transparent); }
.nn-cmf textarea { display: block; width: 100%; border: 0; outline: 0; resize: none; background: transparent; color: var(--nn-text); font: inherit; font-size: 16px; line-height: 1.5; padding: 14px 16px; min-height: 52px; }
.nn-cmf__more { display: none; padding: 0 14px 14px; }
.nn-cmf.is-open .nn-cmf__more { display: block; animation: nnCmIn .18s ease; }
.nn-cmf__row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.nn-cmf__row input { width: 100%; border: 1px solid var(--nn-border); background: var(--nn-surface); color: var(--nn-text); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; }
.nn-cmf__row input:focus { outline: 2px solid var(--nn-accent); outline-offset: -1px; }
.nn-cmf__row input.is-bad, .nn-cmf__consent.is-bad { outline: 2px solid #d63638; border-radius: 8px; }
.nn-cmf__as { margin: 0 0 10px; color: var(--nn-muted); font-size: 14px; }
.nn-cmf__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 13.5px; color: var(--nn-muted); margin: 2px 0 10px; padding: 2px; cursor: pointer; }
.nn-cmf__consent input { margin-top: 3px; }
.nn-cmf__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.nn-cmf__hint { color: var(--nn-muted); font-size: 12.5px; }
.nn-cmf__send { border-radius: 999px !important; padding: 10px 22px !important; }
.nn-cmf__send:disabled { opacity: .7; cursor: progress; }
.nn-cmf__msg { margin: 10px 0 0; font-size: 14px; font-weight: 600; }
.nn-cmf__msg:empty { display: none; }
.nn-cmf__msg.is-ok { color: #00873c; }
.nn-cmf__msg.is-err { color: #d63638; }
.nn-cmf__hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nn-cmf__reply { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--nn-muted); margin: 0 0 8px; }
.nn-cmf__reply[hidden] { display: none; }
.nn-cmf__reply span { font-weight: 600; color: var(--nn-text); }
.nn-cmf__cancel { border: 0; background: none; color: var(--nn-accent); cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.nn-cm .nn-cmf { margin: 12px 0 4px; }
.cf-turnstile { margin: 0 0 10px; }

/* ---- list ---- */
.nn-cmx__list, .nn-cmx__list .children { list-style: none; margin: 0; padding: 0; }
.nn-cmx__list .children { margin-left: 26px; padding-left: 16px; border-left: 2px solid var(--nn-border); }
.nn-cm { margin: 0 0 var(--cm-gap); }
.nn-cm__box { display: flex; gap: 12px; align-items: flex-start; }
.nn-cm__av { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #fff; background: hsl(var(--h, 210) 55% 46%); letter-spacing: .5px; user-select: none; }
.nn-cm__img { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 50%; }
.children .nn-cm__av, .children .nn-cm__img { flex-basis: 32px; width: 32px; height: 32px; font-size: 13px; }
.nn-cm__main { flex: 1; min-width: 0; background: var(--nn-surface); border: 1px solid var(--nn-border); border-radius: 4px 14px 14px 14px; padding: 10px 14px 8px; }
.nn-cm__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 2px; }
.nn-cm__name { font-size: 15px; }
.nn-cm__badge { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; background: var(--nn-accent); color: #fff; padding: 2px 7px; border-radius: 999px; }
.nn-cm__time { font-size: 12.5px; color: var(--nn-muted); text-decoration: none; }
.nn-cm__time:hover { text-decoration: underline; }
.nn-cm__text { font-size: 15.5px; line-height: 1.6; overflow-wrap: anywhere; }
.nn-cm__text p { margin: 4px 0; }
.nn-cm__wait { margin: 4px 0; font-size: 13px; color: #b26200; background: rgba(219,166,23,.12); border-radius: 8px; padding: 4px 8px; }
.nn-cm__foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.nn-cm__votes { display: inline-flex; gap: 4px; }
.nn-cm__vote, .nn-cm__reply, .nn-cm__show { display: inline-flex; align-items: center; gap: 5px; border: 1px solid transparent; background: transparent; color: var(--nn-muted); font: inherit; font-size: 13px; font-weight: 600; padding: 4px 9px; border-radius: 999px; cursor: pointer; transition: background .12s, color .12s, transform .12s; }
.nn-cm__vote svg { width: 15px; height: 15px; fill: currentColor; }
.nn-cm__vote:hover, .nn-cm__reply:hover { background: color-mix(in srgb, var(--nn-text) 7%, transparent); color: var(--nn-text); }
.nn-cm__vote.is-up.is-on { color: #00873c; background: rgba(0,135,60,.12); }
.nn-cm__vote.is-down.is-on { color: #d63638; background: rgba(214,54,56,.12); }
.nn-cm__vote.is-pop { transform: scale(1.18); }
.nn-cm__vote:disabled { opacity: .6; }
.nn-cm__show { margin: 2px 0 4px; border-color: var(--nn-border); }
.nn-cm.is-low:not(.is-shown) > .nn-cm__box .nn-cm__text, .nn-cm.is-low:not(.is-shown) > .nn-cm__box .nn-cm__foot { display: none; }
.nn-cm.is-low:not(.is-shown) > .nn-cm__box { opacity: .7; }
.nn-cm.is-new > .nn-cm__box .nn-cm__main, .nn-cm.is-target > .nn-cm__box .nn-cm__main { animation: nnCmFlash 2.2s ease; }
@keyframes nnCmFlash { 0% { box-shadow: 0 0 0 3px var(--nn-accent); } 100% { box-shadow: 0 0 0 0 transparent; } }
@keyframes nnCmIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (max-width: 600px) {
	.nn-cmf__row { grid-template-columns: 1fr; }
	.nn-cmx__list .children { margin-left: 10px; padding-left: 10px; }
	.nn-cm__box { gap: 9px; }
	.nn-cm__av, .nn-cm__img { flex-basis: 34px; width: 34px; height: 34px; font-size: 13px; }
	.nn-cmx__title { font-size: 19px; }
}

.nn-cm__votes { position: relative; }
.nn-cm__toast { position: absolute; left: 0; bottom: calc(100% + 6px); z-index: 5; white-space: nowrap; background: #1d2327; color: #fff; font-size: 12.5px; font-weight: 600; padding: 6px 10px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,.18); transition: opacity .4s, transform .4s; }
.nn-cm__toast.is-out { opacity: 0; transform: translateY(4px); }
@media (max-width: 600px) { .nn-cm__toast { white-space: normal; width: 220px; } }
