#captcha-root[hidden] {
  display: none !important;
}

#captcha-root {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: auto;
  background: #fff;
  color-scheme: light;
}

.cf,
.cf * {
  box-sizing: border-box;
}

.cf {
  position: relative;
  min-height: 100%;
  background: #fff;
  color: #1c1c1c;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.cf-loadbar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 2;
  height: 3px;
  width: 0;
  background: #f38020;
  animation: cf-load 1.7s cubic-bezier(0.2, 0.6, 0.2, 1) forwards;
}

.cf-loadbar[hidden] {
  display: none !important;
}

@keyframes cf-load {
  0% { width: 0; }
  18% { width: 16%; }
  48% { width: 41%; }
  78% { width: 76%; }
  100% { width: 100%; }
}

.cf-main {
  min-height: 100%;
}

.cf-center {
  box-sizing: border-box;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14vh 16px 96px;
  text-align: center;
}

.cf-host {
  margin: 16px 0 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.cf-lead {
  margin: 0 0 18px;
  max-width: 28rem;
  font-size: 16px;
  line-height: 1.45;
  color: #313131;
}

.cf-lead.is-bad {
  color: #b42318;
  font-size: 20px;
  font-weight: 700;
}

.cf-note {
  margin: 18px 0 0;
  max-width: 26rem;
  font-size: 13px;
  line-height: 1.5;
  color: #595959;
}

.cf-spin-lg {
  width: 34px;
  height: 34px;
  margin: 10px 0 16px;
  border: 3px solid #ececec;
  border-top-color: #f38020;
  border-radius: 50%;
  animation: cf-spin 0.75s linear infinite;
}

@keyframes cf-spin {
  to { transform: rotate(360deg); }
}

.cf-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 420px);
  min-height: 74px;
}

.cf-stage.is-roomy {
  min-height: 220px;
  touch-action: none;
}

.cf-widget {
  width: 300px;
  min-height: 65px;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  border: 1px solid #d9d9d9;
  background: #fafafa;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.cf-widget-hit {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 10px 8px 10px 12px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.cf-widget-hit:focus-visible {
  outline: 2px solid #f38020;
  outline-offset: -2px;
}

.cf-tick {
  position: relative;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  box-sizing: border-box;
  border: 2px solid #c4c4c4;
  border-radius: 2px;
  background: #fff;
}

.cf-widget-hit:hover .cf-tick {
  border-color: #8d8d8d;
}

.cf-tick.is-wait {
  border-color: #f0f0f0;
  border-top-color: #f38020;
  border-radius: 50%;
  animation: cf-spin 0.7s linear infinite;
}

.cf-tick.is-green {
  border-color: #2f9e44;
  background: #e7f6ec;
}

.cf-tick.is-ok {
  border-color: #2f9e44;
  background: #2f9e44;
  animation: none;
}

.cf-tick.is-ok::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 4px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.cf-tick.is-bad {
  border-color: #d1242f;
  background: #d1242f;
  animation: none;
}

.cf-tick.is-bad::before,
.cf-tick.is-bad::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 5px;
  width: 2px;
  height: 16px;
  background: #fff;
}

.cf-tick.is-bad::before { transform: rotate(45deg); }
.cf-tick.is-bad::after { transform: rotate(-45deg); }

.cf-widget-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
}

.cf-widget-title {
  font-size: 14px;
  line-height: 1.25;
  color: #333;
  white-space: nowrap;
}

.cf-widget-title.is-bad {
  color: #b42318;
  font-weight: 650;
}

.cf-widget-links {
  display: block;
  font-size: 10px;
  line-height: 1.2;
  color: #737373;
  white-space: nowrap;
}

.cf-widget-links span + span::before {
  content: " · ";
}

.cf-mark {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding-right: 12px;
  color: #222;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.cf-counter {
  margin: 12px 0 0;
  color: #595959;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.cf-timer {
  width: 300px;
  height: 3px;
  margin-top: 8px;
  background: #ececec;
}

.cf-timer > span {
  display: block;
  height: 100%;
  width: 100%;
  background: #f38020;
  transform-origin: left center;
}

.cf-card {
  width: min(440px, calc(100vw - 28px));
  background: #fff;
  border: 1px solid #e4e4e4;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
  text-align: left;
}

.cf-card.is-weird,
.cf-card.is-feral,
.cf.is-feral .cf-widget {
  animation: cf-flicker 6.5s infinite;
}

.cf-card.is-feral {
  animation-duration: 2.8s;
}

.cf-card.is-shake,
.cf-widget.is-shake {
  animation: cf-shake 0.36s linear;
}

@keyframes cf-shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(7px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

@keyframes cf-flicker {
  0%, 94%, 100% { filter: none; }
  95% { filter: saturate(1.8) hue-rotate(18deg); }
  97% { filter: none; }
}

.cf-card-head {
  margin: 0;
  padding: 16px 16px 14px;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: #202124;
}

.cf-card-head strong {
  font-weight: 750;
}

.cf-status {
  margin: 0;
  padding: 8px 16px 0;
  color: #595959;
  font-size: 13px;
}

.cf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: #e6e6e6;
}

.cf-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.cf-tile,
.cf-pad {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  background: #dedede;
  overflow: hidden;
  cursor: pointer;
}

.cf-tile svg,
.cf-tile .cf-photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cf-tile.is-on {
  outline: 3px solid #f38020;
  outline-offset: -3px;
}

.cf-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  display: none;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: #f38020;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

.cf-tile.is-on .cf-badge {
  display: grid;
}

.cf-tile.cf-word {
  display: grid;
  place-items: center;
  padding: 8px;
  background: #f6f3ec;
  color: #1d1d1d;
  font-size: 15px;
  line-height: 1.25;
  text-align: center;
}

.cf-tile.cf-word.is-emoji {
  font-size: 40px;
}

.cf-pad {
  background: #e7e7e7;
}

.cf-pad.is-flash { background: #f38020; }
.cf-pad.is-good { background: #2f9e44; }
.cf-pad.is-bad { background: #d1242f; }
.cf-pad:disabled {
  opacity: 1;
  cursor: default;
}

.cf-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
}

.cf-helper,
.cf-msg {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
  color: #666;
  text-align: left;
}

.cf-msg {
  color: #b42318;
}

.cf-verify,
.cf-textbtn,
.cf-choice,
.cf-again {
  font: inherit;
  cursor: pointer;
}

.cf-verify,
.cf-again {
  flex: 0 0 auto;
  border: 0;
  border-radius: 3px;
  padding: 8px 16px;
  background: #f38020;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
}

.cf-verify:hover,
.cf-again:hover {
  background: #e06f0e;
}

.cf-textbtn,
.cf-choice {
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  color: #222;
}

.cf-textbtn {
  padding: 8px 12px;
  font-size: 14px;
}

.cf-textbtn:hover,
.cf-choice:hover {
  border-color: #f38020;
}

.cf-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.cf-choice {
  width: 100%;
  padding: 10px 12px;
  text-align: left;
  font-size: 15px;
}

.cf-choice.is-bad {
  border-color: #d1242f;
  background: #fff5f5;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
}

.cf-canvas-img,
.cf-canvas {
  width: 100%;
  border: 1px solid #e4e4e4;
  background: #f4f1e8;
  touch-action: none;
}

.cf-canvas {
  display: block;
  height: 180px;
  cursor: crosshair;
}

.cf-input {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1px solid #cfcfcf;
  border-radius: 3px;
  background: #fff;
  color: #1c1c1c;
  font: inherit;
  font-size: 16px;
}

.cf-input:focus {
  outline: 2px solid #f38020;
  border-color: transparent;
}

.cf-fine {
  margin: 0;
  color: #888;
  font-size: 11px;
}

.cf-transcript {
  margin: 0;
  color: #7a7a7a;
  font-size: 13px;
  font-style: italic;
}

.cf-blip {
  width: 28px;
  height: 28px;
  margin: 2px auto 0;
  border-radius: 50%;
  background: #dedede;
}

.cf-blip.is-on {
  background: #f38020;
}

.cf-stimulus {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
  word-break: break-word;
}

.cf-stimulus.is-mono {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.cf-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin: 12px 0 0;
}

.cf-dots i {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ddd;
}

.cf-dots i.is-on {
  background: #f38020;
}

.cf-chip {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  vertical-align: -3px;
}

.cf-swatch {
  width: 120px;
  height: 72px;
  margin: 0 auto 8px;
  border: 1px solid #e4e4e4;
}

.cf-stroop {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cf-faint {
  margin: 0;
  font-size: 40px;
  font-weight: 700;
  color: #c6c6c6;
}

.cf-arena {
  position: relative;
  width: min(420px, calc(100% - 16px));
  height: 220px;
  margin: 8px;
  overflow: hidden;
  background: #f3f6fa;
  touch-action: none;
}

.cf-dot,
.cf-ball {
  position: absolute;
  border: 0;
  padding: 0;
  border-radius: 50%;
}

.cf-dot {
  width: 22px;
  height: 22px;
  background: #8aa0b8;
}

.cf-dot.is-hot {
  background: #f38020;
}

.cf-ball {
  width: 18px;
  height: 18px;
  background: #f38020;
}

.cf-mirror-line {
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 50%;
  width: 1px;
  background: #d5d5d5;
}

.cf-still {
  width: 72px;
  height: 72px;
  margin: 28px auto;
  border: 8px solid #f0f0f0;
  border-radius: 50%;
  background: #fafafa;
}

.cf-still.is-go {
  border-color: #f38020;
}

.cf-keycap {
  width: 132px;
  height: 42px;
  margin: 28px auto;
  border: 2px solid #ccc;
  border-radius: 8px;
  background: linear-gradient(#fff, #f3f3f3);
}

.cf-cell {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 8px auto;
  border: 1px solid #ccc;
  background: #fff;
}

.cf-cell b {
  position: absolute;
  top: 6px;
  left: 8px;
  font-size: 13px;
}

.cf-arrow-show {
  min-height: 72px;
  margin: 0;
  font-size: 56px;
  line-height: 1.2;
}

.cf-movers {
  position: relative;
  height: 180px;
}

.cf-mover {
  position: absolute;
  border: 0;
  background: transparent;
  font-size: 28px;
  cursor: pointer;
  animation: cf-drift 2.4s linear infinite;
}

.cf-mover.is-back {
  animation-direction: reverse;
}

@keyframes cf-drift {
  from { transform: translateX(12px); }
  to { transform: translateX(250px); }
}

.cf-pop {
  position: absolute;
  animation: cf-pop 1.6s ease-in-out infinite alternate;
}

.cf-pop.is-real {
  animation: none;
}

@keyframes cf-pop {
  from { transform: translate(0, 0); }
  to { transform: translate(28px, 18px); }
}

.cf-widget.is-flip {
  transform: rotate(180deg);
}

.cf-order {
  display: flex;
  gap: 12px;
  justify-content: center;
  padding: 16px;
}

.cf-slot {
  width: 76px;
  height: 76px;
  border: 1px dashed #cfcfcf;
  background: #fafafa;
}

.cf-blob {
  width: 48px;
  height: 48px;
  margin: 14px auto;
  border-radius: 50%;
  background: #243140;
  cursor: grab;
  touch-action: none;
}

.cf-plate {
  display: block;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  border-radius: 50%;
  background: #efe6cf;
}

.cf-readout {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.cf-mini .cf-verify {
  margin-top: 12px;
}

.cf-scene-emoji {
  margin: 4px 0 10px;
  font-size: 52px;
  line-height: 1;
  text-align: center;
}

.cf-track {
  position: relative;
  height: 22px;
  margin: 8px 0 14px;
  overflow: hidden;
  border-radius: 11px;
  background: #ececec;
}

.cf-good {
  position: absolute;
  top: 0;
  bottom: 0;
  background: rgba(47, 158, 68, 0.35);
}

.cf-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  background: #f38020;
}

.cf-steps,
.cf-picks {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cf-maze {
  display: grid;
  grid-template-columns: repeat(5, 36px);
  gap: 3px;
  justify-content: center;
  margin: 8px 0;
}

.cf-maze i {
  width: 36px;
  height: 36px;
  background: #ececec;
}

.cf-maze i.is-wall { background: #2a2a2a; }
.cf-maze i.is-player { background: #f38020; }
.cf-maze i.is-goal { background: #2f9e44; }

.cf-code {
  width: 100%;
  min-height: 150px;
  padding: 10px;
  border: 1px solid #ccc;
  background: #f6f6f4;
  color: #1c1c1c;
  font-family: ui-monospace, Consolas, monospace;
  font-size: 14px;
  line-height: 1.45;
}

.cf-target {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 8px auto;
  border-radius: 50%;
  background: radial-gradient(circle, #f4f4f4 0 18%, #f38020 19% 38%, #f4f4f4 39% 58%, #243140 59% 100%);
  cursor: crosshair;
}

.cf-turn {
  width: 88px;
  height: 88px;
  margin: 12px auto;
  background: #243140;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 28px;
  cursor: pointer;
}

.cf-slider {
  position: relative;
  height: 46px;
  margin: 16px;
  border: 1px solid #d0d0d0;
  border-radius: 4px;
  background: #f7f7f7;
  touch-action: none;
  user-select: none;
}

.cf-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 14%;
  background: rgba(47, 158, 68, 0.22);
  border-left: 2px solid #2f9e44;
  border-right: 2px solid #2f9e44;
  box-sizing: border-box;
}

.cf-thumb {
  position: absolute;
  top: 5px;
  left: 0;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: #f38020;
  cursor: grab;
  touch-action: none;
}

.cf-thumb.is-down {
  cursor: grabbing;
}

.cf-drag-stage {
  position: relative;
  height: 240px;
  margin: 8px;
  touch-action: none;
}

.cf-drag-logo,
.cf-drop {
  position: absolute;
  display: grid;
  place-items: center;
}

.cf-drag-logo {
  width: 72px;
  height: 52px;
  cursor: grab;
  touch-action: none;
}

.cf-drag-logo.is-down {
  cursor: grabbing;
}

.cf-drop {
  width: 64px;
  height: 64px;
  border: 2px solid #c4c4c4;
  background: #fff;
}

.cf-scroll {
  height: 140px;
  margin: 12px 14px 0;
  padding: 10px 12px;
  overflow: auto;
  border: 1px solid #e4e4e4;
  background: #fafafa;
  color: #333;
  font-size: 13px;
  line-height: 1.45;
}

.cf-scroll p {
  margin: 0 0 10px;
}

.cf-agree {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 12px 14px 0;
  font-size: 14px;
}

.cf-row {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.cf-end {
  margin-top: 16px;
  max-width: 26rem;
  color: #595959;
  font-size: 14px;
  line-height: 1.45;
}

.cf-end strong {
  display: block;
  margin-bottom: 6px;
  color: #b42318;
  font-size: 18px;
}

.cf-end-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
}

.cf-leave {
  border: 0;
  background: transparent;
  color: #595959;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cf-foot {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px 16px;
  align-items: end;
  box-sizing: border-box;
  padding: 18px 22px 16px;
  background: linear-gradient(rgba(255, 255, 255, 0), #fff 28%);
  color: #595959;
  font-size: 12px;
  line-height: 1.4;
}

.cf-ray {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.cf-back {
  border: 0;
  padding: 0;
  background: transparent;
  color: #8a8a8a;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.cf-back:hover {
  color: #333;
}

.cf-progress {
  text-align: center;
  color: #8a8a8a;
}

.cf-perf {
  text-align: right;
}

.cf-perf strong {
  font-weight: 750;
  color: #313131;
}

@media (max-width: 640px) {
  .cf-center {
    padding-top: 10vh;
  }

  .cf-foot {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cf-perf,
  .cf-progress {
    text-align: left;
  }

  .cf-card-head {
    font-size: 16px;
  }
}
