.tc{margin:40px 0 24px;padding:26px;border:1px solid #343048;border-radius:16px;background:#12111c;color:#e9e6f0;font:14px/1.5 system-ui,sans-serif;text-align:left}
.tc *{box-sizing:border-box}.tc [hidden]{display:none!important}
.tc-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.tc-heading h2{font-size:21px;color:#faf9ff;margin:0}.tc-heading>span,.tc time,.tc-empty{color:#aaa4b9;font-size:12px}
#tc-count{font-size:15px;color:#aaa4b9;margin-left:7px}
.tc button,.tc summary,.tc-upload{font:inherit;cursor:pointer;color:#ded9eb}
.tc button{border:1px solid transparent;border-radius:18px;background:transparent;padding:7px 11px;min-height:36px}
.tc button:hover,.tc summary:hover,.tc-upload:hover{background:#292637;color:#fff}
.tc button:focus-visible,.tc summary:focus-visible,.tc-upload:focus-within{outline:2px solid #00cfff;outline-offset:3px}
.tc button:disabled{opacity:.55;cursor:default}.tc a{color:#73dfff}
.tc-composer{margin-bottom:24px}.tc-composer>label{font-size:14px;font-weight:600;display:block;margin-bottom:10px}
.tc textarea{display:block;resize:vertical;width:100%;min-height:90px;max-height:350px;background:#191724;color:#f4f0ff;border:1px solid #454057;border-radius:10px;padding:12px;font:inherit}
.tc textarea:focus{outline:2px solid #00cfff;outline-offset:1px}
.tc-compose-tools,.tc-attachments{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.tc-compose-tools{justify-content:space-between;margin-top:10px}
.tc button.tc-primary{background:#81dfff;color:#071a22;font-weight:700;border-radius:20px;padding:9px 22px}
.tc button.tc-primary:hover{background:#acf0ff}.tc-upload{border-radius:18px;padding:7px 10px;position:relative;overflow:hidden}
.tc-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}
#tc-file{font-size:12px;color:#aaa4b9;overflow-wrap:anywhere}#tc-message{color:#8de4ff;overflow-wrap:anywhere}#tc-message:empty{display:none}#tc-message.tc-error{color:#ffadb7}
.tc-replying{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#203142;padding:7px 12px;border-radius:9px;margin-bottom:10px;color:#99e7ff}
.tc-comment{display:flex;gap:12px;padding:19px 0;border-bottom:1px solid #ffffff0c}
.tc-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;flex:none;display:grid;place-items:center;background:linear-gradient(135deg,#126b83,#604598);color:#fff;font-weight:700}.tc-avatar img{width:100%;height:100%;object-fit:cover}
.tc-body{min-width:0;flex:1}.tc-byline{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.tc-byline strong{color:#f3efff;font-size:13px;overflow-wrap:anywhere}
.tc-text{white-space:pre-wrap;overflow-wrap:anywhere;margin:6px 0 10px;line-height:1.6;color:#e4e0ed}
.tc-image{display:block;max-width:min(100%,240px);max-height:200px;object-fit:contain;border-radius:10px;margin:10px 0}
.tc-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.tc-actions button{font-size:12px}
.tc button.tc-reaction{display:inline-flex;align-items:center;gap:6px;background:#292733;border:1px solid #393542;border-radius:9px;padding:3px 9px;min-height:31px}.tc-reaction span:first-child{font-size:20px;line-height:1.2}
.tc button.tc-reaction[aria-pressed=true]{background:#163744;border-color:#44cbe9;color:#a0efff}
.tc button.tc-gift{color:#f0cf79}.tc button.tc-gift:disabled{opacity:1;background:#3a301b;color:#e5cb88;border-color:#625332}
.tc-gift-total{color:#ceb56e;font-size:11px;padding:3px}
.tc-picker{position:relative;display:inline-block}.tc-picker summary{list-style:none;padding:6px 9px;border-radius:12px;font-size:13px}.tc-picker summary::-webkit-details-marker{display:none}
.tc-emoji-options{display:grid;grid-template-columns:repeat(6,36px);gap:4px;position:absolute;top:calc(100% + 6px);left:0;background:#242131;border:1px solid #524866;padding:8px;border-radius:12px;z-index:20;box-shadow:0 8px 25px #0008;max-width:calc(100vw - 72px)}
.tc .tc-emoji-options button{font-size:22px;padding:2px;width:36px;height:36px;border-radius:7px}
.tc button.tc-replies-toggle{display:block;color:#7ddfff;font-weight:600;margin-top:8px;padding-left:0}
.tc-replies{border-left:1px solid #3b354b;padding-left:14px;margin-top:4px}.tc-replies .tc-avatar{width:28px;height:28px}.tc-replies .tc-replies{padding-left:6px;margin-left:0}
.tc button.tc-more{color:#92e6ff;border:1px solid #414357;padding:9px 20px;margin-top:18px}
.tc-empty{padding:22px 0;font-size:14px}.tc-login{margin:12px 0 24px}
@media(max-width:600px){.tc{padding:16px;margin-top:24px}.tc-heading>span{width:100%}.tc-comment{gap:9px}.tc-avatar{width:32px;height:32px}.tc-replies{padding-left:8px}.tc-compose-tools{align-items:flex-start}.tc-composer .tc-primary{margin-left:auto}.tc-emoji-options{grid-template-columns:repeat(4,36px)}.tc-replying{align-items:flex-start;flex-direction:column}}

/* Reset generic site details styling so the reaction control stays compact. */
.tc details.tc-picker{display:inline-block;width:auto;min-width:0;min-height:0;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;vertical-align:middle}
.tc details.tc-picker>summary{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:32px;height:32px;min-height:32px;min-width:32px;max-width:32px;padding:0;margin:0;border:1px solid #393542;border-radius:9px;background:#292733;color:#ded9eb;line-height:1;font-size:19px;list-style:none;box-shadow:none}
.tc details.tc-picker>summary::before,.tc details.tc-picker>summary::after{display:none;content:none}
.tc .tc-upload-note{font-size:11px;color:#aaa4b9;max-width:260px;line-height:1.4}
.tc-comment[data-rank]{--rank-color:#d4ac58}
.tc-comment[data-rank=plata]{--rank-color:#c7d0df}.tc-comment[data-rank=oro]{--rank-color:#f0cd70}.tc-comment[data-rank=diamante]{--rank-color:#75ddf5}.tc-comment[data-rank=mafia],.tc-comment[data-rank=admin]{--rank-color:#c290ff}
.tc-comment[data-rank]>.tc-avatar{border:1px solid var(--rank-color);box-shadow:0 0 9px #e7c26a38}
.tc-comment[data-rank]>.tc-body>.tc-byline>strong{color:var(--rank-color);text-shadow:0 0 10px #e7c26a30}
.tc .tc-rank-wrap{position:relative;display:inline-flex;align-items:center}
.tc .tc-rank-badge{display:inline-flex;align-items:center;gap:4px;padding:2px 6px;min-height:26px;line-height:1.2;border:1px solid #ffffff18;border-radius:7px;background:#ffffff06;color:var(--rank-color);font-size:11px;font-weight:650}
.tc .tc-rank-badge:hover{color:var(--rank-color);background:#ffffff0e}
.tc .tc-rank-badge svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 3px #e7c26a40)}
.tc .tc-rank-tooltip{position:absolute;left:0;bottom:calc(100% + 7px);padding:5px 9px;border:1px solid #655074;background:#21192f;color:#f1e6ff;border-radius:6px;white-space:nowrap;z-index:25;font-size:12px;box-shadow:0 4px 15px #0006}
