/* Comentarii și recenzii — UniversulAnime */
.kcm { --kcm-bg: #121214; --kcm-bg2: #18181b; --kcm-line: rgba(255,255,255,.08); --kcm-mut: #8e8e9a; --kcm-acc: var(--color-accent, #8b7fd6); color: #e9e9ee; background: var(--kcm-bg); border: 1px solid var(--kcm-line); border-radius: 14px; overflow: visible; margin: 8px 0 24px; font-size: 14px; }
.kcm *, .kcm-pop * { box-sizing: border-box; }
.kcm-i { font-family: 'Material Icons Round', 'Material Icons'; font-weight: normal; font-style: normal; font-size: 18px; width: 1em; height: 1em; line-height: 1; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; text-transform: none; letter-spacing: normal; white-space: nowrap; }
.kcm button { font-family: inherit; }

/* antet */
.kcm-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 20px; background: #0d0d0f; border-bottom: 1px solid var(--kcm-line); border-radius: 14px 14px 0 0; }
.kcm-head__t { display: flex; flex-direction: column; line-height: 1.15; }
.kcm-head__t small { font-size: 13px; font-weight: 800; color: #fff; }
.kcm-head__t b { font-size: 20px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.kcm-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.kcm-tab { display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--kcm-line); background: #141417; color: #ddd; font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; cursor: pointer; transition: .15s; }
.kcm-tab .kcm-i, .kcm-tab .kira-ic { font-size: 17px; }
.kcm-tab em { font-style: normal; font-weight: 700; font-size: 11px; color: var(--kcm-mut); background: rgba(255,255,255,.06); padding: 2px 7px; border-radius: 99px; }
.kcm-tab:hover { border-color: rgba(255,255,255,.2); }
.kcm-tab.is-on { background: #252040; background: color-mix(in srgb, var(--kcm-acc) 22%, #141417); border-color: var(--kcm-acc); color: #fff; }
.kcm-tab.is-on em { color: #fff; background: var(--kcm-acc); }

.kcm-body { padding: 8px 20px 20px; }
.kcm-loading { display: flex; justify-content: center; padding: 40px 0; }
.kcm-spin { width: 28px; height: 28px; border-radius: 50%; border: 3px solid rgba(255,255,255,.12); border-top-color: var(--kcm-acc); animation: kcmSpin .8s linear infinite; }
@keyframes kcmSpin { to { transform: rotate(360deg); } }

/* bara cu total + sortare */
.kcm-bar { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--kcm-line); margin-bottom: 16px; }
.kcm-total { color: var(--kcm-mut); font-size: 15px; font-weight: 600; }
.kcm-avg { display: inline-flex; align-items: center; gap: 4px; color: var(--kcm-mut); font-size: 13px; }
.kcm-avg .kcm-i { color: #fbbf24; }
.kcm-avg b { color: #fff; font-size: 15px; }
.kcm-sort { margin-left: auto; display: flex; align-items: center; gap: 8px; position: relative; color: var(--kcm-mut); font-size: 13px; }
.kcm-sortb { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 10px 0 14px; border-radius: 8px; border: 1px solid var(--kcm-acc); background: transparent; color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; }
.kcm-sortb .kcm-i { font-size: 16px; color: var(--kcm-mut); }
.kcm-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 170px; padding: 5px; border-radius: 10px; background: #3a3266; background: color-mix(in srgb, var(--kcm-acc) 85%, #000); box-shadow: 0 14px 34px rgba(0,0,0,.55); display: flex; flex-direction: column; }
.kcm-menu[hidden] { display: none; }
.kcm-menu button { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 7px; border: 0; background: none; color: #fff; font-size: 13px; text-align: left; cursor: pointer; white-space: nowrap; }
.kcm-menu button:hover { background: rgba(255,255,255,.14); }
.kcm-menu button .kcm-i { font-size: 16px; }

/* autentificare */
.kcm-login { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--kcm-bg2); border: 1px dashed rgba(255,255,255,.14); color: #cfcfd8; margin-bottom: 18px; font-weight: 600; }
.kcm-login > .kcm-i { color: var(--kcm-acc); font-size: 22px; }
.kcm-login button { margin-left: auto; height: 36px; padding: 0 16px; border-radius: 9px; border: 0; background: var(--kcm-acc); color: #fff; font-weight: 800; cursor: pointer; }

/* formular */
.kcm-form { display: flex; gap: 12px; margin-bottom: 20px; }
.kcm-form.is-reply { margin: 10px 0 6px; }
.kcm-form.is-busy { opacity: .6; pointer-events: none; }
.kcm-form__m { flex: 1; min-width: 0; border-radius: 12px; background: var(--kcm-bg2); border: 1px solid var(--kcm-line); transition: border-color .15s; }
.kcm-form__m:focus-within { border-color: var(--kcm-acc); }
.kcm-form textarea { display: block; width: 100%; min-height: 54px; resize: vertical; padding: 12px 14px; border: 0 !important; outline: 0 !important; box-shadow: none !important; background: transparent !important; color: #fff; font: inherit; font-size: 14px; line-height: 1.5; }
.kcm-form textarea::placeholder { color: #70707c; }
.kcm-tools { display: flex; align-items: center; gap: 2px; padding: 6px 8px; border-top: 1px solid var(--kcm-line); }
.kcm-tools > button:not(.kcm-send):not(.kcm-cancel) { width: 32px; height: 32px; border-radius: 8px; border: 0; background: none; color: #a9a9b6; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.kcm-tools > button:hover { background: rgba(255,255,255,.07); color: #fff; }
.kcm-cnt { margin-left: auto; font-size: 11px; color: var(--kcm-mut); padding: 0 6px; }
.kcm-gold { display: inline-flex; align-items: center; gap: 3px; margin-right: 6px; padding: 3px 8px; border-radius: 99px; background: rgba(251,191,36,.12); color: #fbbf24; font-size: 11.5px; font-weight: 800; }
.kcm-gold .kcm-i { font-size: 14px; }
.kcm-cnt + .kcm-send, .kcm-cnt + .kcm-cancel, .kcm-gold + .kcm-cancel { margin-left: 0; }
.kcm-cancel { height: 34px; padding: 0 12px; border-radius: 9px; border: 0; background: none; color: #bbb; font-weight: 700; font-size: 13px; cursor: pointer; }
.kcm-send { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--kcm-acc); color: #fff; font-weight: 800; font-size: 13px; cursor: pointer; }
.kcm-send .kcm-i { font-size: 16px; }
.kcm-send:hover { filter: brightness(1.1); }
.kcm-att { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 12px 10px; }
.kcm-att[hidden] { display: none; }
.kcm-att button { position: relative; width: 58px; height: 58px; border-radius: 8px; border: 1px solid var(--kcm-line); background: rgba(255,255,255,.04); padding: 3px; cursor: pointer; }
.kcm-att img { width: 100%; height: 100%; object-fit: contain; }
.kcm-att .kcm-i { position: absolute; top: -6px; right: -6px; width: 18px; height: 18px; border-radius: 50%; background: #e11d48; color: #fff; font-size: 13px; }
.kcm-rate { display: flex; align-items: center; gap: 1px; flex-wrap: wrap; padding: 10px 12px 0; color: var(--kcm-mut); font-size: 13px; }
.kcm-rate > span { margin-right: 6px; }
.kcm-rate button { border: 0; background: none; padding: 1px; color: #4b4b55; cursor: pointer; }
.kcm-rate button .kcm-i { font-size: 22px; }
.kcm-rate button.is-on { color: #fbbf24; }
.kcm-rate__v { margin-left: 8px; color: #fff; }

/* comentariu */
.kcm-list { display: flex; flex-direction: column; gap: 4px; }
.kcm-c { display: flex; gap: 12px; padding: 8px 0; border-radius: 10px; transition: background .6s; }
.kcm-c.is-hl { animation: kcmHl 2.4s ease; }
@keyframes kcmHl { 0%, 40% { background: color-mix(in srgb, var(--kcm-acc) 18%, transparent); } 100% { background: transparent; } }
.kcm-c__av { flex: 0 0 auto; padding-top: 2px; }
.kcm-avw { display: inline-flex; position: relative; line-height: 0; }
.kcm-avh { position: relative; display: inline-flex; line-height: 0; border-radius: 50%; }
.kcm-avh .kx-ad-deco { z-index: 2; }
.kcm-av { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #222; display: block; }
.kcm-form__av .kcm-av { width: 44px; height: 44px; }
.kcm-kids .kcm-av { width: 34px; height: 34px; }
.kcm-c__m { flex: 1; min-width: 0; }
.kcm-c__h { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12.5px; color: var(--kcm-mut); line-height: 1.3; }
.kcm-nml { text-decoration: none !important; }
.kcm-nm { color: #fff; font-weight: 800; font-size: 13.5px; }
.kcm-dot { opacity: .6; }
.kcm-ed { font-style: italic; opacity: .8; }
.kcm-rt { display: inline-flex; align-items: center; gap: 2px; padding: 1px 7px; border-radius: 99px; background: rgba(251,191,36,.13); color: #fbbf24; font-weight: 800; font-size: 11.5px; }
.kcm-rt .kcm-i { font-size: 13px; }
.kcm-c__b { margin-top: 5px; font-size: 14.5px; line-height: 1.55; color: #ececf1; word-wrap: break-word; overflow-wrap: anywhere; }
.kcm-c__b a { color: var(--kcm-acc); text-decoration: underline; }
.kcm-c__b .kcm-form { margin: 6px 0; }
.kcm-st { display: inline-block; max-width: 120px; max-height: 120px; vertical-align: middle; margin: 4px 4px 0 0; }
.kcm-sp { background: #2a2a31; color: transparent; border-radius: 4px; padding: 0 3px; cursor: pointer; transition: .2s; text-shadow: none; }
.kcm-sp * { visibility: hidden; }
.kcm-sp.is-open { background: rgba(255,255,255,.07); color: inherit; }
.kcm-sp.is-open * { visibility: visible; }

/* reacții */
.kcm-rx { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.kcm-rx[hidden] { display: none; }
.kcm-rx button { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 9px 0 6px; border-radius: 99px; border: 1px solid var(--kcm-line); background: rgba(255,255,255,.04); color: #ddd; font-size: 12px; cursor: pointer; }
.kcm-rx button img { width: 20px; height: 20px; object-fit: contain; }
.kcm-rxe { font-size: 15px; line-height: 1; }
.kcm-rx button.is-on { border-color: var(--kcm-acc); background: rgba(139,127,214,.2); background: color-mix(in srgb, var(--kcm-acc) 20%, transparent); color: #fff; }
.kcm-rx button b { font-weight: 700; }

/* acțiuni */
.kcm-c__a { display: flex; align-items: center; gap: 2px; margin-top: 6px; color: #a2a2ae; }
.kcm-c__a button { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 8px; border-radius: 8px; border: 0; background: none; color: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.kcm-c__a button:hover { background: rgba(255,255,255,.06); color: #fff; }
.kcm-c__a .kcm-i { font-size: 17px; }
.kcm-v.is-on { color: var(--kcm-acc); }
.kcm-v--d.is-on { color: #f87171; }
.kcm-sep { width: 1px; height: 16px; background: rgba(255,255,255,.14); }
.kcm-mw { position: relative; }
.kcm-mw .kcm-menu { left: 0; right: auto; background: #1d1d22; }

/* fire de răspunsuri */
.kcm-kids { position: relative; margin-top: 4px; padding-left: 16px; border-left: 2px solid rgba(255,255,255,.08); margin-left: -32px; padding-left: 30px; }
.kcm-kids .kcm-kids { margin-left: -26px; }
.kcm-kids.is-flat { margin-left: 0; padding-left: 0; border-left: 0; }
.kcm-vm { display: inline-flex; align-items: center; gap: 6px; margin: 4px 0 6px; border: 0; background: none; color: #b9b9c6; font-weight: 700; font-size: 12.5px; cursor: pointer; padding: 4px 0; }
.kcm-vm:hover { color: #fff; }
.kcm-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 14px; height: 42px; border-radius: 10px; border: 1px solid var(--kcm-line); background: var(--kcm-bg2); color: #ddd; font-weight: 800; cursor: pointer; }
.kcm-more:hover { border-color: var(--kcm-acc); color: #fff; }
.kcm-empty { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 34px 0; color: var(--kcm-mut); text-align: center; }
.kcm-empty .kcm-i { font-size: 34px; opacity: .6; }

/* emoji / stickere */
.kcm-pop { position: absolute; z-index: 100060; width: 320px; max-width: calc(100vw - 16px); border-radius: 14px; background: #1a1a1f; border: 1px solid rgba(255,255,255,.1); box-shadow: 0 18px 44px rgba(0,0,0,.6); color: #eee; overflow: hidden; }
.kcm-pop__tabs { display: flex; border-bottom: 1px solid rgba(255,255,255,.08); }
.kcm-pop__tabs button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 0; background: none; color: #aaa; font-weight: 700; font-size: 13px; cursor: pointer; }
.kcm-pop__tabs button.is-on { color: #fff; box-shadow: inset 0 -2px 0 var(--color-accent, #8b7fd6); }
.kcm-pop__b { max-height: 260px; overflow-y: auto; padding: 8px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) transparent; }
.kcm-pop__b[hidden] { display: none; }
.kcm-emo { display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; }
.kcm-emo button { height: 34px; border: 0; border-radius: 8px; background: none; font-size: 20px; cursor: pointer; }
.kcm-emo button:hover { background: rgba(255,255,255,.08); }
.kcm-stg b { display: flex; align-items: center; gap: 4px; margin: 6px 2px; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; color: #999; }
.kcm-stg b .kcm-i { font-size: 14px; color: #fbbf24; }
.kcm-stk { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.kcm-stk button { aspect-ratio: 1; border: 0; border-radius: 9px; background: rgba(255,255,255,.04); padding: 4px; cursor: pointer; }
.kcm-stk button:hover { background: rgba(255,255,255,.1); }
.kcm-stk button.is-lock { opacity: .35; filter: grayscale(1); }
.kcm-stk img { width: 100%; height: 100%; object-fit: contain; }
.kcm-stl { padding: 20px; text-align: center; color: #999; font-size: 13px; }

.kcm-toast { position: fixed; left: 50%; bottom: 24px; z-index: 100070; display: flex; align-items: center; gap: 8px; max-width: calc(100vw - 32px); padding: 11px 16px; border-radius: 12px; background: #26262c; color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 12px 30px rgba(0,0,0,.5); transform: translate(-50%, 20px); opacity: 0; transition: .25s; }
.kcm-toast .kcm-i { color: #f87171; }
.kcm-toast.is-ok .kcm-i { color: #4ade80; }
.kcm-toast.is-in { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 640px) {
	.kcm-head { padding: 14px; }
	.kcm-body { padding: 6px 12px 14px; }
	.kcm-tab span { display: none; }
	.kcm-tab:first-child span, .kcm-tab.is-on span { display: inline; }
	.kcm-form__av { display: none; }
	.kcm-kids { margin-left: -20px; padding-left: 14px; }
	.kcm-kids .kcm-kids { margin-left: -12px; }
	.kcm-c__a button span:not(.kcm-i) { display: none; }
	.kcm-sort > span { display: none; }
}
