/* ══════════════════════════════════════════════════════════════════════
   TulzCrew — 팀 무대 UI
   ══════════════════════════════════════════════════════════════════════ */

:root {
  --tc-primary: #6366f1;
  --tc-primary-dark: #4f46e5;
  --tc-bg: #f8fafc;
  --tc-surface: #ffffff;
  --tc-border: #e2e8f0;
  --tc-text: #0f172a;
  --tc-muted: #64748b;
  --tc-user: #6366f1;
  --tc-asst-bg: #f1f5f9;

  --tc-stage-bg: linear-gradient(180deg, #eef2ff 0%, #fae8ff 60%, #fdf2f8 100%);
  --tc-stage-floor: linear-gradient(180deg, #c4b5fd 0%, #818cf8 100%);
}

/* ─────────── 레이아웃 ─────────── */
.tc-wrap {
  display: grid;
  grid-template-columns: 260px 1fr;
  max-width: 1280px;
  margin: 1.5rem auto;
  min-height: calc(100vh - 180px);
  background: var(--tc-surface);
  border: 1px solid var(--tc-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(15, 23, 42, .06);
}

/* ─────────── 사이드바 ─────────── */
.tc-side {
  background: var(--tc-bg);
  border-right: 1px solid var(--tc-border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.tc-side-top {
  padding: 1rem;
  border-bottom: 1px solid var(--tc-border);
}
.tc-new-btn {
  width: 100%;
  padding: .65rem;
  background: var(--tc-primary);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s;
  margin-bottom: .75rem;
}
.tc-new-btn:hover { background: var(--tc-primary-dark); }

.tc-quota-label {
  font-size: .72rem;
  color: var(--tc-muted);
  margin-bottom: .3rem;
}
.tc-quota-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: .25rem;
}
.tc-quota-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--tc-primary), #8b5cf6);
  transition: width .3s;
}
.tc-quota-num {
  font-size: .75rem;
  color: var(--tc-muted);
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.tc-side-section {
  flex: 1;
  overflow-y: auto;
  padding: .75rem;
}
.tc-side-title {
  font-size: .7rem;
  font-weight: 800;
  color: var(--tc-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .3rem .3rem .55rem;
}
.tc-conv-item {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--tc-text);
  margin-bottom: .2rem;
  transition: background .15s;
}
.tc-conv-item:hover { background: #fff; color: var(--tc-text); }
.tc-conv-item.active { background: #fff; border: 1px solid var(--tc-primary); }
.tc-conv-title {
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-conv-time {
  font-size: .7rem;
  color: var(--tc-muted);
  margin-top: .1rem;
}
.tc-empty-side {
  font-size: .8rem;
  color: var(--tc-muted);
  text-align: center;
  padding: 1rem .5rem;
}
.tc-side-foot {
  padding: .75rem 1rem;
  border-top: 1px solid var(--tc-border);
  background: var(--tc-bg);
}
.tc-home-link {
  font-size: .8rem;
  color: var(--tc-muted);
  text-decoration: none;
}
.tc-home-link:hover { color: var(--tc-primary); }

/* ─────────── 메인 ─────────── */
.tc-main {
  display: flex;
  flex-direction: column;
  background: var(--tc-surface);
  min-width: 0;
}

/* ══════════════════════════════════════════════════════════════════════
   🎭 팀 무대
   ══════════════════════════════════════════════════════════════════════ */
.tc-stage {
  position: relative;
  background: var(--tc-stage-bg);
  padding: 4rem 1.5rem 0;
  border-bottom: 1px solid var(--tc-border);
  overflow: visible;
  min-height: 240px;
}

.tc-floor {
  position: relative;
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  gap: .5rem;
  padding: 0 .5rem;
  padding-bottom: 1.25rem;
  border-bottom: 3px solid #c4b5fd;
  box-shadow: 0 8px 0 -4px #ddd6fe, 0 2px 0 #a78bfa;
  margin-bottom: .6rem;
  min-height: 120px;
}

.tc-char {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition:
    transform .2s cubic-bezier(.3, 1.3, .5, 1),
    filter .25s,
    opacity .25s;
  animation: tc-idle-bounce 3s ease-in-out infinite;
  user-select: none;
}

.tc-char[data-member="captain"]     { animation-delay: -.2s; }
.tc-char[data-member="secretary"]   { animation-delay: 0s; }
.tc-char[data-member="accountant"]  { animation-delay: -.4s; }
.tc-char[data-member="developer"]   { animation-delay: -.8s; }
.tc-char[data-member="explorer"]    { animation-delay: -1.2s; }
.tc-char[data-member="storyteller"] { animation-delay: -1.6s; }
.tc-char[data-member="editor"]      { animation-delay: -2s; }
.tc-char[data-member="lawyer"]      { animation-delay: -2.4s; }

@keyframes tc-idle-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.tc-char:hover {
  transform: translateY(-6px) scale(1.05);
  filter: drop-shadow(0 4px 10px color-mix(in srgb, var(--mc) 45%, transparent));
}

.tc-char-sprite {
  width: 60px;
  height: 90px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.tc-char-sprite .ch-svg {
  width: 60px;
  height: 90px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .15));
}

.tc-char-label {
  margin-top: .25rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--mc);
  display: flex;
  align-items: center;
  gap: .2rem;
  background: rgba(255, 255, 255, .75);
  padding: .1rem .5rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--mc) 25%, transparent);
  white-space: nowrap;
}
.tc-char-emoji { font-size: .85rem; }

.tc-char-shadow {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 6px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .28), transparent 70%);
  pointer-events: none;
  transition: width .3s, opacity .3s;
}

.tc-char.is-active {
  animation: tc-talk-jump 0.55s cubic-bezier(.3, 1.6, .4, 1) 1;
  z-index: 3;
}
.tc-char.is-active .tc-char-sprite .ch-svg {
  filter:
    drop-shadow(0 2px 0 rgba(0, 0, 0, .2))
    drop-shadow(0 0 10px color-mix(in srgb, var(--mc) 70%, transparent))
    brightness(1.12);
}
.tc-char.is-active .tc-char-label {
  background: var(--mc);
  color: #fff;
  border-color: var(--mc);
  transform: scale(1.08);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--mc) 40%, transparent);
}
.tc-char.is-active .tc-char-shadow {
  width: 60px;
  opacity: .5;
}

@keyframes tc-talk-jump {
  0%   { transform: translateY(0); }
  40%  { transform: translateY(-18px) rotate(-2deg); }
  60%  { transform: translateY(-12px) rotate(2deg); }
  80%  { transform: translateY(-4px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0); }
}

.tc-stage.has-active .tc-char:not(.is-active) {
  opacity: 0.45;
  filter: grayscale(.5);
  animation-play-state: paused;
  transform: scale(0.95);
}
.tc-stage.has-active .tc-char:not(.is-active):hover {
  opacity: 0.7;
  filter: grayscale(.2);
  transform: scale(1) translateY(-3px);
}

/* ══════════════════════════════════════════════════════════════════════
   💬 말풍선 — 무대 상단에 고정, 좌우 안전 영역 보장
   ══════════════════════════════════════════════════════════════════════ */
.tc-speech {
  position: absolute;
  top: .5rem;
  left: 1rem;
  right: 1rem;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid var(--mc, var(--tc-primary));
  border-radius: 16px;
  padding: .65rem 1rem .7rem;
  box-shadow:
    0 6px 20px color-mix(in srgb, var(--mc, var(--tc-primary)) 25%, transparent),
    0 2px 6px rgba(0, 0, 0, .08);
  z-index: 5;
  animation: tc-speech-pop .35s cubic-bezier(.3, 1.5, .5, 1) 1;
  max-height: 150px;
  overflow-y: auto;
  box-sizing: border-box;
}
@keyframes tc-speech-pop {
  0%   { opacity: 0; transform: translateY(8px) scale(.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.tc-speech-name {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .72rem;
  font-weight: 700;
  color: var(--mc, var(--tc-primary));
  margin-bottom: .25rem;
}
.tc-speech-emoji { font-size: .9rem; }
.tc-speech-body {
  font-size: .9rem;
  line-height: 1.5;
  color: var(--tc-text);
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
}

/* 꼬리는 숨김 (안전한 상단 고정 방식이라 꼬리 없어도 됨) */
.tc-speech-tail { display: none; }

/* 무대 메타 */
.tc-stage-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .75rem;
  color: var(--tc-muted);
  padding: .2rem .1rem .5rem;
  flex-wrap: wrap;
  gap: .4rem;
}
.tc-stage-brand b {
  background: linear-gradient(90deg, #6366f1, #ec4899, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: .88rem;
}
.tc-stage-hint {
  font-size: .7rem;
  color: var(--tc-muted);
  font-style: italic;
}

/* 타이핑 */
.tc-speech.is-typing .tc-speech-body {
  display: inline-flex;
  gap: 4px;
  padding: .3rem 0;
}
.tc-speech.is-typing .tc-speech-body::before,
.tc-speech.is-typing .tc-speech-body::after,
.tc-speech.is-typing .tc-speech-body span {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--tc-muted);
  border-radius: 50%;
  animation: tc-dot 1.4s infinite ease-in-out both;
}
.tc-speech.is-typing .tc-speech-body::after { animation-delay: .16s; }
.tc-speech.is-typing .tc-speech-body span { animation-delay: .32s; }
@keyframes tc-dot {
  0%, 80%, 100% { transform: scale(.3); opacity: .4; }
  40% { transform: scale(1); opacity: 1; }
}

/* ══════════════════════════════════════════════════════════════════════
   📦 최신 결과 카드
   ══════════════════════════════════════════════════════════════════════ */
.tc-latest {
  padding: 1rem 1.5rem 0;
  animation: tc-fade-up .3s ease-out;
}
@keyframes tc-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════════════════════════
   📜 대화 로그
   ══════════════════════════════════════════════════════════════════════ */
.tc-log {
  padding: 1rem 1.5rem;
  flex: 1;
}
.tc-log-toggle {
  display: flex;
  align-items: center;
  gap: .45rem;
  background: none;
  border: none;
  color: var(--tc-muted);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  padding: .4rem 0;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.tc-log-toggle:hover { color: var(--tc-text); }
.tc-log-chev { transition: transform .2s; }
.tc-log-toggle[aria-expanded="false"] .tc-log-chev { transform: rotate(-90deg); }
.tc-log-count {
  margin-left: auto;
  background: var(--tc-bg);
  padding: .1rem .5rem;
  border-radius: 10px;
  font-size: .7rem;
}
.tc-log-body { padding-top: .6rem; }
.tc-log-body.is-collapsed { display: none; }

/* Welcome */
.tc-welcome {
  text-align: center;
  padding: 2rem 1rem;
}
.tc-welcome-head h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: .3rem;
}
.tc-welcome-head p {
  color: var(--tc-muted);
  margin-bottom: 1.2rem;
}
.tc-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
}
.tc-suggest {
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid var(--tc-border);
  border-radius: 20px;
  font-size: .82rem;
  color: var(--tc-text);
  cursor: pointer;
  transition: all .15s;
}
.tc-suggest:hover {
  background: var(--tc-primary);
  color: #fff;
  border-color: var(--tc-primary);
  transform: translateY(-1px);
}

/* 로그 내 메시지 */
.tc-msg { margin-bottom: 1rem; }
.tc-msg-user { text-align: right; }
.tc-msg-user .tc-msg-bubble {
  display: inline-block;
  background: var(--tc-user);
  color: #fff;
  padding: .55rem .85rem;
  border-radius: 16px 16px 4px 16px;
  max-width: 75%;
  font-size: .88rem;
  line-height: 1.5;
  text-align: left;
  word-wrap: break-word;
}
.tc-msg-user .tc-msg-time {
  font-size: .68rem;
  color: var(--tc-muted);
  margin-top: .2rem;
}

.tc-msg-asst {
  background: var(--tc-bg);
  padding: .7rem .85rem;
  border-radius: 10px;
  border-left: 3px solid var(--mc, var(--tc-primary));
}
.tc-msg-head {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: .35rem;
}
.tc-msg-emoji { font-size: .9rem; }
.tc-msg-name {
  font-size: .78rem;
  font-weight: 800;
  color: var(--mc, var(--tc-primary));
}
.tc-msg-title {
  font-size: .68rem;
  color: var(--tc-muted);
}
.tc-msg-bubble {
  font-size: .88rem;
  line-height: 1.5;
  color: var(--tc-text);
}
.tc-msg-time {
  font-size: .68rem;
  color: var(--tc-muted);
  margin-top: .4rem;
}

/* 결과 카드 */
.tc-card {
  background: #fff;
  border: 1px solid var(--tc-border);
  border-top: 3px solid var(--mc, var(--tc-primary));
  border-radius: 10px;
  padding: .85rem;
  margin-top: .5rem;
}

.tc-latest .tc-card {
  padding: 1.2rem 1.3rem;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(15, 23, 42, .05);
}
.tc-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--mc, var(--tc-primary));
  margin-bottom: .6rem;
  letter-spacing: -.01em;
}
.tc-card-fields {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.tc-card-row {
  display: flex;
  justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: .88rem;
}
.tc-card-row:last-child { border-bottom: none; }
.tc-card-label { color: var(--tc-muted); }
.tc-card-value { font-weight: 600; font-variant-numeric: tabular-nums; }
.tc-card-link {
  display: inline-block;
  margin-top: .65rem;
  font-size: .8rem;
  color: var(--mc, var(--tc-primary));
  text-decoration: none;
  font-weight: 600;
}
.tc-card-link:hover { text-decoration: underline; }

/* 딥링크 */
.tc-deeplink {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: .5rem;
  padding: .55rem 1rem;
  background: var(--mc, var(--tc-primary));
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: .85rem;
  font-weight: 600;
  transition: opacity .15s, transform .1s;
}
.tc-deeplink:hover { color: #fff; opacity: .9; transform: translateY(-1px); }
.tc-deeplink-slug {
  font-size: .7rem;
  opacity: .75;
  background: rgba(255, 255, 255, .2);
  padding: .1rem .4rem;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
}

.tc-err {
  margin-top: .5rem;
  padding: .6rem .9rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 10px;
  font-size: .82rem;
  color: #b91c1c;
}
.tc-err a { color: var(--tc-primary); margin-left: .5rem; }

/* ═════════ 입력창 ═════════ */
.tc-input-wrap {
  padding: .85rem 1.5rem;
  border-top: 1px solid var(--tc-border);
  background: #fff;
  display: flex;
  gap: .6rem;
  align-items: flex-end;
  position: sticky;
  bottom: 0;
}
.tc-input {
  flex: 1;
  min-height: 42px;
  max-height: 160px;
  padding: .7rem 1rem;
  border: 1px solid var(--tc-border);
  border-radius: 12px;
  font-size: .92rem;
  line-height: 1.4;
  resize: none;
  outline: none;
  font-family: inherit;
  transition: border-color .15s;
}
.tc-input:focus { border-color: var(--tc-primary); }
.tc-send {
  width: 42px;
  height: 42px;
  background: var(--tc-primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, transform .1s;
}
.tc-send:hover { background: var(--tc-primary-dark); }
.tc-send:active { transform: scale(.95); }
.tc-send:disabled { background: #cbd5e1; cursor: not-allowed; }

.tc-disclaimer {
  text-align: center;
  font-size: .7rem;
  color: var(--tc-muted);
  padding: .3rem 1rem .7rem;
  margin: 0;
  background: #fff;
}

/* ═════════ 모바일 ═════════ */
@media (max-width: 820px) {
  .tc-wrap {
    grid-template-columns: 1fr;
    border-radius: 0;
    border-left: none;
    border-right: none;
  }
  .tc-side {
    position: fixed;
    left: -280px;
    top: 0;
    bottom: 0;
    width: 260px;
    z-index: 100;
    transition: left .25s;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .1);
  }
  .tc-side.open { left: 0; }
  .tc-stage {
    padding: 3.5rem .9rem 0;
    min-height: 200px;
  }
  .tc-floor {
    gap: .2rem;
    padding-bottom: 1rem;
    min-height: 95px;
  }
  .tc-char-sprite, .tc-char-sprite .ch-svg {
    width: 40px;
    height: 60px;
  }
  .tc-char-label { font-size: .65rem; padding: .05rem .4rem; }
  .tc-char-name { display: none; }
  .tc-char-emoji { font-size: .85rem; }
  .tc-speech {
    left: .5rem;
    right: .5rem;
    padding: .55rem .8rem;
    font-size: .85rem;
    max-height: 130px;
  }
  .tc-speech-body { font-size: .85rem; }
  .tc-log, .tc-latest, .tc-input-wrap { padding-left: 1rem; padding-right: 1rem; }
}

/* ─── AppTulz 전역 Bootstrap toast 숨김 (TulzCrew 한정) ─── */
body > div[aria-live="polite"][aria-atomic="true"] {
  display: none !important;
}

/* ─── tc-wrap 아래 도구 안내(Guide) 박스와의 간격 ─── */
.tc-wrap + .container,
.tc-wrap ~ .container.flex-grow-1 {
  margin-top: 0.5rem;
}

/* ══════════════════════════════════════════════════════════════════════
   🪟 팀원 프로필 모달
   ══════════════════════════════════════════════════════════════════════ */
.tc-modal[hidden] { display: none !important; }

.tc-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: tc-modal-in .2s ease-out;
}
@keyframes tc-modal-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
.tc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .55);
  backdrop-filter: blur(4px);
}
.tc-modal-card {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 1.5rem 1.6rem 1.25rem;
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
  border-top: 5px solid var(--mc, var(--tc-primary));
  animation: tc-modal-pop .25s cubic-bezier(.3, 1.3, .5, 1);
}
@keyframes tc-modal-pop {
  from { transform: scale(.9) translateY(10px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}
.tc-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: var(--tc-muted);
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background .15s;
}
.tc-modal-close:hover { background: #f1f5f9; color: var(--tc-text); }

.tc-modal-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.tc-modal-sprite {
  width: 80px;
  height: 120px;
  flex: 0 0 80px;
  background: color-mix(in srgb, var(--mc) 10%, #fff);
  border-radius: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 6px 0;
}
.tc-modal-sprite svg {
  width: 60px;
  height: 90px;
  image-rendering: pixelated;
}
.tc-modal-headinfo { flex: 1; min-width: 0; }
.tc-modal-emoji {
  font-size: 1.1rem;
  margin-bottom: 2px;
}
.tc-modal-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--mc);
  letter-spacing: -.02em;
  line-height: 1.1;
}
.tc-modal-title {
  font-size: .82rem;
  color: var(--tc-muted);
  margin-top: 2px;
}
.tc-modal-intro {
  font-size: .92rem;
  line-height: 1.6;
  color: var(--tc-text);
  background: var(--tc-bg);
  padding: .85rem 1rem;
  border-radius: 10px;
  border-left: 3px solid var(--mc);
  margin-bottom: 1.1rem;
}
.tc-modal-section {
  margin-bottom: 1.2rem;
}
.tc-modal-section-title {
  font-size: .72rem;
  font-weight: 800;
  color: var(--tc-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: .5rem;
}
.tc-modal-section-title span {
  color: var(--mc);
  margin-left: 2px;
}
.tc-modal-tools {
  display: flex;
  flex-wrap: wrap;
  gap: .3rem;
}
.tc-modal-tools:empty::before {
  content: "— 전담 도구 없음 (대화/상담 담당)";
  font-size: .8rem;
  color: var(--tc-muted);
  font-style: italic;
}
.tc-modal-chip {
  background: color-mix(in srgb, var(--mc) 12%, #fff);
  color: var(--mc);
  font-family: ui-monospace, monospace;
  font-size: .72rem;
  padding: .25rem .55rem;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--mc) 25%, transparent);
}
.tc-modal-mention {
  width: 100%;
  background: var(--mc, var(--tc-primary));
  color: #fff;
  border: none;
  padding: .8rem 1rem;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s, transform .1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.tc-modal-mention:hover { opacity: .9; transform: translateY(-1px); }
.tc-modal-mention:active { transform: scale(.98); }

@media (max-width: 480px) {
  .tc-modal-card { padding: 1.2rem 1.1rem 1rem; }
  .tc-modal-head { flex-direction: column; text-align: center; }
  .tc-modal-sprite { align-self: center; }
}