/* TouchClass Cookie Consent Banner (GDPR + Consent Mode v2) */
#tc-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1a1a1f;
  color: #fff;
  z-index: 10000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
  padding: 20px 24px;
  font-size: 14px;
  line-height: 1.6;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
}
.tc-cookie-banner__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}
.tc-cookie-banner__text {
  flex: 1 1 400px;
}
.tc-cookie-banner__msg {
  margin: 0 0 6px;
  color: #e5e5ea;
}
.tc-cookie-banner__diff {
  margin: 0;
  color: #a7a7b0;
  font-size: 13px;
  line-height: 1.55;
}
.tc-cookie-banner__link {
  color: #a8b5ff;
  text-decoration: underline;
}
.tc-cookie-banner__link:hover {
  color: #c5cdff;
}
.tc-cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.tc-cookie-banner__btn {
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: background 0.15s ease, border-color 0.15s ease;
  font-family: inherit;
}
.tc-cookie-banner__btn--primary {
  background: #533bff;
  color: #fff;
}
.tc-cookie-banner__btn--primary:hover {
  background: #4b35e0;
}
.tc-cookie-banner__btn--secondary {
  background: transparent;
  color: #e5e5ea;
  border: 1px solid #5a5a66;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.tc-cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #8a8a98;
}
.tc-cookie-banner__btn:focus-visible {
  outline: 2px solid #a8b5ff;
  outline-offset: 2px;
}
.tc-cookie-banner__panel {
  flex: 1 1 100%;
  margin-top: 8px;
  padding: 16px 18px;
  background: #242430;
  border: 1px solid #3a3a48;
  border-radius: 10px;
}
.tc-cookie-banner__panel[hidden] {
  display: none;
}
.tc-cookie-banner__panel-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}
.tc-cookie-banner__cats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.tc-cookie-banner__cat {
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}
.tc-cookie-banner__cat-head {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-weight: 500;
  color: #fff;
}
.tc-cookie-banner__cat-head input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #533bff;
  cursor: pointer;
}
.tc-cookie-banner__cat-head input[disabled] {
  cursor: not-allowed;
}
.tc-cookie-banner__cat-label {
  font-size: 14px;
}
.tc-cookie-banner__cat-desc {
  margin: 4px 0 0 24px;
  color: #a7a7b0;
  font-size: 12.5px;
  line-height: 1.55;
}
.tc-cookie-banner__panel-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 12px;
}
@media (max-width: 600px) {
  #tc-cookie-banner {
    padding: 16px;
  }
  .tc-cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .tc-cookie-banner__text {
    flex: 0 0 auto;
  }
  .tc-cookie-banner__actions {
    justify-content: stretch;
  }
  .tc-cookie-banner__btn {
    flex: 1 1 auto;
  }
  .tc-cookie-banner__panel {
    padding: 14px;
  }
}
