:root {
  --tq-ink: #1b1b1f;
  --tq-line: #dcdce3;
  --tq-accent: #2f6df6;
  --tq-muted: #8a8a94;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
.tq-page {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--tq-ink);
  background: #ffffff;
}
.tq-stage {
  display: flex;
  justify-content: center;
  padding: 5% 20px 0;
}
.tq-searchbox {
  position: relative;
  width: min(560px, 100%);
  display: flex;
  align-items: center;
  border: 1px solid var(--tq-line);
  border-radius: 26px;
  padding: 4px 6px 4px 20px;
  box-shadow: 0 1px 6px rgba(20, 25, 40, 0.06);
  transition: box-shadow .15s, border-color .15s;
}
.tq-searchbox:focus-within {
  border-color: transparent;
  box-shadow: 0 2px 14px rgba(47, 109, 246, 0.22);
}
.tq-query {
  flex: 1;
  border: 0;
  outline: 0;
  font-size: 18px;
  height: 44px;
  background: transparent;
  color: var(--tq-ink);
}
.tq-go {
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--tq-accent);
  color: #fff;
}
.tq-hints {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--tq-line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(20, 25, 40, 0.12);
  z-index: 5;
}
.tq-hints li {
  padding: 11px 20px;
  font-size: 16px;
  cursor: pointer;
}
.tq-hints li[aria-selected="true"],
.tq-hints li:hover {
  background: #f2f5ff;
}
.tq-foot {
  position: fixed;
  bottom: 1%;
  right: 1%;
  left: 0;
  text-align: right;
}
.tq-foot a {
  color: var(--tq-muted);
  text-decoration: none;
  font-size: 13px;
  margin-left: 18px;
}
.tq-foot a:hover { color: var(--tq-accent); }
