

#codeLab .tc-themebtn {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  height: 32px; padding: 0 11px; margin-left: auto;
  font: 600 .79rem/1 var(--font-body, inherit); white-space: nowrap; cursor: pointer;
  color: var(--code-text, #e6edf3); background: rgba(255, 255, 255, .04);
  border: 1px solid color-mix(in srgb, var(--code-muted, #6e7681) 26%, transparent); border-radius: 8px;
}
#codeLab .tc-themebtn:hover,
#codeLab .tc-themebtn:focus-visible {
  background: color-mix(in srgb, var(--plx-accent, #2f81f7) 18%, transparent);
  border-color: var(--plx-accent, #2f81f7); outline: none;
}
#codeLab .tc-themebtn > svg { width: 15px; height: 15px; flex: none; }

.tc-themepop {
  position: fixed; z-index: 2200; width: 296px; max-height: 76vh; overflow: auto;
  background: #0c1730; border: 1px solid rgba(120, 170, 255, .28); border-radius: 14px;
  box-shadow: 0 26px 70px -22px rgba(0, 0, 0, .85); padding: 13px;
}
.tc-themepop-h { font-size: 11px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; color: #8ba0c8; margin: 2px 2px 11px; }
.tc-themegrid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.tc-themecard {
  display: flex; flex-direction: column; gap: 7px; padding: 8px; cursor: pointer;
  background: rgba(255, 255, 255, .03); border: 1.5px solid transparent; border-radius: 10px; text-align: left;
  font: inherit;
}
.tc-themecard:hover { background: rgba(31, 123, 255, .12); }
.tc-themecard:focus-visible { outline: 2px solid #3aa0ff; outline-offset: 2px; }
.tc-themecard.is-on { border-color: #3aa0ff; background: rgba(31, 123, 255, .16); }
.tc-themecard .tc-sw { display: flex; align-items: center; gap: 5px; height: 42px; border-radius: 7px; padding: 0 11px; border: 1px solid rgba(255, 255, 255, .09); }
.tc-themecard .tc-sw i { display: block; width: 11px; height: 11px; border-radius: 50%; }
.tc-themecard .tc-themename { font-size: 12.5px; font-weight: 600; color: #dce7fb; }

@media (max-width: 700px) {
  #codeLab .tc-themebtn { padding: 0 9px; }
  #codeLab .tc-themebtn > span { display: none; }
  .tc-themepop { width: calc(100vw - 24px); max-width: 320px; }
}
